public class WhoAmIResponse extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
WhoAmIResponse.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
businessUnitId |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected String |
organizationId |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
protected String |
userId |
| Modifier | Constructor and Description |
|---|---|
protected |
WhoAmIResponse() |
| Modifier and Type | Method and Description |
|---|---|
static WhoAmIResponse.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getBusinessUnitId() |
Optional<String> |
getOrganizationId() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
WhoAmIResponse |
withBusinessUnitId(String businessUnitId) |
WhoAmIResponse |
withOrganizationId(String organizationId) |
WhoAmIResponse |
withUnmappedField(String name,
String value) |
WhoAmIResponse |
withUserId(String userId) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected String odataType
protected String businessUnitId
protected String userId
protected String organizationId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic WhoAmIResponse withBusinessUnitId(String businessUnitId)
public WhoAmIResponse withUserId(String userId)
public WhoAmIResponse withOrganizationId(String organizationId)
public WhoAmIResponse withUnmappedField(String name, String value)
public com.github.davidmoten.odata.client.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 WhoAmIResponse.Builder builder()
Copyright © 2018–2021. All rights reserved.