Class: Cadenya::Models::ToolSets::ToolSetSecretInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ToolSets::ToolSetSecretInfo
- Defined in:
- lib/cadenya/models/tool_sets/tool_set_secret_info.rb,
sig/cadenya/models/tool_sets/tool_set_secret_info.rbs
Instance Attribute Summary collapse
-
#created_by ⇒ Cadenya::Models::Profile?
A profile identifies a user or non-human principal (such as an API key) at the account level.
-
#last_used_at ⇒ Time?
readonly
Returns the value of attribute last_used_at.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #last_used_at ⇒ Time readonly
- #to_hash ⇒ { created_by: Cadenya::Profile, last_used_at: Time }
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 ⇒ Object
18 |
# File 'sig/cadenya/models/tool_sets/tool_set_secret_info.rbs', line 18
def initialize: (
|
Instance Attribute Details
#created_by ⇒ Cadenya::Models::Profile?
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
13 |
# File 'lib/cadenya/models/tool_sets/tool_set_secret_info.rb', line 13 optional :created_by, -> { Cadenya::Profile }, api_name: :createdBy |
#last_used_at ⇒ Time? (readonly)
Returns the value of attribute last_used_at.
14 15 16 |
# File 'sig/cadenya/models/tool_sets/tool_set_secret_info.rbs', line 14 def last_used_at @last_used_at end |
Instance Method Details
#last_used_at= ⇒ Time (readonly)
16 |
# File 'sig/cadenya/models/tool_sets/tool_set_secret_info.rbs', line 16
def last_used_at=: (Time) -> Time
|
#to_hash ⇒ { created_by: Cadenya::Profile, last_used_at: Time }
23 |
# File 'sig/cadenya/models/tool_sets/tool_set_secret_info.rbs', line 23
def to_hash: -> { created_by: Cadenya::Profile, last_used_at: Time }
|