Class: MicrosoftGraph::Models::ApplePushNotificationCertificate
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/apple_push_notification_certificate.rb
Overview
Apple push notification certificate.
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
-
#apple_identifier ⇒ Object
Gets the appleIdentifier property value.
-
#apple_identifier=(value) ⇒ Object
Sets the appleIdentifier property value.
-
#certificate ⇒ Object
Gets the certificate property value.
-
#certificate=(value) ⇒ Object
Sets the certificate property value.
-
#certificate_serial_number ⇒ Object
Gets the certificateSerialNumber property value.
-
#certificate_serial_number=(value) ⇒ Object
Sets the certificateSerialNumber property value.
-
#certificate_upload_failure_reason ⇒ Object
Gets the certificateUploadFailureReason property value.
-
#certificate_upload_failure_reason=(value) ⇒ Object
Sets the certificateUploadFailureReason property value.
-
#certificate_upload_status ⇒ Object
Gets the certificateUploadStatus property value.
-
#certificate_upload_status=(value) ⇒ Object
Sets the certificateUploadStatus property value.
-
#expiration_date_time ⇒ Object
Gets the expirationDateTime property value.
-
#expiration_date_time=(value) ⇒ Object
Sets the expirationDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new applePushNotificationCertificate and sets the default values.
-
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value.
-
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#topic_identifier ⇒ Object
Gets the topicIdentifier property value.
-
#topic_identifier=(value) ⇒ Object
Sets the topicIdentifier property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new applePushNotificationCertificate and sets the default values.
115 116 117 |
# File 'lib/models/apple_push_notification_certificate.rb', line 115 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
123 124 125 126 |
# File 'lib/models/apple_push_notification_certificate.rb', line 123 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ApplePushNotificationCertificate.new end |
Instance Method Details
#apple_identifier ⇒ Object
Gets the appleIdentifier property value. Apple Id of the account used to create the MDM push certificate.
40 41 42 |
# File 'lib/models/apple_push_notification_certificate.rb', line 40 def apple_identifier return @apple_identifier end |
#apple_identifier=(value) ⇒ Object
Sets the appleIdentifier property value. Apple Id of the account used to create the MDM push certificate.
48 49 50 |
# File 'lib/models/apple_push_notification_certificate.rb', line 48 def apple_identifier=(value) @apple_identifier = value end |
#certificate ⇒ Object
Gets the certificate property value. Not yet documented
55 56 57 |
# File 'lib/models/apple_push_notification_certificate.rb', line 55 def certificate return @certificate end |
#certificate=(value) ⇒ Object
Sets the certificate property value. Not yet documented
63 64 65 |
# File 'lib/models/apple_push_notification_certificate.rb', line 63 def certificate=(value) @certificate = value end |
#certificate_serial_number ⇒ Object
Gets the certificateSerialNumber property value. Certificate serial number. This property is read-only.
70 71 72 |
# File 'lib/models/apple_push_notification_certificate.rb', line 70 def certificate_serial_number return @certificate_serial_number end |
#certificate_serial_number=(value) ⇒ Object
Sets the certificateSerialNumber property value. Certificate serial number. This property is read-only.
78 79 80 |
# File 'lib/models/apple_push_notification_certificate.rb', line 78 def certificate_serial_number=(value) @certificate_serial_number = value end |
#certificate_upload_failure_reason ⇒ Object
Gets the certificateUploadFailureReason property value. The reason the certificate upload failed.
85 86 87 |
# File 'lib/models/apple_push_notification_certificate.rb', line 85 def certificate_upload_failure_reason return @certificate_upload_failure_reason end |
#certificate_upload_failure_reason=(value) ⇒ Object
Sets the certificateUploadFailureReason property value. The reason the certificate upload failed.
93 94 95 |
# File 'lib/models/apple_push_notification_certificate.rb', line 93 def certificate_upload_failure_reason=(value) @certificate_upload_failure_reason = value end |
#certificate_upload_status ⇒ Object
Gets the certificateUploadStatus property value. The certificate upload status.
100 101 102 |
# File 'lib/models/apple_push_notification_certificate.rb', line 100 def certificate_upload_status return @certificate_upload_status end |
#certificate_upload_status=(value) ⇒ Object
Sets the certificateUploadStatus property value. The certificate upload status.
108 109 110 |
# File 'lib/models/apple_push_notification_certificate.rb', line 108 def certificate_upload_status=(value) @certificate_upload_status = value end |
#expiration_date_time ⇒ Object
Gets the expirationDateTime property value. The expiration date and time for Apple push notification certificate.
131 132 133 |
# File 'lib/models/apple_push_notification_certificate.rb', line 131 def expiration_date_time return @expiration_date_time end |
#expiration_date_time=(value) ⇒ Object
Sets the expirationDateTime property value. The expiration date and time for Apple push notification certificate.
139 140 141 |
# File 'lib/models/apple_push_notification_certificate.rb', line 139 def expiration_date_time=(value) @expiration_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'lib/models/apple_push_notification_certificate.rb', line 146 def get_field_deserializers() return super.merge({ "appleIdentifier" => lambda {|n| @apple_identifier = n.get_string_value() }, "certificate" => lambda {|n| @certificate = n.get_string_value() }, "certificateSerialNumber" => lambda {|n| @certificate_serial_number = n.get_string_value() }, "certificateUploadFailureReason" => lambda {|n| @certificate_upload_failure_reason = n.get_string_value() }, "certificateUploadStatus" => lambda {|n| @certificate_upload_status = n.get_string_value() }, "expirationDateTime" => lambda {|n| @expiration_date_time = n.get_date_time_value() }, "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, "topicIdentifier" => lambda {|n| @topic_identifier = n.get_string_value() }, }) end |
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value. Last modified date and time for Apple push notification certificate.
162 163 164 |
# File 'lib/models/apple_push_notification_certificate.rb', line 162 def last_modified_date_time return @last_modified_date_time end |
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value. Last modified date and time for Apple push notification certificate.
170 171 172 |
# File 'lib/models/apple_push_notification_certificate.rb', line 170 def last_modified_date_time=(value) @last_modified_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
178 179 180 181 182 183 184 185 186 187 188 |
# File 'lib/models/apple_push_notification_certificate.rb', line 178 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("appleIdentifier", @apple_identifier) writer.write_string_value("certificate", @certificate) writer.write_string_value("certificateUploadFailureReason", @certificate_upload_failure_reason) writer.write_string_value("certificateUploadStatus", @certificate_upload_status) writer.write_date_time_value("expirationDateTime", @expiration_date_time) writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) writer.write_string_value("topicIdentifier", @topic_identifier) end |
#topic_identifier ⇒ Object
Gets the topicIdentifier property value. Topic Id.
193 194 195 |
# File 'lib/models/apple_push_notification_certificate.rb', line 193 def topic_identifier return @topic_identifier end |
#topic_identifier=(value) ⇒ Object
Sets the topicIdentifier property value. Topic Id.
201 202 203 |
# File 'lib/models/apple_push_notification_certificate.rb', line 201 def topic_identifier=(value) @topic_identifier = value end |