Package io.voucherify.client.model
Class RewardsCreateRequestBodyParameters
java.lang.Object
io.voucherify.client.model.RewardsCreateRequestBodyParameters
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RewardsCreateRequestBodyParameters
extends Object
RewardsCreateRequestBodyParameters
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIALIZED_NAME_CAMPAIGN
- See Also:
-
SERIALIZED_NAME_PRODUCT
- See Also:
-
SERIALIZED_NAME_COIN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RewardsCreateRequestBodyParameters
public RewardsCreateRequestBodyParameters()
-
-
Method Details
-
campaign
public RewardsCreateRequestBodyParameters campaign(RewardsCreateRequestBodyParametersCampaign campaign) -
getCampaign
Get campaign- Returns:
- campaign
-
setCampaign
-
product
public RewardsCreateRequestBodyParameters product(RewardsCreateRequestBodyParametersProduct product) -
getProduct
Get product- Returns:
- product
-
setProduct
-
coin
-
getCoin
Get coin- Returns:
- coin
-
setCoin
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of RewardsCreateRequestBodyParameters given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RewardsCreateRequestBodyParameters
- Throws:
IOException- if the JSON string is invalid with respect to RewardsCreateRequestBodyParameters
-
toJson
Convert an instance of RewardsCreateRequestBodyParameters to an JSON string- Returns:
- JSON string
-