Class InvokeInvokeAdHocParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class InvokeInvokeAdHocParams implements Params
Invoke an ad hoc automation run. This endpoint accepts a JSON payload with a series of automation steps. For information about what steps are available, checkout the ad hoc automation guide here.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInvokeInvokeAdHocParams.BuilderA builder for InvokeInvokeAdHocParams.
public final classInvokeInvokeAdHocParams.Bodypublic final classInvokeInvokeAdHocParams.Automationpublic final classInvokeInvokeAdHocParams.Datapublic final classInvokeInvokeAdHocParams.Profile
-
Method Summary
Modifier and Type Method Description final InvokeInvokeAdHocParams.Automationautomation()final Optional<String>brand()final Optional<InvokeInvokeAdHocParams.Data>data()final Optional<InvokeInvokeAdHocParams.Profile>profile()final Optional<String>recipient()final Optional<String>template()final JsonField<InvokeInvokeAdHocParams.Automation>_automation()Returns the raw JSON value of automation. final JsonField<String>_brand()Returns the raw JSON value of brand. final JsonField<InvokeInvokeAdHocParams.Data>_data()Returns the raw JSON value of data. final JsonField<InvokeInvokeAdHocParams.Profile>_profile()Returns the raw JSON value of profile. final JsonField<String>_recipient()Returns the raw JSON value of recipient. 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 InvokeInvokeAdHocParams.BuildertoBuilder()final InvokeInvokeAdHocParams.Body_body()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 InvokeInvokeAdHocParams.Builderbuilder()Returns a mutable builder for constructing an instance of InvokeInvokeAdHocParams. -
-
Method Detail
-
automation
final InvokeInvokeAdHocParams.Automation automation()
-
data
final Optional<InvokeInvokeAdHocParams.Data> data()
-
profile
final Optional<InvokeInvokeAdHocParams.Profile> profile()
-
_automation
final JsonField<InvokeInvokeAdHocParams.Automation> _automation()
Returns the raw JSON value of automation.
Unlike automation, 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<InvokeInvokeAdHocParams.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<InvokeInvokeAdHocParams.Profile> _profile()
Returns the raw JSON value of profile.
Unlike profile, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_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 InvokeInvokeAdHocParams.Builder toBuilder()
-
_body
final InvokeInvokeAdHocParams.Body _body()
-
_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 InvokeInvokeAdHocParams.Builder builder()
Returns a mutable builder for constructing an instance of InvokeInvokeAdHocParams.
The following fields are required:
.automation()
-
-
-
-