Package io.voucherify.client.model
Class LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent
java.lang.Object
io.voucherify.client.model.LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent
extends Object
Contains the schema id of a custom event. **Required** for the custom event option in `event`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent given an JSON stringContains a unique identifier of a custom event schema.inthashCode()voidsetSchemaId(String schemaId) toJson()Convert an instance of LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_SCHEMA_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent
public LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent()
-
-
Method Details
-
schemaId
-
getSchemaId
Contains a unique identifier of a custom event schema. Assigned by the Voucherify API.- Returns:
- schemaId
-
setSchemaId
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent fromJson(String jsonString) throws IOException Create an instance of LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent
-
toJson
Convert an instance of LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent to an JSON string- Returns:
- JSON string
-