Class: Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androiddeviceprovisioning_v1/classes.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
containing the necessary info about a claim for a partner.
Instance Attribute Summary collapse
-
#owner_company_id ⇒ Fixnum
owner id Corresponds to the JSON property
ownerCompanyId. -
#section_type ⇒ String
section type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceClaim
constructor
A new instance of DeviceClaim.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeviceClaim
Returns a new instance of DeviceClaim
212 213 214 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#owner_company_id ⇒ Fixnum
owner id
Corresponds to the JSON property ownerCompanyId
205 206 207 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 205 def owner_company_id @owner_company_id end |
#section_type ⇒ String
section type.
Corresponds to the JSON property sectionType
210 211 212 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 210 def section_type @section_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
217 218 219 220 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 217 def update!(**args) @owner_company_id = args[:owner_company_id] if args.key?(:owner_company_id) @section_type = args[:section_type] if args.key?(:section_type) end |