Class: Google::Apis::AndroiddeviceprovisioningV1::GetDeviceSimLockStateResponse
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::GetDeviceSimLockStateResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androiddeviceprovisioning_v1/classes.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
Response containing a device's SimLock state.
Instance Attribute Summary collapse
-
#sim_lock_state ⇒ String
Corresponds to the JSON property
simLockState
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetDeviceSimLockStateResponse
constructor
A new instance of GetDeviceSimLockStateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetDeviceSimLockStateResponse
Returns a new instance of GetDeviceSimLockStateResponse.
1061 1062 1063 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1061 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sim_lock_state ⇒ String
Corresponds to the JSON property simLockState
1059 1060 1061 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1059 def sim_lock_state @sim_lock_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1066 1067 1068 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1066 def update!(**args) @sim_lock_state = args[:sim_lock_state] if args.key?(:sim_lock_state) end |