lib/hubspot/codegen/crm/quotes/api/batch_api.rb in hubspot-api-client-10.1.1 vs lib/hubspot/codegen/crm/quotes/api/batch_api.rb in hubspot-api-client-11.1.0
- old
+ new
@@ -20,21 +20,19 @@
def initialize(api_client = ApiClient.default)
@api_client = api_client
end
# Read a batch of quotes by internal ID, or unique property values
- # Read a list of quotes given a collection of IDs. Use the `properties` request body property to control which properties are returned.
# @param batch_read_input_simple_public_object_id [BatchReadInputSimplePublicObjectId]
# @param [Hash] opts the optional parameters
# @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
# @return [BatchResponseSimplePublicObject]
def read(batch_read_input_simple_public_object_id, opts = {})
data, _status_code, _headers = read_with_http_info(batch_read_input_simple_public_object_id, opts)
data
end
# Read a batch of quotes by internal ID, or unique property values
- # Read a list of quotes given a collection of IDs. Use the `properties` request body property to control which properties are returned.
# @param batch_read_input_simple_public_object_id [BatchReadInputSimplePublicObjectId]
# @param [Hash] opts the optional parameters
# @option opts [Boolean] :archived Whether to return only results that have been archived.
# @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
def read_with_http_info(batch_read_input_simple_public_object_id, opts = {})