Package odata.msgraph.client.entity
Class Windows10SecureAssessmentConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfiguration
-
- odata.msgraph.client.entity.Windows10SecureAssessmentConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10SecureAssessmentConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“This topic provides descriptions of the declared methods, properties and relationships exposed by the secureAssessment resource.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10SecureAssessmentConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanallowPrintingprotected BooleanallowScreenCaptureprotected BooleanallowTextSuggestionprotected StringconfigurationAccountprotected StringlaunchUri-
Fields inherited from class odata.msgraph.client.entity.DeviceConfiguration
assignments, createdDateTime, description, deviceSettingStateSummaries, deviceStatuses, deviceStatusOverview, displayName, lastModifiedDateTime, userStatuses, userStatusOverview, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindows10SecureAssessmentConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10SecureAssessmentConfiguration.BuilderbuilderWindows10SecureAssessmentConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAllowPrinting()“Indicates whether or not to allow the app from printing during the test.”Optional<Boolean>getAllowScreenCapture()“Indicates whether or not to allow screen capture capability during a test.”Optional<Boolean>getAllowTextSuggestion()“Indicates whether or not to allow text suggestions during the test.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getConfigurationAccount()“The account used to configure the Windows device for taking the test.Optional<String>getLaunchUri()“Url link to an assessment that's automatically loaded when the secure assessment browser is launched.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Windows10SecureAssessmentConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10SecureAssessmentConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10SecureAssessmentConfigurationwithAllowPrinting(Boolean allowPrinting)Returns an immutable copy ofthiswith just theallowPrintingfield changed.Windows10SecureAssessmentConfigurationwithAllowScreenCapture(Boolean allowScreenCapture)Returns an immutable copy ofthiswith just theallowScreenCapturefield changed.Windows10SecureAssessmentConfigurationwithAllowTextSuggestion(Boolean allowTextSuggestion)Returns an immutable copy ofthiswith just theallowTextSuggestionfield changed.Windows10SecureAssessmentConfigurationwithConfigurationAccount(String configurationAccount)Returns an immutable copy ofthiswith just theconfigurationAccountfield changed.Windows10SecureAssessmentConfigurationwithLaunchUri(String launchUri)Returns an immutable copy ofthiswith just thelaunchUrifield changed.Windows10SecureAssessmentConfigurationwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.DeviceConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getOmaSettingPlainTextValue, getUserStatuses, getUserStatusOverview, getVersion, withAssignments, withCreatedDateTime, withDescription, withDeviceSettingStateSummaries, withDeviceStatuses, withDeviceStatusOverview, withDisplayName, withLastModifiedDateTime, withUserStatuses, withUserStatusOverview, withVersion
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindows10SecureAssessmentConfiguration
public static Windows10SecureAssessmentConfiguration.Builder builderWindows10SecureAssessmentConfiguration()
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 classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getAllowPrinting
public Optional<Boolean> getAllowPrinting()
“Indicates whether or not to allow the app from printing during the test.”- Returns:
- property allowPrinting
-
withAllowPrinting
public Windows10SecureAssessmentConfiguration withAllowPrinting(Boolean allowPrinting)
Returns an immutable copy ofthiswith just theallowPrintingfield 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.“Indicates whether or not to allow the app from printing during the test.”
- Parameters:
allowPrinting- new value ofallowPrintingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowPrintingfield changed
-
getAllowScreenCapture
public Optional<Boolean> getAllowScreenCapture()
“Indicates whether or not to allow screen capture capability during a test.”- Returns:
- property allowScreenCapture
-
withAllowScreenCapture
public Windows10SecureAssessmentConfiguration withAllowScreenCapture(Boolean allowScreenCapture)
Returns an immutable copy ofthiswith just theallowScreenCapturefield 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.“Indicates whether or not to allow screen capture capability during a test.”
- Parameters:
allowScreenCapture- new value ofallowScreenCapturefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowScreenCapturefield changed
-
getAllowTextSuggestion
public Optional<Boolean> getAllowTextSuggestion()
“Indicates whether or not to allow text suggestions during the test.”- Returns:
- property allowTextSuggestion
-
withAllowTextSuggestion
public Windows10SecureAssessmentConfiguration withAllowTextSuggestion(Boolean allowTextSuggestion)
Returns an immutable copy ofthiswith just theallowTextSuggestionfield 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.“Indicates whether or not to allow text suggestions during the test.”
- Parameters:
allowTextSuggestion- new value ofallowTextSuggestionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowTextSuggestionfield changed
-
getConfigurationAccount
public Optional<String> getConfigurationAccount()
“The account used to configure the Windows device for taking the test. The user can be a domain account (domain\user), an AAD account (username@tenant.com) or a local account (username).”- Returns:
- property configurationAccount
-
withConfigurationAccount
public Windows10SecureAssessmentConfiguration withConfigurationAccount(String configurationAccount)
Returns an immutable copy ofthiswith just theconfigurationAccountfield 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.“The account used to configure the Windows device for taking the test. The user can be a domain account (domain\user), an AAD account (username@tenant.com) or a local account (username).”
- Parameters:
configurationAccount- new value ofconfigurationAccountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationAccountfield changed
-
getLaunchUri
public Optional<String> getLaunchUri()
“Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/).”- Returns:
- property launchUri
-
withLaunchUri
public Windows10SecureAssessmentConfiguration withLaunchUri(String launchUri)
Returns an immutable copy ofthiswith just thelaunchUrifield 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.“Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/).”
- Parameters:
launchUri- new value oflaunchUrifield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelaunchUrifield changed
-
withUnmappedField
public Windows10SecureAssessmentConfiguration withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public Windows10SecureAssessmentConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Windows10SecureAssessmentConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- 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 classDeviceConfiguration
-
-