Class: Stigg::Models::V1::CustomerRetrieveEntitlementsResponse::Data::Entitlement::Feature::Feature

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/stigg/models/v1/customer_retrieve_entitlements_response.rb

Overview

See Also:

Defined Under Namespace

Modules: FeatureStatus, FeatureType

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(id:, display_name:, feature_status:, feature_type:) ⇒ Object

Parameters:



# File 'lib/stigg/models/v1/customer_retrieve_entitlements_response.rb', line 233

Instance Attribute Details

#display_nameString

The human-readable name of the entitlement, shown in UI elements.

Returns:

  • (String)


215
# File 'lib/stigg/models/v1/customer_retrieve_entitlements_response.rb', line 215

required :display_name, String, api_name: :displayName

#feature_statusSymbol, Stigg::Models::V1::CustomerRetrieveEntitlementsResponse::Data::Entitlement::Feature::Feature::FeatureStatus

The current status of the feature.



221
222
223
# File 'lib/stigg/models/v1/customer_retrieve_entitlements_response.rb', line 221

required :feature_status,
enum: -> { Stigg::Models::V1::CustomerRetrieveEntitlementsResponse::Data::Entitlement::Feature::Feature::FeatureStatus },
api_name: :featureStatus

#feature_typeSymbol, Stigg::Models::V1::CustomerRetrieveEntitlementsResponse::Data::Entitlement::Feature::Feature::FeatureType

The type of feature associated with the entitlement.



229
230
231
# File 'lib/stigg/models/v1/customer_retrieve_entitlements_response.rb', line 229

required :feature_type,
enum: -> { Stigg::Models::V1::CustomerRetrieveEntitlementsResponse::Data::Entitlement::Feature::Feature::FeatureType },
api_name: :featureType

#idString

The unique reference ID of the entitlement.

Returns:

  • (String)


209
# File 'lib/stigg/models/v1/customer_retrieve_entitlements_response.rb', line 209

required :id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/stigg/models/v1/customer_retrieve_entitlements_response.rb', line 252