Class: Autorender::Models::FolderListResponse::Folder

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/autorender/models/folder_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:, created_at:, folder_no:, name:, parent_folder_no:, path:, updated_at:) ⇒ Object

Parameters:

  • id (String)
  • created_at (Time)
  • folder_no (String)
  • name (String)
  • parent_folder_no (String, nil)
  • path (String)
  • updated_at (Time, nil)


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
56
57
58
59
60
61
62
# File 'lib/autorender/models/folder_list_response.rb', line 18

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

  # @!attribute created_at
  #
  #   @return [Time]
  required :created_at, Time

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

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

  # @!attribute parent_folder_no
  #
  #   @return [String, nil]
  required :parent_folder_no, String, nil?: true

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

  # @!attribute updated_at
  #
  #   @return [Time, nil]
  required :updated_at, Time, nil?: true

  # @!method initialize(id:, created_at:, folder_no:, name:, parent_folder_no:, path:, updated_at:)
  #   @param id [String]
  #   @param created_at [Time]
  #   @param folder_no [String]
  #   @param name [String]
  #   @param parent_folder_no [String, nil]
  #   @param path [String]
  #   @param updated_at [Time, nil]
end

Instance Attribute Details

#created_atTime

Returns:

  • (Time)


27
# File 'lib/autorender/models/folder_list_response.rb', line 27

required :created_at, Time

#folder_noString

Returns:

  • (String)


32
# File 'lib/autorender/models/folder_list_response.rb', line 32

required :folder_no, String

#idString

Returns:

  • (String)


22
# File 'lib/autorender/models/folder_list_response.rb', line 22

required :id, String

#nameString

Returns:

  • (String)


37
# File 'lib/autorender/models/folder_list_response.rb', line 37

required :name, String

#parent_folder_noString?

Returns:

  • (String, nil)


42
# File 'lib/autorender/models/folder_list_response.rb', line 42

required :parent_folder_no, String, nil?: true

#pathString

Returns:

  • (String)


47
# File 'lib/autorender/models/folder_list_response.rb', line 47

required :path, String

#updated_atTime?

Returns:

  • (Time, nil)


52
# File 'lib/autorender/models/folder_list_response.rb', line 52

required :updated_at, Time, nil?: true