github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/model_api_v2010_token.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  // ApiV2010Token struct for ApiV2010Token
    18  type ApiV2010Token struct {
    19  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Token resource.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    22  	DateCreated *string `json:"date_created,omitempty"`
    23  	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    24  	DateUpdated *string `json:"date_updated,omitempty"`
    25  	// An array representing the ephemeral credentials and the STUN and TURN server URIs.
    26  	IceServers *[]ApiV2010AccountTokenIceServers `json:"ice_servers,omitempty"`
    27  	// The temporary password that the username will use when authenticating with Twilio.
    28  	Password *string `json:"password,omitempty"`
    29  	// The duration in seconds for which the username and password are valid.
    30  	Ttl *string `json:"ttl,omitempty"`
    31  	// The temporary username that uniquely identifies a Token.
    32  	Username *string `json:"username,omitempty"`
    33  }