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 OffsetDateTime |
analyticsUpdatedDate |
protected com.github.davidmoten.odata.client.internal.ChangedFields |
changedFields |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
gitHubUserId |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
protected String |
userEmail |
protected String |
userId |
protected String |
userName |
protected String |
userSK |
protected UserType |
userType |
| 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).
|
Optional<OffsetDateTime> |
getAnalyticsUpdatedDate() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getGitHubUserId() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserEmail() |
Optional<String> |
getUserId() |
Optional<String> |
getUserName() |
Optional<String> |
getUserSK() |
Optional<UserType> |
getUserType() |
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 |
withAnalyticsUpdatedDate(OffsetDateTime analyticsUpdatedDate) |
User |
withGitHubUserId(String gitHubUserId) |
User |
withUnmappedField(String name,
String value) |
User |
withUserEmail(String userEmail) |
User |
withUserId(String userId) |
User |
withUserName(String userName) |
User |
withUserSK(String userSK) |
User |
withUserType(UserType userType) |
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
protected OffsetDateTime analyticsUpdatedDate
protected String gitHubUserId
protected UserType userType
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 Optional<OffsetDateTime> getAnalyticsUpdatedDate()
public User withAnalyticsUpdatedDate(OffsetDateTime analyticsUpdatedDate)
public 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.