Class: Stigg::Models::V1::Credits::CreditGrantResponse::Data::SyncState

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/credits/credit_grant_response.rb,
sig/stigg/models/v1/credits/credit_grant_response.rbs

Defined Under Namespace

Modules: Status, VendorIdentifier

Instance Attribute Summary collapse

Class Method 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(status:, synced_entity_id:, vendor_identifier:) ⇒ Object

Parameters:



# File 'lib/stigg/models/v1/credits/credit_grant_response.rb', line 479

Instance Attribute Details

#statusSymbol, Stigg::Models::V1::Credits::CreditGrantResponse::Data::SyncState::Status

Status of the integration sync

Parameters:

  • value (Stigg::Models::V1::Credits::CreditGrantResponse::Data::SyncState::status)

Returns:



461
# File 'lib/stigg/models/v1/credits/credit_grant_response.rb', line 461

required :status, enum: -> { Stigg::V1::Credits::CreditGrantResponse::Data::SyncState::Status }

#synced_entity_idString?

Synced entity id

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


467
# File 'lib/stigg/models/v1/credits/credit_grant_response.rb', line 467

required :synced_entity_id, String, api_name: :syncedEntityId, nil?: true

#vendor_identifierSymbol, Stigg::Models::V1::Credits::CreditGrantResponse::Data::SyncState::VendorIdentifier

The vendor identifier of integration

Parameters:

  • value (Stigg::Models::V1::Credits::CreditGrantResponse::Data::SyncState::vendor_identifier)

Returns:



473
474
475
476
477
# File 'lib/stigg/models/v1/credits/credit_grant_response.rb', line 473

required :vendor_identifier,
enum: -> {
  Stigg::V1::Credits::CreditGrantResponse::Data::SyncState::VendorIdentifier
},
api_name: :vendorIdentifier

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/stigg/models/v1/credits/credit_grant_response.rb', line 497

Instance Method Details

#to_hash{

Returns:

  • ({)


338
# File 'sig/stigg/models/v1/credits/credit_grant_response.rbs', line 338

def to_hash: -> {