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.



3091
3092
3093
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3091

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



3079
3080
3081
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3079

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



3084
3085
3086
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3084

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)


3089
3090
3091
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3089

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3096
3097
3098
3099
3100
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3096

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