Package model
Class ReserveProfile
java.lang.Object
model.ReserveProfile
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ReserveProfile
extends Object
ReserveProfile
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) createdAt(OffsetDateTime createdAt) booleanstatic ReserveProfileCreate an instance of ReserveProfile given an JSON stringThe ID of the resource.Timestamp of when the object was created.getId()The ID of the resource.getLinks()Get linksGet reserveDaysGet reservePercentagegetTags()Key value pair for annotating custom meta data (e.g.Timestamp of when the object was last updated.inthashCode()links(FeeProfileLinks links) putTagsItem(String key, String tagsItem) reserveDays(Long reserveDays) reservePercentage(Long reservePercentage) voidsetApplication(String application) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetLinks(FeeProfileLinks links) voidsetReserveDays(Long reserveDays) voidsetReservePercentage(Long reservePercentage) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of ReserveProfile to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_APPLICATION
- See Also:
-
SERIALIZED_NAME_RESERVE_DAYS
- See Also:
-
SERIALIZED_NAME_RESERVE_PERCENTAGE
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ReserveProfile
public ReserveProfile()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
id
-
getId
The ID of the resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
application
-
getApplication
The ID of the resource.- Returns:
- application
-
setApplication
-
reserveDays
-
getReserveDays
Get reserveDays- Returns:
- reserveDays
-
setReserveDays
-
reservePercentage
-
getReservePercentage
Get reservePercentage- Returns:
- reservePercentage
-
setReservePercentage
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ReserveProfile
-
fromJson
Create an instance of ReserveProfile given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReserveProfile
- Throws:
IOException- if the JSON string is invalid with respect to ReserveProfile
-
toJson
Convert an instance of ReserveProfile to an JSON string- Returns:
- JSON string
-