com.google.api.services.androiddeviceprovisioning.v1.model.PartnerClaim Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/google/apis-client-generator/
* (build: 2018-05-04 17:28:03 UTC)
* on 2018-07-23 at 16:35:20 UTC
* Modify at your own risk.
*/
package com.google.api.services.androiddeviceprovisioning.v1.model;
/**
* Identifies one claim request.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Android Device Provisioning Partner API. For a
* detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class PartnerClaim extends com.google.api.client.json.GenericJson {
/**
* Required. The ID of the customer for whom the device is being claimed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long customerId;
/**
* Required. Device identifier of the device.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DeviceIdentifier deviceIdentifier;
/**
* Required. The metadata to attach to the device at claim.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DeviceMetadata deviceMetadata;
/**
* Required. The section type of the device's provisioning record.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sectionType;
/**
* Required. The ID of the customer for whom the device is being claimed.
* @return value or {@code null} for none
*/
public java.lang.Long getCustomerId() {
return customerId;
}
/**
* Required. The ID of the customer for whom the device is being claimed.
* @param customerId customerId or {@code null} for none
*/
public PartnerClaim setCustomerId(java.lang.Long customerId) {
this.customerId = customerId;
return this;
}
/**
* Required. Device identifier of the device.
* @return value or {@code null} for none
*/
public DeviceIdentifier getDeviceIdentifier() {
return deviceIdentifier;
}
/**
* Required. Device identifier of the device.
* @param deviceIdentifier deviceIdentifier or {@code null} for none
*/
public PartnerClaim setDeviceIdentifier(DeviceIdentifier deviceIdentifier) {
this.deviceIdentifier = deviceIdentifier;
return this;
}
/**
* Required. The metadata to attach to the device at claim.
* @return value or {@code null} for none
*/
public DeviceMetadata getDeviceMetadata() {
return deviceMetadata;
}
/**
* Required. The metadata to attach to the device at claim.
* @param deviceMetadata deviceMetadata or {@code null} for none
*/
public PartnerClaim setDeviceMetadata(DeviceMetadata deviceMetadata) {
this.deviceMetadata = deviceMetadata;
return this;
}
/**
* Required. The section type of the device's provisioning record.
* @return value or {@code null} for none
*/
public java.lang.String getSectionType() {
return sectionType;
}
/**
* Required. The section type of the device's provisioning record.
* @param sectionType sectionType or {@code null} for none
*/
public PartnerClaim setSectionType(java.lang.String sectionType) {
this.sectionType = sectionType;
return this;
}
@Override
public PartnerClaim set(String fieldName, Object value) {
return (PartnerClaim) super.set(fieldName, value);
}
@Override
public PartnerClaim clone() {
return (PartnerClaim) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy