Package odata.msgraph.client.beta.entity
Class DeviceComanagementAuthorityConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceEnrollmentConfiguration
-
- odata.msgraph.client.beta.entity.DeviceComanagementAuthorityConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceComanagementAuthorityConfiguration extends DeviceEnrollmentConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Windows 10 Co-Management Authority Page Configuration”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceComanagementAuthorityConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringconfigurationManagerAgentCommandLineArgumentprotected BooleaninstallConfigurationManagerAgentprotected IntegermanagedDeviceAuthority-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceEnrollmentConfiguration
createdDateTime, description, deviceEnrollmentConfigurationType, displayName, lastModifiedDateTime, priority, roleScopeTagIds, roleScopeTagIdsNextLink, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceComanagementAuthorityConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceComanagementAuthorityConfiguration.BuilderbuilderDeviceComanagementAuthorityConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getConfigurationManagerAgentCommandLineArgument()“CoManagement Authority configuration ConfigurationManagerAgentCommandLineArgument”Optional<Boolean>getInstallConfigurationManagerAgent()“CoManagement Authority configuration InstallConfigurationManagerAgent”Optional<Integer>getManagedDeviceAuthority()“CoManagement Authority configuration ManagedDeviceAuthority”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceComanagementAuthorityConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceComanagementAuthorityConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceComanagementAuthorityConfigurationwithConfigurationManagerAgentCommandLineArgument(String configurationManagerAgentCommandLineArgument)Returns an immutable copy ofthiswith just theconfigurationManagerAgentCommandLineArgumentfield changed.DeviceComanagementAuthorityConfigurationwithInstallConfigurationManagerAgent(Boolean installConfigurationManagerAgent)Returns an immutable copy ofthiswith just theinstallConfigurationManagerAgentfield changed.DeviceComanagementAuthorityConfigurationwithManagedDeviceAuthority(Integer managedDeviceAuthority)Returns an immutable copy ofthiswith just themanagedDeviceAuthorityfield changed.DeviceComanagementAuthorityConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceEnrollmentConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceEnrollmentConfigurationType, getDisplayName, getLastModifiedDateTime, getPriority, getRoleScopeTagIds, getRoleScopeTagIds, getVersion, setPriority, withCreatedDateTime, withDescription, withDeviceEnrollmentConfigurationType, withDisplayName, withLastModifiedDateTime, withPriority, withRoleScopeTagIds, withVersion
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceEnrollmentConfiguration
-
builderDeviceComanagementAuthorityConfiguration
public static DeviceComanagementAuthorityConfiguration.Builder builderDeviceComanagementAuthorityConfiguration()
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 classDeviceEnrollmentConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceEnrollmentConfiguration
-
getConfigurationManagerAgentCommandLineArgument
public Optional<String> getConfigurationManagerAgentCommandLineArgument()
“CoManagement Authority configuration ConfigurationManagerAgentCommandLineArgument”- Returns:
- property configurationManagerAgentCommandLineArgument
-
withConfigurationManagerAgentCommandLineArgument
public DeviceComanagementAuthorityConfiguration withConfigurationManagerAgentCommandLineArgument(String configurationManagerAgentCommandLineArgument)
Returns an immutable copy ofthiswith just theconfigurationManagerAgentCommandLineArgumentfield 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.“CoManagement Authority configuration ConfigurationManagerAgentCommandLineArgument”
- Parameters:
configurationManagerAgentCommandLineArgument- new value ofconfigurationManagerAgentCommandLineArgumentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationManagerAgentCommandLineArgumentfield changed
-
getInstallConfigurationManagerAgent
public Optional<Boolean> getInstallConfigurationManagerAgent()
“CoManagement Authority configuration InstallConfigurationManagerAgent”- Returns:
- property installConfigurationManagerAgent
-
withInstallConfigurationManagerAgent
public DeviceComanagementAuthorityConfiguration withInstallConfigurationManagerAgent(Boolean installConfigurationManagerAgent)
Returns an immutable copy ofthiswith just theinstallConfigurationManagerAgentfield 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.“CoManagement Authority configuration InstallConfigurationManagerAgent”
- Parameters:
installConfigurationManagerAgent- new value ofinstallConfigurationManagerAgentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstallConfigurationManagerAgentfield changed
-
getManagedDeviceAuthority
public Optional<Integer> getManagedDeviceAuthority()
“CoManagement Authority configuration ManagedDeviceAuthority”- Returns:
- property managedDeviceAuthority
-
withManagedDeviceAuthority
public DeviceComanagementAuthorityConfiguration withManagedDeviceAuthority(Integer managedDeviceAuthority)
Returns an immutable copy ofthiswith just themanagedDeviceAuthorityfield 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.“CoManagement Authority configuration ManagedDeviceAuthority”
- Parameters:
managedDeviceAuthority- new value ofmanagedDeviceAuthorityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceAuthorityfield changed
-
withUnmappedField
public DeviceComanagementAuthorityConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceEnrollmentConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceEnrollmentConfiguration
-
patch
public DeviceComanagementAuthorityConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceEnrollmentConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DeviceComanagementAuthorityConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceEnrollmentConfiguration- 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 classDeviceEnrollmentConfiguration
-
-