Package odata.msgraph.client.entity
Class ServiceHealthIssue
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ServiceAnnouncementBase
-
- odata.msgraph.client.entity.ServiceHealthIssue
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ServiceHealthIssue extends ServiceAnnouncementBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceHealthIssue.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ServiceHealthClassificationTypeclassificationprotected Stringfeatureprotected StringfeatureGroupprotected StringimpactDescriptionprotected BooleanisResolvedprotected ServiceHealthOriginoriginprotected List<ServiceHealthIssuePost>postsprotected StringpostsNextLinkprotected Stringserviceprotected ServiceHealthStatusstatus-
Fields inherited from class odata.msgraph.client.entity.ServiceAnnouncementBase
details, detailsNextLink, endDateTime, lastModifiedDateTime, startDateTime, title
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedServiceHealthIssue()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.entity.ServiceAnnouncementBase
getDetails, getDetails, getEndDateTime, getLastModifiedDateTime, getStartDateTime, getTitle, withDetails, withEndDateTime, withLastModifiedDateTime, withStartDateTime, withTitle
-
-
-
-
Field Detail
-
classification
protected ServiceHealthClassificationType classification
-
feature
protected String feature
-
featureGroup
protected String featureGroup
-
impactDescription
protected String impactDescription
-
isResolved
protected Boolean isResolved
-
origin
protected ServiceHealthOrigin origin
-
posts
protected List<ServiceHealthIssuePost> posts
-
postsNextLink
protected String postsNextLink
-
service
protected String service
-
status
protected ServiceHealthStatus status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classServiceAnnouncementBase
-
builderServiceHealthIssue
public static ServiceHealthIssue.Builder builderServiceHealthIssue()
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 classServiceAnnouncementBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classServiceAnnouncementBase
-
getClassification
public Optional<ServiceHealthClassificationType> getClassification()
-
withClassification
public ServiceHealthIssue withClassification(ServiceHealthClassificationType classification)
-
withFeature
public ServiceHealthIssue withFeature(String feature)
-
withFeatureGroup
public ServiceHealthIssue withFeatureGroup(String featureGroup)
-
withImpactDescription
public ServiceHealthIssue withImpactDescription(String impactDescription)
-
withIsResolved
public ServiceHealthIssue withIsResolved(Boolean isResolved)
-
getOrigin
public Optional<ServiceHealthOrigin> getOrigin()
-
withOrigin
public ServiceHealthIssue withOrigin(ServiceHealthOrigin origin)
-
getPosts
public com.github.davidmoten.odata.client.CollectionPage<ServiceHealthIssuePost> getPosts()
-
withPosts
public ServiceHealthIssue withPosts(List<ServiceHealthIssuePost> posts)
-
getPosts
public com.github.davidmoten.odata.client.CollectionPage<ServiceHealthIssuePost> getPosts(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withService
public ServiceHealthIssue withService(String service)
-
getStatus
public Optional<ServiceHealthStatus> getStatus()
-
withStatus
public ServiceHealthIssue withStatus(ServiceHealthStatus status)
-
withUnmappedField
public ServiceHealthIssue withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classServiceAnnouncementBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classServiceAnnouncementBase
-
patch
public ServiceHealthIssue patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classServiceAnnouncementBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ServiceHealthIssue put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classServiceAnnouncementBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
incidentReport
public com.github.davidmoten.odata.client.FunctionRequestReturningStream incidentReport()
-
toString
public String toString()
- Overrides:
toStringin classServiceAnnouncementBase
-
-