public class Credential extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
Credential.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
fieldId |
protected String |
odataType |
protected String |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
Credential() |
| Modifier and Type | Method and Description |
|---|---|
static Credential.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getFieldId() |
Optional<String> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getValue() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
Credential |
withFieldId(String fieldId) |
Credential |
withType(String type) |
Credential |
withValue(String value) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String fieldId
protected String value
protected String type
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Credential withFieldId(String fieldId)
public Credential withValue(String value)
public Credential withType(String type)
public 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 Credential.Builder builder()
Copyright © 2018–2020. All rights reserved.