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.
  • Constructor Details

    • DeviceManagementPartner

      public DeviceManagementPartner()
      Instantiates a new DeviceManagementPartner 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

      @Nullable public String 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getGroupsRequiringPartnerEnrollment

      @Nullable public List<DeviceManagementPartnerAssignment> getGroupsRequiringPartnerEnrollment()
      Gets the groupsRequiringPartnerEnrollment property value. User groups that specifies whether enrollment is through partner.
      Returns:
      a List<DeviceManagementPartnerAssignment>
    • getIsConfigured

      @Nullable public Boolean getIsConfigured()
      Gets the isConfigured property value. Whether device management partner is configured or not
      Returns:
      a Boolean
    • getLastHeartbeatDateTime

      @Nullable public OffsetDateTime getLastHeartbeatDateTime()
      Gets the lastHeartbeatDateTime property value. Timestamp of last heartbeat after admin enabled option Connect to Device management Partner
      Returns:
      a OffsetDateTime
    • getPartnerAppType

      @Nullable public DeviceManagementPartnerAppType getPartnerAppType()
      Gets the partnerAppType property value. Partner App Type.
      Returns:
      a DeviceManagementPartnerAppType
    • getPartnerState

      @Nullable public DeviceManagementPartnerTenantState getPartnerState()
      Gets the partnerState property value. Partner state of this tenant.
      Returns:
      a DeviceManagementPartnerTenantState
    • getSingleTenantAppId

      @Nullable public String getSingleTenantAppId()
      Gets the singleTenantAppId property value. Partner Single tenant App id
      Returns:
      a String
    • getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime

      @Nullable public OffsetDateTime getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime()
      Gets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime property value. DateTime in UTC when PartnerDevices will be marked as NonCompliant
      Returns:
      a OffsetDateTime
    • getWhenPartnerDevicesWillBeRemovedDateTime

      @Nullable public 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      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

      public void setIsConfigured(@Nullable Boolean value)
      Sets the isConfigured property value. Whether device management partner is configured or not
      Parameters:
      value - Value to set for the isConfigured property.
    • setLastHeartbeatDateTime

      public void setLastHeartbeatDateTime(@Nullable OffsetDateTime value)
      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

      public void setPartnerAppType(@Nullable DeviceManagementPartnerAppType value)
      Sets the partnerAppType property value. Partner App Type.
      Parameters:
      value - Value to set for the partnerAppType property.
    • setPartnerState

      public void setPartnerState(@Nullable DeviceManagementPartnerTenantState value)
      Sets the partnerState property value. Partner state of this tenant.
      Parameters:
      value - Value to set for the partnerState property.
    • setSingleTenantAppId

      public void setSingleTenantAppId(@Nullable String value)
      Sets the singleTenantAppId property value. Partner Single tenant App id
      Parameters:
      value - Value to set for the singleTenantAppId property.
    • setWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime

      public void setWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime(@Nullable OffsetDateTime value)
      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

      public void setWhenPartnerDevicesWillBeRemovedDateTime(@Nullable OffsetDateTime value)
      Sets the whenPartnerDevicesWillBeRemovedDateTime property value. DateTime in UTC when PartnerDevices will be removed
      Parameters:
      value - Value to set for the whenPartnerDevicesWillBeRemovedDateTime property.