Package io.voucherify.client.model
Class EventsCreateResponseBody
java.lang.Object
io.voucherify.client.model.EventsCreateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class EventsCreateResponseBody
extends Object
Response body schema for **POST** `v1/events`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe object represented is an `event`. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomer(SimpleCustomerRequiredObjectType customer) booleanstatic EventsCreateResponseBodyCreate an instance of EventsCreateResponseBody given an JSON stringGet customerA `null` loyalty object.Get metadataThe object represented is an `event`.A `null` referral object.getType()The event name.inthashCode()voidsetCustomer(SimpleCustomerRequiredObjectType customer) voidsetLoyalty(Object loyalty) voidsetMetadata(Object metadata) voidvoidsetReferral(Object referral) voidtoJson()Convert an instance of EventsCreateResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_CUSTOMER
- See Also:
-
SERIALIZED_NAME_REFERRAL
- See Also:
-
SERIALIZED_NAME_LOYALTY
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EventsCreateResponseBody
public EventsCreateResponseBody()
-
-
Method Details
-
_object
-
getObject
The object represented is an `event`.- Returns:
- _object
-
setObject
-
type
-
getType
The event name.- Returns:
- type
-
setType
-
customer
-
getCustomer
Get customer- Returns:
- customer
-
setCustomer
-
referral
-
getReferral
A `null` referral object.- Returns:
- referral
-
setReferral
-
loyalty
-
getLoyalty
A `null` loyalty object.- Returns:
- loyalty
-
setLoyalty
-
metadata
-
getMetadata
Get metadata- Returns:
- metadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of EventsCreateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EventsCreateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to EventsCreateResponseBody
-
toJson
Convert an instance of EventsCreateResponseBody to an JSON string- Returns:
- JSON string
-