Package odata.msgraph.client.complex
Class ServiceStatus
- java.lang.Object
-
- odata.msgraph.client.complex.ServiceStatus
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ServiceStatus extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceStatus.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BackupServiceConsumerbackupServiceConsumerprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected DisableReasondisableReasonprotected OffsetDateTimegracePeriodDateTimeprotected IdentitySetlastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected StringodataTypeprotected OffsetDateTimerestoreAllowedTillDateTimeprotected BackupServiceStatusstatusprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedServiceStatus()
-
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
-
backupServiceConsumer
protected BackupServiceConsumer backupServiceConsumer
-
disableReason
protected DisableReason disableReason
-
gracePeriodDateTime
protected OffsetDateTime gracePeriodDateTime
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
restoreAllowedTillDateTime
protected OffsetDateTime restoreAllowedTillDateTime
-
status
protected BackupServiceStatus status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getBackupServiceConsumer
public Optional<BackupServiceConsumer> getBackupServiceConsumer()
-
withBackupServiceConsumer
public ServiceStatus withBackupServiceConsumer(BackupServiceConsumer backupServiceConsumer)
-
getDisableReason
public Optional<DisableReason> getDisableReason()
-
withDisableReason
public ServiceStatus withDisableReason(DisableReason disableReason)
-
getGracePeriodDateTime
public Optional<OffsetDateTime> getGracePeriodDateTime()
-
withGracePeriodDateTime
public ServiceStatus withGracePeriodDateTime(OffsetDateTime gracePeriodDateTime)
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
-
withLastModifiedBy
public ServiceStatus withLastModifiedBy(IdentitySet lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public ServiceStatus withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getRestoreAllowedTillDateTime
public Optional<OffsetDateTime> getRestoreAllowedTillDateTime()
-
withRestoreAllowedTillDateTime
public ServiceStatus withRestoreAllowedTillDateTime(OffsetDateTime restoreAllowedTillDateTime)
-
getStatus
public Optional<BackupServiceStatus> getStatus()
-
withStatus
public ServiceStatus withStatus(BackupServiceStatus status)
-
withUnmappedField
public ServiceStatus 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 ServiceStatus.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
-
-