Class: Openlayer::Models::Governance::RuleRetrieveResponse::Tag
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Governance::RuleRetrieveResponse::Tag
- Defined in:
- lib/openlayer/models/governance/rule_retrieve_response.rb,
sig/openlayer/models/governance/rule_retrieve_response.rbs
Instance Attribute Summary collapse
-
#color ⇒ String?
The color the tag is displayed with.
-
#creator_id ⇒ String?
Returns the value of attribute creator_id.
-
#date_created ⇒ Time
Returns the value of attribute date_created.
-
#date_updated ⇒ Time
Returns the value of attribute date_updated.
-
#id ⇒ String
Returns the value of attribute id.
-
#immutable ⇒ Boolean
Returns the value of attribute immutable.
-
#name ⇒ String
The tag name.
-
#workspace_id ⇒ String
Returns the value of attribute workspace_id.
Instance Method Summary collapse
- #initialize(id:, creator_id:, date_created:, date_updated:, immutable:, name:, workspace_id:, color: nil) ⇒ Object constructor
- #to_hash ⇒ {
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:, creator_id:, date_created:, date_updated:, immutable:, name:, workspace_id:, color: nil) ⇒ Object
|
|
# File 'lib/openlayer/models/governance/rule_retrieve_response.rb', line 622
|
Instance Attribute Details
#color ⇒ String?
The color the tag is displayed with.
582 |
# File 'lib/openlayer/models/governance/rule_retrieve_response.rb', line 582 optional :color, String, nil?: true |
#creator_id ⇒ String?
Returns the value of attribute creator_id.
495 496 497 |
# File 'sig/openlayer/models/governance/rule_retrieve_response.rbs', line 495 def creator_id @creator_id end |
#date_created ⇒ Time
Returns the value of attribute date_created.
497 498 499 |
# File 'sig/openlayer/models/governance/rule_retrieve_response.rbs', line 497 def date_created @date_created end |
#date_updated ⇒ Time
Returns the value of attribute date_updated.
499 500 501 |
# File 'sig/openlayer/models/governance/rule_retrieve_response.rbs', line 499 def date_updated @date_updated end |
#id ⇒ String
Returns the value of attribute id.
493 494 495 |
# File 'sig/openlayer/models/governance/rule_retrieve_response.rbs', line 493 def id @id end |
#immutable ⇒ Boolean
Returns the value of attribute immutable.
501 502 503 |
# File 'sig/openlayer/models/governance/rule_retrieve_response.rbs', line 501 def immutable @immutable end |
#name ⇒ String
The tag name.
576 |
# File 'lib/openlayer/models/governance/rule_retrieve_response.rb', line 576 required :name, String |
#workspace_id ⇒ String
Returns the value of attribute workspace_id.
503 504 505 |
# File 'sig/openlayer/models/governance/rule_retrieve_response.rbs', line 503 def workspace_id @workspace_id end |
Instance Method Details
#to_hash ⇒ {
516 |
# File 'sig/openlayer/models/governance/rule_retrieve_response.rbs', line 516
def to_hash: -> {
|