Package com.microsoft.graph.models
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.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newTelecomExpenseManagementPartner
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appAuthorized property value.Gets the displayName property value.Gets the enabled property value.The deserialization information for the current modelGets the lastConnectionDateTime property value.getUrl()
Gets the url property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAppAuthorized
(Boolean value) Sets the appAuthorized property value.void
setDisplayName
(String value) Sets the displayName property value.void
setEnabled
(Boolean value) Sets the enabled property value.void
Sets the lastConnectionDateTime property value.void
Sets the url property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TelecomExpenseManagementPartner
public TelecomExpenseManagementPartner()Instantiates a newTelecomExpenseManagementPartner
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
Gets the appAuthorized property value. Whether the partner's AAD app has been authorized to access Intune.- Returns:
- a
Boolean
-
getDisplayName
Gets the displayName property value. Display name of the TEM partner.- Returns:
- a
String
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastConnectionDateTime
Gets the lastConnectionDateTime property value. Timestamp of the last request sent to Intune by the TEM partner.- Returns:
- a
OffsetDateTime
-
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 -
setAppAuthorized
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
Sets the displayName property value. Display name of the TEM partner.- Parameters:
value
- Value to set for the displayName property.
-
setEnabled
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
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
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.
-