public class PasswordAuthenticationMethod extends AuthenticationMethod implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PasswordAuthenticationMethod.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
creationDateTime |
protected String |
password |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PasswordAuthenticationMethod() |
| Modifier and Type | Method and Description |
|---|---|
static PasswordAuthenticationMethod.Builder |
builderPasswordAuthenticationMethod()
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() |
Optional<OffsetDateTime> |
getCreationDateTime() |
Optional<String> |
getPassword() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PasswordAuthenticationMethod |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PasswordAuthenticationMethod |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PasswordAuthenticationMethod |
withCreationDateTime(OffsetDateTime creationDateTime) |
PasswordAuthenticationMethod |
withPassword(String password) |
disableSmsSignIn, enableSmsSignIn, resetPasswordprotected String password
protected OffsetDateTime creationDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class AuthenticationMethodpublic static PasswordAuthenticationMethod.Builder builderPasswordAuthenticationMethod()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class AuthenticationMethodpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class AuthenticationMethodpublic PasswordAuthenticationMethod withPassword(String password)
public Optional<OffsetDateTime> getCreationDateTime()
public PasswordAuthenticationMethod withCreationDateTime(OffsetDateTime creationDateTime)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class AuthenticationMethodpublic PasswordAuthenticationMethod patch()
this with changed fields reset.patch in class AuthenticationMethodthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic PasswordAuthenticationMethod put()
this
with changed fields reset (they were ignored anyway).put in class AuthenticationMethodthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class AuthenticationMethodCopyright © 2018–2020. All rights reserved.