github.com/twilio/twilio-go@v1.20.1/rest/verify/v2/model_verify_v2_messaging_configuration.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  // VerifyV2MessagingConfiguration struct for VerifyV2MessagingConfiguration
    22  type VerifyV2MessagingConfiguration struct {
    23  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Service resource.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	// The SID of the [Service](https://www.twilio.com/docs/verify/api/service) that the resource is associated with.
    26  	ServiceSid *string `json:"service_sid,omitempty"`
    27  	// The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`.
    28  	Country *string `json:"country,omitempty"`
    29  	// The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
    30  	MessagingServiceSid *string `json:"messaging_service_sid,omitempty"`
    31  	// The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    32  	DateCreated *time.Time `json:"date_created,omitempty"`
    33  	// The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    34  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    35  	// The URL of this resource.
    36  	Url *string `json:"url,omitempty"`
    37  }