Package com.courier.models.journeys
Class JourneyTemplateGetResponse.Content
-
- All Implemented Interfaces:
public final class JourneyTemplateGetResponse.Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyTemplateGetResponse.Content.BuilderA builder for Content.
public final classJourneyTemplateGetResponse.Content.Versionpublic final classJourneyTemplateGetResponse.Content.Scope
-
Method Summary
Modifier and Type Method Description final List<ElementalNode>elements()final JourneyTemplateGetResponse.Content.Versionversion()final Optional<JourneyTemplateGetResponse.Content.Scope>scope()final JsonField<List<ElementalNode>>_elements()Returns the raw JSON value of elements. final JsonField<JourneyTemplateGetResponse.Content.Version>_version()Returns the raw JSON value of version. final JsonField<JourneyTemplateGetResponse.Content.Scope>_scope()Returns the raw JSON value of scope. final Map<String, JsonValue>_additionalProperties()final JourneyTemplateGetResponse.Content.BuildertoBuilder()final JourneyTemplateGetResponse.Contentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyTemplateGetResponse.Content.Builderbuilder()Returns a mutable builder for constructing an instance of Content. -
-
Method Detail
-
elements
final List<ElementalNode> elements()
-
version
final JourneyTemplateGetResponse.Content.Version version()
-
scope
final Optional<JourneyTemplateGetResponse.Content.Scope> scope()
-
_elements
final JsonField<List<ElementalNode>> _elements()
Returns the raw JSON value of elements.
Unlike elements, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<JourneyTemplateGetResponse.Content.Version> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_scope
final JsonField<JourneyTemplateGetResponse.Content.Scope> _scope()
Returns the raw JSON value of scope.
Unlike scope, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyTemplateGetResponse.Content.Builder toBuilder()
-
validate
final JourneyTemplateGetResponse.Content 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 JourneyTemplateGetResponse.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
The following fields are required:
.elements() .version()
-
-
-
-