All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.androiddeviceprovisioning.v1.model.OperationPerDevice Maven / Gradle / Ivy

/*
 * 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/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.androiddeviceprovisioning.v1.model;

/**
 * A task for each device in the operation. Corresponds to each device change in the 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 OperationPerDevice extends com.google.api.client.json.GenericJson { /** * A copy of the original device-claim request received by the server. * The value may be {@code null}. */ @com.google.api.client.util.Key private PartnerClaim claim; /** * The processing result for each device. * The value may be {@code null}. */ @com.google.api.client.util.Key private PerDeviceStatusInBatch result; /** * A copy of the original device-unclaim request received by the server. * The value may be {@code null}. */ @com.google.api.client.util.Key private PartnerUnclaim unclaim; /** * A copy of the original metadata-update request received by the server. * The value may be {@code null}. */ @com.google.api.client.util.Key private UpdateMetadataArguments updateMetadata; /** * A copy of the original device-claim request received by the server. * @return value or {@code null} for none */ public PartnerClaim getClaim() { return claim; } /** * A copy of the original device-claim request received by the server. * @param claim claim or {@code null} for none */ public OperationPerDevice setClaim(PartnerClaim claim) { this.claim = claim; return this; } /** * The processing result for each device. * @return value or {@code null} for none */ public PerDeviceStatusInBatch getResult() { return result; } /** * The processing result for each device. * @param result result or {@code null} for none */ public OperationPerDevice setResult(PerDeviceStatusInBatch result) { this.result = result; return this; } /** * A copy of the original device-unclaim request received by the server. * @return value or {@code null} for none */ public PartnerUnclaim getUnclaim() { return unclaim; } /** * A copy of the original device-unclaim request received by the server. * @param unclaim unclaim or {@code null} for none */ public OperationPerDevice setUnclaim(PartnerUnclaim unclaim) { this.unclaim = unclaim; return this; } /** * A copy of the original metadata-update request received by the server. * @return value or {@code null} for none */ public UpdateMetadataArguments getUpdateMetadata() { return updateMetadata; } /** * A copy of the original metadata-update request received by the server. * @param updateMetadata updateMetadata or {@code null} for none */ public OperationPerDevice setUpdateMetadata(UpdateMetadataArguments updateMetadata) { this.updateMetadata = updateMetadata; return this; } @Override public OperationPerDevice set(String fieldName, Object value) { return (OperationPerDevice) super.set(fieldName, value); } @Override public OperationPerDevice clone() { return (OperationPerDevice) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy