com.google.api.services.androiddeviceprovisioning.v1.model.FindDevicesByDeviceIdentifierRequest 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;
/**
* Request to find devices.
*
* 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 FindDevicesByDeviceIdentifierRequest extends com.google.api.client.json.GenericJson {
/**
* Required. Required. The device identifier to search for.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DeviceIdentifier deviceIdentifier;
/**
* Required. The maximum number of devices to show in a page of results. Must be between 1 and 100
* inclusive.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long limit;
/**
* A token specifying which result page to return.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String pageToken;
/**
* Required. Required. The device identifier to search for.
* @return value or {@code null} for none
*/
public DeviceIdentifier getDeviceIdentifier() {
return deviceIdentifier;
}
/**
* Required. Required. The device identifier to search for.
* @param deviceIdentifier deviceIdentifier or {@code null} for none
*/
public FindDevicesByDeviceIdentifierRequest setDeviceIdentifier(DeviceIdentifier deviceIdentifier) {
this.deviceIdentifier = deviceIdentifier;
return this;
}
/**
* Required. The maximum number of devices to show in a page of results. Must be between 1 and 100
* inclusive.
* @return value or {@code null} for none
*/
public java.lang.Long getLimit() {
return limit;
}
/**
* Required. The maximum number of devices to show in a page of results. Must be between 1 and 100
* inclusive.
* @param limit limit or {@code null} for none
*/
public FindDevicesByDeviceIdentifierRequest setLimit(java.lang.Long limit) {
this.limit = limit;
return this;
}
/**
* A token specifying which result page to return.
* @return value or {@code null} for none
*/
public java.lang.String getPageToken() {
return pageToken;
}
/**
* A token specifying which result page to return.
* @param pageToken pageToken or {@code null} for none
*/
public FindDevicesByDeviceIdentifierRequest setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
return this;
}
@Override
public FindDevicesByDeviceIdentifierRequest set(String fieldName, Object value) {
return (FindDevicesByDeviceIdentifierRequest) super.set(fieldName, value);
}
@Override
public FindDevicesByDeviceIdentifierRequest clone() {
return (FindDevicesByDeviceIdentifierRequest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy