|
| 1 | +// Template Source: BaseEntity.java.tt |
| 2 | +// ------------------------------------------------------------------------------ |
| 3 | +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
| 4 | +// ------------------------------------------------------------------------------ |
| 5 | + |
| 6 | +package com.microsoft.graph.models.extensions; |
| 7 | +import com.microsoft.graph.serializer.ISerializer; |
| 8 | +import com.microsoft.graph.serializer.IJsonBackedObject; |
| 9 | +import com.microsoft.graph.serializer.AdditionalDataManager; |
| 10 | +import java.util.EnumSet; |
| 11 | +import com.microsoft.graph.models.generated.AndroidDeviceOwnerRequiredPasswordType; |
| 12 | +import com.microsoft.graph.models.extensions.DeviceConfiguration; |
| 13 | + |
| 14 | + |
| 15 | +import com.google.gson.JsonObject; |
| 16 | +import com.google.gson.annotations.SerializedName; |
| 17 | +import com.google.gson.annotations.Expose; |
| 18 | + |
| 19 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 20 | + |
| 21 | +/** |
| 22 | + * The class for the Aosp Device Owner Device Configuration. |
| 23 | + */ |
| 24 | +public class AospDeviceOwnerDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject { |
| 25 | + |
| 26 | + |
| 27 | + /** |
| 28 | + * The Apps Allow Install From Unknown Sources. |
| 29 | + * Indicates whether or not the user is allowed to enable to unknown sources setting. |
| 30 | + */ |
| 31 | + @SerializedName(value = "appsAllowInstallFromUnknownSources", alternate = {"AppsAllowInstallFromUnknownSources"}) |
| 32 | + @Expose |
| 33 | + public Boolean appsAllowInstallFromUnknownSources; |
| 34 | + |
| 35 | + /** |
| 36 | + * The Backup Blocked. |
| 37 | + * Indicates whether or not to block backup service. |
| 38 | + */ |
| 39 | + @SerializedName(value = "backupBlocked", alternate = {"BackupBlocked"}) |
| 40 | + @Expose |
| 41 | + public Boolean backupBlocked; |
| 42 | + |
| 43 | + /** |
| 44 | + * The Bluetooth Block Configuration. |
| 45 | + * Indicates whether or not to block a user from configuring bluetooth. |
| 46 | + */ |
| 47 | + @SerializedName(value = "bluetoothBlockConfiguration", alternate = {"BluetoothBlockConfiguration"}) |
| 48 | + @Expose |
| 49 | + public Boolean bluetoothBlockConfiguration; |
| 50 | + |
| 51 | + /** |
| 52 | + * The Bluetooth Block Contact Sharing. |
| 53 | + * Indicates whether or not to block a user from sharing contacts via bluetooth. |
| 54 | + */ |
| 55 | + @SerializedName(value = "bluetoothBlockContactSharing", alternate = {"BluetoothBlockContactSharing"}) |
| 56 | + @Expose |
| 57 | + public Boolean bluetoothBlockContactSharing; |
| 58 | + |
| 59 | + /** |
| 60 | + * The Bluetooth Blocked. |
| 61 | + * Indicates whether or not to disable the use of bluetooth. When set to true, bluetooth cannot be enabled on the device. |
| 62 | + */ |
| 63 | + @SerializedName(value = "bluetoothBlocked", alternate = {"BluetoothBlocked"}) |
| 64 | + @Expose |
| 65 | + public Boolean bluetoothBlocked; |
| 66 | + |
| 67 | + /** |
| 68 | + * The Camera Blocked. |
| 69 | + * Indicates whether or not to disable the use of the camera. |
| 70 | + */ |
| 71 | + @SerializedName(value = "cameraBlocked", alternate = {"CameraBlocked"}) |
| 72 | + @Expose |
| 73 | + public Boolean cameraBlocked; |
| 74 | + |
| 75 | + /** |
| 76 | + * The Cellular Block Wi Fi Tethering. |
| 77 | + * Indicates whether or not to block Wi-Fi tethering. |
| 78 | + */ |
| 79 | + @SerializedName(value = "cellularBlockWiFiTethering", alternate = {"CellularBlockWiFiTethering"}) |
| 80 | + @Expose |
| 81 | + public Boolean cellularBlockWiFiTethering; |
| 82 | + |
| 83 | + /** |
| 84 | + * The Factory Reset Blocked. |
| 85 | + * Indicates whether or not the factory reset option in settings is disabled. |
| 86 | + */ |
| 87 | + @SerializedName(value = "factoryResetBlocked", alternate = {"FactoryResetBlocked"}) |
| 88 | + @Expose |
| 89 | + public Boolean factoryResetBlocked; |
| 90 | + |
| 91 | + /** |
| 92 | + * The Password Minimum Length. |
| 93 | + * Indicates the minimum length of the password required on the device. Valid values 4 to 16 |
| 94 | + */ |
| 95 | + @SerializedName(value = "passwordMinimumLength", alternate = {"PasswordMinimumLength"}) |
| 96 | + @Expose |
| 97 | + public Integer passwordMinimumLength; |
| 98 | + |
| 99 | + /** |
| 100 | + * The Password Minutes Of Inactivity Before Screen Timeout. |
| 101 | + * Minutes of inactivity before the screen times out. |
| 102 | + */ |
| 103 | + @SerializedName(value = "passwordMinutesOfInactivityBeforeScreenTimeout", alternate = {"PasswordMinutesOfInactivityBeforeScreenTimeout"}) |
| 104 | + @Expose |
| 105 | + public Integer passwordMinutesOfInactivityBeforeScreenTimeout; |
| 106 | + |
| 107 | + /** |
| 108 | + * The Password Required Type. |
| 109 | + * Indicates the minimum password quality required on the device. |
| 110 | + */ |
| 111 | + @SerializedName(value = "passwordRequiredType", alternate = {"PasswordRequiredType"}) |
| 112 | + @Expose |
| 113 | + public AndroidDeviceOwnerRequiredPasswordType passwordRequiredType; |
| 114 | + |
| 115 | + /** |
| 116 | + * The Password Sign In Failure Count Before Factory Reset. |
| 117 | + * Indicates the number of times a user can enter an incorrect password before the device is wiped. Valid values 4 to 11 |
| 118 | + */ |
| 119 | + @SerializedName(value = "passwordSignInFailureCountBeforeFactoryReset", alternate = {"PasswordSignInFailureCountBeforeFactoryReset"}) |
| 120 | + @Expose |
| 121 | + public Integer passwordSignInFailureCountBeforeFactoryReset; |
| 122 | + |
| 123 | + /** |
| 124 | + * The Screen Capture Blocked. |
| 125 | + * Indicates whether or not to disable the capability to take screenshots. |
| 126 | + */ |
| 127 | + @SerializedName(value = "screenCaptureBlocked", alternate = {"ScreenCaptureBlocked"}) |
| 128 | + @Expose |
| 129 | + public Boolean screenCaptureBlocked; |
| 130 | + |
| 131 | + /** |
| 132 | + * The Security Allow Debugging Features. |
| 133 | + * Indicates whether or not to block the user from enabling debugging features on the device. |
| 134 | + */ |
| 135 | + @SerializedName(value = "securityAllowDebuggingFeatures", alternate = {"SecurityAllowDebuggingFeatures"}) |
| 136 | + @Expose |
| 137 | + public Boolean securityAllowDebuggingFeatures; |
| 138 | + |
| 139 | + /** |
| 140 | + * The Storage Allow Usb. |
| 141 | + * Indicates whether or not to block USB storage. |
| 142 | + */ |
| 143 | + @SerializedName(value = "storageAllowUsb", alternate = {"StorageAllowUsb"}) |
| 144 | + @Expose |
| 145 | + public Boolean storageAllowUsb; |
| 146 | + |
| 147 | + /** |
| 148 | + * The Storage Block External Media. |
| 149 | + * Indicates whether or not to block external media. |
| 150 | + */ |
| 151 | + @SerializedName(value = "storageBlockExternalMedia", alternate = {"StorageBlockExternalMedia"}) |
| 152 | + @Expose |
| 153 | + public Boolean storageBlockExternalMedia; |
| 154 | + |
| 155 | + /** |
| 156 | + * The Storage Block Usb File Transfer. |
| 157 | + * Indicates whether or not to block USB file transfer. |
| 158 | + */ |
| 159 | + @SerializedName(value = "storageBlockUsbFileTransfer", alternate = {"StorageBlockUsbFileTransfer"}) |
| 160 | + @Expose |
| 161 | + public Boolean storageBlockUsbFileTransfer; |
| 162 | + |
| 163 | + /** |
| 164 | + * The Wifi Block Edit Configurations. |
| 165 | + * Indicates whether or not to block the user from editing the wifi connection settings. |
| 166 | + */ |
| 167 | + @SerializedName(value = "wifiBlockEditConfigurations", alternate = {"WifiBlockEditConfigurations"}) |
| 168 | + @Expose |
| 169 | + public Boolean wifiBlockEditConfigurations; |
| 170 | + |
| 171 | + |
| 172 | + /** |
| 173 | + * The raw representation of this class |
| 174 | + */ |
| 175 | + private JsonObject rawObject; |
| 176 | + |
| 177 | + /** |
| 178 | + * The serializer |
| 179 | + */ |
| 180 | + private ISerializer serializer; |
| 181 | + |
| 182 | + /** |
| 183 | + * Gets the raw representation of this class |
| 184 | + * |
| 185 | + * @return the raw representation of this class |
| 186 | + */ |
| 187 | + public JsonObject getRawObject() { |
| 188 | + return rawObject; |
| 189 | + } |
| 190 | + |
| 191 | + /** |
| 192 | + * Gets serializer |
| 193 | + * |
| 194 | + * @return the serializer |
| 195 | + */ |
| 196 | + protected ISerializer getSerializer() { |
| 197 | + return serializer; |
| 198 | + } |
| 199 | + |
| 200 | + /** |
| 201 | + * Sets the raw JSON object |
| 202 | + * |
| 203 | + * @param serializer the serializer |
| 204 | + * @param json the JSON object to set this object to |
| 205 | + */ |
| 206 | + public void setRawObject(final ISerializer serializer, final JsonObject json) { |
| 207 | + this.serializer = serializer; |
| 208 | + rawObject = json; |
| 209 | + |
| 210 | + } |
| 211 | +} |
0 commit comments