lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.23.0 vs lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.23.1

- old
+ new

@@ -1,11 +1,11 @@ ## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / -# +# # frozen_string_literal: true module Twilio module REST class Video < Domain @@ -43,11 +43,11 @@ # @param [Boolean] record_participants_on_connect Start Participant recording when # connected. ***This feature is not available in `peer-to-peer` rooms.*** # @param [room.VideoCodec] video_codecs An array of video codecs supported when # publishing a Track in the Room. `VP8` and `H264` codecs are supported. ***This # feature is not available in `peer-to-peer` rooms*** - # @param [String] media_region Region for the media server in Group Rooms. + # @param [String] media_region Region for the media server in Group Rooms. # Default region is `us1`. See the list of [available Media # Regions.](https://www.twilio.com/docs/api/video/ip-address-whitelisting#group-rooms-media-servers)***This feature is not available in `peer-to-peer` rooms.*** # @return [RoomInstance] Newly created RoomInstance def create(enable_turn: :unset, type: :unset, unique_name: :unset, status_callback: :unset, status_callback_method: :unset, max_participants: :unset, record_participants_on_connect: :unset, video_codecs: :unset, media_region: :unset) data = Twilio::Values.of({ @@ -73,11 +73,12 @@ ## # Lists RoomInstance records from the API as a list. # Unlike stream(), this operation is eager and will load `limit` records into # memory before returning. - # @param [room.RoomStatus] status Only show Rooms with the given status. + # @param [room.RoomStatus] status Only show Rooms with the given status: + # `in-progress` (default), or `completed` # @param [String] unique_name Only show Rooms with the provided Name. # @param [Time] date_created_after Only show Rooms that started on or after this # date, given as `YYYY-MM-DD`. # @param [Time] date_created_before Only show Rooms that started before this date, # given as `YYYY-MM-DD`. @@ -101,11 +102,12 @@ ## # Streams RoomInstance records from the API as an Enumerable. # This operation lazily loads records as efficiently as possible until the limit # is reached. - # @param [room.RoomStatus] status Only show Rooms with the given status. + # @param [room.RoomStatus] status Only show Rooms with the given status: + # `in-progress` (default), or `completed` # @param [String] unique_name Only show Rooms with the provided Name. # @param [Time] date_created_after Only show Rooms that started on or after this # date, given as `YYYY-MM-DD`. # @param [Time] date_created_before Only show Rooms that started before this date, # given as `YYYY-MM-DD`. @@ -145,10 +147,11 @@ end ## # Retrieve a single page of RoomInstance records from the API. # Request is executed immediately. - # @param [room.RoomStatus] status Only show Rooms with the given status. + # @param [room.RoomStatus] status Only show Rooms with the given status: + # `in-progress` (default), or `completed` # @param [String] unique_name Only show Rooms with the provided Name. # @param [Time] date_created_after Only show Rooms that started on or after this # date, given as `YYYY-MM-DD`. # @param [Time] date_created_before Only show Rooms that started before this date, # given as `YYYY-MM-DD`. \ No newline at end of file