github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/model_api_v2010_address.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Api
     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  // ApiV2010Address struct for ApiV2010Address
    18  type ApiV2010Address struct {
    19  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is responsible for the Address resource.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	// The city in which the address is located.
    22  	City *string `json:"city,omitempty"`
    23  	// The name associated with the address.This property has a maximum length of 16 4-byte characters, or 21 3-byte characters.
    24  	CustomerName *string `json:"customer_name,omitempty"`
    25  	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    26  	DateCreated *string `json:"date_created,omitempty"`
    27  	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    28  	DateUpdated *string `json:"date_updated,omitempty"`
    29  	// The string that you assigned to describe the resource.
    30  	FriendlyName *string `json:"friendly_name,omitempty"`
    31  	// The ISO country code of the address.
    32  	IsoCountry *string `json:"iso_country,omitempty"`
    33  	// The postal code of the address.
    34  	PostalCode *string `json:"postal_code,omitempty"`
    35  	// The state or region of the address.
    36  	Region *string `json:"region,omitempty"`
    37  	// The unique string that that we created to identify the Address resource.
    38  	Sid *string `json:"sid,omitempty"`
    39  	// The number and street address of the address.
    40  	Street *string `json:"street,omitempty"`
    41  	// The URI of the resource, relative to `https://api.twilio.com`.
    42  	Uri *string `json:"uri,omitempty"`
    43  	// Whether emergency calling has been enabled on this number.
    44  	EmergencyEnabled *bool `json:"emergency_enabled,omitempty"`
    45  	// Whether the address has been validated to comply with local regulation. In countries that require valid addresses, an invalid address will not be accepted. `true` indicates the Address has been validated. `false` indicate the country doesn't require validation or the Address is not valid.
    46  	Validated *bool `json:"validated,omitempty"`
    47  	// Whether the address has been verified to comply with regulation. In countries that require valid addresses, an invalid address will not be accepted. `true` indicates the Address has been verified. `false` indicate the country doesn't require verified or the Address is not valid.
    48  	Verified *bool `json:"verified,omitempty"`
    49  	// The additional number and street address of the address.
    50  	StreetSecondary *string `json:"street_secondary,omitempty"`
    51  }