public class LoggedOnUser extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
LoggedOnUser.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected OffsetDateTime |
lastLogOnDateTime |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
userId |
| Modifier | Constructor and Description |
|---|---|
protected |
LoggedOnUser() |
| Modifier and Type | Method and Description |
|---|---|
static LoggedOnUser.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<OffsetDateTime> |
getLastLogOnDateTime()
“Date time when user logs on”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId()
“User id”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
LoggedOnUser |
withLastLogOnDateTime(OffsetDateTime lastLogOnDateTime)
Returns an immutable copy of
this with just the lastLogOnDateTime
field changed. |
LoggedOnUser |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String userId
protected OffsetDateTime lastLogOnDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic LoggedOnUser withUserId(String userId)
this with just the userId 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.
“User id”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic Optional<OffsetDateTime> getLastLogOnDateTime()
public LoggedOnUser withLastLogOnDateTime(OffsetDateTime lastLogOnDateTime)
this with just the lastLogOnDateTime
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.
“Date time when user logs on”
lastLogOnDateTime - new value of lastLogOnDateTime field (as defined in service metadata)this with just the lastLogOnDateTime 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 LoggedOnUser.Builder builder()
Copyright © 2018–2020. All rights reserved.