Package odata.msgraph.client.entity
Class DeviceManagementPartner
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceManagementPartner
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementPartner extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity which represents a connection to device management partner.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementPartner.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdisplayNameprotected List<DeviceManagementPartnerAssignment>groupsRequiringPartnerEnrollmentprotected StringgroupsRequiringPartnerEnrollmentNextLinkprotected BooleanisConfiguredprotected OffsetDateTimelastHeartbeatDateTimeprotected DeviceManagementPartnerAppTypepartnerAppTypeprotected DeviceManagementPartnerTenantStatepartnerStateprotected StringsingleTenantAppIdprotected OffsetDateTimewhenPartnerDevicesWillBeMarkedAsNonCompliantDateTimeprotected OffsetDateTimewhenPartnerDevicesWillBeRemovedDateTime-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementPartner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementPartner.BuilderbuilderDeviceManagementPartner()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.ChangedFieldsgetChangedFields()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.UnmappedFieldsgetUnmappedFields()Optional<OffsetDateTime>getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime()“DateTime in UTC when PartnerDevices will be marked as NonCompliant”Optional<OffsetDateTime>getWhenPartnerDevicesWillBeRemovedDateTime()“DateTime in UTC when PartnerDevices will be removed”StringodataTypeName()DeviceManagementPartnerpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementPartnerput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnterminate()StringtoString()DeviceManagementPartnerwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementPartnerwithGroupsRequiringPartnerEnrollment(List<DeviceManagementPartnerAssignment> groupsRequiringPartnerEnrollment)Returns an immutable copy ofthiswith just thegroupsRequiringPartnerEnrollmentfield changed.DeviceManagementPartnerwithIsConfigured(Boolean isConfigured)Returns an immutable copy ofthiswith just theisConfiguredfield changed.DeviceManagementPartnerwithLastHeartbeatDateTime(OffsetDateTime lastHeartbeatDateTime)Returns an immutable copy ofthiswith just thelastHeartbeatDateTimefield changed.DeviceManagementPartnerwithPartnerAppType(DeviceManagementPartnerAppType partnerAppType)Returns an immutable copy ofthiswith just thepartnerAppTypefield changed.DeviceManagementPartnerwithPartnerState(DeviceManagementPartnerTenantState partnerState)Returns an immutable copy ofthiswith just thepartnerStatefield changed.DeviceManagementPartnerwithSingleTenantAppId(String singleTenantAppId)Returns an immutable copy ofthiswith just thesingleTenantAppIdfield changed.DeviceManagementPartnerwithUnmappedField(String name, Object value)DeviceManagementPartnerwithWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime(OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime)Returns an immutable copy ofthiswith just thewhenPartnerDevicesWillBeMarkedAsNonCompliantDateTimefield changed.DeviceManagementPartnerwithWhenPartnerDevicesWillBeRemovedDateTime(OffsetDateTime whenPartnerDevicesWillBeRemovedDateTime)Returns an immutable copy ofthiswith just thewhenPartnerDevicesWillBeRemovedDateTimefield changed.
-
-
-
Field Detail
-
displayName
protected String displayName
-
groupsRequiringPartnerEnrollment
protected List<DeviceManagementPartnerAssignment> groupsRequiringPartnerEnrollment
-
groupsRequiringPartnerEnrollmentNextLink
protected String groupsRequiringPartnerEnrollmentNextLink
-
isConfigured
protected Boolean isConfigured
-
lastHeartbeatDateTime
protected OffsetDateTime lastHeartbeatDateTime
-
partnerAppType
protected DeviceManagementPartnerAppType partnerAppType
-
partnerState
protected DeviceManagementPartnerTenantState partnerState
-
singleTenantAppId
protected String singleTenantAppId
-
whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime
protected OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime
-
whenPartnerDevicesWillBeRemovedDateTime
protected OffsetDateTime whenPartnerDevicesWillBeRemovedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementPartner
public static DeviceManagementPartner.Builder builderDeviceManagementPartner()
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
-
getDisplayName
public Optional<String> getDisplayName()
“Partner display name”- Returns:
- property displayName
-
withDisplayName
public DeviceManagementPartner withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Partner display name”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getGroupsRequiringPartnerEnrollment
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementPartnerAssignment> getGroupsRequiringPartnerEnrollment()
“User groups that specifies whether enrollment is through partner.”- Returns:
- property groupsRequiringPartnerEnrollment
-
withGroupsRequiringPartnerEnrollment
public DeviceManagementPartner withGroupsRequiringPartnerEnrollment(List<DeviceManagementPartnerAssignment> groupsRequiringPartnerEnrollment)
Returns an immutable copy ofthiswith just thegroupsRequiringPartnerEnrollmentfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“User groups that specifies whether enrollment is through partner.”
- Parameters:
groupsRequiringPartnerEnrollment- new value ofgroupsRequiringPartnerEnrollmentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thegroupsRequiringPartnerEnrollmentfield changed
-
getGroupsRequiringPartnerEnrollment
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementPartnerAssignment> getGroupsRequiringPartnerEnrollment(com.github.davidmoten.odata.client.HttpRequestOptions options)
“User groups that specifies whether enrollment is through partner.”- Parameters:
options- specify connect and read timeouts- Returns:
- property groupsRequiringPartnerEnrollment
-
getIsConfigured
public Optional<Boolean> getIsConfigured()
“Whether device management partner is configured or not”- Returns:
- property isConfigured
-
withIsConfigured
public DeviceManagementPartner withIsConfigured(Boolean isConfigured)
Returns an immutable copy ofthiswith just theisConfiguredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Whether device management partner is configured or not”
- Parameters:
isConfigured- new value ofisConfiguredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisConfiguredfield changed
-
getLastHeartbeatDateTime
public Optional<OffsetDateTime> getLastHeartbeatDateTime()
“Timestamp of last heartbeat after admin enabled option Connect to Device management Partner”- Returns:
- property lastHeartbeatDateTime
-
withLastHeartbeatDateTime
public DeviceManagementPartner withLastHeartbeatDateTime(OffsetDateTime lastHeartbeatDateTime)
Returns an immutable copy ofthiswith just thelastHeartbeatDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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”
- Parameters:
lastHeartbeatDateTime- new value oflastHeartbeatDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastHeartbeatDateTimefield changed
-
getPartnerAppType
public Optional<DeviceManagementPartnerAppType> getPartnerAppType()
“Partner App type”- Returns:
- property partnerAppType
-
withPartnerAppType
public DeviceManagementPartner withPartnerAppType(DeviceManagementPartnerAppType partnerAppType)
Returns an immutable copy ofthiswith just thepartnerAppTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Partner App type”
- Parameters:
partnerAppType- new value ofpartnerAppTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepartnerAppTypefield changed
-
getPartnerState
public Optional<DeviceManagementPartnerTenantState> getPartnerState()
“Partner state of this tenant”- Returns:
- property partnerState
-
withPartnerState
public DeviceManagementPartner withPartnerState(DeviceManagementPartnerTenantState partnerState)
Returns an immutable copy ofthiswith just thepartnerStatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Partner state of this tenant”
- Parameters:
partnerState- new value ofpartnerStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepartnerStatefield changed
-
getSingleTenantAppId
public Optional<String> getSingleTenantAppId()
“Partner Single tenant App id”- Returns:
- property singleTenantAppId
-
withSingleTenantAppId
public DeviceManagementPartner withSingleTenantAppId(String singleTenantAppId)
Returns an immutable copy ofthiswith just thesingleTenantAppIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Partner Single tenant App id”
- Parameters:
singleTenantAppId- new value ofsingleTenantAppIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesingleTenantAppIdfield changed
-
getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime
public Optional<OffsetDateTime> getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime()
“DateTime in UTC when PartnerDevices will be marked as NonCompliant”- Returns:
- property whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime
-
withWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime
public DeviceManagementPartner withWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime(OffsetDateTime whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime)
Returns an immutable copy ofthiswith just thewhenPartnerDevicesWillBeMarkedAsNonCompliantDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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”
- Parameters:
whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime- new value ofwhenPartnerDevicesWillBeMarkedAsNonCompliantDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewhenPartnerDevicesWillBeMarkedAsNonCompliantDateTimefield changed
-
getWhenPartnerDevicesWillBeRemovedDateTime
public Optional<OffsetDateTime> getWhenPartnerDevicesWillBeRemovedDateTime()
“DateTime in UTC when PartnerDevices will be removed”- Returns:
- property whenPartnerDevicesWillBeRemovedDateTime
-
withWhenPartnerDevicesWillBeRemovedDateTime
public DeviceManagementPartner withWhenPartnerDevicesWillBeRemovedDateTime(OffsetDateTime whenPartnerDevicesWillBeRemovedDateTime)
Returns an immutable copy ofthiswith just thewhenPartnerDevicesWillBeRemovedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“DateTime in UTC when PartnerDevices will be removed”
- Parameters:
whenPartnerDevicesWillBeRemovedDateTime- new value ofwhenPartnerDevicesWillBeRemovedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewhenPartnerDevicesWillBeRemovedDateTimefield changed
-
withUnmappedField
public DeviceManagementPartner withUnmappedField(String name, Object 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 DeviceManagementPartner patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementPartner put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
terminate
public com.github.davidmoten.odata.client.ActionRequestNoReturn terminate()
-
-