Class InvokeInvokeByTemplateParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class InvokeInvokeByTemplateParams implements Params
Invoke an automation run from an automation template.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInvokeInvokeByTemplateParams.BuilderA builder for InvokeInvokeByTemplateParams.
public final classInvokeInvokeByTemplateParams.Bodypublic final classInvokeInvokeByTemplateParams.Datapublic final classInvokeInvokeByTemplateParams.Profile
-
Method Summary
Modifier and Type Method Description final Optional<String>templateId()final Optional<String>recipient()final Optional<String>brand()final Optional<InvokeInvokeByTemplateParams.Data>data()final Optional<InvokeInvokeByTemplateParams.Profile>profile()final Optional<String>template()final JsonField<String>_recipient()Returns the raw JSON value of recipient. final JsonField<String>_brand()Returns the raw JSON value of brand. final JsonField<InvokeInvokeByTemplateParams.Data>_data()Returns the raw JSON value of data. final JsonField<InvokeInvokeByTemplateParams.Profile>_profile()Returns the raw JSON value of profile. final JsonField<String>_template()Returns the raw JSON value of template. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final InvokeInvokeByTemplateParams.BuildertoBuilder()final InvokeInvokeByTemplateParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static InvokeInvokeByTemplateParams.Builderbuilder()Returns a mutable builder for constructing an instance of InvokeInvokeByTemplateParams. -
-
Method Detail
-
templateId
final Optional<String> templateId()
-
data
final Optional<InvokeInvokeByTemplateParams.Data> data()
-
profile
final Optional<InvokeInvokeByTemplateParams.Profile> profile()
-
_recipient
final JsonField<String> _recipient()
Returns the raw JSON value of recipient.
Unlike recipient, this method doesn't throw if the JSON field has an unexpected type.
-
_brand
final JsonField<String> _brand()
Returns the raw JSON value of brand.
Unlike brand, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<InvokeInvokeByTemplateParams.Data> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_profile
final JsonField<InvokeInvokeByTemplateParams.Profile> _profile()
Returns the raw JSON value of profile.
Unlike profile, this method doesn't throw if the JSON field has an unexpected type.
-
_template
final JsonField<String> _template()
Returns the raw JSON value of template.
Unlike template, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final InvokeInvokeByTemplateParams.Builder toBuilder()
-
_body
final InvokeInvokeByTemplateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static InvokeInvokeByTemplateParams.Builder builder()
Returns a mutable builder for constructing an instance of InvokeInvokeByTemplateParams.
The following fields are required:
.recipient()
-
-
-
-