public class HasPayloadLinkResultItem extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
HasPayloadLinkResultItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
error |
protected Boolean |
hasLink |
protected String |
odataType |
protected String |
payloadId |
protected List<DeviceAndAppManagementAssignmentSource> |
sources |
protected String |
sourcesNextLink |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
HasPayloadLinkResultItem() |
| Modifier and Type | Method and Description |
|---|---|
static HasPayloadLinkResultItem.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getError()
“Exception information indicates if check for this item was successful or not.
|
Optional<Boolean> |
getHasLink()
“Indicate whether a payload has any link or not.”
|
Optional<String> |
getPayloadId()
“Key of the Payload, In the format of Guid.”
|
com.github.davidmoten.odata.client.CollectionPage<DeviceAndAppManagementAssignmentSource> |
getSources()
“The reason where the link comes from.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
HasPayloadLinkResultItem |
withError(String error)
Returns an immutable copy of
this with just the error field
changed. |
HasPayloadLinkResultItem |
withHasLink(Boolean hasLink)
Returns an immutable copy of
this with just the hasLink field
changed. |
HasPayloadLinkResultItem |
withPayloadId(String payloadId)
Returns an immutable copy of
this with just the payloadId field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String payloadId
protected Boolean hasLink
protected String error
protected List<DeviceAndAppManagementAssignmentSource> sources
protected String sourcesNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getPayloadId()
public HasPayloadLinkResultItem 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.
“Key of the Payload, In the format of Guid.”
payloadId - new value of payloadId field (as defined in service metadata)this with just the payloadId field changedpublic Optional<Boolean> getHasLink()
public HasPayloadLinkResultItem withHasLink(Boolean hasLink)
this with just the hasLink 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.
“Indicate whether a payload has any link or not.”
hasLink - new value of hasLink field (as defined in service metadata)this with just the hasLink field changedpublic Optional<String> getError()
public HasPayloadLinkResultItem withError(String error)
this with just the error 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.
“Exception information indicates if check for this item was successful or not. Empty string for no error.”
error - new value of error field (as defined in service metadata)this with just the error field changedpublic com.github.davidmoten.odata.client.CollectionPage<DeviceAndAppManagementAssignmentSource> getSources()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static HasPayloadLinkResultItem.Builder builder()
Copyright © 2018–2020. All rights reserved.