github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/model_api_v2010_conference_recording.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  // ApiV2010ConferenceRecording struct for ApiV2010ConferenceRecording
    18  type ApiV2010ConferenceRecording struct {
    19  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Conference Recording resource.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	// The API version used to create the recording.
    22  	ApiVersion *string `json:"api_version,omitempty"`
    23  	// The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Conference Recording resource is associated with.
    24  	CallSid *string `json:"call_sid,omitempty"`
    25  	// The Conference SID that identifies the conference associated with the recording.
    26  	ConferenceSid *string `json:"conference_sid,omitempty"`
    27  	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    28  	DateCreated *string `json:"date_created,omitempty"`
    29  	// The date and time in GMT that the resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    30  	DateUpdated *string `json:"date_updated,omitempty"`
    31  	// The start time of the recording in GMT and in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
    32  	StartTime *string `json:"start_time,omitempty"`
    33  	// The length of the recording in seconds.
    34  	Duration *string `json:"duration,omitempty"`
    35  	// The unique string that that we created to identify the Conference Recording resource.
    36  	Sid *string `json:"sid,omitempty"`
    37  	// The one-time cost of creating the recording in the `price_unit` currency.
    38  	Price *string `json:"price,omitempty"`
    39  	// The currency used in the `price` property. Example: `USD`.
    40  	PriceUnit *string `json:"price_unit,omitempty"`
    41  	Status    *string `json:"status,omitempty"`
    42  	// The number of channels in the final recording file.  Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options.
    43  	Channels *int    `json:"channels,omitempty"`
    44  	Source   *string `json:"source,omitempty"`
    45  	// The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.
    46  	ErrorCode *int `json:"error_code,omitempty"`
    47  	// How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
    48  	EncryptionDetails *interface{} `json:"encryption_details,omitempty"`
    49  	// The URI of the resource, relative to `https://api.twilio.com`.
    50  	Uri *string `json:"uri,omitempty"`
    51  }