github.com/twilio/twilio-go@v1.20.1/rest/proxy/v1/model_proxy_v1_short_code.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Proxy
     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  // ProxyV1ShortCode struct for ProxyV1ShortCode
    22  type ProxyV1ShortCode struct {
    23  	// The unique string that we created to identify the ShortCode resource.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource.
    26  	AccountSid *string `json:"account_sid,omitempty"`
    27  	// The SID of the ShortCode resource's parent [Service](https://www.twilio.com/docs/proxy/api/service) resource.
    28  	ServiceSid *string `json:"service_sid,omitempty"`
    29  	// The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was created.
    30  	DateCreated *time.Time `json:"date_created,omitempty"`
    31  	// The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was last updated.
    32  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    33  	// The short code's number.
    34  	ShortCode *string `json:"short_code,omitempty"`
    35  	// The ISO Country Code for the short code.
    36  	IsoCountry   *string                              `json:"iso_country,omitempty"`
    37  	Capabilities *ProxyV1ServiceShortCodeCapabilities `json:"capabilities,omitempty"`
    38  	// The absolute URL of the ShortCode resource.
    39  	Url *string `json:"url,omitempty"`
    40  	// Whether the short code should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.
    41  	IsReserved *bool `json:"is_reserved,omitempty"`
    42  }