Class PolicySetItem

    • Field Detail

      • displayName

        protected String displayName
      • guidedDeploymentTags

        protected List<String> guidedDeploymentTags
      • guidedDeploymentTagsNextLink

        protected String guidedDeploymentTagsNextLink
      • itemType

        protected String itemType
      • payloadId

        protected String payloadId
    • Constructor Detail

      • PolicySetItem

        protected PolicySetItem()
    • Method Detail

      • odataTypeName

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

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

        public Optional<OffsetDateTime> getCreatedDateTime()
        “Creation time of the PolicySetItem.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public PolicySetItem withCreatedDateTime​(OffsetDateTime createdDateTime)
        Returns an immutable copy of this with just the createdDateTime 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.

        “Creation time of the PolicySetItem.”

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

        public Optional<String> getDisplayName()
        “DisplayName of the PolicySetItem.”
        Returns:
        property displayName
      • withDisplayName

        public PolicySetItem withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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.

        “DisplayName of the PolicySetItem.”

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

        public Optional<ErrorCode> getErrorCode()
        “Error code if any occured.”
        Returns:
        property errorCode
      • withErrorCode

        public PolicySetItem withErrorCode​(ErrorCode errorCode)
        Returns an immutable copy of this with just the errorCode 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.

        “Error code if any occured.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getGuidedDeploymentTags()
        “Tags of the guided deployment”
        Returns:
        property guidedDeploymentTags
      • withGuidedDeploymentTags

        public PolicySetItem withGuidedDeploymentTags​(List<String> guidedDeploymentTags)
        Returns an immutable copy of this with just the guidedDeploymentTags 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.

        “Tags of the guided deployment”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getGuidedDeploymentTags​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Tags of the guided deployment”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property guidedDeploymentTags
      • getItemType

        public Optional<String> getItemType()
        “policySetType of the PolicySetItem.”
        Returns:
        property itemType
      • withItemType

        public PolicySetItem withItemType​(String itemType)
        Returns an immutable copy of this with just the itemType 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.

        “policySetType of the PolicySetItem.”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “Last modified time of the PolicySetItem.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public PolicySetItem withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Returns an immutable copy of this with just the lastModifiedDateTime 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.

        “Last modified time of the PolicySetItem.”

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

        public Optional<String> getPayloadId()
        “PayloadId of the PolicySetItem.”
        Returns:
        property payloadId
      • withPayloadId

        public PolicySetItem withPayloadId​(String payloadId)
        Returns an immutable copy of this with just the payloadId 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.

        “PayloadId of the PolicySetItem.”

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

        public Optional<PolicySetStatus> getStatus()
        “Status of the PolicySetItem.”
        Returns:
        property status
      • withStatus

        public PolicySetItem withStatus​(PolicySetStatus status)
        Returns an immutable copy of this with just the status 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.

        “Status of the PolicySetItem.”

        Parameters:
        status - new value of status field (as defined in service metadata)
        Returns:
        immutable copy of this with just the status 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 Entity
      • patch

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