Class: Google::Apis::AlertcenterV1beta1::ApnsCertificateExpirationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb

Overview

The explanation message associated with ApnsCertificationExpiring and ApnsCertificationExpired alerts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApnsCertificateExpirationInfo

Returns a new instance of ApnsCertificateExpirationInfo.



462
463
464
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 462

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#apple_idString

The Apple ID used for the certificate may be blank if admins didn't enter it. Corresponds to the JSON property appleId

Returns:

  • (String)


450
451
452
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 450

def apple_id
  @apple_id
end

#expiration_timeString

The expiration date of the APNS Certificate. Corresponds to the JSON property expirationTime

Returns:

  • (String)


455
456
457
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 455

def expiration_time
  @expiration_time
end

#uidString

The UID for the certificate. Corresponds to the JSON property uid

Returns:

  • (String)


460
461
462
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 460

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



467
468
469
470
471
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 467

def update!(**args)
  @apple_id = args[:apple_id] if args.key?(:apple_id)
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
  @uid = args[:uid] if args.key?(:uid)
end