public class Win32LobAppReturnCode extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
Win32LobAppReturnCode.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected Integer |
returnCode |
protected Win32LobAppReturnCodeType |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
Win32LobAppReturnCode() |
| Modifier and Type | Method and Description |
|---|---|
static Win32LobAppReturnCode.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getReturnCode()
“Return code.”
|
Optional<Win32LobAppReturnCodeType> |
getType()
“The type of return code.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
Win32LobAppReturnCode |
withReturnCode(Integer returnCode)
Returns an immutable copy of
this with just the returnCode field
changed. |
Win32LobAppReturnCode |
withType(Win32LobAppReturnCodeType type)
Returns an immutable copy of
this with just the type field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Integer returnCode
protected Win32LobAppReturnCodeType type
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Win32LobAppReturnCode withReturnCode(Integer returnCode)
this with just the returnCode 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.
“Return code.”
returnCode - new value of returnCode field (as defined in service metadata)this with just the returnCode field changedpublic Optional<Win32LobAppReturnCodeType> getType()
public Win32LobAppReturnCode withType(Win32LobAppReturnCodeType type)
this with just the type 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 return code.”
type - new value of type field (as defined in service metadata)this with just the type 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 Win32LobAppReturnCode.Builder builder()
Copyright © 2018–2020. All rights reserved.