github.com/twilio/twilio-go@v1.20.1/rest/video/v1/model_video_v1_recording.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Video
     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  // VideoV1Recording struct for VideoV1Recording
    22  type VideoV1Recording struct {
    23  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	Status     *string `json:"status,omitempty"`
    26  	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    27  	DateCreated *time.Time `json:"date_created,omitempty"`
    28  	// The unique string that we created to identify the Recording resource.
    29  	Sid *string `json:"sid,omitempty"`
    30  	// The SID of the recording source. For a Room Recording, this value is a `track_sid`.
    31  	SourceSid *string `json:"source_sid,omitempty"`
    32  	// The size of the recorded track, in bytes.
    33  	Size *int64 `json:"size,omitempty"`
    34  	// The absolute URL of the resource.
    35  	Url  *string `json:"url,omitempty"`
    36  	Type *string `json:"type,omitempty"`
    37  	// The duration of the recording in seconds rounded to the nearest second. Sub-second tracks have a `Duration` property of 1 second
    38  	Duration        *int    `json:"duration,omitempty"`
    39  	ContainerFormat *string `json:"container_format,omitempty"`
    40  	Codec           *string `json:"codec,omitempty"`
    41  	// A list of SIDs related to the recording. Includes the `room_sid` and `participant_sid`.
    42  	GroupingSids *interface{} `json:"grouping_sids,omitempty"`
    43  	// The name that was given to the source track of the recording. If no name is given, the `source_sid` is used.
    44  	TrackName *string `json:"track_name,omitempty"`
    45  	// The time in milliseconds elapsed between an arbitrary point in time, common to all group rooms, and the moment when the source room of this track started. This information provides a synchronization mechanism for recordings belonging to the same room.
    46  	Offset *int64 `json:"offset,omitempty"`
    47  	// The URL of the media file associated with the recording when stored externally. See [External S3 Recordings](/docs/video/api/external-s3-recordings) for more details.
    48  	MediaExternalLocation *string `json:"media_external_location,omitempty"`
    49  	// The URL called using the `status_callback_method` to send status information on every recording event.
    50  	StatusCallback *string `json:"status_callback,omitempty"`
    51  	// The HTTP method used to call `status_callback`. Can be: `POST` or `GET`, defaults to `POST`.
    52  	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
    53  	// The URLs of related resources.
    54  	Links *map[string]interface{} `json:"links,omitempty"`
    55  }