Class: Zavudev::Models::Functions::SecretListResponse::Secret

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/zavudev/models/functions/secret_list_response.rb

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

#initialize(id:, key:, value_last4:, created_at: nil, synced_to_aws: nil, updated_at: nil) ⇒ Object

Parameters:

  • id (String)
  • key (String)
  • value_last4 (String)
  • created_at (Float) (defaults to: nil)
  • synced_to_aws (Boolean) (defaults to: nil)
  • updated_at (Float) (defaults to: nil)


17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/zavudev/models/functions/secret_list_response.rb', line 17

class Secret < Zavudev::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [String]
  required :id, String

  # @!attribute key
  #
  #   @return [String]
  required :key, String

  # @!attribute value_last4
  #
  #   @return [String]
  required :value_last4, String, api_name: :valueLast4

  # @!attribute created_at
  #
  #   @return [Float, nil]
  optional :created_at, Float, api_name: :createdAt

  # @!attribute synced_to_aws
  #
  #   @return [Boolean, nil]
  optional :synced_to_aws, Zavudev::Internal::Type::Boolean, api_name: :syncedToAws

  # @!attribute updated_at
  #
  #   @return [Float, nil]
  optional :updated_at, Float, api_name: :updatedAt

  # @!method initialize(id:, key:, value_last4:, created_at: nil, synced_to_aws: nil, updated_at: nil)
  #   @param id [String]
  #   @param key [String]
  #   @param value_last4 [String]
  #   @param created_at [Float]
  #   @param synced_to_aws [Boolean]
  #   @param updated_at [Float]
end

Instance Attribute Details

#created_atFloat?

Returns:

  • (Float, nil)


36
# File 'lib/zavudev/models/functions/secret_list_response.rb', line 36

optional :created_at, Float, api_name: :createdAt

#idString

Returns:

  • (String)


21
# File 'lib/zavudev/models/functions/secret_list_response.rb', line 21

required :id, String

#keyString

Returns:

  • (String)


26
# File 'lib/zavudev/models/functions/secret_list_response.rb', line 26

required :key, String

#synced_to_awsBoolean?

Returns:

  • (Boolean, nil)


41
# File 'lib/zavudev/models/functions/secret_list_response.rb', line 41

optional :synced_to_aws, Zavudev::Internal::Type::Boolean, api_name: :syncedToAws

#updated_atFloat?

Returns:

  • (Float, nil)


46
# File 'lib/zavudev/models/functions/secret_list_response.rb', line 46

optional :updated_at, Float, api_name: :updatedAt

#value_last4String

Returns:

  • (String)


31
# File 'lib/zavudev/models/functions/secret_list_response.rb', line 31

required :value_last4, String, api_name: :valueLast4