Class: Google::Apis::AndroidmanagementV1::AddEsimParams
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::AddEsimParams
- 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
-
#activation_code ⇒ String
Required.
-
#activation_state ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddEsimParams
constructor
A new instance of AddEsimParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_code ⇒ String
Required. The activation code for the eSIM profile.
Corresponds to the JSON property activationCode
66 67 68 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 66 def activation_code @activation_code end |
#activation_state ⇒ String
Required. The activation state of the eSIM profile once it is downloaded.
Corresponds to the JSON property activationState
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 |