lib/hubspot/codegen/crm/quotes/api/associations_api.rb in hubspot-api-client-9.6.0 vs lib/hubspot/codegen/crm/quotes/api/associations_api.rb in hubspot-api-client-10.0.0
- old
+ new
@@ -23,27 +23,25 @@
end
# List associations of a quote by type
# @param quote_id [String]
# @param to_object_type [String]
# @param [Hash] opts the optional parameters
- # @option opts [Boolean] :paginate_associations (default to false)
# @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
# @option opts [Integer] :limit The maximum number of results to display per page. (default to 500)
- # @return [CollectionResponseAssociatedId]
+ # @return [CollectionResponseAssociatedIdForwardPaging]
def get_all(quote_id, to_object_type, opts = {})
data, _status_code, _headers = get_all_with_http_info(quote_id, to_object_type, opts)
data
end
# List associations of a quote by type
# @param quote_id [String]
# @param to_object_type [String]
# @param [Hash] opts the optional parameters
- # @option opts [Boolean] :paginate_associations
# @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
# @option opts [Integer] :limit The maximum number of results to display per page.
- # @return [Array<(CollectionResponseAssociatedId, Integer, Hash)>] CollectionResponseAssociatedId data, response status code and response headers
+ # @return [Array<(CollectionResponseAssociatedIdForwardPaging, Integer, Hash)>] CollectionResponseAssociatedIdForwardPaging data, response status code and response headers
def get_all_with_http_info(quote_id, to_object_type, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: AssociationsApi.get_all ...'
end
# verify the required parameter 'quote_id' is set
@@ -57,11 +55,10 @@
# resource path
local_var_path = '/crm/v3/objects/quotes/{quoteId}/associations/{toObjectType}'.sub('{' + 'quoteId' + '}', CGI.escape(quote_id.to_s)).sub('{' + 'toObjectType' + '}', CGI.escape(to_object_type.to_s))
# query parameters
query_params = opts[:query_params] || {}
- query_params[:'paginateAssociations'] = opts[:'paginate_associations'] if !opts[:'paginate_associations'].nil?
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
# header parameters
header_params = opts[:header_params] || {}
@@ -73,10 +70,10 @@
# http body (model)
post_body = opts[:body]
# return_type
- return_type = opts[:return_type] || 'CollectionResponseAssociatedId'
+ return_type = opts[:return_type] || 'CollectionResponseAssociatedIdForwardPaging'
# auth_names
auth_names = opts[:auth_names] || ['hapikey']
new_options = opts.merge(