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