public class User extends Object implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
User.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.internal.ChangedFields |
changedFields |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
protected String |
userEmail |
protected String |
userId |
protected String |
userName |
protected String |
userSK |
| Modifier | Constructor and Description |
|---|---|
protected |
User() |
| Modifier and Type | Method and Description |
|---|---|
static User.Builder |
builder()
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() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserEmail() |
Optional<String> |
getUserId() |
Optional<String> |
getUserName() |
Optional<String> |
getUserSK() |
String |
odataTypeName() |
User |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
User |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
User |
withUnmappedField(String name,
String value) |
User |
withUserEmail(String userEmail) |
User |
withUserId(String userId) |
User |
withUserName(String userName) |
User |
withUserSK(String userSK) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected com.github.davidmoten.odata.client.internal.ChangedFields changedFields
protected String odataType
protected String userSK
protected String userId
protected String userName
protected String userEmail
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic static User.Builder builder()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic User patch()
this with changed fields reset.this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic User put()
this
with changed fields reset (they were ignored anyway).this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedCopyright © 2018–2020. All rights reserved.