com.google.api.services.androidmanagement.v1.model.DeviceRadioState 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.androidmanagement.v1.model;
/**
* Controls for device radio settings.
*
* 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 DeviceRadioState extends com.google.api.client.json.GenericJson {
/**
* Controls whether airplane mode can be toggled by the user or not.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String airplaneModeState;
/**
* Controls whether cellular 2G setting can be toggled by the user or not.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String cellularTwoGState;
/**
* The minimum required security level of Wi-Fi networks that the device can connect to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String minimumWifiSecurityLevel;
/**
* Controls the state of the ultra wideband setting and whether the user can toggle it on or off.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String ultraWidebandState;
/**
* Controls current state of Wi-Fi and if user can change its state.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String wifiState;
/**
* Controls whether airplane mode can be toggled by the user or not.
* @return value or {@code null} for none
*/
public java.lang.String getAirplaneModeState() {
return airplaneModeState;
}
/**
* Controls whether airplane mode can be toggled by the user or not.
* @param airplaneModeState airplaneModeState or {@code null} for none
*/
public DeviceRadioState setAirplaneModeState(java.lang.String airplaneModeState) {
this.airplaneModeState = airplaneModeState;
return this;
}
/**
* Controls whether cellular 2G setting can be toggled by the user or not.
* @return value or {@code null} for none
*/
public java.lang.String getCellularTwoGState() {
return cellularTwoGState;
}
/**
* Controls whether cellular 2G setting can be toggled by the user or not.
* @param cellularTwoGState cellularTwoGState or {@code null} for none
*/
public DeviceRadioState setCellularTwoGState(java.lang.String cellularTwoGState) {
this.cellularTwoGState = cellularTwoGState;
return this;
}
/**
* The minimum required security level of Wi-Fi networks that the device can connect to.
* @return value or {@code null} for none
*/
public java.lang.String getMinimumWifiSecurityLevel() {
return minimumWifiSecurityLevel;
}
/**
* The minimum required security level of Wi-Fi networks that the device can connect to.
* @param minimumWifiSecurityLevel minimumWifiSecurityLevel or {@code null} for none
*/
public DeviceRadioState setMinimumWifiSecurityLevel(java.lang.String minimumWifiSecurityLevel) {
this.minimumWifiSecurityLevel = minimumWifiSecurityLevel;
return this;
}
/**
* Controls the state of the ultra wideband setting and whether the user can toggle it on or off.
* @return value or {@code null} for none
*/
public java.lang.String getUltraWidebandState() {
return ultraWidebandState;
}
/**
* Controls the state of the ultra wideband setting and whether the user can toggle it on or off.
* @param ultraWidebandState ultraWidebandState or {@code null} for none
*/
public DeviceRadioState setUltraWidebandState(java.lang.String ultraWidebandState) {
this.ultraWidebandState = ultraWidebandState;
return this;
}
/**
* Controls current state of Wi-Fi and if user can change its state.
* @return value or {@code null} for none
*/
public java.lang.String getWifiState() {
return wifiState;
}
/**
* Controls current state of Wi-Fi and if user can change its state.
* @param wifiState wifiState or {@code null} for none
*/
public DeviceRadioState setWifiState(java.lang.String wifiState) {
this.wifiState = wifiState;
return this;
}
@Override
public DeviceRadioState set(String fieldName, Object value) {
return (DeviceRadioState) super.set(fieldName, value);
}
@Override
public DeviceRadioState clone() {
return (DeviceRadioState) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy