public class KeyCredential extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyCredential.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected byte[] |
customKeyIdentifier |
protected String |
displayName |
protected OffsetDateTime |
endDateTime |
protected byte[] |
key |
protected String |
keyId |
protected String |
odataType |
protected OffsetDateTime |
startDateTime |
protected String |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
usage |
| Modifier | Constructor and Description |
|---|---|
protected |
KeyCredential() |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected byte[] customKeyIdentifier
protected OffsetDateTime endDateTime
protected String keyId
protected OffsetDateTime startDateTime
protected String type
protected String usage
protected byte[] key
protected String displayName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<byte[]> getCustomKeyIdentifier()
public KeyCredential withCustomKeyIdentifier(byte[] customKeyIdentifier)
public Optional<OffsetDateTime> getEndDateTime()
public KeyCredential withEndDateTime(OffsetDateTime endDateTime)
public KeyCredential withKeyId(String keyId)
public Optional<OffsetDateTime> getStartDateTime()
public KeyCredential withStartDateTime(OffsetDateTime startDateTime)
public KeyCredential withType(String type)
public KeyCredential withUsage(String usage)
public Optional<byte[]> getKey()
public KeyCredential withKey(byte[] key)
public KeyCredential withDisplayName(String displayName)
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 KeyCredential.Builder builder()
Copyright © 2018–2020. All rights reserved.