Package io.voucherify.client.model
Class VouchersBalanceUpdateResponseBodyRelatedObject
java.lang.Object
io.voucherify.client.model.VouchersBalanceUpdateResponseBodyRelatedObject
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class VouchersBalanceUpdateResponseBodyRelatedObject
extends Object
Defines the resource that is being modified with the values that are returned in the balance object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe object being modified, i.e. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of VouchersBalanceUpdateResponseBodyRelatedObject given an JSON stringgetId()Identifies the voucher that is being modified, this is the ID that was assigned by the Voucherify API.getType()The object being modified, i.e.inthashCode()voidvoidtoJson()Convert an instance of VouchersBalanceUpdateResponseBodyRelatedObject to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VouchersBalanceUpdateResponseBodyRelatedObject
public VouchersBalanceUpdateResponseBodyRelatedObject()
-
-
Method Details
-
type
-
getType
The object being modified, i.e. `voucher`.- Returns:
- type
-
setType
-
id
-
getId
Identifies the voucher that is being modified, this is the ID that was assigned by the Voucherify API.- Returns:
- id
-
setId
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static VouchersBalanceUpdateResponseBodyRelatedObject fromJson(String jsonString) throws IOException Create an instance of VouchersBalanceUpdateResponseBodyRelatedObject given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VouchersBalanceUpdateResponseBodyRelatedObject
- Throws:
IOException- if the JSON string is invalid with respect to VouchersBalanceUpdateResponseBodyRelatedObject
-
toJson
Convert an instance of VouchersBalanceUpdateResponseBodyRelatedObject to an JSON string- Returns:
- JSON string
-