github.com/twilio/twilio-go@v1.20.1/rest/proxy/v1/model_proxy_v1_participant.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  // ProxyV1Participant struct for ProxyV1Participant
    22  type ProxyV1Participant struct {
    23  	// The unique string that we created to identify the Participant resource.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) resource.
    26  	SessionSid *string `json:"session_sid,omitempty"`
    27  	// The SID of the resource's parent [Service](https://www.twilio.com/docs/proxy/api/service) resource.
    28  	ServiceSid *string `json:"service_sid,omitempty"`
    29  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resource.
    30  	AccountSid *string `json:"account_sid,omitempty"`
    31  	// The string that you assigned to describe the participant. This value must be 255 characters or fewer. Supports UTF-8 characters. **This value should not have PII.**
    32  	FriendlyName *string `json:"friendly_name,omitempty"`
    33  	// The phone number or channel identifier of the Participant. This value must be 191 characters or fewer. Supports UTF-8 characters.
    34  	Identifier *string `json:"identifier,omitempty"`
    35  	// The phone number or short code (masked number) of the participant's partner. The participant will call or message the partner participant at this number.
    36  	ProxyIdentifier *string `json:"proxy_identifier,omitempty"`
    37  	// The SID of the Proxy Identifier assigned to the Participant.
    38  	ProxyIdentifierSid *string `json:"proxy_identifier_sid,omitempty"`
    39  	// The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date when the Participant was removed from the session.
    40  	DateDeleted *time.Time `json:"date_deleted,omitempty"`
    41  	// The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was created.
    42  	DateCreated *time.Time `json:"date_created,omitempty"`
    43  	// The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was last updated.
    44  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    45  	// The absolute URL of the Participant resource.
    46  	Url *string `json:"url,omitempty"`
    47  	// The URLs to resources related the participant.
    48  	Links *map[string]interface{} `json:"links,omitempty"`
    49  }