Package org.openapitools.client.model
Class GetEventsData
- java.lang.Object
-
- org.openapitools.client.model.GetEventsData
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-29T12:34:27.506198300-05:00[America/Chicago]", comments="Generator version: 7.4.0") public class GetEventsData extends Object
GetEventsData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetEventsData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EVENT_TYPESstatic StringSERIALIZED_NAME_PAGEstatic StringSERIALIZED_NAME_PAGE_SIZE
-
Constructor Summary
Constructors Constructor Description GetEventsData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetEventsDataaddEventTypesItem(String eventTypesItem)booleanequals(Object o)GetEventsDataeventTypes(List<String> eventTypes)static GetEventsDatafromJson(String jsonString)Create an instance of GetEventsData given an JSON stringList<String>getEventTypes()The types of events to get.LonggetPage()The page number to get.LonggetPageSize()The number of items per page.inthashCode()GetEventsDatapage(Long page)GetEventsDatapageSize(Long pageSize)voidsetEventTypes(List<String> eventTypes)voidsetPage(Long page)voidsetPageSize(Long pageSize)StringtoJson()Convert an instance of GetEventsData to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_EVENT_TYPES
public static final String SERIALIZED_NAME_EVENT_TYPES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAGE
public static final String SERIALIZED_NAME_PAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAGE_SIZE
public static final String SERIALIZED_NAME_PAGE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
eventTypes
public GetEventsData eventTypes(List<String> eventTypes)
-
addEventTypesItem
public GetEventsData addEventTypesItem(String eventTypesItem)
-
getEventTypes
@Nullable public List<String> getEventTypes()
The types of events to get. Any combination of file_uploaded, card_uploaded, card_action_failed, or card_updated. Leave undefined to get all events.- Returns:
- eventTypes
-
page
public GetEventsData page(Long page)
-
setPage
public void setPage(Long page)
-
pageSize
public GetEventsData pageSize(Long pageSize)
-
getPageSize
@Nullable public Long getPageSize()
The number of items per page. Default is 10.- Returns:
- pageSize
-
setPageSize
public void setPageSize(Long pageSize)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to GetEventsData
-
fromJson
public static GetEventsData fromJson(String jsonString) throws IOException
Create an instance of GetEventsData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetEventsData
- Throws:
IOException- if the JSON string is invalid with respect to GetEventsData
-
toJson
public String toJson()
Convert an instance of GetEventsData to an JSON string- Returns:
- JSON string
-
-