Class: HubSpotSDK::Models::Crm::BatchResponseRecordIDWithMembershipsWithErrors

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb

Defined Under Namespace

Modules: Status

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(completed_at:, results:, started_at:, status:, errors: nil, links: nil, num_errors: nil, requested_at: nil) ⇒ Object

Parameters:



# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 47

Instance Attribute Details

#completed_atTime

Returns:

  • (Time)


10
# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 10

required :completed_at, Time, api_name: :completedAt

#errorsArray<HubSpotSDK::Models::StandardError>?

Returns:



30
# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 30

optional :errors, -> { HubSpotSDK::Internal::Type::ArrayOf[HubSpotSDK::StandardError] }

Returns:

  • (Hash{Symbol=>String}, nil)


35
# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 35

optional :links, HubSpotSDK::Internal::Type::HashOf[String]

#num_errorsInteger?

Returns:

  • (Integer, nil)


40
# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 40

optional :num_errors, Integer, api_name: :numErrors

#requested_atTime?

Returns:

  • (Time, nil)


45
# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 45

optional :requested_at, Time, api_name: :requestedAt

#resultsArray<HubSpotSDK::Models::Crm::RecordIDWithMemberships>



15
# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 15

required :results, -> { HubSpotSDK::Internal::Type::ArrayOf[HubSpotSDK::Crm::RecordIDWithMemberships] }

#started_atTime

Returns:

  • (Time)


20
# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 20

required :started_at, Time, api_name: :startedAt

#statusSymbol, HubSpotSDK::Models::Crm::BatchResponseRecordIDWithMembershipsWithErrors::Status



25
# File 'lib/hubspot_sdk/models/crm/batch_response_record_id_with_memberships_with_errors.rb', line 25

required :status, enum: -> { HubSpotSDK::Crm::BatchResponseRecordIDWithMembershipsWithErrors::Status }