ApiKey Class
- java.
lang. Object - com.
azure. resourcemanager. quantum. models. ApiKey
- com.
Implements
public final class ApiKey
implements JsonSerializable<ApiKey>
Azure quantum workspace Api key details.
Constructor Summary
| Constructor | Description |
|---|---|
| ApiKey() |
Creates an instance of Api |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
createdAt()
Get the created |
|
static
Api |
fromJson(JsonReader jsonReader)
Reads an instance of Api |
| String |
key()
Get the key property: The Api key. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Api |
withCreatedAt(OffsetDateTime createdAt)
Set the created |
Methods inherited from java.lang.Object
Constructor Details
ApiKey
public ApiKey()
Creates an instance of ApiKey class.
Method Details
createdAt
public OffsetDateTime createdAt()
Get the createdAt property: The creation time of the api key.
Returns:
fromJson
public static ApiKey fromJson(JsonReader jsonReader)
Reads an instance of ApiKey from the JsonReader.
Parameters:
Returns:
Throws:
key
public String key()
Get the key property: The Api key.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCreatedAt
public ApiKey withCreatedAt(OffsetDateTime createdAt)
Set the createdAt property: The creation time of the api key.
Parameters:
Returns: