Class: Stigg::Models::V1::Credits::GrantListResponse::SyncState

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/credits/grant_list_response.rb,
sig/stigg/models/v1/credits/grant_list_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/grant_list_response.rb', line 460

Instance Attribute Details

#statusSymbol, Stigg::Models::V1::Credits::GrantListResponse::SyncState::Status

Status of the integration sync

Parameters:

  • value (Stigg::Models::V1::Credits::GrantListResponse::SyncState::status)

Returns:



444
# File 'lib/stigg/models/v1/credits/grant_list_response.rb', line 444

required :status, enum: -> { Stigg::Models::V1::Credits::GrantListResponse::SyncState::Status }

#synced_entity_idString?

Synced entity id

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


450
# File 'lib/stigg/models/v1/credits/grant_list_response.rb', line 450

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

#vendor_identifierSymbol, Stigg::Models::V1::Credits::GrantListResponse::SyncState::VendorIdentifier

The vendor identifier of integration

Parameters:

  • value (Stigg::Models::V1::Credits::GrantListResponse::SyncState::vendor_identifier)

Returns:



456
457
458
# File 'lib/stigg/models/v1/credits/grant_list_response.rb', line 456

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/stigg/models/v1/credits/grant_list_response.rb', line 478

Instance Method Details

#to_hash{

Returns:

  • ({)


322
# File 'sig/stigg/models/v1/credits/grant_list_response.rbs', line 322

def to_hash: -> {