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

com.google.api.services.androidmanagement.v1.model.DpcMigrationInfo Maven / Gradle / Ivy

The newest version!
/*
 * 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.androidmanagement.v1.model;

/**
 * Information related to whether this device was migrated from being managed by another Device
 * Policy Controller (DPC).
 *
 * 

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 Management 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 DpcMigrationInfo extends com.google.api.client.json.GenericJson { /** * Output only. If this device was migrated from another DPC, the additionalData field of the * migration token is populated here. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String additionalData; /** * Output only. If this device was migrated from another DPC, this is its package name. Not * populated otherwise. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String previousDpc; /** * Output only. If this device was migrated from another DPC, the additionalData field of the * migration token is populated here. * @return value or {@code null} for none */ public java.lang.String getAdditionalData() { return additionalData; } /** * Output only. If this device was migrated from another DPC, the additionalData field of the * migration token is populated here. * @param additionalData additionalData or {@code null} for none */ public DpcMigrationInfo setAdditionalData(java.lang.String additionalData) { this.additionalData = additionalData; return this; } /** * Output only. If this device was migrated from another DPC, this is its package name. Not * populated otherwise. * @return value or {@code null} for none */ public java.lang.String getPreviousDpc() { return previousDpc; } /** * Output only. If this device was migrated from another DPC, this is its package name. Not * populated otherwise. * @param previousDpc previousDpc or {@code null} for none */ public DpcMigrationInfo setPreviousDpc(java.lang.String previousDpc) { this.previousDpc = previousDpc; return this; } @Override public DpcMigrationInfo set(String fieldName, Object value) { return (DpcMigrationInfo) super.set(fieldName, value); } @Override public DpcMigrationInfo clone() { return (DpcMigrationInfo) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy