github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/model_conversations_v1_configuration_address.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Conversations
     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  // ConversationsV1ConfigurationAddress struct for ConversationsV1ConfigurationAddress
    22  type ConversationsV1ConfigurationAddress struct {
    23  	// A 34 character string that uniquely identifies this resource.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) the address belongs to
    26  	AccountSid *string `json:"account_sid,omitempty"`
    27  	// Type of Address, value can be `whatsapp` or `sms`.
    28  	Type *string `json:"type,omitempty"`
    29  	// The unique address to be configured. The address can be a whatsapp address or phone number
    30  	Address *string `json:"address,omitempty"`
    31  	// The human-readable name of this configuration, limited to 256 characters. Optional.
    32  	FriendlyName *string `json:"friendly_name,omitempty"`
    33  	// Auto Creation configuration for the address.
    34  	AutoCreation *interface{} `json:"auto_creation,omitempty"`
    35  	// The date that this resource was created.
    36  	DateCreated *time.Time `json:"date_created,omitempty"`
    37  	// The date that this resource was last updated.
    38  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    39  	// An absolute API resource URL for this address configuration.
    40  	Url *string `json:"url,omitempty"`
    41  	// An ISO 3166-1 alpha-2n country code which the address belongs to. This is currently only applicable to short code addresses.
    42  	AddressCountry *string `json:"address_country,omitempty"`
    43  }