Package io.voucherify.client.model
Class AreaStoreCampaignAssignment
java.lang.Object
io.voucherify.client.model.AreaStoreCampaignAssignment
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AreaStoreCampaignAssignment
extends Object
An object representing an assignment of a campaign to an area or store.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionareaStoreId(String areaStoreId) createdAt(OffsetDateTime createdAt) booleanstatic AreaStoreCampaignAssignmentCreate an instance of AreaStoreCampaignAssignment given an JSON stringUnique identifier of the area to which the campaign is assigned.Unique identifier of the store to which the campaign is assigned.Date and time when the assignment was made.getId()Unique identifier of the campaign assignment.The type of the object represented by JSON.inthashCode()voidvoidsetAreaStoreId(String areaStoreId) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidtoJson()Convert an instance of AreaStoreCampaignAssignment to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_AREA_ID
- See Also:
-
SERIALIZED_NAME_AREA_STORE_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AreaStoreCampaignAssignment
public AreaStoreCampaignAssignment()
-
-
Method Details
-
id
-
getId
Unique identifier of the campaign assignment.- Returns:
- id
-
setId
-
areaId
-
getAreaId
Unique identifier of the area to which the campaign is assigned.- Returns:
- areaId
-
setAreaId
-
areaStoreId
-
getAreaStoreId
Unique identifier of the store to which the campaign is assigned.- Returns:
- areaStoreId
-
setAreaStoreId
-
createdAt
-
getCreatedAt
Date and time when the assignment was made. The value is shown in the ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about the campaign assignment to areas or stores.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of AreaStoreCampaignAssignment given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AreaStoreCampaignAssignment
- Throws:
IOException- if the JSON string is invalid with respect to AreaStoreCampaignAssignment
-
toJson
Convert an instance of AreaStoreCampaignAssignment to an JSON string- Returns:
- JSON string
-