Class ProjectHostedToolPermissions.ImageGeneration
-
- All Implemented Interfaces:
public final class ProjectHostedToolPermissions.ImageGenerationPermission state for a single hosted tool on a project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectHostedToolPermissions.ImageGeneration.BuilderA builder for ImageGeneration.
-
Method Summary
Modifier and Type Method Description final Booleanenabled()Whether the hosted tool is enabled for the project. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final Map<String, JsonValue>_additionalProperties()final ProjectHostedToolPermissions.ImageGeneration.BuildertoBuilder()final ProjectHostedToolPermissions.ImageGenerationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectHostedToolPermissions.ImageGeneration.Builderbuilder()Returns a mutable builder for constructing an instance of ImageGeneration. -
-
Method Detail
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectHostedToolPermissions.ImageGeneration.Builder toBuilder()
-
validate
final ProjectHostedToolPermissions.ImageGeneration 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 ProjectHostedToolPermissions.ImageGeneration.Builder builder()
Returns a mutable builder for constructing an instance of ImageGeneration.
The following fields are required:
.enabled()
-
-
-
-