Class: Google::Apis::AndroidmanagementV1::AddEsimParams

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

Parameters associated with the ADD_ESIM command to add an eSIM profile to the device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddEsimParams

Returns a new instance of AddEsimParams.



73
74
75
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 73

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

Instance Attribute Details

#activation_codeString

Required. The activation code for the eSIM profile. Corresponds to the JSON property activationCode

Returns:

  • (String)


66
67
68
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 66

def activation_code
  @activation_code
end

#activation_stateString

Required. The activation state of the eSIM profile once it is downloaded. Corresponds to the JSON property activationState

Returns:

  • (String)


71
72
73
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 71

def activation_state
  @activation_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



78
79
80
81
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 78

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