public class JobResponseBase extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
JobResponseBase.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
creationDateTime |
protected OffsetDateTime |
endDateTime |
protected ClassificationError |
error |
protected OffsetDateTime |
startDateTime |
protected String |
status |
protected String |
tenantId |
protected String |
type |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
JobResponseBase() |
| Modifier and Type | Method and Description |
|---|---|
static JobResponseBase.Builder |
builderJobResponseBase()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreationDateTime() |
Optional<OffsetDateTime> |
getEndDateTime() |
Optional<ClassificationError> |
getError() |
Optional<OffsetDateTime> |
getStartDateTime() |
Optional<String> |
getStatus() |
Optional<String> |
getTenantId() |
Optional<String> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
JobResponseBase |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
JobResponseBase |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
JobResponseBase |
withCreationDateTime(OffsetDateTime creationDateTime) |
JobResponseBase |
withEndDateTime(OffsetDateTime endDateTime) |
JobResponseBase |
withError(ClassificationError error) |
JobResponseBase |
withStartDateTime(OffsetDateTime startDateTime) |
JobResponseBase |
withStatus(String status) |
JobResponseBase |
withTenantId(String tenantId) |
JobResponseBase |
withType(String type) |
protected String type
protected String status
protected String tenantId
protected OffsetDateTime creationDateTime
protected OffsetDateTime startDateTime
protected OffsetDateTime endDateTime
protected ClassificationError error
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static JobResponseBase.Builder builderJobResponseBase()
public 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 JobResponseBase withType(String type)
public JobResponseBase withStatus(String status)
public JobResponseBase withTenantId(String tenantId)
public Optional<OffsetDateTime> getCreationDateTime()
public JobResponseBase withCreationDateTime(OffsetDateTime creationDateTime)
public Optional<OffsetDateTime> getStartDateTime()
public JobResponseBase withStartDateTime(OffsetDateTime startDateTime)
public Optional<OffsetDateTime> getEndDateTime()
public JobResponseBase withEndDateTime(OffsetDateTime endDateTime)
public Optional<ClassificationError> getError()
public JobResponseBase withError(ClassificationError error)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic JobResponseBase patch()
this with changed fields reset.public JobResponseBase put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.