Package com.adyen.model.balanceplatform
Class TimeOfDay
- java.lang.Object
-
- com.adyen.model.balanceplatform.TimeOfDay
-
public class TimeOfDay extends Object
TimeOfDay
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeOfDay.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_END_TIMEstatic StringSERIALIZED_NAME_START_TIME
-
Constructor Summary
Constructors Constructor Description TimeOfDay()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeOfDayendTime(String endTime)booleanequals(Object o)static TimeOfDayfromJson(String jsonString)Create an instance of TimeOfDay given an JSON stringStringgetEndTime()The end time in a time-only ISO-8601 extended offset format.StringgetStartTime()The start time in a time-only ISO-8601 extended offset format.inthashCode()voidsetEndTime(String endTime)voidsetStartTime(String startTime)TimeOfDaystartTime(String startTime)StringtoJson()Convert an instance of TimeOfDay to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_END_TIME
public static final String SERIALIZED_NAME_END_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_START_TIME
public static final String SERIALIZED_NAME_START_TIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEndTime
public String getEndTime()
The end time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**.- Returns:
- endTime
-
setEndTime
public void setEndTime(String endTime)
-
getStartTime
public String getStartTime()
The start time in a time-only ISO-8601 extended offset format. For example: **08:00:00+02:00**, **22:30:00-03:00**.- Returns:
- startTime
-
setStartTime
public void setStartTime(String startTime)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 TimeOfDay
-
fromJson
public static TimeOfDay fromJson(String jsonString) throws IOException
Create an instance of TimeOfDay given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TimeOfDay
- Throws:
IOException- if the JSON string is invalid with respect to TimeOfDay
-
toJson
public String toJson()
Convert an instance of TimeOfDay to an JSON string- Returns:
- JSON string
-
-