Package io.voucherify.client.model
Class TemplatesCampaignsTierSetupCreateResponseBody
java.lang.Object
io.voucherify.client.model.TemplatesCampaignsTierSetupCreateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TemplatesCampaignsTierSetupCreateResponseBody
extends Object
Response body schema for **POST** `/v1/templates/campaigns/{campaignTemplateId}/tier-setup`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCreatedResourcesItem(TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem createdResourcesItem) createdResources(List<TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem> createdResources) booleanCreate an instance of TemplatesCampaignsTierSetupCreateResponseBody given an JSON stringContains a list of resources that have been added to the project when the promotion tier has been created out of the template.The type of the object represented by JSON.Get promotionTierinthashCode()promotionTier(PromotionTier promotionTier) voidsetCreatedResources(List<TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem> createdResources) voidvoidsetPromotionTier(PromotionTier promotionTier) toJson()Convert an instance of TemplatesCampaignsTierSetupCreateResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_CREATED_RESOURCES
- See Also:
-
SERIALIZED_NAME_PROMOTION_TIER
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TemplatesCampaignsTierSetupCreateResponseBody
public TemplatesCampaignsTierSetupCreateResponseBody()
-
-
Method Details
-
createdResources
public TemplatesCampaignsTierSetupCreateResponseBody createdResources(List<TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem> createdResources) -
addCreatedResourcesItem
public TemplatesCampaignsTierSetupCreateResponseBody addCreatedResourcesItem(TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem createdResourcesItem) -
getCreatedResources
@Nullable public List<TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem> getCreatedResources()Contains a list of resources that have been added to the project when the promotion tier has been created out of the template.- Returns:
- createdResources
-
setCreatedResources
public void setCreatedResources(List<TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem> createdResources) -
promotionTier
-
getPromotionTier
Get promotionTier- Returns:
- promotionTier
-
setPromotionTier
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about the campaign created out of the campaign template.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static TemplatesCampaignsTierSetupCreateResponseBody fromJson(String jsonString) throws IOException Create an instance of TemplatesCampaignsTierSetupCreateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplatesCampaignsTierSetupCreateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to TemplatesCampaignsTierSetupCreateResponseBody
-
toJson
Convert an instance of TemplatesCampaignsTierSetupCreateResponseBody to an JSON string- Returns:
- JSON string
-