public class DeviceManagementPartner extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementPartner.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected List<DeviceManagementPartnerAssignment> |
groupsRequiringPartnerEnrollment |
protected String |
groupsRequiringPartnerEnrollmentNextLink |
protected Boolean |
isConfigured |
protected OffsetDateTime |
lastHeartbeatDateTime |
protected DeviceManagementPartnerAppType |
partnerAppType |
protected DeviceManagementPartnerTenantState |
partnerState |
protected String |
singleTenantAppId |
protected OffsetDateTime |
whenPartnerDevicesWillBeMarkedAsNonCompliant |
protected OffsetDateTime |
whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime |
protected OffsetDateTime |
whenPartnerDevicesWillBeRemoved |
protected OffsetDateTime |
whenPartnerDevicesWillBeRemovedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementPartner() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementPartner.Builder |
builderDeviceManagementPartner()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDisplayName()
“Partner display name”
|
com.github.davidmoten.odata.client.CollectionPage<DeviceManagementPartnerAssignment> |
getGroupsRequiringPartnerEnrollment()
“User groups that specifies whether enrollment is through partner.”
|
com.github.davidmoten.odata.client.CollectionPage<DeviceManagementPartnerAssignment> |
getGroupsRequiringPartnerEnrollment(com.github.davidmoten.odata.client.HttpRequestOptions options)
“User groups that specifies whether enrollment is through partner.”
|
Optional<Boolean> |
getIsConfigured()
“Whether device management partner is configured or not”
|
Optional<OffsetDateTime> |
getLastHeartbeatDateTime()
“Timestamp of last heartbeat after admin enabled option Connect to Device
management Partner”
|
Optional<DeviceManagementPartnerAppType> |
getPartnerAppType()
“Partner App type”
|
Optional<DeviceManagementPartnerTenantState> |
getPartnerState()
“Partner state of this tenant”
|
Optional<String> |
getSingleTenantAppId()
“Partner Single tenant App id”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<OffsetDateTime> |
getWhenPartnerDevicesWillBeMarkedAsNonCompliant()
“DateTime in UTC when PartnerDevices will be marked as NonCompliant.
|
Optional<OffsetDateTime> |
getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime()
“DateTime in UTC when PartnerDevices will be marked as NonCompliant”
|
Optional<OffsetDateTime> |
getWhenPartnerDevicesWillBeRemoved()
“DateTime in UTC when PartnerDevices will be removed.
|
Optional<OffsetDateTime> |
getWhenPartnerDevicesWillBeRemovedDateTime()
“DateTime in UTC when PartnerDevices will be removed”
|
String |
odataTypeName() |
DeviceManagementPartner |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementPartner |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementPartner |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementPartner |
withIsConfigured(Boolean isConfigured)
Returns an immutable copy of
this with just the isConfigured
field changed. |
DeviceManagementPartner |
withLastHeartbeatDateTime(OffsetDateTime lastHeartbeatDateTime)
Returns an immutable copy of
this with just the lastHeartbeatDateTime field changed. |
DeviceManagementPartner |
withPartnerAppType(DeviceManagementPartnerAppType partnerAppType)
Returns an immutable copy of
this with just the partnerAppType
field changed. |
DeviceManagementPartner |
withPartnerState(DeviceManagementPartnerTenantState partnerState)
Returns an immutable copy of
this with just the partnerState
field changed. |
DeviceManagementPartner |
withSingleTenantAppId(String singleTenantAppId)
Returns an immutable copy of
this with just the singleTenantAppId
field changed. |
DeviceManagementPartner |
withWhenPartnerDevicesWillBeMarkedAsNonCompliant(OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliant)
Returns an immutable copy of
this with just the whenPartnerDevicesWillBeMarkedAsNonCompliant field changed. |
DeviceManagementPartner |
withWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime(OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime)
Returns an immutable copy of
this with just the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime field changed. |
DeviceManagementPartner |
withWhenPartnerDevicesWillBeRemoved(OffsetDateTime whenPartnerDevicesWillBeRemoved)
Returns an immutable copy of
this with just the whenPartnerDevicesWillBeRemoved field changed. |
DeviceManagementPartner |
withWhenPartnerDevicesWillBeRemovedDateTime(OffsetDateTime whenPartnerDevicesWillBeRemovedDateTime)
Returns an immutable copy of
this with just the whenPartnerDevicesWillBeRemovedDateTime field changed. |
protected OffsetDateTime lastHeartbeatDateTime
protected DeviceManagementPartnerTenantState partnerState
protected DeviceManagementPartnerAppType partnerAppType
protected String singleTenantAppId
protected String displayName
protected Boolean isConfigured
protected OffsetDateTime whenPartnerDevicesWillBeRemoved
protected OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliant
protected OffsetDateTime whenPartnerDevicesWillBeRemovedDateTime
protected OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime
protected List<DeviceManagementPartnerAssignment> groupsRequiringPartnerEnrollment
protected String groupsRequiringPartnerEnrollmentNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementPartner.Builder builderDeviceManagementPartner()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getLastHeartbeatDateTime()
public DeviceManagementPartner withLastHeartbeatDateTime(OffsetDateTime lastHeartbeatDateTime)
this with just the lastHeartbeatDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Timestamp of last heartbeat after admin enabled option Connect to Device management Partner”
lastHeartbeatDateTime - new value of lastHeartbeatDateTime field (as defined in service metadata)this with just the lastHeartbeatDateTime field changedpublic Optional<DeviceManagementPartnerTenantState> getPartnerState()
public DeviceManagementPartner withPartnerState(DeviceManagementPartnerTenantState partnerState)
this with just the partnerState
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Partner state of this tenant”
partnerState - new value of partnerState field (as defined in service metadata)this with just the partnerState field changedpublic Optional<DeviceManagementPartnerAppType> getPartnerAppType()
public DeviceManagementPartner withPartnerAppType(DeviceManagementPartnerAppType partnerAppType)
this with just the partnerAppType
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Partner App type”
partnerAppType - new value of partnerAppType field (as defined in service metadata)this with just the partnerAppType field changedpublic Optional<String> getSingleTenantAppId()
public DeviceManagementPartner withSingleTenantAppId(String singleTenantAppId)
this with just the singleTenantAppId
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Partner Single tenant App id”
singleTenantAppId - new value of singleTenantAppId field (as defined in service metadata)this with just the singleTenantAppId field changedpublic Optional<String> getDisplayName()
public DeviceManagementPartner withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Partner display name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<Boolean> getIsConfigured()
public DeviceManagementPartner withIsConfigured(Boolean isConfigured)
this with just the isConfigured
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Whether device management partner is configured or not”
isConfigured - new value of isConfigured field (as defined in service metadata)this with just the isConfigured field changedpublic Optional<OffsetDateTime> getWhenPartnerDevicesWillBeRemoved()
public DeviceManagementPartner withWhenPartnerDevicesWillBeRemoved(OffsetDateTime whenPartnerDevicesWillBeRemoved)
this with just the whenPartnerDevicesWillBeRemoved field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“DateTime in UTC when PartnerDevices will be removed. This will become obselete soon.”
whenPartnerDevicesWillBeRemoved - new value of whenPartnerDevicesWillBeRemoved field (as defined in service metadata)this with just the whenPartnerDevicesWillBeRemoved field changedpublic Optional<OffsetDateTime> getWhenPartnerDevicesWillBeMarkedAsNonCompliant()
public DeviceManagementPartner withWhenPartnerDevicesWillBeMarkedAsNonCompliant(OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliant)
this with just the whenPartnerDevicesWillBeMarkedAsNonCompliant field changed. Field description
below. The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“DateTime in UTC when PartnerDevices will be marked as NonCompliant. This will become obselete soon.”
whenPartnerDevicesWillBeMarkedAsNonCompliant - new value of whenPartnerDevicesWillBeMarkedAsNonCompliant field (as defined in service metadata)this with just the whenPartnerDevicesWillBeMarkedAsNonCompliant field changedpublic Optional<OffsetDateTime> getWhenPartnerDevicesWillBeRemovedDateTime()
public DeviceManagementPartner withWhenPartnerDevicesWillBeRemovedDateTime(OffsetDateTime whenPartnerDevicesWillBeRemovedDateTime)
this with just the whenPartnerDevicesWillBeRemovedDateTime field changed. Field description below.
The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“DateTime in UTC when PartnerDevices will be removed”
whenPartnerDevicesWillBeRemovedDateTime - new value of whenPartnerDevicesWillBeRemovedDateTime field (as defined in service metadata)this with just the whenPartnerDevicesWillBeRemovedDateTime field changedpublic Optional<OffsetDateTime> getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime()
public DeviceManagementPartner withWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime(OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime)
this with just the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime field changed. Field
description below. The field name is also added to an internal map of changed
fields in the returned object so that when this.patch() is called (if
available)on the returned object only the changed fields are submitted.
“DateTime in UTC when PartnerDevices will be marked as NonCompliant”
whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime - new value of whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime field (as defined in service metadata)this with just the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime field changedpublic com.github.davidmoten.odata.client.CollectionPage<DeviceManagementPartnerAssignment> getGroupsRequiringPartnerEnrollment()
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementPartnerAssignment> getGroupsRequiringPartnerEnrollment(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementPartner patch()
this with changed fields reset.public DeviceManagementPartner put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.