![JAR search and dependency download from the Maven repository](/logo.png)
com.google.api.services.spectrum.model.PawsVerifyDeviceRequest 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: 2016-05-04 15:59:39 UTC)
* on 2016-05-18 at 06:28:13 UTC
* Modify at your own risk.
*/
package com.google.api.services.spectrum.model;
/**
* The device validation request message.
*
* 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 Google Spectrum Database 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 PawsVerifyDeviceRequest extends com.google.api.client.json.GenericJson {
/**
* A list of device descriptors, which specifies the slave devices to be validated, is required.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List deviceDescs;
static {
// hack to force ProGuard to consider DeviceDescriptor used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(DeviceDescriptor.class);
}
/**
* The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
*
* Required field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;
/**
* The PAWS version. Must be exactly 1.0.
*
* Required field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String version;
/**
* A list of device descriptors, which specifies the slave devices to be validated, is required.
* @return value or {@code null} for none
*/
public java.util.List getDeviceDescs() {
return deviceDescs;
}
/**
* A list of device descriptors, which specifies the slave devices to be validated, is required.
* @param deviceDescs deviceDescs or {@code null} for none
*/
public PawsVerifyDeviceRequest setDeviceDescs(java.util.List deviceDescs) {
this.deviceDescs = deviceDescs;
return this;
}
/**
* The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
*
* Required field.
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}
/**
* The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
*
* Required field.
* @param type type or {@code null} for none
*/
public PawsVerifyDeviceRequest setType(java.lang.String type) {
this.type = type;
return this;
}
/**
* The PAWS version. Must be exactly 1.0.
*
* Required field.
* @return value or {@code null} for none
*/
public java.lang.String getVersion() {
return version;
}
/**
* The PAWS version. Must be exactly 1.0.
*
* Required field.
* @param version version or {@code null} for none
*/
public PawsVerifyDeviceRequest setVersion(java.lang.String version) {
this.version = version;
return this;
}
@Override
public PawsVerifyDeviceRequest set(String fieldName, Object value) {
return (PawsVerifyDeviceRequest) super.set(fieldName, value);
}
@Override
public PawsVerifyDeviceRequest clone() {
return (PawsVerifyDeviceRequest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy