Class: Google::Apis::AndroiddeviceprovisioningV1::GetDeviceSimLockStateResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_stateString

Corresponds to the JSON property simLockState

Returns:

  • (String)


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