lib/purecloud/api/stations_api.rb in purecloud-0.64.1 vs lib/purecloud/api/stations_api.rb in purecloud-0.65.1
- old
+ new
@@ -149,10 +149,11 @@
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size (default to 25)
# @option opts [Integer] :page_number Page number (default to 1)
# @option opts [String] :sort_by Sort by (default to name)
# @option opts [String] :name Name
+ # @option opts [String] :id Comma separated list of stationIds
# @option opts [String] :line_appearance_id lineAppearanceId
# @return [StationEntityListing]
def get_stations(opts = {})
data, status_code, headers = get_stations_with_http_info(opts)
return data
@@ -163,10 +164,11 @@
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @option opts [String] :sort_by Sort by
# @option opts [String] :name Name
+ # @option opts [String] :id Comma separated list of stationIds
# @option opts [String] :line_appearance_id lineAppearanceId
# @return [Array<(StationEntityListing, Fixnum, Hash)>] StationEntityListing data, response status code and response headers
def get_stations_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: StationsApi#get_stations ..."
@@ -179,9 +181,10 @@
query_params = {}
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
query_params[:'name'] = opts[:'name'] if opts[:'name']
+ query_params[:'id'] = opts[:'id'] if opts[:'id']
query_params[:'lineAppearanceId'] = opts[:'line_appearance_id'] if opts[:'line_appearance_id']
# header parameters
header_params = {}