Class TelecomExpenseManagementPartner

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TelecomExpenseManagementPartner
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class TelecomExpenseManagementPartner extends Entity implements com.microsoft.kiota.serialization.Parsable
telecomExpenseManagementPartner resources represent the metadata and status of a given TEM service. Once your organization has onboarded with a partner, the partner can be enabled or disabled to switch TEM functionality on or off.
  • Constructor Details

    • TelecomExpenseManagementPartner

      public TelecomExpenseManagementPartner()
      Instantiates a new TelecomExpenseManagementPartner and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static TelecomExpenseManagementPartner 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 TelecomExpenseManagementPartner
    • getAppAuthorized

      @Nullable public Boolean getAppAuthorized()
      Gets the appAuthorized property value. Whether the partner's AAD app has been authorized to access Intune.
      Returns:
      a Boolean
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. Display name of the TEM partner.
      Returns:
      a String
    • getEnabled

      @Nullable public Boolean getEnabled()
      Gets the enabled property value. Whether Intune's connection to the TEM service is currently enabled or disabled.
      Returns:
      a Boolean
    • 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>>
    • getLastConnectionDateTime

      @Nullable public OffsetDateTime getLastConnectionDateTime()
      Gets the lastConnectionDateTime property value. Timestamp of the last request sent to Intune by the TEM partner.
      Returns:
      a OffsetDateTime
    • getUrl

      @Nullable public String getUrl()
      Gets the url property value. URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service.
      Returns:
      a String
    • 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
    • setAppAuthorized

      public void setAppAuthorized(@Nullable Boolean value)
      Sets the appAuthorized property value. Whether the partner's AAD app has been authorized to access Intune.
      Parameters:
      value - Value to set for the appAuthorized property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. Display name of the TEM partner.
      Parameters:
      value - Value to set for the displayName property.
    • setEnabled

      public void setEnabled(@Nullable Boolean value)
      Sets the enabled property value. Whether Intune's connection to the TEM service is currently enabled or disabled.
      Parameters:
      value - Value to set for the enabled property.
    • setLastConnectionDateTime

      public void setLastConnectionDateTime(@Nullable OffsetDateTime value)
      Sets the lastConnectionDateTime property value. Timestamp of the last request sent to Intune by the TEM partner.
      Parameters:
      value - Value to set for the lastConnectionDateTime property.
    • setUrl

      public void setUrl(@Nullable String value)
      Sets the url property value. URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service.
      Parameters:
      value - Value to set for the url property.