Class AISecret
-
- All Implemented Interfaces:
public final class AISecret
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAISecret.BuilderA builder for AISecret.
public final classAISecret.Metadata
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the AI secret final Stringname()Name of the AI secret final StringorgId()Unique identifier for the organization final Optional<OffsetDateTime>created()Date of AI secret creation final Optional<AISecret.Metadata>metadata()final Optional<String>previewSecret()final Optional<String>type()final Optional<OffsetDateTime>updatedAt()Date of last AI secret update 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>_orgId()Returns the raw JSON value of orgId. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<AISecret.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_previewSecret()Returns the raw JSON value of previewSecret. final JsonField<String>_type()Returns the raw JSON value of type. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final Map<String, JsonValue>_additionalProperties()final AISecretvalidate()final AISecret.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AISecret.Builderbuilder()Returns a mutable builder for constructing an instance of AISecret. -
-
Method Detail
-
created
final Optional<OffsetDateTime> created()
Date of AI secret creation
-
metadata
final Optional<AISecret.Metadata> metadata()
-
previewSecret
final Optional<String> previewSecret()
-
updatedAt
final Optional<OffsetDateTime> updatedAt()
Date of last AI secret update
-
_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.
-
_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.
-
_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.
-
_metadata
final JsonField<AISecret.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_previewSecret
final JsonField<String> _previewSecret()
Returns the raw JSON value of previewSecret.
Unlike previewSecret, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AISecret.Builder toBuilder()
-
builder
final static AISecret.Builder builder()
Returns a mutable builder for constructing an instance of AISecret.
The following fields are required:
.id() .name() .orgId()
-
-
-
-