com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementV1Device 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.chromemanagement.v1.model;
/**
* Describes a device reporting Chrome browser information.
*
* 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 Chrome 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 GoogleChromeManagementV1Device extends com.google.api.client.json.GenericJson {
/**
* Output only. The ID of the device that reported this Chrome browser information.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String deviceId;
/**
* Output only. The name of the machine within its local network.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String machine;
/**
* Output only. The ID of the device that reported this Chrome browser information.
* @return value or {@code null} for none
*/
public java.lang.String getDeviceId() {
return deviceId;
}
/**
* Output only. The ID of the device that reported this Chrome browser information.
* @param deviceId deviceId or {@code null} for none
*/
public GoogleChromeManagementV1Device setDeviceId(java.lang.String deviceId) {
this.deviceId = deviceId;
return this;
}
/**
* Output only. The name of the machine within its local network.
* @return value or {@code null} for none
*/
public java.lang.String getMachine() {
return machine;
}
/**
* Output only. The name of the machine within its local network.
* @param machine machine or {@code null} for none
*/
public GoogleChromeManagementV1Device setMachine(java.lang.String machine) {
this.machine = machine;
return this;
}
@Override
public GoogleChromeManagementV1Device set(String fieldName, Object value) {
return (GoogleChromeManagementV1Device) super.set(fieldName, value);
}
@Override
public GoogleChromeManagementV1Device clone() {
return (GoogleChromeManagementV1Device) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy