public class SideLoadingKey extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SideLoadingKey.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected String |
lastUpdatedDateTime |
protected Integer |
totalActivation |
protected String |
value |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SideLoadingKey() |
| Modifier and Type | Method and Description |
|---|---|
static SideLoadingKey.Builder |
builderSideLoadingKey()
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> |
getDescription()
“Side Loading Key description displayed to the ITPro Admins..”
|
Optional<String> |
getDisplayName()
“Side Loading Key Name displayed to the ITPro Admins.”
|
Optional<String> |
getLastUpdatedDateTime()
“Side Loading Key Last Updated Date displayed to the ITPro Admins.”
|
Optional<Integer> |
getTotalActivation()
“Side Loading Key Total Activation displayed to the ITPro Admins.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getValue()
“Side Loading Key Value, it is 5x5 value, seperated by hiphens.”
|
String |
odataTypeName() |
SideLoadingKey |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SideLoadingKey |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SideLoadingKey |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
SideLoadingKey |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
SideLoadingKey |
withLastUpdatedDateTime(String lastUpdatedDateTime)
Returns an immutable copy of
this with just the lastUpdatedDateTime field changed. |
SideLoadingKey |
withTotalActivation(Integer totalActivation)
Returns an immutable copy of
this with just the totalActivation
field changed. |
SideLoadingKey |
withValue(String value)
Returns an immutable copy of
this with just the value field
changed. |
protected String value
protected String displayName
protected String description
protected Integer totalActivation
protected String lastUpdatedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SideLoadingKey.Builder builderSideLoadingKey()
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> getValue()
public SideLoadingKey withValue(String value)
this with just the value 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.
“Side Loading Key Value, it is 5x5 value, seperated by hiphens.”
value - new value of value field (as defined in service metadata)this with just the value field changedpublic Optional<String> getDisplayName()
public SideLoadingKey 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.
“Side Loading Key Name displayed to the ITPro Admins.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public SideLoadingKey withDescription(String description)
this with just the description
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.
“Side Loading Key description displayed to the ITPro Admins..”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<Integer> getTotalActivation()
public SideLoadingKey withTotalActivation(Integer totalActivation)
this with just the totalActivation
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.
“Side Loading Key Total Activation displayed to the ITPro Admins.”
totalActivation - new value of totalActivation field (as defined in service metadata)this with just the totalActivation field changedpublic Optional<String> getLastUpdatedDateTime()
public SideLoadingKey withLastUpdatedDateTime(String lastUpdatedDateTime)
this with just the lastUpdatedDateTime 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.
“Side Loading Key Last Updated Date displayed to the ITPro Admins.”
lastUpdatedDateTime - new value of lastUpdatedDateTime field (as defined in service metadata)this with just the lastUpdatedDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SideLoadingKey patch()
this with changed fields reset.public SideLoadingKey put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.