github.com/twilio/twilio-go@v1.20.1/rest/video/v1/model_video_v1_room_participant_subscribe_rule.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 // VideoV1RoomParticipantSubscribeRule struct for VideoV1RoomParticipantSubscribeRule 22 type VideoV1RoomParticipantSubscribeRule struct { 23 // The SID of the Participant resource for the Subscribe Rules. 24 ParticipantSid *string `json:"participant_sid,omitempty"` 25 // The SID of the Room resource for the Subscribe Rules 26 RoomSid *string `json:"room_sid,omitempty"` 27 // A collection of Subscribe Rules that describe how to include or exclude matching tracks. See the [Specifying Subscribe Rules](https://www.twilio.com/docs/video/api/track-subscriptions#specifying-sr) section for further information. 28 Rules *[]VideoV1RoomRoomParticipantRoomParticipantSubscribeRuleRules `json:"rules,omitempty"` 29 // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 30 DateCreated *time.Time `json:"date_created,omitempty"` 31 // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 32 DateUpdated *time.Time `json:"date_updated,omitempty"` 33 }