github.com/twilio/twilio-go@v1.20.1/rest/video/v1/model_video_v1_room.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 // VideoV1Room struct for VideoV1Room 22 type VideoV1Room struct { 23 // The unique string that we created to identify the Room resource. 24 Sid *string `json:"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 resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 29 DateUpdated *time.Time `json:"date_updated,omitempty"` 30 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Room resource. 31 AccountSid *string `json:"account_sid,omitempty"` 32 // Deprecated, now always considered to be true. 33 EnableTurn *bool `json:"enable_turn,omitempty"` 34 // An application-defined string that uniquely identifies the resource. It can be used as a `room_sid` in place of the resource's `sid` in the URL to address the resource, assuming it does not contain any [reserved characters](https://tools.ietf.org/html/rfc3986#section-2.2) that would need to be URL encoded. This value is unique for `in-progress` rooms. SDK clients can use this name to connect to the room. REST API clients can use this name in place of the Room SID to interact with the room as long as the room is `in-progress`. 35 UniqueName *string `json:"unique_name,omitempty"` 36 // The URL we call using the `status_callback_method` to send status information to your application on every room event. See [Status Callbacks](https://www.twilio.com/docs/video/api/status-callbacks) for more info. 37 StatusCallback *string `json:"status_callback,omitempty"` 38 // The HTTP method we use to call `status_callback`. Can be `POST` or `GET` and defaults to `POST`. 39 StatusCallbackMethod *string `json:"status_callback_method,omitempty"` 40 // The UTC end time of the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format. 41 EndTime *time.Time `json:"end_time,omitempty"` 42 // The duration of the room in seconds. 43 Duration *int `json:"duration,omitempty"` 44 Type *string `json:"type,omitempty"` 45 // The maximum number of concurrent Participants allowed in the room. 46 MaxParticipants *int `json:"max_participants,omitempty"` 47 // The maximum number of seconds a Participant can be connected to the room. The maximum possible value is 86400 seconds (24 hours). The default is 14400 seconds (4 hours). 48 MaxParticipantDuration *int `json:"max_participant_duration,omitempty"` 49 // The maximum number of published audio, video, and data tracks all participants combined are allowed to publish in the room at the same time. Check [Programmable Video Limits](https://www.twilio.com/docs/video/programmable-video-limits) for more details. If it is set to 0 it means unconstrained. 50 MaxConcurrentPublishedTracks *int `json:"max_concurrent_published_tracks,omitempty"` 51 // Whether to start recording when Participants connect. ***This feature is not available in `peer-to-peer` rooms.*** 52 RecordParticipantsOnConnect *bool `json:"record_participants_on_connect,omitempty"` 53 // An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`. ***This feature is not available in `peer-to-peer` rooms*** 54 VideoCodecs *[]string `json:"video_codecs,omitempty"` 55 // The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#media-servers). ***This feature is not available in `peer-to-peer` rooms.*** 56 MediaRegion *string `json:"media_region,omitempty"` 57 // When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed. Group rooms only. 58 AudioOnly *bool `json:"audio_only,omitempty"` 59 // Specifies how long (in minutes) a room will remain active after last participant leaves. Can be configured when creating a room via REST API. For Ad-Hoc rooms this value cannot be changed. 60 EmptyRoomTimeout *int `json:"empty_room_timeout,omitempty"` 61 // Specifies how long (in minutes) a room will remain active if no one joins. Can be configured when creating a room via REST API. For Ad-Hoc rooms this value cannot be changed. 62 UnusedRoomTimeout *int `json:"unused_room_timeout,omitempty"` 63 // Indicates if this is a large room. 64 LargeRoom *bool `json:"large_room,omitempty"` 65 // The absolute URL of the resource. 66 Url *string `json:"url,omitempty"` 67 // The URLs of related resources. 68 Links *map[string]interface{} `json:"links,omitempty"` 69 }