Class DeviceHealthScriptParameter

    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • applyDefaultValueWhenNotAssigned

        protected Boolean applyDefaultValueWhenNotAssigned
      • description

        protected String description
      • isRequired

        protected Boolean isRequired
    • Constructor Detail

      • DeviceHealthScriptParameter

        protected DeviceHealthScriptParameter()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getApplyDefaultValueWhenNotAssigned

        public Optional<Boolean> getApplyDefaultValueWhenNotAssigned()
        “Whether Apply DefaultValue When Not Assigned”
        Returns:
        property applyDefaultValueWhenNotAssigned
      • withApplyDefaultValueWhenNotAssigned

        public DeviceHealthScriptParameter withApplyDefaultValueWhenNotAssigned​(Boolean applyDefaultValueWhenNotAssigned)
        Returns an immutable copy of this with just the applyDefaultValueWhenNotAssigned 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.

        “Whether Apply DefaultValue When Not Assigned”

        Parameters:
        applyDefaultValueWhenNotAssigned - new value of applyDefaultValueWhenNotAssigned field (as defined in service metadata)
        Returns:
        immutable copy of this with just the applyDefaultValueWhenNotAssigned field changed
      • getDescription

        public Optional<String> getDescription()
        “The description of the param”
        Returns:
        property description
      • withDescription

        public DeviceHealthScriptParameter withDescription​(String description)
        Returns an immutable copy of this with just the description 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 description of the param”

        Parameters:
        description - new value of description field (as defined in service metadata)
        Returns:
        immutable copy of this with just the description field changed
      • getIsRequired

        public Optional<Boolean> getIsRequired()
        “Whether the param is required”
        Returns:
        property isRequired
      • withIsRequired

        public DeviceHealthScriptParameter withIsRequired​(Boolean isRequired)
        Returns an immutable copy of this with just the isRequired 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.

        “Whether the param is required”

        Parameters:
        isRequired - new value of isRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the isRequired field changed
      • getName

        public Optional<String> getName()
        “The name of the param”
        Returns:
        property name
      • withName

        public DeviceHealthScriptParameter withName​(String name)
        Returns an immutable copy of this with just the name 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 name of the param”

        Parameters:
        name - new value of name field (as defined in service metadata)
        Returns:
        immutable copy of this with just the name field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType