github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/model_api_v2010_participant.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  // ApiV2010Participant struct for ApiV2010Participant
    18  type ApiV2010Participant struct {
    19  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resource.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Participant resource is associated with.
    22  	CallSid *string `json:"call_sid,omitempty"`
    23  	// The user-specified label of this participant, if one was given when the participant was created. This may be used to fetch, update or delete the participant.
    24  	Label *string `json:"label,omitempty"`
    25  	// The SID of the participant who is being `coached`. The participant being coached is the only participant who can hear the participant who is `coaching`.
    26  	CallSidToCoach *string `json:"call_sid_to_coach,omitempty"`
    27  	// Whether the participant is coaching another call. Can be: `true` or `false`. If not present, defaults to `false` unless `call_sid_to_coach` is defined. If `true`, `call_sid_to_coach` must be defined.
    28  	Coaching *bool `json:"coaching,omitempty"`
    29  	// The SID of the conference the participant is in.
    30  	ConferenceSid *string `json:"conference_sid,omitempty"`
    31  	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    32  	DateCreated *string `json:"date_created,omitempty"`
    33  	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    34  	DateUpdated *string `json:"date_updated,omitempty"`
    35  	// Whether the conference ends when the participant leaves. Can be: `true` or `false` and the default is `false`. If `true`, the conference ends and all other participants drop out when the participant leaves.
    36  	EndConferenceOnExit *bool `json:"end_conference_on_exit,omitempty"`
    37  	// Whether the participant is muted. Can be `true` or `false`.
    38  	Muted *bool `json:"muted,omitempty"`
    39  	// Whether the participant is on hold. Can be `true` or `false`.
    40  	Hold *bool `json:"hold,omitempty"`
    41  	// Whether the conference starts when the participant joins the conference, if it has not already started. Can be: `true` or `false` and the default is `true`. If `false` and the conference has not started, the participant is muted and hears background music until another participant starts the conference.
    42  	StartConferenceOnEnter *bool   `json:"start_conference_on_enter,omitempty"`
    43  	Status                 *string `json:"status,omitempty"`
    44  	// The wait time in milliseconds before participant's call is placed. Only available in the response to a create participant request.
    45  	QueueTime *string `json:"queue_time,omitempty"`
    46  	// The URI of the resource, relative to `https://api.twilio.com`.
    47  	Uri *string `json:"uri,omitempty"`
    48  }