lib/twilio-ruby/rest/api/v2010/account.rb in twilio-ruby-5.8.0 vs lib/twilio-ruby/rest/api/v2010/account.rb in twilio-ruby-5.8.1
- old
+ new
@@ -41,13 +41,14 @@
##
# Lists AccountInstance records from the API as a list.
# Unlike stream(), this operation is eager and will load `limit` records into
# memory before returning.
- # @param [String] friendly_name Filter accounts where the friendly name exactly
- # matches the desired FriendlyName
- # @param [account.Status] status Only show accounts with the given Status
+ # @param [String] friendly_name Only return the Account resources with friendly
+ # names that exactly match this name.
+ # @param [account.Status] status Only return Account resources with the given
+ # status. Can be `closed`, `suspended` or `active`.
# @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
@@ -64,13 +65,14 @@
##
# Streams AccountInstance records from the API as an Enumerable.
# This operation lazily loads records as efficiently as possible until the limit
# is reached.
- # @param [String] friendly_name Filter accounts where the friendly name exactly
- # matches the desired FriendlyName
- # @param [account.Status] status Only show accounts with the given Status
+ # @param [String] friendly_name Only return the Account resources with friendly
+ # names that exactly match this name.
+ # @param [account.Status] status Only return Account resources with the given
+ # status. Can be `closed`, `suspended` or `active`.
# @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
@@ -99,12 +101,13 @@
end
##
# Retrieve a single page of AccountInstance records from the API.
# Request is executed immediately.
- # @param [String] friendly_name Filter accounts where the friendly name exactly
- # matches the desired FriendlyName
- # @param [account.Status] status Only show accounts with the given Status
+ # @param [String] friendly_name Only return the Account resources with friendly
+ # names that exactly match this name.
+ # @param [account.Status] status Only return Account resources with the given
+ # status. Can be `closed`, `suspended` or `active`.
# @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 AccountInstance
def page(friendly_name: :unset, status: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
\ No newline at end of file