Class TunnelCreateParams.Body
-
- All Implemented Interfaces:
public final class TunnelCreateParams.BodyRequest parameters for creating a tunnel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTunnelCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<String>displayName()Optional human-readable name for the tunnel (1-255 characters). final JsonField<String>_displayName()Returns the raw JSON value of displayName. final Map<String, JsonValue>_additionalProperties()final TunnelCreateParams.Body.BuildertoBuilder()final TunnelCreateParams.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 TunnelCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
displayName
final Optional<String> displayName()
Optional human-readable name for the tunnel (1-255 characters).
-
_displayName
final JsonField<String> _displayName()
Returns the raw JSON value of displayName.
Unlike displayName, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TunnelCreateParams.Body.Builder toBuilder()
-
validate
final TunnelCreateParams.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 TunnelCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-