Class Windows10SecureAssessmentConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.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 StringassessmentAppUserModelIdprotected StringconfigurationAccountprotected SecureAssessmentAccountTypeconfigurationAccountTypeprotected StringlaunchUriprotected StringlocalGuestAccountName-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.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.”Optional<String>getAssessmentAppUserModelId()“Specifies the application user model ID of the assessment app launched when a user signs in to a secure assessment with a local guest account.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getConfigurationAccount()“The account used to configure the Windows device for taking the test.Optional<SecureAssessmentAccountType>getConfigurationAccountType()“The account type used to by ConfigurationAccount.”Optional<String>getLaunchUri()“Url link to an assessment that's automatically loaded when the secure assessment browser is launched.Optional<String>getLocalGuestAccountName()“Specifies the display text for the local guest account shown on the sign-in screen.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.Windows10SecureAssessmentConfigurationwithAssessmentAppUserModelId(String assessmentAppUserModelId)Returns an immutable copy ofthiswith just theassessmentAppUserModelIdfield changed.Windows10SecureAssessmentConfigurationwithConfigurationAccount(String configurationAccount)Returns an immutable copy ofthiswith just theconfigurationAccountfield changed.Windows10SecureAssessmentConfigurationwithConfigurationAccountType(SecureAssessmentAccountType configurationAccountType)Returns an immutable copy ofthiswith just theconfigurationAccountTypefield changed.Windows10SecureAssessmentConfigurationwithLaunchUri(String launchUri)Returns an immutable copy ofthiswith just thelaunchUrifield changed.Windows10SecureAssessmentConfigurationwithLocalGuestAccountName(String localGuestAccountName)Returns an immutable copy ofthiswith just thelocalGuestAccountNamefield changed.Windows10SecureAssessmentConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
allowPrinting
protected Boolean allowPrinting
-
allowScreenCapture
protected Boolean allowScreenCapture
-
allowTextSuggestion
protected Boolean allowTextSuggestion
-
assessmentAppUserModelId
protected String assessmentAppUserModelId
-
configurationAccount
protected String configurationAccount
-
configurationAccountType
protected SecureAssessmentAccountType configurationAccountType
-
launchUri
protected String launchUri
-
localGuestAccountName
protected String localGuestAccountName
-
-
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
-
getAssessmentAppUserModelId
public Optional<String> getAssessmentAppUserModelId()
“Specifies the application user model ID of the assessment app launched when a user signs in to a secure assessment with a local guest account. Important notice: this property must be set with localGuestAccountName in order to make the local guest account sign-in experience work properly for secure assessments.”- Returns:
- property assessmentAppUserModelId
-
withAssessmentAppUserModelId
public Windows10SecureAssessmentConfiguration withAssessmentAppUserModelId(String assessmentAppUserModelId)
Returns an immutable copy ofthiswith just theassessmentAppUserModelIdfield 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.“Specifies the application user model ID of the assessment app launched when a user signs in to a secure assessment with a local guest account. Important notice: this property must be set with localGuestAccountName in order to make the local guest account sign-in experience work properly for secure assessments.”
- Parameters:
assessmentAppUserModelId- new value ofassessmentAppUserModelIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassessmentAppUserModelIdfield 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
-
getConfigurationAccountType
public Optional<SecureAssessmentAccountType> getConfigurationAccountType()
“The account type used to by ConfigurationAccount.”- Returns:
- property configurationAccountType
-
withConfigurationAccountType
public Windows10SecureAssessmentConfiguration withConfigurationAccountType(SecureAssessmentAccountType configurationAccountType)
Returns an immutable copy ofthiswith just theconfigurationAccountTypefield 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 type used to by ConfigurationAccount.”
- Parameters:
configurationAccountType- new value ofconfigurationAccountTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationAccountTypefield 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
-
getLocalGuestAccountName
public Optional<String> getLocalGuestAccountName()
“Specifies the display text for the local guest account shown on the sign-in screen. Typically is the name of an assessment. When the user clicks the local guest account on the sign-in screen, an assessment app is launched with a specified assessment URL. Secure assessments can only be configured with local guest account sign-in on devices running Windows 10, version 1903 or later. Important notice: this property must be set with assessmentAppUserModelID in order to make the local guest account sign-in experience work properly for secure assessments.”- Returns:
- property localGuestAccountName
-
withLocalGuestAccountName
public Windows10SecureAssessmentConfiguration withLocalGuestAccountName(String localGuestAccountName)
Returns an immutable copy ofthiswith just thelocalGuestAccountNamefield 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.“Specifies the display text for the local guest account shown on the sign-in screen. Typically is the name of an assessment. When the user clicks the local guest account on the sign-in screen, an assessment app is launched with a specified assessment URL. Secure assessments can only be configured with local guest account sign-in on devices running Windows 10, version 1903 or later. Important notice: this property must be set with assessmentAppUserModelID in order to make the local guest account sign-in experience work properly for secure assessments.”
- Parameters:
localGuestAccountName- new value oflocalGuestAccountNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelocalGuestAccountNamefield changed
-
withUnmappedField
public Windows10SecureAssessmentConfiguration withUnmappedField(String name, String 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
-
-