Class NamedTransformationCreateParams.Body
-
- All Implemented Interfaces:
public final class NamedTransformationCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNamedTransformationCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()Alias for the transformation string, used in URLs as tr:n-<name>.final Stringtransformation()The transformation string this named transformation refers to. final Optional<Boolean>enabled()Whether the named transformation is currently enabled. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_transformation()Returns the raw JSON value of transformation. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final Map<String, JsonValue>_additionalProperties()final NamedTransformationCreateParams.Body.BuildertoBuilder()final NamedTransformationCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NamedTransformationCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
name
final String name()
Alias for the transformation string, used in URLs as
tr:n-<name>. This is case-sensitive, contains only alphanumeric characters or_(underscore), and is unique across all named transformations for your account.
-
transformation
final String transformation()
The transformation string this named transformation refers to. Learn more about the transformation string syntax.
-
enabled
final Optional<Boolean> enabled()
Whether the named transformation is currently enabled. When set to
false, requests using this named transformation fail at delivery time.
-
_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.
-
_transformation
final JsonField<String> _transformation()
Returns the raw JSON value of transformation.
Unlike transformation, this method doesn't throw if the JSON field has an unexpected type.
-
_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 NamedTransformationCreateParams.Body.Builder toBuilder()
-
validate
final NamedTransformationCreateParams.Body 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 NamedTransformationCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name() .transformation()
-
-
-
-