Class ManagedDeviceCompliance
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.managed.tenants.entity.ManagedDeviceCompliance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedDeviceCompliance extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedDeviceCompliance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcomplianceStatusprotected StringdeviceTypeprotected OffsetDateTimeinGracePeriodUntilDateTimeprotected OffsetDateTimelastRefreshedDateTimeprotected OffsetDateTimelastSyncDateTimeprotected StringmanagedDeviceIdprotected StringmanagedDeviceNameprotected Stringmanufacturerprotected Stringmodelprotected StringosDescriptionprotected StringosVersionprotected StringownerTypeprotected StringtenantDisplayNameprotected StringtenantId-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedDeviceCompliance()
-
Method Summary
-
-
-
Field Detail
-
complianceStatus
protected String complianceStatus
-
deviceType
protected String deviceType
-
inGracePeriodUntilDateTime
protected OffsetDateTime inGracePeriodUntilDateTime
-
lastRefreshedDateTime
protected OffsetDateTime lastRefreshedDateTime
-
lastSyncDateTime
protected OffsetDateTime lastSyncDateTime
-
managedDeviceId
protected String managedDeviceId
-
managedDeviceName
protected String managedDeviceName
-
manufacturer
protected String manufacturer
-
model
protected String model
-
osDescription
protected String osDescription
-
osVersion
protected String osVersion
-
ownerType
protected String ownerType
-
tenantDisplayName
protected String tenantDisplayName
-
tenantId
protected String tenantId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedDeviceCompliance
public static ManagedDeviceCompliance.Builder builderManagedDeviceCompliance()
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
-
withComplianceStatus
public ManagedDeviceCompliance withComplianceStatus(String complianceStatus)
-
withDeviceType
public ManagedDeviceCompliance withDeviceType(String deviceType)
-
getInGracePeriodUntilDateTime
public Optional<OffsetDateTime> getInGracePeriodUntilDateTime()
-
withInGracePeriodUntilDateTime
public ManagedDeviceCompliance withInGracePeriodUntilDateTime(OffsetDateTime inGracePeriodUntilDateTime)
-
getLastRefreshedDateTime
public Optional<OffsetDateTime> getLastRefreshedDateTime()
-
withLastRefreshedDateTime
public ManagedDeviceCompliance withLastRefreshedDateTime(OffsetDateTime lastRefreshedDateTime)
-
getLastSyncDateTime
public Optional<OffsetDateTime> getLastSyncDateTime()
-
withLastSyncDateTime
public ManagedDeviceCompliance withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
-
withManagedDeviceId
public ManagedDeviceCompliance withManagedDeviceId(String managedDeviceId)
-
withManagedDeviceName
public ManagedDeviceCompliance withManagedDeviceName(String managedDeviceName)
-
withManufacturer
public ManagedDeviceCompliance withManufacturer(String manufacturer)
-
withModel
public ManagedDeviceCompliance withModel(String model)
-
withOsDescription
public ManagedDeviceCompliance withOsDescription(String osDescription)
-
withOsVersion
public ManagedDeviceCompliance withOsVersion(String osVersion)
-
withOwnerType
public ManagedDeviceCompliance withOwnerType(String ownerType)
-
withTenantDisplayName
public ManagedDeviceCompliance withTenantDisplayName(String tenantDisplayName)
-
withTenantId
public ManagedDeviceCompliance withTenantId(String tenantId)
-
withUnmappedField
public ManagedDeviceCompliance 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 ManagedDeviceCompliance patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedDeviceCompliance put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-