Class: Google::Apis::AndroidmanagementV1::EsimCommandStatus

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

Overview

Status and error details (if present) of an ADD_ESIM or REMOVE_ESIM command.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EsimCommandStatus

Returns a new instance of EsimCommandStatus.



3070
3071
3072
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3070

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

Instance Attribute Details

#esim_infoGoogle::Apis::AndroidmanagementV1::EsimInfo

Details of the eSIM added or removed. Corresponds to the JSON property esimInfo



3058
3059
3060
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3058

def esim_info
  @esim_info
end

#internal_error_detailsGoogle::Apis::AndroidmanagementV1::InternalErrorDetails

Internal error details if present for the ADD_ESIM or REMOVE_ESIM command. Corresponds to the JSON property internalErrorDetails



3063
3064
3065
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3063

def internal_error_details
  @internal_error_details
end

#statusString

Output only. Status of an ADD_ESIM or REMOVE_ESIM command. Corresponds to the JSON property status

Returns:

  • (String)


3068
3069
3070
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3068

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3075
3076
3077
3078
3079
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3075

def update!(**args)
  @esim_info = args[:esim_info] if args.key?(:esim_info)
  @internal_error_details = args[:internal_error_details] if args.key?(:internal_error_details)
  @status = args[:status] if args.key?(:status)
end