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.



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

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



3052
3053
3054
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3052

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



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

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)


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

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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