public class PolicySetItem extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
displayName |
protected ErrorCode |
errorCode |
protected List<String> |
guidedDeploymentTags |
protected String |
guidedDeploymentTagsNextLink |
protected String |
itemType |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
payloadId |
protected PolicySetStatus |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PolicySetItem() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“Creation time of the PolicySetItem.”
|
Optional<String> |
getDisplayName()
“DisplayName of the PolicySetItem.”
|
Optional<ErrorCode> |
getErrorCode()
“Error code if any occured.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getGuidedDeploymentTags()
“Tags of the guided deployment”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getGuidedDeploymentTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Tags of the guided deployment”
|
Optional<String> |
getItemType()
“policySetType of the PolicySetItem.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“Last modified time of the PolicySetItem.”
|
Optional<String> |
getPayloadId()
“PayloadId of the PolicySetItem.”
|
Optional<PolicySetStatus> |
getStatus()
“Status of the PolicySetItem.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PolicySetItem |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PolicySetItem |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PolicySetItem |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
PolicySetItem |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
PolicySetItem |
withErrorCode(ErrorCode errorCode)
Returns an immutable copy of
this with just the errorCode field
changed. |
PolicySetItem |
withItemType(String itemType)
Returns an immutable copy of
this with just the itemType field
changed. |
PolicySetItem |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
PolicySetItem |
withPayloadId(String payloadId)
Returns an immutable copy of
this with just the payloadId field
changed. |
PolicySetItem |
withStatus(PolicySetStatus status)
Returns an immutable copy of
this with just the status field
changed. |
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected String payloadId
protected String itemType
protected String displayName
protected PolicySetStatus status
protected ErrorCode errorCode
protected String guidedDeploymentTagsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getCreatedDateTime()
public PolicySetItem withCreatedDateTime(OffsetDateTime createdDateTime)
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.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public PolicySetItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
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.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<String> getPayloadId()
public PolicySetItem withPayloadId(String payloadId)
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.”
payloadId - new value of payloadId field (as defined in service metadata)this with just the payloadId field changedpublic Optional<String> getItemType()
public PolicySetItem withItemType(String itemType)
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.”
itemType - new value of itemType field (as defined in service metadata)this with just the itemType field changedpublic Optional<String> getDisplayName()
public PolicySetItem withDisplayName(String displayName)
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.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<PolicySetStatus> getStatus()
public PolicySetItem withStatus(PolicySetStatus status)
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.”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<ErrorCode> getErrorCode()
public PolicySetItem withErrorCode(ErrorCode errorCode)
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.”
errorCode - new value of errorCode field (as defined in service metadata)this with just the errorCode field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getGuidedDeploymentTags()
public com.github.davidmoten.odata.client.CollectionPage<String> getGuidedDeploymentTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PolicySetItem patch()
this with changed fields reset.public PolicySetItem put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.