Class CreateApiKeyOutput
-
- All Implemented Interfaces:
public final class CreateApiKeyOutput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCreateApiKeyOutput.BuilderA builder for CreateApiKeyOutput.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the api key final Stringkey()The raw 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>_key()Returns the raw JSON value of key. 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 CreateApiKeyOutput.BuildertoBuilder()final CreateApiKeyOutputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CreateApiKeyOutput.Builderbuilder()Returns a mutable builder for constructing an instance of CreateApiKeyOutput. -
-
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.
-
_key
final JsonField<String> _key()
Returns the raw JSON value of key.
Unlike key, 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 CreateApiKeyOutput.Builder toBuilder()
-
validate
final CreateApiKeyOutput validate()
-
builder
final static CreateApiKeyOutput.Builder builder()
Returns a mutable builder for constructing an instance of CreateApiKeyOutput.
The following fields are required:
.id() .key() .name() .previewName()
-
-
-
-