Class: Azure::ARM::Graph::Models::PasswordCredential
- Inherits:
-
Object
- Object
- Azure::ARM::Graph::Models::PasswordCredential
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_graph/models/password_credential.rb
Overview
Active Directory Password Credential information.
Instance Attribute Summary collapse
-
#end_date ⇒ DateTime
End date.
-
#key_id ⇒ String
Key ID.
-
#start_date ⇒ DateTime
Start date.
-
#value ⇒ String
Key value.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PasswordCredential class as Ruby Hash.
Instance Attribute Details
#end_date ⇒ DateTime
Returns End date.
20 21 22 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 20 def end_date @end_date end |
#key_id ⇒ String
Returns Key ID.
23 24 25 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 23 def key_id @key_id end |
#start_date ⇒ DateTime
Returns Start date.
17 18 19 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 17 def start_date @start_date end |
#value ⇒ String
Returns Key value.
26 27 28 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 26 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for PasswordCredential class as Ruby Hash. This will be used for serialization/deserialization.
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 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 33 def self.mapper() { required: false, serialized_name: 'PasswordCredential', type: { name: 'Composite', class_name: 'PasswordCredential', model_properties: { start_date: { required: false, serialized_name: 'startDate', type: { name: 'DateTime' } }, end_date: { required: false, serialized_name: 'endDate', type: { name: 'DateTime' } }, key_id: { required: false, serialized_name: 'keyId', type: { name: 'String' } }, value: { required: false, serialized_name: 'value', type: { name: 'String' } } } } } end |