public class DeviceManagementExchangeConnector extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementExchangeConnector.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
connectorServerName |
protected String |
exchangeAlias |
protected DeviceManagementExchangeConnectorType |
exchangeConnectorType |
protected String |
exchangeOrganization |
protected OffsetDateTime |
lastSyncDateTime |
protected String |
primarySmtpAddress |
protected String |
serverName |
protected DeviceManagementExchangeConnectorStatus |
status |
protected String |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementExchangeConnector() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementExchangeConnector.Builder |
builderDeviceManagementExchangeConnector()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getConnectorServerName()
“The name of the server hosting the Exchange Connector.”
|
Optional<String> |
getExchangeAlias()
“An alias assigned to the Exchange server”
|
Optional<DeviceManagementExchangeConnectorType> |
getExchangeConnectorType()
“The type of Exchange Connector Configured.”
|
Optional<String> |
getExchangeOrganization()
“Exchange Organization to the Exchange server”
|
Optional<OffsetDateTime> |
getLastSyncDateTime()
“Last sync time for the Exchange Connector”
|
Optional<String> |
getPrimarySmtpAddress()
“Email address used to configure the Service To Service Exchange Connector.”
|
Optional<String> |
getServerName()
“The name of the Exchange server.”
|
Optional<DeviceManagementExchangeConnectorStatus> |
getStatus()
“Exchange Connector Status”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVersion()
“The version of the ExchangeConnectorAgent”
|
String |
odataTypeName() |
DeviceManagementExchangeConnector |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementExchangeConnector |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
sync(DeviceManagementExchangeConnectorSyncType syncType) |
String |
toString() |
DeviceManagementExchangeConnector |
withConnectorServerName(String connectorServerName)
Returns an immutable copy of
this with just the connectorServerName field changed. |
DeviceManagementExchangeConnector |
withExchangeAlias(String exchangeAlias)
Returns an immutable copy of
this with just the exchangeAlias
field changed. |
DeviceManagementExchangeConnector |
withExchangeConnectorType(DeviceManagementExchangeConnectorType exchangeConnectorType)
Returns an immutable copy of
this with just the exchangeConnectorType field changed. |
DeviceManagementExchangeConnector |
withExchangeOrganization(String exchangeOrganization)
Returns an immutable copy of
this with just the exchangeOrganization field changed. |
DeviceManagementExchangeConnector |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy of
this with just the lastSyncDateTime
field changed. |
DeviceManagementExchangeConnector |
withPrimarySmtpAddress(String primarySmtpAddress)
Returns an immutable copy of
this with just the primarySmtpAddress field changed. |
DeviceManagementExchangeConnector |
withServerName(String serverName)
Returns an immutable copy of
this with just the serverName field
changed. |
DeviceManagementExchangeConnector |
withStatus(DeviceManagementExchangeConnectorStatus status)
Returns an immutable copy of
this with just the status field
changed. |
DeviceManagementExchangeConnector |
withVersion(String version)
Returns an immutable copy of
this with just the version field
changed. |
protected OffsetDateTime lastSyncDateTime
protected DeviceManagementExchangeConnectorStatus status
protected String primarySmtpAddress
protected String serverName
protected String connectorServerName
protected DeviceManagementExchangeConnectorType exchangeConnectorType
protected String version
protected String exchangeAlias
protected String exchangeOrganization
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementExchangeConnector.Builder builderDeviceManagementExchangeConnector()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getLastSyncDateTime()
public DeviceManagementExchangeConnector withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
this with just the lastSyncDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Last sync time for the Exchange Connector”
lastSyncDateTime - new value of lastSyncDateTime field (as defined in service metadata)this with just the lastSyncDateTime field changedpublic Optional<DeviceManagementExchangeConnectorStatus> getStatus()
public DeviceManagementExchangeConnector withStatus(DeviceManagementExchangeConnectorStatus status)
this with just the status field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Exchange Connector Status”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<String> getPrimarySmtpAddress()
public DeviceManagementExchangeConnector withPrimarySmtpAddress(String primarySmtpAddress)
this with just the primarySmtpAddress field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Email address used to configure the Service To Service Exchange Connector.”
primarySmtpAddress - new value of primarySmtpAddress field (as defined in service metadata)this with just the primarySmtpAddress field changedpublic Optional<String> getServerName()
public DeviceManagementExchangeConnector withServerName(String serverName)
this with just the serverName field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The name of the Exchange server.”
serverName - new value of serverName field (as defined in service metadata)this with just the serverName field changedpublic Optional<String> getConnectorServerName()
public DeviceManagementExchangeConnector withConnectorServerName(String connectorServerName)
this with just the connectorServerName field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The name of the server hosting the Exchange Connector.”
connectorServerName - new value of connectorServerName field (as defined in service metadata)this with just the connectorServerName field changedpublic Optional<DeviceManagementExchangeConnectorType> getExchangeConnectorType()
public DeviceManagementExchangeConnector withExchangeConnectorType(DeviceManagementExchangeConnectorType exchangeConnectorType)
this with just the exchangeConnectorType field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The type of Exchange Connector Configured.”
exchangeConnectorType - new value of exchangeConnectorType field (as defined in service metadata)this with just the exchangeConnectorType field changedpublic Optional<String> getVersion()
public DeviceManagementExchangeConnector withVersion(String version)
this with just the version field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The version of the ExchangeConnectorAgent”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic Optional<String> getExchangeAlias()
public DeviceManagementExchangeConnector withExchangeAlias(String exchangeAlias)
this with just the exchangeAlias
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“An alias assigned to the Exchange server”
exchangeAlias - new value of exchangeAlias field (as defined in service metadata)this with just the exchangeAlias field changedpublic Optional<String> getExchangeOrganization()
public DeviceManagementExchangeConnector withExchangeOrganization(String exchangeOrganization)
this with just the exchangeOrganization field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Exchange Organization to the Exchange server”
exchangeOrganization - new value of exchangeOrganization field (as defined in service metadata)this with just the exchangeOrganization field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementExchangeConnector patch()
this with changed fields reset.public DeviceManagementExchangeConnector put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn sync(DeviceManagementExchangeConnectorSyncType syncType)
Copyright © 2018–2020. All rights reserved.