Package com.microsoft.graph.models
Class DeviceManagementExchangeConnector
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceManagementExchangeConnector
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceManagementExchangeConnector
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Entity which represents a connection to an Exchange environment.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newDeviceManagementExchangeConnectorand 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 connectorServerName property value.Gets the exchangeAlias property value.Gets the exchangeConnectorType property value.Gets the exchangeOrganization property value.The deserialization information for the current modelGets the lastSyncDateTime property value.Gets the primarySmtpAddress property value.Gets the serverName property value.Gets the status property value.Gets the version property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetConnectorServerName(String value) Sets the connectorServerName property value.voidsetExchangeAlias(String value) Sets the exchangeAlias property value.voidSets the exchangeConnectorType property value.voidsetExchangeOrganization(String value) Sets the exchangeOrganization property value.voidSets the lastSyncDateTime property value.voidsetPrimarySmtpAddress(String value) Sets the primarySmtpAddress property value.voidsetServerName(String value) Sets the serverName property value.voidSets the status property value.voidsetVersion(String value) Sets the version property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceManagementExchangeConnector
public DeviceManagementExchangeConnector()Instantiates a newDeviceManagementExchangeConnectorand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceManagementExchangeConnector 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
DeviceManagementExchangeConnector
-
getConnectorServerName
Gets the connectorServerName property value. The name of the server hosting the Exchange Connector.- Returns:
- a
String
-
getExchangeAlias
Gets the exchangeAlias property value. An alias assigned to the Exchange server- Returns:
- a
String
-
getExchangeConnectorType
Gets the exchangeConnectorType property value. The type of Exchange Connector.- Returns:
- a
DeviceManagementExchangeConnectorType
-
getExchangeOrganization
Gets the exchangeOrganization property value. Exchange Organization to the Exchange server- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastSyncDateTime
Gets the lastSyncDateTime property value. Last sync time for the Exchange Connector- Returns:
- a
OffsetDateTime
-
getPrimarySmtpAddress
Gets the primarySmtpAddress property value. Email address used to configure the Service To Service Exchange Connector.- Returns:
- a
String
-
getServerName
Gets the serverName property value. The name of the Exchange server.- Returns:
- a
String
-
getStatus
Gets the status property value. The current status of the Exchange Connector.- Returns:
- a
DeviceManagementExchangeConnectorStatus
-
getVersion
Gets the version property value. The version of the ExchangeConnectorAgent- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setConnectorServerName
Sets the connectorServerName property value. The name of the server hosting the Exchange Connector.- Parameters:
value- Value to set for the connectorServerName property.
-
setExchangeAlias
Sets the exchangeAlias property value. An alias assigned to the Exchange server- Parameters:
value- Value to set for the exchangeAlias property.
-
setExchangeConnectorType
Sets the exchangeConnectorType property value. The type of Exchange Connector.- Parameters:
value- Value to set for the exchangeConnectorType property.
-
setExchangeOrganization
Sets the exchangeOrganization property value. Exchange Organization to the Exchange server- Parameters:
value- Value to set for the exchangeOrganization property.
-
setLastSyncDateTime
Sets the lastSyncDateTime property value. Last sync time for the Exchange Connector- Parameters:
value- Value to set for the lastSyncDateTime property.
-
setPrimarySmtpAddress
Sets the primarySmtpAddress property value. Email address used to configure the Service To Service Exchange Connector.- Parameters:
value- Value to set for the primarySmtpAddress property.
-
setServerName
Sets the serverName property value. The name of the Exchange server.- Parameters:
value- Value to set for the serverName property.
-
setStatus
Sets the status property value. The current status of the Exchange Connector.- Parameters:
value- Value to set for the status property.
-
setVersion
Sets the version property value. The version of the ExchangeConnectorAgent- Parameters:
value- Value to set for the version property.
-