Package io.voucherify.client.model
Class ReferralProgramRefereeRewardRelatedObjectParent
java.lang.Object
io.voucherify.client.model.ReferralProgramRefereeRewardRelatedObjectParent
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ReferralProgramRefereeRewardRelatedObjectParent
extends Object
Details of the resource from which the reward originates.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumType of resource represented by the source of the reward. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ReferralProgramRefereeRewardRelatedObjectParent given an JSON stringgetId()Unique ID of the reward source.getName()Name of the reward source.Type of resource represented by the source of the reward.inthashCode()voidvoidvoidtoJson()Convert an instance of ReferralProgramRefereeRewardRelatedObjectParent to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ReferralProgramRefereeRewardRelatedObjectParent
public ReferralProgramRefereeRewardRelatedObjectParent()
-
-
Method Details
-
id
-
getId
Unique ID of the reward source.- Returns:
- id
-
setId
-
name
-
getName
Name of the reward source.- Returns:
- name
-
setName
-
_object
-
getObject
Type of resource represented by the source of the reward.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ReferralProgramRefereeRewardRelatedObjectParent fromJson(String jsonString) throws IOException Create an instance of ReferralProgramRefereeRewardRelatedObjectParent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReferralProgramRefereeRewardRelatedObjectParent
- Throws:
IOException- if the JSON string is invalid with respect to ReferralProgramRefereeRewardRelatedObjectParent
-
toJson
Convert an instance of ReferralProgramRefereeRewardRelatedObjectParent to an JSON string- Returns:
- JSON string
-