github.com/twilio/twilio-go@v1.20.1/rest/verify/v2/model_verify_v2_verification_attempt.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  // VerifyV2VerificationAttempt struct for VerifyV2VerificationAttempt
    22  type VerifyV2VerificationAttempt struct {
    23  	// The SID that uniquely identifies the verification attempt resource.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Verification resource.
    26  	AccountSid *string `json:"account_sid,omitempty"`
    27  	// The SID of the [Service](https://www.twilio.com/docs/verify/api/service) used to generate the attempt.
    28  	ServiceSid *string `json:"service_sid,omitempty"`
    29  	// The SID of the [Verification](https://www.twilio.com/docs/verify/api/verification) that generated the attempt.
    30  	VerificationSid *string `json:"verification_sid,omitempty"`
    31  	// The date that this Attempt was created, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    32  	DateCreated *time.Time `json:"date_created,omitempty"`
    33  	// The date that this Attempt was updated, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    34  	DateUpdated      *time.Time `json:"date_updated,omitempty"`
    35  	ConversionStatus *string    `json:"conversion_status,omitempty"`
    36  	Channel          *string    `json:"channel,omitempty"`
    37  	// An object containing the charge for this verification attempt related to the channel costs and the currency used. The costs related to the succeeded verifications are not included. May not be immediately available. More information on pricing is available [here](https://www.twilio.com/en-us/verify/pricing).
    38  	Price *interface{} `json:"price,omitempty"`
    39  	// An object containing the channel specific information for an attempt.
    40  	ChannelData *interface{} `json:"channel_data,omitempty"`
    41  	Url         *string      `json:"url,omitempty"`
    42  }