Class: MicrosoftGraph::Models::ApplePushNotificationCertificate
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/apple_push_notification_certificate.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
-
#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.
113 114 115 |
# File 'lib/models/apple_push_notification_certificate.rb', line 113 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
121 122 123 124 |
# File 'lib/models/apple_push_notification_certificate.rb', line 121 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.
38 39 40 |
# File 'lib/models/apple_push_notification_certificate.rb', line 38 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.
46 47 48 |
# File 'lib/models/apple_push_notification_certificate.rb', line 46 def apple_identifier=(value) @apple_identifier = value end |
#certificate ⇒ Object
Gets the certificate property value. Not yet documented
53 54 55 |
# File 'lib/models/apple_push_notification_certificate.rb', line 53 def certificate return @certificate end |
#certificate=(value) ⇒ Object
Sets the certificate property value. Not yet documented
61 62 63 |
# File 'lib/models/apple_push_notification_certificate.rb', line 61 def certificate=(value) @certificate = value end |
#certificate_serial_number ⇒ Object
Gets the certificateSerialNumber property value. Certificate serial number. This property is read-only.
68 69 70 |
# File 'lib/models/apple_push_notification_certificate.rb', line 68 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.
76 77 78 |
# File 'lib/models/apple_push_notification_certificate.rb', line 76 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.
83 84 85 |
# File 'lib/models/apple_push_notification_certificate.rb', line 83 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.
91 92 93 |
# File 'lib/models/apple_push_notification_certificate.rb', line 91 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.
98 99 100 |
# File 'lib/models/apple_push_notification_certificate.rb', line 98 def certificate_upload_status return @certificate_upload_status end |
#certificate_upload_status=(value) ⇒ Object
Sets the certificateUploadStatus property value. The certificate upload status.
106 107 108 |
# File 'lib/models/apple_push_notification_certificate.rb', line 106 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.
129 130 131 |
# File 'lib/models/apple_push_notification_certificate.rb', line 129 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.
137 138 139 |
# File 'lib/models/apple_push_notification_certificate.rb', line 137 def expiration_date_time=(value) @expiration_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/models/apple_push_notification_certificate.rb', line 144 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.
160 161 162 |
# File 'lib/models/apple_push_notification_certificate.rb', line 160 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.
168 169 170 |
# File 'lib/models/apple_push_notification_certificate.rb', line 168 def last_modified_date_time=(value) @last_modified_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
176 177 178 179 180 181 182 183 184 185 186 |
# File 'lib/models/apple_push_notification_certificate.rb', line 176 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.
191 192 193 |
# File 'lib/models/apple_push_notification_certificate.rb', line 191 def topic_identifier return @topic_identifier end |
#topic_identifier=(value) ⇒ Object
Sets the topicIdentifier property value. Topic Id.
199 200 201 |
# File 'lib/models/apple_push_notification_certificate.rb', line 199 def topic_identifier=(value) @topic_identifier = value end |