Class: Cadenya::Models::ToolSets::ToolSetSecretInfo

Inherits:
Internal::Type::BaseModel show all
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

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

#initializeObject



18
# File 'sig/cadenya/models/tool_sets/tool_set_secret_info.rbs', line 18

def initialize: (

Instance Attribute Details

#created_byCadenya::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.

Parameters:

Returns:



13
# File 'lib/cadenya/models/tool_sets/tool_set_secret_info.rb', line 13

optional :created_by, -> { Cadenya::Profile }, api_name: :createdBy

#last_used_atTime? (readonly)

Returns the value of attribute last_used_at.

Returns:

  • (Time, nil)


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)

Parameters:

  • (Time)

Returns:

  • (Time)


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 }

Returns:



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 }