Class: HubSpotSDK::Models::Files::Folder
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- HubSpotSDK::Models::Files::Folder
- Defined in:
- lib/hubspot_sdk/models/files/folder.rb
Instance Attribute Summary collapse
-
#archived ⇒ Boolean
Marks whether the folder is deleted or not.
-
#archived_at ⇒ Time?
Timestamp of folder deletion.
-
#created_at ⇒ Time
Timestamp of folder creation.
-
#id ⇒ String
ID of the folder.
-
#name ⇒ String?
Name of the folder.
-
#parent_folder_id ⇒ String?
ID of the parent folder.
-
#path ⇒ String?
Path of the folder in the file manager.
-
#updated_at ⇒ Time
Timestamp of the latest update to the folder.
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:, archived:, created_at:, updated_at:, archived_at: nil, name: nil, parent_folder_id: nil, path: nil) ⇒ Object
|
|
# File 'lib/hubspot_sdk/models/files/folder.rb', line 55
|
Instance Attribute Details
#archived ⇒ Boolean
Marks whether the folder is deleted or not.
17 |
# File 'lib/hubspot_sdk/models/files/folder.rb', line 17 required :archived, HubSpotSDK::Internal::Type::Boolean |
#archived_at ⇒ Time?
Timestamp of folder deletion.
35 |
# File 'lib/hubspot_sdk/models/files/folder.rb', line 35 optional :archived_at, Time, api_name: :archivedAt |
#created_at ⇒ Time
Timestamp of folder creation.
23 |
# File 'lib/hubspot_sdk/models/files/folder.rb', line 23 required :created_at, Time, api_name: :createdAt |
#id ⇒ String
ID of the folder.
11 |
# File 'lib/hubspot_sdk/models/files/folder.rb', line 11 required :id, String |
#name ⇒ String?
Name of the folder.
41 |
# File 'lib/hubspot_sdk/models/files/folder.rb', line 41 optional :name, String |
#parent_folder_id ⇒ String?
ID of the parent folder.
47 |
# File 'lib/hubspot_sdk/models/files/folder.rb', line 47 optional :parent_folder_id, String, api_name: :parentFolderId |
#path ⇒ String?
Path of the folder in the file manager.
53 |
# File 'lib/hubspot_sdk/models/files/folder.rb', line 53 optional :path, String |
#updated_at ⇒ Time
Timestamp of the latest update to the folder.
29 |
# File 'lib/hubspot_sdk/models/files/folder.rb', line 29 required :updated_at, Time, api_name: :updatedAt |