Class: Google::Apis::AlertcenterV1beta1::TransferError
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::TransferError
- 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
Details for an invalid transfer or forward.
Instance Attribute Summary collapse
-
#email ⇒ String
User's email address.
-
#entity_type ⇒ String
Type of entity being transferred to.
-
#id ⇒ String
Ring group or auto attendant ID.
-
#invalid_reason ⇒ String
Reason for the error.
-
#name ⇒ String
User's full name, or the ring group / auto attendant name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferError
constructor
A new instance of TransferError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransferError
Returns a new instance of TransferError.
2269 2270 2271 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
User's email address. This may be unavailable if the entity was deleted.
Corresponds to the JSON property email
2245 2246 2247 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2245 def email @email end |
#entity_type ⇒ String
Type of entity being transferred to. For ring group members, this should
always be USER.
Corresponds to the JSON property entityType
2251 2252 2253 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2251 def entity_type @entity_type end |
#id ⇒ String
Ring group or auto attendant ID. Not set for users.
Corresponds to the JSON property id
2256 2257 2258 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2256 def id @id end |
#invalid_reason ⇒ String
Reason for the error.
Corresponds to the JSON property invalidReason
2261 2262 2263 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2261 def invalid_reason @invalid_reason end |
#name ⇒ String
User's full name, or the ring group / auto attendant name. This may be
unavailable if the entity was deleted.
Corresponds to the JSON property name
2267 2268 2269 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2267 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2274 2275 2276 2277 2278 2279 2280 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2274 def update!(**args) @email = args[:email] if args.key?(:email) @entity_type = args[:entity_type] if args.key?(:entity_type) @id = args[:id] if args.key?(:id) @invalid_reason = args[:invalid_reason] if args.key?(:invalid_reason) @name = args[:name] if args.key?(:name) end |