Package odata.msgraph.client.beta.entity
Class Incident
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Incident
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Incident extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = true
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = true
Org.OData.Capabilities.V1.SkipSupported
true
Org.OData.Capabilities.V1.SortRestrictions
Sortable = true
Org.OData.Capabilities.V1.TopSupported
true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIncident.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringassignedToprotected M365AlertClassificationclassificationprotected List<M365AlertComment>commentsprotected StringcommentsNextLinkprotected OffsetDateTimecreatedDateTimeprotected M365AlertDeterminationdeterminationprotected StringdisplayNameprotected StringincidentWebUrlprotected OffsetDateTimelastUpdateDateTimeprotected StringredirectIncidentIdprotected M365AlertSeverityseverityprotected IncidentStatusstatusprotected List<String>tagsprotected StringtagsNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIncident()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Incident.BuilderbuilderIncident()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAssignedTo()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<M365AlertClassification>getClassification()com.github.davidmoten.odata.client.CollectionPage<M365AlertComment>getComments()com.github.davidmoten.odata.client.CollectionPage<M365AlertComment>getComments(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<OffsetDateTime>getCreatedDateTime()Optional<M365AlertDetermination>getDetermination()Optional<String>getDisplayName()Optional<String>getIncidentWebUrl()Optional<OffsetDateTime>getLastUpdateDateTime()Optional<String>getRedirectIncidentId()Optional<M365AlertSeverity>getSeverity()Optional<IncidentStatus>getStatus()com.github.davidmoten.odata.client.CollectionPage<String>getTags()com.github.davidmoten.odata.client.CollectionPage<String>getTags(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Incidentpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Incidentput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IncidentwithAssignedTo(String assignedTo)IncidentwithClassification(M365AlertClassification classification)IncidentwithComments(List<M365AlertComment> comments)IncidentwithCreatedDateTime(OffsetDateTime createdDateTime)IncidentwithDetermination(M365AlertDetermination determination)IncidentwithDisplayName(String displayName)IncidentwithIncidentWebUrl(String incidentWebUrl)IncidentwithLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)IncidentwithRedirectIncidentId(String redirectIncidentId)IncidentwithSeverity(M365AlertSeverity severity)IncidentwithStatus(IncidentStatus status)IncidentwithTags(List<String> tags)IncidentwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
assignedTo
protected String assignedTo
-
classification
protected M365AlertClassification classification
-
comments
protected List<M365AlertComment> comments
-
commentsNextLink
protected String commentsNextLink
-
createdDateTime
protected OffsetDateTime createdDateTime
-
determination
protected M365AlertDetermination determination
-
displayName
protected String displayName
-
incidentWebUrl
protected String incidentWebUrl
-
lastUpdateDateTime
protected OffsetDateTime lastUpdateDateTime
-
redirectIncidentId
protected String redirectIncidentId
-
severity
protected M365AlertSeverity severity
-
status
protected IncidentStatus status
-
tagsNextLink
protected String tagsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderIncident
public static Incident.Builder builderIncident()
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
-
getClassification
public Optional<M365AlertClassification> getClassification()
-
withClassification
public Incident withClassification(M365AlertClassification classification)
-
getComments
public com.github.davidmoten.odata.client.CollectionPage<M365AlertComment> getComments()
-
withComments
public Incident withComments(List<M365AlertComment> comments)
-
getComments
public com.github.davidmoten.odata.client.CollectionPage<M365AlertComment> getComments(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Incident withCreatedDateTime(OffsetDateTime createdDateTime)
-
getDetermination
public Optional<M365AlertDetermination> getDetermination()
-
withDetermination
public Incident withDetermination(M365AlertDetermination determination)
-
getLastUpdateDateTime
public Optional<OffsetDateTime> getLastUpdateDateTime()
-
withLastUpdateDateTime
public Incident withLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)
-
getSeverity
public Optional<M365AlertSeverity> getSeverity()
-
withSeverity
public Incident withSeverity(M365AlertSeverity severity)
-
getStatus
public Optional<IncidentStatus> getStatus()
-
withStatus
public Incident withStatus(IncidentStatus status)
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags()
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public Incident 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 Incident patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Incident put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-