Class ContainerAuto
-
- All Implemented Interfaces:
public final class ContainerAuto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerAuto.BuilderA builder for ContainerAuto.
public final classContainerAuto.MemoryLimitThe memory limit for the container.
public final classContainerAuto.NetworkPolicyNetwork access policy for the container.
public final classContainerAuto.Skill
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Automatically creates a container for this requestExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("container_auto")final Optional<List<String>>fileIds()An optional list of uploaded files to make available to your code. final Optional<ContainerAuto.MemoryLimit>memoryLimit()The memory limit for the container. final Optional<ContainerAuto.NetworkPolicy>networkPolicy()Network access policy for the container. final Optional<List<ContainerAuto.Skill>>skills()An optional list of skills referenced by id or inline data. final JsonField<List<String>>_fileIds()Returns the raw JSON value of fileIds. final JsonField<ContainerAuto.MemoryLimit>_memoryLimit()Returns the raw JSON value of memoryLimit. final JsonField<ContainerAuto.NetworkPolicy>_networkPolicy()Returns the raw JSON value of networkPolicy. final JsonField<List<ContainerAuto.Skill>>_skills()Returns the raw JSON value of skills. final Map<String, JsonValue>_additionalProperties()final ContainerAuto.BuildertoBuilder()final ContainerAutovalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerAuto.Builderbuilder()Returns a mutable builder for constructing an instance of ContainerAuto. -
-
Method Detail
-
_type
final JsonValue _type()
Automatically creates a container for this request
Expected to always return the following:
JsonValue.from("container_auto")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
fileIds
final Optional<List<String>> fileIds()
An optional list of uploaded files to make available to your code.
-
memoryLimit
final Optional<ContainerAuto.MemoryLimit> memoryLimit()
The memory limit for the container.
-
networkPolicy
final Optional<ContainerAuto.NetworkPolicy> networkPolicy()
Network access policy for the container.
-
skills
final Optional<List<ContainerAuto.Skill>> skills()
An optional list of skills referenced by id or inline data.
-
_fileIds
final JsonField<List<String>> _fileIds()
Returns the raw JSON value of fileIds.
Unlike fileIds, this method doesn't throw if the JSON field has an unexpected type.
-
_memoryLimit
final JsonField<ContainerAuto.MemoryLimit> _memoryLimit()
Returns the raw JSON value of memoryLimit.
Unlike memoryLimit, this method doesn't throw if the JSON field has an unexpected type.
-
_networkPolicy
final JsonField<ContainerAuto.NetworkPolicy> _networkPolicy()
Returns the raw JSON value of networkPolicy.
Unlike networkPolicy, this method doesn't throw if the JSON field has an unexpected type.
-
_skills
final JsonField<List<ContainerAuto.Skill>> _skills()
Returns the raw JSON value of skills.
Unlike skills, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerAuto.Builder toBuilder()
-
validate
final ContainerAuto 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 ContainerAuto.Builder builder()
Returns a mutable builder for constructing an instance of ContainerAuto.
-
-
-
-