Class: Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb
Overview
The description of an X509 CA Certificate including the challenge nonce issued for the Proof-Of-Possession flow.
Instance Attribute Summary collapse
-
#created ⇒ DateTime
The certificate’s create date and time.
-
#expiry ⇒ DateTime
The certificate’s expiration date and time.
-
#is_verified ⇒ Boolean
Determines whether certificate has been verified.
-
#subject ⇒ String
The certificate’s subject name.
-
#thumbprint ⇒ String
The certificate’s thumbprint.
-
#updated ⇒ DateTime
The certificate’s last update date and time.
-
#verification_code ⇒ String
for proof of possession.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CertificatePropertiesWithNonce class as Ruby Hash.
Instance Attribute Details
#created ⇒ DateTime
Returns The certificate’s create date and time.
29 30 31 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 29 def created @created end |
#expiry ⇒ DateTime
Returns The certificate’s expiration date and time.
20 21 22 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 20 def expiry @expiry end |
#is_verified ⇒ Boolean
Returns Determines whether certificate has been verified.
26 27 28 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 26 def is_verified @is_verified end |
#subject ⇒ String
Returns The certificate’s subject name.
17 18 19 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 17 def subject @subject end |
#thumbprint ⇒ String
Returns The certificate’s thumbprint.
23 24 25 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 23 def thumbprint @thumbprint end |
#updated ⇒ DateTime
Returns The certificate’s last update date and time.
32 33 34 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 32 def updated @updated end |
#verification_code ⇒ String
for proof of possession.
36 37 38 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 36 def verification_code @verification_code end |
Class Method Details
.mapper ⇒ Object
Mapper for CertificatePropertiesWithNonce class as Ruby Hash. This will be used for serialization/deserialization.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificatePropertiesWithNonce', type: { name: 'Composite', class_name: 'CertificatePropertiesWithNonce', model_properties: { subject: { client_side_validation: true, required: false, read_only: true, serialized_name: 'subject', type: { name: 'String' } }, expiry: { client_side_validation: true, required: false, read_only: true, serialized_name: 'expiry', type: { name: 'DateTimeRfc1123' } }, thumbprint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'thumbprint', type: { name: 'String' } }, is_verified: { client_side_validation: true, required: false, read_only: true, serialized_name: 'isVerified', type: { name: 'Boolean' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'created', type: { name: 'DateTimeRfc1123' } }, updated: { client_side_validation: true, required: false, read_only: true, serialized_name: 'updated', type: { name: 'DateTimeRfc1123' } }, verification_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'verificationCode', type: { name: 'String' } } } } } end |