Package io.lakefs.clients.api.model
Class StatsEventsList
- java.lang.Object
-
- io.lakefs.clients.api.model.StatsEventsList
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class StatsEventsList extends Object
StatsEventsList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatsEventsList.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EVENTS
-
Constructor Summary
Constructors Constructor Description StatsEventsList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StatsEventsListaddEventsItem(StatsEvent eventsItem)booleanequals(Object o)StatsEventsListevents(List<StatsEvent> events)static StatsEventsListfromJson(String jsonString)Create an instance of StatsEventsList given an JSON stringList<StatsEvent>getEvents()Get eventsinthashCode()voidsetEvents(List<StatsEvent> events)StringtoJson()Convert an instance of StatsEventsList to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
events
public StatsEventsList events(List<StatsEvent> events)
-
addEventsItem
public StatsEventsList addEventsItem(StatsEvent eventsItem)
-
getEvents
@Nonnull public List<StatsEvent> getEvents()
Get events- Returns:
- events
-
setEvents
public void setEvents(List<StatsEvent> events)
-
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 StatsEventsList
-
fromJson
public static StatsEventsList fromJson(String jsonString) throws IOException
Create an instance of StatsEventsList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StatsEventsList
- Throws:
IOException- if the JSON string is invalid with respect to StatsEventsList
-
toJson
public String toJson()
Convert an instance of StatsEventsList to an JSON string- Returns:
- JSON string
-
-