Class AuditLogListResponse.ApiKeyCreated.Data
-
- All Implemented Interfaces:
public final class AuditLogListResponse.ApiKeyCreated.DataThe payload used to create the API key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuditLogListResponse.ApiKeyCreated.Data.BuilderA builder for Data.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>scopes()A list of scopes allowed for the API key, e.g. final JsonField<List<String>>_scopes()Returns the raw JSON value of scopes. final Map<String, JsonValue>_additionalProperties()final AuditLogListResponse.ApiKeyCreated.Data.BuildertoBuilder()final AuditLogListResponse.ApiKeyCreated.Datavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AuditLogListResponse.ApiKeyCreated.Data.Builderbuilder()Returns a mutable builder for constructing an instance of Data. -
-
Method Detail
-
scopes
final Optional<List<String>> scopes()
A list of scopes allowed for the API key, e.g.
["api.model.request"]
-
_scopes
final JsonField<List<String>> _scopes()
Returns the raw JSON value of scopes.
Unlike scopes, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AuditLogListResponse.ApiKeyCreated.Data.Builder toBuilder()
-
validate
final AuditLogListResponse.ApiKeyCreated.Data validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static AuditLogListResponse.ApiKeyCreated.Data.Builder builder()
Returns a mutable builder for constructing an instance of Data.
-
-
-
-