public class KeyCredential
extends java.lang.Object
implements com.microsoft.graph.serializer.IJsonBackedObject
| Modifier and Type | Field and Description |
|---|---|
byte[] |
customKeyIdentifier
The Custom Key Identifier.
|
java.lang.String |
displayName
The Display Name.
|
java.time.OffsetDateTime |
endDateTime
The End Date Time.
|
byte[] |
key
The Key.
|
java.util.UUID |
keyId
The Key Id.
|
java.lang.String |
oDataType
the OData type of the object as returned by the service
|
java.time.OffsetDateTime |
startDateTime
The Start Date Time.
|
java.lang.String |
type
The Type.
|
java.lang.String |
usage
The Usage.
|
| Constructor and Description |
|---|
KeyCredential() |
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.graph.serializer.AdditionalDataManager |
additionalDataManager() |
void |
setRawObject(com.microsoft.graph.serializer.ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
@SerializedName(value="@odata.type") @Expose @Nullable public java.lang.String oDataType
@SerializedName(value="customKeyIdentifier",
alternate="CustomKeyIdentifier")
@Expose
@Nullable
public byte[] customKeyIdentifier
@SerializedName(value="displayName",
alternate="DisplayName")
@Expose
@Nullable
public java.lang.String displayName
@SerializedName(value="endDateTime",
alternate="EndDateTime")
@Expose
@Nullable
public java.time.OffsetDateTime endDateTime
@SerializedName(value="key",
alternate="Key")
@Expose
@Nullable
public byte[] key
@SerializedName(value="keyId",
alternate="KeyId")
@Expose
@Nullable
public java.util.UUID keyId
@SerializedName(value="startDateTime",
alternate="StartDateTime")
@Expose
@Nullable
public java.time.OffsetDateTime startDateTime
@SerializedName(value="type",
alternate="Type")
@Expose
@Nullable
public java.lang.String type
@SerializedName(value="usage",
alternate="Usage")
@Expose
@Nullable
public java.lang.String usage
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObjectpublic void setRawObject(@Nonnull
com.microsoft.graph.serializer.ISerializer serializer,
@Nonnull
com.google.gson.JsonObject json)
setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObjectserializer - the serializerjson - the JSON object to set this object to