Package model
Class ReserveProfilesListEmbeddedReserveProfilesInner
java.lang.Object
model.ReserveProfilesListEmbeddedReserveProfilesInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ReserveProfilesListEmbeddedReserveProfilesInner
extends Object
ReserveProfilesListEmbeddedReserveProfilesInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) createdAt(OffsetDateTime createdAt) booleanCreate an instance of ReserveProfilesListEmbeddedReserveProfilesInner 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()putTagsItem(String key, String tagsItem) reserveDays(Long reserveDays) reservePercentage(Long reservePercentage) voidsetApplication(String application) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidsetReserveDays(Long reserveDays) voidsetReservePercentage(Long reservePercentage) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of ReserveProfilesListEmbeddedReserveProfilesInner 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
-
ReserveProfilesListEmbeddedReserveProfilesInner
public ReserveProfilesListEmbeddedReserveProfilesInner()
-
-
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 ReserveProfilesListEmbeddedReserveProfilesInner
-
fromJson
public static ReserveProfilesListEmbeddedReserveProfilesInner fromJson(String jsonString) throws IOException Create an instance of ReserveProfilesListEmbeddedReserveProfilesInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReserveProfilesListEmbeddedReserveProfilesInner
- Throws:
IOException- if the JSON string is invalid with respect to ReserveProfilesListEmbeddedReserveProfilesInner
-
toJson
Convert an instance of ReserveProfilesListEmbeddedReserveProfilesInner to an JSON string- Returns:
- JSON string
-