spec/codegen/crm/quotes/api/basic_api_spec.rb in hubspot-api-client-11.2.0 vs spec/codegen/crm/quotes/api/basic_api_spec.rb in hubspot-api-client-12.0.0
- old
+ new
@@ -30,16 +30,41 @@
it 'should create an instance of BasicApi' do
expect(@api_instance).to be_instance_of(Hubspot::Crm::Quotes::BasicApi)
end
end
+ # unit tests for archive
+ # Archive
+ # Move an Object identified by `{quoteId}` to the recycling bin.
+ # @param quote_id
+ # @param [Hash] opts the optional parameters
+ # @return [nil]
+ describe 'archive test' do
+ it 'should work' do
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
+ end
+ end
+
+ # unit tests for create
+ # Create
+ # Create a quote with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard quotes is provided.
+ # @param simple_public_object_input
+ # @param [Hash] opts the optional parameters
+ # @return [SimplePublicObject]
+ describe 'create test' do
+ it 'should work' do
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
+ end
+ end
+
# unit tests for get_by_id
# Read
# Read an Object identified by `{quoteId}`. `{quoteId}` refers to the internal object ID by default, or optionally any unique property value as specified by the `idProperty` query param. Control what is returned via the `properties` query param.
# @param quote_id
# @param [Hash] opts the optional parameters
# @option opts [Array<String>] :properties A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
+ # @option opts [Array<String>] :properties_with_history A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.
# @option opts [Array<String>] :associations A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
# @option opts [Boolean] :archived Whether to return only results that have been archived.
# @option opts [String] :id_property The name of a property whose values are unique for this object type
# @return [SimplePublicObjectWithAssociations]
describe 'get_by_id test' do
@@ -53,13 +78,28 @@
# Read a page of quotes. Control what is returned via the `properties` query param.
# @param [Hash] opts the optional parameters
# @option opts [Integer] :limit The maximum number of results to display per page.
# @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 [Array<String>] :properties A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
+ # @option opts [Array<String>] :properties_with_history A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request.
# @option opts [Array<String>] :associations A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
# @option opts [Boolean] :archived Whether to return only results that have been archived.
# @return [CollectionResponseSimplePublicObjectWithAssociationsForwardPaging]
describe 'get_page test' do
+ it 'should work' do
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
+ end
+ end
+
+ # unit tests for update
+ # Update
+ # Perform a partial update of an Object identified by `{quoteId}`. `{quoteId}` refers to the internal object ID by default, or optionally any unique property value as specified by the `idProperty` query param. Provided property values will be overwritten. Read-only and non-existent properties will be ignored. Properties values can be cleared by passing an empty string.
+ # @param quote_id
+ # @param simple_public_object_input
+ # @param [Hash] opts the optional parameters
+ # @option opts [String] :id_property The name of a property whose values are unique for this object type
+ # @return [SimplePublicObject]
+ describe 'update test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end