Package odata.msgraph.client.beta.entity
Class JobResponseBase
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.JobResponseBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
ClassificationJobResponse,DlpEvaluatePoliciesJobResponse,EvaluateLabelJobResponse
public class JobResponseBase extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobResponseBase.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreationDateTimeprotected OffsetDateTimeendDateTimeprotected ClassificationErrorerrorprotected OffsetDateTimestartDateTimeprotected Stringstatusprotected StringtenantIdprotected Stringtype-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJobResponseBase()
-
Method Summary
-
-
-
Field Detail
-
creationDateTime
protected OffsetDateTime creationDateTime
-
endDateTime
protected OffsetDateTime endDateTime
-
error
protected ClassificationError error
-
startDateTime
protected OffsetDateTime startDateTime
-
status
protected String status
-
tenantId
protected String tenantId
-
type
protected String type
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderJobResponseBase
public static JobResponseBase.Builder builderJobResponseBase()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreationDateTime
public Optional<OffsetDateTime> getCreationDateTime()
-
withCreationDateTime
public JobResponseBase withCreationDateTime(OffsetDateTime creationDateTime)
-
getEndDateTime
public Optional<OffsetDateTime> getEndDateTime()
-
withEndDateTime
public JobResponseBase withEndDateTime(OffsetDateTime endDateTime)
-
getError
public Optional<ClassificationError> getError()
-
withError
public JobResponseBase withError(ClassificationError error)
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
-
withStartDateTime
public JobResponseBase withStartDateTime(OffsetDateTime startDateTime)
-
withStatus
public JobResponseBase withStatus(String status)
-
withTenantId
public JobResponseBase withTenantId(String tenantId)
-
withType
public JobResponseBase withType(String type)
-
withUnmappedField
public JobResponseBase withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public JobResponseBase patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public JobResponseBase put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-