Package io.voucherify.client.model
Class TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem
java.lang.Object
io.voucherify.client.model.TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem
extends Object
TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the created resource. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem given an JSON stringgetId()Unique identifier assigned to the created resource.The type of the created resource.inthashCode()voidvoidtoJson()Convert an instance of TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem
public TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem()
-
-
Method Details
-
id
-
getId
Unique identifier assigned to the created resource. It is assigned by Voucherify.- Returns:
- id
-
setId
-
_object
-
getObject
@Nullable public TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem.ObjectEnum getObject()The type of the created resource.- Returns:
- _object
-
setObject
public void setObject(TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem.ObjectEnum _object) -
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem fromJson(String jsonString) throws IOException Create an instance of TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem
- Throws:
IOException- if the JSON string is invalid with respect to TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem
-
toJson
Convert an instance of TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem to an JSON string- Returns:
- JSON string
-