Class 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.”
    • Field Detail

      • allowPrinting

        protected Boolean allowPrinting
      • allowScreenCapture

        protected Boolean allowScreenCapture
      • allowTextSuggestion

        protected Boolean allowTextSuggestion
      • assessmentAppUserModelId

        protected String assessmentAppUserModelId
      • configurationAccount

        protected String configurationAccount
      • launchUri

        protected String launchUri
      • localGuestAccountName

        protected String localGuestAccountName
    • Constructor Detail

      • Windows10SecureAssessmentConfiguration

        protected Windows10SecureAssessmentConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceConfiguration
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeviceConfiguration
      • 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 of this with just the allowPrinting field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of allowPrinting field (as defined in service metadata)
        Returns:
        immutable copy of this with just the allowPrinting field 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 of this with just the allowScreenCapture field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of allowScreenCapture field (as defined in service metadata)
        Returns:
        immutable copy of this with just the allowScreenCapture field 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 of this with just the allowTextSuggestion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of allowTextSuggestion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the allowTextSuggestion field 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 of this with just the assessmentAppUserModelId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of assessmentAppUserModelId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the assessmentAppUserModelId field 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&#064;tenant.com) or a local account (username).”
        Returns:
        property configurationAccount
      • withConfigurationAccount

        public Windows10SecureAssessmentConfiguration withConfigurationAccount​(String configurationAccount)
        Returns an immutable copy of this with just the configurationAccount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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&#064;tenant.com) or a local account (username).”

        Parameters:
        configurationAccount - new value of configurationAccount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the configurationAccount field 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 of this with just the configurationAccountType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of configurationAccountType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the configurationAccountType field 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 of this with just the launchUri field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of launchUri field (as defined in service metadata)
        Returns:
        immutable copy of this with just the launchUri field 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 of this with just the localGuestAccountName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of localGuestAccountName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the localGuestAccountName field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceConfiguration
      • patch

        public Windows10SecureAssessmentConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceConfiguration
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected