public class DeviceManagementDomainJoinConnector extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementDomainJoinConnector.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected OffsetDateTime |
lastConnectionDateTime |
protected DeviceManagementDomainJoinConnectorState |
state |
protected String |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementDomainJoinConnector() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementDomainJoinConnector.Builder |
builderDeviceManagementDomainJoinConnector()
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> |
getDisplayName()
“The connector display name.”
|
Optional<OffsetDateTime> |
getLastConnectionDateTime()
“Last time connector contacted Intune.”
|
Optional<DeviceManagementDomainJoinConnectorState> |
getState()
“The connector state.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVersion()
“The version of the connector.”
|
String |
odataTypeName() |
DeviceManagementDomainJoinConnector |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementDomainJoinConnector |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementDomainJoinConnector |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementDomainJoinConnector |
withLastConnectionDateTime(OffsetDateTime lastConnectionDateTime)
Returns an immutable copy of
this with just the lastConnectionDateTime field changed. |
DeviceManagementDomainJoinConnector |
withState(DeviceManagementDomainJoinConnectorState state)
Returns an immutable copy of
this with just the state field
changed. |
DeviceManagementDomainJoinConnector |
withVersion(String version)
Returns an immutable copy of
this with just the version field
changed. |
protected String displayName
protected OffsetDateTime lastConnectionDateTime
protected DeviceManagementDomainJoinConnectorState state
protected String version
protected DeviceManagementDomainJoinConnector()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementDomainJoinConnector.Builder builderDeviceManagementDomainJoinConnector()
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<String> getDisplayName()
public DeviceManagementDomainJoinConnector withDisplayName(String displayName)
this with just the displayName
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 connector display name.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<OffsetDateTime> getLastConnectionDateTime()
public DeviceManagementDomainJoinConnector withLastConnectionDateTime(OffsetDateTime lastConnectionDateTime)
this with just the lastConnectionDateTime 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 time connector contacted Intune.”
lastConnectionDateTime - new value of lastConnectionDateTime field (as defined in service metadata)this with just the lastConnectionDateTime field changedpublic Optional<DeviceManagementDomainJoinConnectorState> getState()
public DeviceManagementDomainJoinConnector withState(DeviceManagementDomainJoinConnectorState state)
this with just the state 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 connector state.”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic Optional<String> getVersion()
public DeviceManagementDomainJoinConnector 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 connector.”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementDomainJoinConnector patch()
this with changed fields reset.public DeviceManagementDomainJoinConnector put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.