lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb in twilio-ruby-5.45.1 vs lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb in twilio-ruby-5.46.0
- old
+ new
@@ -56,11 +56,11 @@
##
# Lists ChannelInstance records from the API as a list.
# Unlike stream(), this operation is eager and will load `limit` records into
# memory before returning.
- # @param [channel.ChannelType] type The type
+ # @param [Array[channel.ChannelType]] type The type
# @param [Integer] limit Upper limit for the number of records to return. stream()
# guarantees to never return more than limit. Default is no limit
# @param [Integer] page_size Number of records to fetch per request, when
# not set will use the default value of 50 records. If no page_size is defined
# but a limit is defined, stream() will attempt to read the limit with the most
@@ -72,11 +72,11 @@
##
# Streams ChannelInstance records from the API as an Enumerable.
# This operation lazily loads records as efficiently as possible until the limit
# is reached.
- # @param [channel.ChannelType] type The type
+ # @param [Array[channel.ChannelType]] type The type
# @param [Integer] limit Upper limit for the number of records to return. stream()
# guarantees to never return more than limit. Default is no limit.
# @param [Integer] page_size Number of records to fetch per request, when
# not set will use the default value of 50 records. If no page_size is defined
# but a limit is defined, stream() will attempt to read the limit with the most
@@ -105,10 +105,10 @@
end
##
# Retrieve a single page of ChannelInstance records from the API.
# Request is executed immediately.
- # @param [channel.ChannelType] type The type
+ # @param [Array[channel.ChannelType]] type The type
# @param [String] page_token PageToken provided by the API
# @param [Integer] page_number Page Number, this value is simply for client state
# @param [Integer] page_size Number of records to return, defaults to 50
# @return [Page] Page of ChannelInstance
def page(type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
\ No newline at end of file