Class: Google::Apis::AlertcenterV1beta1::VoicemailRecipientError

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

Issue(s) with a voicemail recipient.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VoicemailRecipientError

Returns a new instance of VoicemailRecipientError.



2450
2451
2452
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2450

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

Instance Attribute Details

#emailString

Email address of the invalid recipient. This may be unavailable if the recipient was deleted. Corresponds to the JSON property email

Returns:

  • (String)


2443
2444
2445
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2443

def email
  @email
end

#invalid_reasonString

Reason for the error. Corresponds to the JSON property invalidReason

Returns:

  • (String)


2448
2449
2450
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2448

def invalid_reason
  @invalid_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2455
2456
2457
2458
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2455

def update!(**args)
  @email = args[:email] if args.key?(:email)
  @invalid_reason = args[:invalid_reason] if args.key?(:invalid_reason)
end