Class: Azure::Storage::Mgmt::V2021_01_01::Models::SystemData
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::SystemData
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb
Overview
Metadata pertaining to creation and last modification of the resource.
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
The timestamp of resource creation (UTC).
-
#created_by ⇒ String
The identity that created the resource.
-
#created_by_type ⇒ CreatedByType
Possible values include: ‘User’, ‘Application’, ‘ManagedIdentity’, ‘Key’.
-
#last_modified_at ⇒ DateTime
The timestamp of resource last modification (UTC).
-
#last_modified_by ⇒ String
The identity that last modified the resource.
-
#last_modified_by_type ⇒ CreatedByType
resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SystemData class as Ruby Hash.
Instance Attribute Details
#created_at ⇒ DateTime
Returns The timestamp of resource creation (UTC).
24 25 26 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 24 def created_at @created_at end |
#created_by ⇒ String
Returns The identity that created the resource.
16 17 18 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 16 def created_by @created_by end |
#created_by_type ⇒ CreatedByType
Possible values include: ‘User’, ‘Application’, ‘ManagedIdentity’, ‘Key’
21 22 23 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 21 def created_by_type @created_by_type end |
#last_modified_at ⇒ DateTime
Returns The timestamp of resource last modification (UTC).
35 36 37 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 35 def last_modified_at @last_modified_at end |
#last_modified_by ⇒ String
Returns The identity that last modified the resource.
27 28 29 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 27 def last_modified_by @last_modified_by end |
#last_modified_by_type ⇒ CreatedByType
resource. Possible values include: ‘User’, ‘Application’, ‘ManagedIdentity’, ‘Key’
32 33 34 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 32 def last_modified_by_type @last_modified_by_type end |
Class Method Details
.mapper ⇒ Object
Mapper for SystemData class as Ruby Hash. This will be used for serialization/deserialization.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'systemData', type: { name: 'Composite', class_name: 'SystemData', model_properties: { created_by: { client_side_validation: true, required: false, serialized_name: 'createdBy', type: { name: 'String' } }, created_by_type: { client_side_validation: true, required: false, serialized_name: 'createdByType', type: { name: 'String' } }, created_at: { client_side_validation: true, required: false, serialized_name: 'createdAt', type: { name: 'DateTime' } }, last_modified_by: { client_side_validation: true, required: false, serialized_name: 'lastModifiedBy', type: { name: 'String' } }, last_modified_by_type: { client_side_validation: true, required: false, serialized_name: 'lastModifiedByType', type: { name: 'String' } }, last_modified_at: { client_side_validation: true, required: false, serialized_name: 'lastModifiedAt', type: { name: 'DateTime' } } } } } end |