Package odata.msgraph.client.complex
Class AlertHistoryState
- java.lang.Object
-
- odata.msgraph.client.complex.AlertHistoryState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AlertHistoryState extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlertHistoryState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappIdprotected StringassignedToprotected List<String>commentsprotected StringcommentsNextLinkprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected AlertFeedbackfeedbackprotected StringodataTypeprotected AlertStatusstatusprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected OffsetDateTimeupdatedDateTimeprotected Stringuser
-
Constructor Summary
Constructors Modifier Constructor Description protectedAlertHistoryState()
-
Method Summary
-
-
-
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
-
appId
protected String appId
-
assignedTo
protected String assignedTo
-
commentsNextLink
protected String commentsNextLink
-
feedback
protected AlertFeedback feedback
-
status
protected AlertStatus status
-
updatedDateTime
protected OffsetDateTime updatedDateTime
-
user
protected String user
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAppId
public AlertHistoryState withAppId(String appId)
-
withAssignedTo
public AlertHistoryState withAssignedTo(String assignedTo)
-
getComments
public com.github.davidmoten.odata.client.CollectionPage<String> getComments()
-
getComments
public com.github.davidmoten.odata.client.CollectionPage<String> getComments(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getFeedback
public Optional<AlertFeedback> getFeedback()
-
withFeedback
public AlertHistoryState withFeedback(AlertFeedback feedback)
-
getStatus
public Optional<AlertStatus> getStatus()
-
withStatus
public AlertHistoryState withStatus(AlertStatus status)
-
getUpdatedDateTime
public Optional<OffsetDateTime> getUpdatedDateTime()
-
withUpdatedDateTime
public AlertHistoryState withUpdatedDateTime(OffsetDateTime updatedDateTime)
-
withUser
public AlertHistoryState withUser(String user)
-
withUnmappedField
public AlertHistoryState withUnmappedField(String name, String 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 AlertHistoryState.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
-
-