github.com/twilio/twilio-go@v1.20.1/rest/video/v1/model_video_v1_composition.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  // VideoV1Composition struct for VideoV1Composition
    22  type VideoV1Composition struct {
    23  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Composition 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 date and time in GMT when the composition's media processing task finished, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    29  	DateCompleted *time.Time `json:"date_completed,omitempty"`
    30  	// The date and time in GMT when the composition generated media was deleted, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    31  	DateDeleted *time.Time `json:"date_deleted,omitempty"`
    32  	// The unique string that we created to identify the Composition resource.
    33  	Sid *string `json:"sid,omitempty"`
    34  	// The SID of the Group Room that generated the audio and video tracks used in the composition. All media sources included in a composition must belong to the same Group Room.
    35  	RoomSid *string `json:"room_sid,omitempty"`
    36  	// The array of track names to include in the composition. The composition includes all audio sources specified in `audio_sources` except those specified in `audio_sources_excluded`. The track names in this property can include an asterisk as a wild card character, which matches zero or more characters in a track name. For example, `student*` includes tracks named `student` as well as `studentTeam`.
    37  	AudioSources *[]string `json:"audio_sources,omitempty"`
    38  	// The array of track names to exclude from the composition. The composition includes all audio sources specified in `audio_sources` except for those specified in `audio_sources_excluded`. The track names in this property can include an asterisk as a wild card character, which matches zero or more characters in a track name. For example, `student*` excludes `student` as well as `studentTeam`. This parameter can also be empty.
    39  	AudioSourcesExcluded *[]string `json:"audio_sources_excluded,omitempty"`
    40  	// An object that describes the video layout of the composition in terms of regions. See [Specifying Video Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
    41  	VideoLayout *interface{} `json:"video_layout,omitempty"`
    42  	// The dimensions of the video image in pixels expressed as columns (width) and rows (height). The string's format is `{width}x{height}`, such as `640x480`.
    43  	Resolution *string `json:"resolution,omitempty"`
    44  	// Whether to remove intervals with no media, as specified in the POST request that created the composition. Compositions with `trim` enabled are shorter when the Room is created and no Participant joins for a while as well as if all the Participants leave the room and join later, because those gaps will be removed. See [Specifying Video Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
    45  	Trim   *bool   `json:"trim,omitempty"`
    46  	Format *string `json:"format,omitempty"`
    47  	// The average bit rate of the composition's media.
    48  	Bitrate *int `json:"bitrate,omitempty"`
    49  	// The size of the composed media file in bytes.
    50  	Size *int64 `json:"size,omitempty"`
    51  	// The duration of the composition's media file in seconds.
    52  	Duration *int `json:"duration,omitempty"`
    53  	// The URL of the media file associated with the composition when stored externally. See [External S3 Compositions](/docs/video/api/external-s3-compositions) for more details.
    54  	MediaExternalLocation *string `json:"media_external_location,omitempty"`
    55  	// The URL called using the `status_callback_method` to send status information on every composition event.
    56  	StatusCallback *string `json:"status_callback,omitempty"`
    57  	// The HTTP method used to call `status_callback`. Can be: `POST` or `GET`, defaults to `POST`.
    58  	StatusCallbackMethod *string `json:"status_callback_method,omitempty"`
    59  	// The absolute URL of the resource.
    60  	Url *string `json:"url,omitempty"`
    61  	// The URL of the media file associated with the composition.
    62  	Links *map[string]interface{} `json:"links,omitempty"`
    63  }