Package odata.msgraph.client.complex
Class ResponseStatus
- java.lang.Object
-
- odata.msgraph.client.complex.ResponseStatus
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ResponseStatus extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponseStatus.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected ResponseTyperesponseprotected OffsetDateTimetimeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedResponseStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseStatus.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ResponseType>getResponse()Optional<OffsetDateTime>getTime()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ResponseStatuswithResponse(ResponseType response)ResponseStatuswithTime(OffsetDateTime time)ResponseStatuswithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
response
protected ResponseType response
-
time
protected OffsetDateTime time
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getResponse
public Optional<ResponseType> getResponse()
-
withResponse
public ResponseStatus withResponse(ResponseType response)
-
getTime
public Optional<OffsetDateTime> getTime()
-
withTime
public ResponseStatus withTime(OffsetDateTime time)
-
withUnmappedField
public ResponseStatus withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static ResponseStatus.Builder builder()
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
-
-