Class: HubSpotSDK::Resources::Crm::Objects::FeedbackSubmissions::Batch
- Inherits:
-
Object
- Object
- HubSpotSDK::Resources::Crm::Objects::FeedbackSubmissions::Batch
- Defined in:
- lib/hubspot_sdk/resources/crm/objects/feedback_submissions/batch.rb
Instance Method Summary collapse
-
#get(inputs:, properties:, properties_with_history:, archived: nil, id_property: nil, request_options: {}) ⇒ HubSpotSDK::Models::Crm::BatchResponseSimplePublicObject
Some parameter documentations has been truncated, see Models::Crm::Objects::FeedbackSubmissions::BatchGetParams for more details.
-
#initialize(client:) ⇒ Batch
constructor
private
A new instance of Batch.
Constructor Details
#initialize(client:) ⇒ Batch
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Batch.
50 51 52 |
# File 'lib/hubspot_sdk/resources/crm/objects/feedback_submissions/batch.rb', line 50 def initialize(client:) @client = client end |
Instance Method Details
#get(inputs:, properties:, properties_with_history:, archived: nil, id_property: nil, request_options: {}) ⇒ HubSpotSDK::Models::Crm::BatchResponseSimplePublicObject
Some parameter documentations has been truncated, see Models::Crm::Objects::FeedbackSubmissions::BatchGetParams for more details.
Retrieve records by record ID or include the ‘idProperty` parameter to retrieve records by a custom unique value property.
33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/hubspot_sdk/resources/crm/objects/feedback_submissions/batch.rb', line 33 def get(params) query_params = [:archived] parsed, = HubSpotSDK::Crm::Objects::FeedbackSubmissions::BatchGetParams.dump_request(params) query = HubSpotSDK::Internal::Util.encode_query_params(parsed.slice(*query_params)) @client.request( method: :post, path: "crm/objects/2026-03/feedback_submissions/batch/read", query: query, body: parsed.except(*query_params), model: HubSpotSDK::Crm::BatchResponseSimplePublicObject, options: ) end |