Package com.microsoft.graph.models
Class DeviceManagementPartner
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceManagementPartner
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceManagementPartner
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Entity which represents a connection to device management partner.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceManagementPartner
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the displayName property value.The deserialization information for the current modelGets the groupsRequiringPartnerEnrollment property value.Gets the isConfigured property value.Gets the lastHeartbeatDateTime property value.Gets the partnerAppType property value.Gets the partnerState property value.Gets the singleTenantAppId property value.Gets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime property value.Gets the whenPartnerDevicesWillBeRemovedDateTime property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDisplayName
(String value) Sets the displayName property value.void
Sets the groupsRequiringPartnerEnrollment property value.void
setIsConfigured
(Boolean value) Sets the isConfigured property value.void
Sets the lastHeartbeatDateTime property value.void
Sets the partnerAppType property value.void
Sets the partnerState property value.void
setSingleTenantAppId
(String value) Sets the singleTenantAppId property value.void
Sets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime property value.void
Sets the whenPartnerDevicesWillBeRemovedDateTime property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceManagementPartner
public DeviceManagementPartner()Instantiates a newDeviceManagementPartner
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceManagementPartner createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
DeviceManagementPartner
-
getDisplayName
Gets the displayName property value. Partner display name- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGroupsRequiringPartnerEnrollment
Gets the groupsRequiringPartnerEnrollment property value. User groups that specifies whether enrollment is through partner.- Returns:
- a
List<DeviceManagementPartnerAssignment>
-
getIsConfigured
Gets the isConfigured property value. Whether device management partner is configured or not- Returns:
- a
Boolean
-
getLastHeartbeatDateTime
Gets the lastHeartbeatDateTime property value. Timestamp of last heartbeat after admin enabled option Connect to Device management Partner- Returns:
- a
OffsetDateTime
-
getPartnerAppType
Gets the partnerAppType property value. Partner App Type.- Returns:
- a
DeviceManagementPartnerAppType
-
getPartnerState
Gets the partnerState property value. Partner state of this tenant.- Returns:
- a
DeviceManagementPartnerTenantState
-
getSingleTenantAppId
Gets the singleTenantAppId property value. Partner Single tenant App id- Returns:
- a
String
-
getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime
Gets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime property value. DateTime in UTC when PartnerDevices will be marked as NonCompliant- Returns:
- a
OffsetDateTime
-
getWhenPartnerDevicesWillBeRemovedDateTime
Gets the whenPartnerDevicesWillBeRemovedDateTime property value. DateTime in UTC when PartnerDevices will be removed- Returns:
- a
OffsetDateTime
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDisplayName
Sets the displayName property value. Partner display name- Parameters:
value
- Value to set for the displayName property.
-
setGroupsRequiringPartnerEnrollment
public void setGroupsRequiringPartnerEnrollment(@Nullable List<DeviceManagementPartnerAssignment> value) Sets the groupsRequiringPartnerEnrollment property value. User groups that specifies whether enrollment is through partner.- Parameters:
value
- Value to set for the groupsRequiringPartnerEnrollment property.
-
setIsConfigured
Sets the isConfigured property value. Whether device management partner is configured or not- Parameters:
value
- Value to set for the isConfigured property.
-
setLastHeartbeatDateTime
Sets the lastHeartbeatDateTime property value. Timestamp of last heartbeat after admin enabled option Connect to Device management Partner- Parameters:
value
- Value to set for the lastHeartbeatDateTime property.
-
setPartnerAppType
Sets the partnerAppType property value. Partner App Type.- Parameters:
value
- Value to set for the partnerAppType property.
-
setPartnerState
Sets the partnerState property value. Partner state of this tenant.- Parameters:
value
- Value to set for the partnerState property.
-
setSingleTenantAppId
Sets the singleTenantAppId property value. Partner Single tenant App id- Parameters:
value
- Value to set for the singleTenantAppId property.
-
setWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime
Sets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime property value. DateTime in UTC when PartnerDevices will be marked as NonCompliant- Parameters:
value
- Value to set for the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime property.
-
setWhenPartnerDevicesWillBeRemovedDateTime
Sets the whenPartnerDevicesWillBeRemovedDateTime property value. DateTime in UTC when PartnerDevices will be removed- Parameters:
value
- Value to set for the whenPartnerDevicesWillBeRemovedDateTime property.
-