Package io.voucherify.client.model
Class ReferralProgramCustomEvent
java.lang.Object
io.voucherify.client.model.ReferralProgramCustomEvent
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ReferralProgramCustomEvent
extends Object
Contains details about the custom event.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ReferralProgramCustomEventCreate an instance of ReferralProgramCustomEvent given an JSON stringgetId()Unique custom event ID.getName()Custom event name.inthashCode()voidvoidtoJson()Convert an instance of ReferralProgramCustomEvent to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ReferralProgramCustomEvent
public ReferralProgramCustomEvent()
-
-
Method Details
-
id
-
getId
Unique custom event ID.- Returns:
- id
-
setId
-
name
-
getName
Custom event name.- Returns:
- name
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ReferralProgramCustomEvent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReferralProgramCustomEvent
- Throws:
IOException- if the JSON string is invalid with respect to ReferralProgramCustomEvent
-
toJson
Convert an instance of ReferralProgramCustomEvent to an JSON string- Returns:
- JSON string
-