Class ApiKey
-
- All Implemented Interfaces:
public final class ApiKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classApiKey.BuilderA builder for ApiKey.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the api key final Stringname()Name of the api key final StringpreviewName()final Optional<OffsetDateTime>created()Date of api key creation final Optional<String>orgId()Unique identifier for the organization final Optional<String>userId()Unique identifier for the user final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_previewName()Returns the raw JSON value of previewName. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<String>_orgId()Returns the raw JSON value of orgId. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final ApiKey.BuildertoBuilder()final ApiKeyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ApiKey.Builderbuilder()Returns a mutable builder for constructing an instance of ApiKey. -
-
Method Detail
-
previewName
final String previewName()
-
created
final Optional<OffsetDateTime> created()
Date of api key creation
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_previewName
final JsonField<String> _previewName()
Returns the raw JSON value of previewName.
Unlike previewName, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<OffsetDateTime> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_orgId
final JsonField<String> _orgId()
Returns the raw JSON value of orgId.
Unlike orgId, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ApiKey.Builder toBuilder()
-
builder
final static ApiKey.Builder builder()
Returns a mutable builder for constructing an instance of ApiKey.
The following fields are required:
.id() .name() .previewName()
-
-
-
-