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
      • configurationAccount

        protected String configurationAccount
      • launchUri

        protected String launchUri
    • 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
      • 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
      • 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
      • 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