Class: MicrosoftGraph::Models::SigningCertificateUpdateStatus
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::SigningCertificateUpdateStatus
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/signing_certificate_update_status.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#certificate_update_result ⇒ Object
Gets the certificateUpdateResult property value.
-
#certificate_update_result=(value) ⇒ Object
Sets the certificateUpdateResult property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new signingCertificateUpdateStatus and sets the default values.
-
#last_run_date_time ⇒ Object
Gets the lastRunDateTime property value.
-
#last_run_date_time=(value) ⇒ Object
Sets the lastRunDateTime property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Constructor Details
#initialize ⇒ Object
Instantiates a new signingCertificateUpdateStatus and sets the default values.
56 57 58 |
# File 'lib/models/signing_certificate_update_status.rb', line 56 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
64 65 66 67 |
# File 'lib/models/signing_certificate_update_status.rb', line 64 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SigningCertificateUpdateStatus.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
26 27 28 |
# File 'lib/models/signing_certificate_update_status.rb', line 26 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
34 35 36 |
# File 'lib/models/signing_certificate_update_status.rb', line 34 def additional_data=(value) @additional_data = value end |
#certificate_update_result ⇒ Object
Gets the certificateUpdateResult property value. Status of the last certificate update. Read-only. For a list of statuses, see certificateUpdateResult status.
41 42 43 |
# File 'lib/models/signing_certificate_update_status.rb', line 41 def certificate_update_result return @certificate_update_result end |
#certificate_update_result=(value) ⇒ Object
Sets the certificateUpdateResult property value. Status of the last certificate update. Read-only. For a list of statuses, see certificateUpdateResult status.
49 50 51 |
# File 'lib/models/signing_certificate_update_status.rb', line 49 def certificate_update_result=(value) @certificate_update_result = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
72 73 74 75 76 77 78 |
# File 'lib/models/signing_certificate_update_status.rb', line 72 def get_field_deserializers() return { "certificateUpdateResult" => lambda {|n| @certificate_update_result = n.get_string_value() }, "lastRunDateTime" => lambda {|n| @last_run_date_time = n.get_date_time_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, } end |
#last_run_date_time ⇒ Object
Gets the lastRunDateTime property value. Date and time in ISO 8601 format and in UTC time when the certificate was last updated. Read-only.
83 84 85 |
# File 'lib/models/signing_certificate_update_status.rb', line 83 def last_run_date_time return @last_run_date_time end |
#last_run_date_time=(value) ⇒ Object
Sets the lastRunDateTime property value. Date and time in ISO 8601 format and in UTC time when the certificate was last updated. Read-only.
91 92 93 |
# File 'lib/models/signing_certificate_update_status.rb', line 91 def last_run_date_time=(value) @last_run_date_time = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
98 99 100 |
# File 'lib/models/signing_certificate_update_status.rb', line 98 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
106 107 108 |
# File 'lib/models/signing_certificate_update_status.rb', line 106 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
114 115 116 117 118 119 120 |
# File 'lib/models/signing_certificate_update_status.rb', line 114 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("certificateUpdateResult", @certificate_update_result) writer.write_date_time_value("lastRunDateTime", @last_run_date_time) writer.write_string_value("@odata.type", @odata_type) writer.write_additional_data(@additional_data) end |