public class ConfigurationManagerClientHealthState extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurationManagerClientHealthState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Integer |
errorCode |
protected OffsetDateTime |
lastSyncDateTime |
protected String |
odataType |
protected ConfigurationManagerClientState |
state |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ConfigurationManagerClientHealthState() |
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationManagerClientHealthState.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getErrorCode()
“Error code for failed state.”
|
Optional<OffsetDateTime> |
getLastSyncDateTime()
“Datetime for last sync with configuration manager management point.”
|
Optional<ConfigurationManagerClientState> |
getState()
“Current configuration manager client state.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ConfigurationManagerClientHealthState |
withErrorCode(Integer errorCode)
Returns an immutable copy of
this with just the errorCode field
changed. |
ConfigurationManagerClientHealthState |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy of
this with just the lastSyncDateTime
field changed. |
ConfigurationManagerClientHealthState |
withState(ConfigurationManagerClientState state)
Returns an immutable copy of
this with just the state field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected ConfigurationManagerClientState state
protected Integer errorCode
protected OffsetDateTime lastSyncDateTime
protected ConfigurationManagerClientHealthState()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<ConfigurationManagerClientState> getState()
public ConfigurationManagerClientHealthState withState(ConfigurationManagerClientState 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.
“Current configuration manager client state.”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic Optional<Integer> getErrorCode()
public ConfigurationManagerClientHealthState withErrorCode(Integer errorCode)
this with just the errorCode 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.
“Error code for failed state.”
errorCode - new value of errorCode field (as defined in service metadata)this with just the errorCode field changedpublic Optional<OffsetDateTime> getLastSyncDateTime()
public ConfigurationManagerClientHealthState 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.
“Datetime for last sync with configuration manager management point.”
lastSyncDateTime - new value of lastSyncDateTime field (as defined in service metadata)this with just the lastSyncDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static ConfigurationManagerClientHealthState.Builder builder()
Copyright © 2018–2020. All rights reserved.