Package io.voucherify.client.model
Class CreatePublicationCampaign
java.lang.Object
io.voucherify.client.model.CreatePublicationCampaign
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CreatePublicationCampaign
extends Object
Create publication with campaign.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreatePublicationCampaignCreate an instance of CreatePublicationCampaign given an JSON stringgetCount()Number of vouchers to be published to customer.getName()Name of voucher's parent campaign or unique campaign ID that was assigned by Voucherify.inthashCode()voidvoidtoJson()Convert an instance of CreatePublicationCampaign to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreatePublicationCampaign
public CreatePublicationCampaign()
-
-
Method Details
-
name
-
getName
Name of voucher's parent campaign or unique campaign ID that was assigned by Voucherify.- Returns:
- name
-
setName
-
count
-
getCount
Number of vouchers to be published to customer. minimum: 1 maximum: 20- Returns:
- count
-
setCount
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CreatePublicationCampaign given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreatePublicationCampaign
- Throws:
IOException- if the JSON string is invalid with respect to CreatePublicationCampaign
-
toJson
Convert an instance of CreatePublicationCampaign to an JSON string- Returns:
- JSON string
-