github.com/twilio/twilio-go@v1.20.1/rest/verify/v2/model_verify_v2_factor.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Verify
     8   * This is the public Twilio REST API.
     9   *
    10   * NOTE: This class is auto generated by OpenAPI Generator.
    11   * https://openapi-generator.tech
    12   * Do not edit the class manually.
    13   */
    14  
    15  package openapi
    16  
    17  import (
    18  	"time"
    19  )
    20  
    21  // VerifyV2Factor struct for VerifyV2Factor
    22  type VerifyV2Factor struct {
    23  	// A 34 character string that uniquely identifies this Factor.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// The unique SID identifier of the Account.
    26  	AccountSid *string `json:"account_sid,omitempty"`
    27  	// The unique SID identifier of the Service.
    28  	ServiceSid *string `json:"service_sid,omitempty"`
    29  	// The unique SID identifier of the Entity.
    30  	EntitySid *string `json:"entity_sid,omitempty"`
    31  	// Customer unique identity for the Entity owner of the Factor. This identifier should be immutable, not PII, length between 8 and 64 characters, and generated by your external system, such as your user's UUID, GUID, or SID. It can only contain dash (-) separated alphanumeric characters.
    32  	Identity *string `json:"identity,omitempty"`
    33  	// The date that this Factor was created, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    34  	DateCreated *time.Time `json:"date_created,omitempty"`
    35  	// The date that this Factor was updated, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    36  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    37  	// A human readable description of this resource, up to 64 characters. For a push factor, this can be the device's name.
    38  	FriendlyName *string `json:"friendly_name,omitempty"`
    39  	Status       *string `json:"status,omitempty"`
    40  	FactorType   *string `json:"factor_type,omitempty"`
    41  	// An object that contains configurations specific to a `factor_type`.
    42  	Config *interface{} `json:"config,omitempty"`
    43  	// Custom metadata associated with the factor. This is added by the Device/SDK directly to allow for the inclusion of device information. It must be a stringified JSON with only strings values eg. `{\"os\": \"Android\"}`. Can be up to 1024 characters in length.
    44  	Metadata *interface{} `json:"metadata,omitempty"`
    45  	// The URL of this resource.
    46  	Url *string `json:"url,omitempty"`
    47  }