Package odata.msgraph.client.beta.entity
Class Windows10XWifiConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
-
- odata.msgraph.client.beta.entity.Windows10XWifiConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10XWifiConfiguration extends DeviceManagementResourceAccessProfileBase implements com.github.davidmoten.odata.client.ODataEntityType
“Windows X WifiXml configuration profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10XWifiConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringauthenticationCertificateIdprotected byte[]customXmlprotected StringcustomXmlFileName-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
creationDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindows10XWifiConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10XWifiConfiguration.BuilderbuilderWindows10XWifiConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAuthenticationCertificateId()“ID to the Authentication Certificate”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<byte[]>getCustomXml()“Custom XML commands that configures the VPN connection.Optional<String>getCustomXmlFileName()“Custom Xml file name.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Windows10XWifiConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10XWifiConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10XWifiConfigurationwithAuthenticationCertificateId(String authenticationCertificateId)Returns an immutable copy ofthiswith just theauthenticationCertificateIdfield changed.Windows10XWifiConfigurationwithCustomXml(byte[] customXml)Returns an immutable copy ofthiswith just thecustomXmlfield changed.Windows10XWifiConfigurationwithCustomXmlFileName(String customXmlFileName)Returns an immutable copy ofthiswith just thecustomXmlFileNamefield changed.Windows10XWifiConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
assign, getAssignments, getCreationDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getVersion, withCreationDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withVersion
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementResourceAccessProfileBase
-
builderWindows10XWifiConfiguration
public static Windows10XWifiConfiguration.Builder builderWindows10XWifiConfiguration()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceManagementResourceAccessProfileBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementResourceAccessProfileBase
-
getAuthenticationCertificateId
public Optional<String> getAuthenticationCertificateId()
“ID to the Authentication Certificate”- Returns:
- property authenticationCertificateId
-
withAuthenticationCertificateId
public Windows10XWifiConfiguration withAuthenticationCertificateId(String authenticationCertificateId)
Returns an immutable copy ofthiswith just theauthenticationCertificateIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“ID to the Authentication Certificate”
- Parameters:
authenticationCertificateId- new value ofauthenticationCertificateIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauthenticationCertificateIdfield changed
-
getCustomXml
public Optional<byte[]> getCustomXml()
“Custom XML commands that configures the VPN connection. (UTF8 byte encoding)”- Returns:
- property customXml
-
withCustomXml
public Windows10XWifiConfiguration withCustomXml(byte[] customXml)
Returns an immutable copy ofthiswith just thecustomXmlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Custom XML commands that configures the VPN connection. (UTF8 byte encoding)”
- Parameters:
customXml- new value ofcustomXmlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomXmlfield changed
-
getCustomXmlFileName
public Optional<String> getCustomXmlFileName()
“Custom Xml file name.”- Returns:
- property customXmlFileName
-
withCustomXmlFileName
public Windows10XWifiConfiguration withCustomXmlFileName(String customXmlFileName)
Returns an immutable copy ofthiswith just thecustomXmlFileNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Custom Xml file name.”
- Parameters:
customXmlFileName- new value ofcustomXmlFileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomXmlFileNamefield changed
-
withUnmappedField
public Windows10XWifiConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementResourceAccessProfileBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementResourceAccessProfileBase
-
patch
public Windows10XWifiConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementResourceAccessProfileBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Windows10XWifiConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementResourceAccessProfileBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceManagementResourceAccessProfileBase
-
-