Package io.voucherify.client.model
Class LocationsGetResponseBody
java.lang.Object
io.voucherify.client.model.LocationsGetResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LocationsGetResponseBody
extends Object
Response schema for listing locations using **GET** `/v1/locations/{locationId}`.
-
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 TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic LocationsGetResponseBodyCreate an instance of LocationsGetResponseBody given an JSON stringTimestamp representing the date and time when the location was created.getId()Unique location ID, assigned by the Voucherify API.getName()Location name.The type of the object represented by JSON.getShape()Get shapeTimestamp representing the date and time when the location was updated.inthashCode()voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of LocationsGetResponseBody to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SHAPE
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LocationsGetResponseBody
public LocationsGetResponseBody()
-
-
Method Details
-
id
-
getId
Unique location ID, assigned by the Voucherify API.- Returns:
- id
-
setId
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about a `location`.- Returns:
- _object
-
setObject
-
name
-
getName
Location name.- Returns:
- name
-
setName
-
shape
-
getShape
Get shape- Returns:
- shape
-
setShape
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the location was created. The value is shown in the ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp representing the date and time when the location was updated. The value is shown in the ISO 8601 format.- Returns:
- updatedAt
-
setUpdatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of LocationsGetResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LocationsGetResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to LocationsGetResponseBody
-
toJson
Convert an instance of LocationsGetResponseBody to an JSON string- Returns:
- JSON string
-