|
| 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; |
| 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.WiFiAuthenticationMethod; |
| 12 | +import com.microsoft.graph.models.AndroidEapType; |
| 13 | +import com.microsoft.graph.models.NonEapAuthenticationMethodForEapTtlsType; |
| 14 | +import com.microsoft.graph.models.NonEapAuthenticationMethodForPeap; |
| 15 | +import com.microsoft.graph.models.AospDeviceOwnerCertificateProfileBase; |
| 16 | +import com.microsoft.graph.models.AospDeviceOwnerTrustedRootCertificate; |
| 17 | +import com.microsoft.graph.models.AospDeviceOwnerWiFiConfiguration; |
| 18 | + |
| 19 | + |
| 20 | +import com.google.gson.JsonObject; |
| 21 | +import com.google.gson.annotations.SerializedName; |
| 22 | +import com.google.gson.annotations.Expose; |
| 23 | +import javax.annotation.Nullable; |
| 24 | +import javax.annotation.Nonnull; |
| 25 | + |
| 26 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 27 | + |
| 28 | +/** |
| 29 | + * The class for the Aosp Device Owner Enterprise Wi Fi Configuration. |
| 30 | + */ |
| 31 | +public class AospDeviceOwnerEnterpriseWiFiConfiguration extends AospDeviceOwnerWiFiConfiguration implements IJsonBackedObject { |
| 32 | + |
| 33 | + |
| 34 | + /** |
| 35 | + * The Authentication Method. |
| 36 | + * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. |
| 37 | + */ |
| 38 | + @SerializedName(value = "authenticationMethod", alternate = {"AuthenticationMethod"}) |
| 39 | + @Expose |
| 40 | + @Nullable |
| 41 | + public WiFiAuthenticationMethod authenticationMethod; |
| 42 | + |
| 43 | + /** |
| 44 | + * The Eap Type. |
| 45 | + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. |
| 46 | + */ |
| 47 | + @SerializedName(value = "eapType", alternate = {"EapType"}) |
| 48 | + @Expose |
| 49 | + @Nullable |
| 50 | + public AndroidEapType eapType; |
| 51 | + |
| 52 | + /** |
| 53 | + * The Inner Authentication Protocol For Eap Ttls. |
| 54 | + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. |
| 55 | + */ |
| 56 | + @SerializedName(value = "innerAuthenticationProtocolForEapTtls", alternate = {"InnerAuthenticationProtocolForEapTtls"}) |
| 57 | + @Expose |
| 58 | + @Nullable |
| 59 | + public NonEapAuthenticationMethodForEapTtlsType innerAuthenticationProtocolForEapTtls; |
| 60 | + |
| 61 | + /** |
| 62 | + * The Inner Authentication Protocol For Peap. |
| 63 | + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. This collection can contain a maximum of 500 elements. Possible values are: none, microsoftChapVersionTwo. |
| 64 | + */ |
| 65 | + @SerializedName(value = "innerAuthenticationProtocolForPeap", alternate = {"InnerAuthenticationProtocolForPeap"}) |
| 66 | + @Expose |
| 67 | + @Nullable |
| 68 | + public NonEapAuthenticationMethodForPeap innerAuthenticationProtocolForPeap; |
| 69 | + |
| 70 | + /** |
| 71 | + * The Outer Identity Privacy Temporary Value. |
| 72 | + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. |
| 73 | + */ |
| 74 | + @SerializedName(value = "outerIdentityPrivacyTemporaryValue", alternate = {"OuterIdentityPrivacyTemporaryValue"}) |
| 75 | + @Expose |
| 76 | + @Nullable |
| 77 | + public String outerIdentityPrivacyTemporaryValue; |
| 78 | + |
| 79 | + /** |
| 80 | + * The Identity Certificate For Client Authentication. |
| 81 | + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. |
| 82 | + */ |
| 83 | + @SerializedName(value = "identityCertificateForClientAuthentication", alternate = {"IdentityCertificateForClientAuthentication"}) |
| 84 | + @Expose |
| 85 | + @Nullable |
| 86 | + public AospDeviceOwnerCertificateProfileBase identityCertificateForClientAuthentication; |
| 87 | + |
| 88 | + /** |
| 89 | + * The Root Certificate For Server Validation. |
| 90 | + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. |
| 91 | + */ |
| 92 | + @SerializedName(value = "rootCertificateForServerValidation", alternate = {"RootCertificateForServerValidation"}) |
| 93 | + @Expose |
| 94 | + @Nullable |
| 95 | + public AospDeviceOwnerTrustedRootCertificate rootCertificateForServerValidation; |
| 96 | + |
| 97 | + |
| 98 | + /** |
| 99 | + * Sets the raw JSON object |
| 100 | + * |
| 101 | + * @param serializer the serializer |
| 102 | + * @param json the JSON object to set this object to |
| 103 | + */ |
| 104 | + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { |
| 105 | + |
| 106 | + } |
| 107 | +} |
0 commit comments