Package ai.shipeasy.admin.model
Class ListEventsResponseInner
java.lang.Object
ai.shipeasy.admin.model.ListEventsResponseInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListEventsResponseInner
extends Object
A catalogued event.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPropertiesItem(ListEventsResponseInnerPropertiesInner propertiesItem) description(String description) booleanstatic ListEventsResponseInnerCreate an instance of ListEventsResponseInner given an JSON stringISO-8601 timestamp of creation.Human-readable description, or `null` if none set.Optional folder name used to group items in the dashboard.getId()Stable opaque event id.getName()Event name — the handle metric queries reference.`1` if this is an auto-discovered name awaiting approval (metrics on it fail until approved), `0` if approved/usable.Typed properties declared on the event.inthashCode()properties(List<ListEventsResponseInnerPropertiesInner> properties) voidsetCreatedAt(String createdAt) voidsetDescription(String description) voidvoidvoidvoidsetPending(Integer pending) voidsetProperties(List<ListEventsResponseInnerPropertiesInner> properties) toJson()Convert an instance of ListEventsResponseInner to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_FOLDER
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_PROPERTIES
- See Also:
-
SERIALIZED_NAME_PENDING
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListEventsResponseInner
public ListEventsResponseInner()
-
-
Method Details
-
id
-
getId
Stable opaque event id.- Returns:
- id
-
setId
-
name
-
getName
Event name — the handle metric queries reference.- Returns:
- name
-
setName
-
folder
-
getFolder
Optional folder name used to group items in the dashboard. Part of the SDK lookup key: an item in folder `checkout` named `new-cart` is referenced as `checkout/new-cart` from the SDK.- Returns:
- folder
-
setFolder
-
description
-
getDescription
Human-readable description, or `null` if none set.- Returns:
- description
-
setDescription
-
properties
public ListEventsResponseInner properties(@Nonnull List<ListEventsResponseInnerPropertiesInner> properties) -
addPropertiesItem
public ListEventsResponseInner addPropertiesItem(ListEventsResponseInnerPropertiesInner propertiesItem) -
getProperties
Typed properties declared on the event.- Returns:
- properties
-
setProperties
-
pending
-
getPending
`1` if this is an auto-discovered name awaiting approval (metrics on it fail until approved), `0` if approved/usable. minimum: -9007199254740991 maximum: 9007199254740991- Returns:
- pending
-
setPending
-
createdAt
-
getCreatedAt
ISO-8601 timestamp of creation.- Returns:
- createdAt
-
setCreatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates 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 ListEventsResponseInner
-
fromJson
Create an instance of ListEventsResponseInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListEventsResponseInner
- Throws:
IOException- if the JSON string is invalid with respect to ListEventsResponseInner
-
toJson
Convert an instance of ListEventsResponseInner to an JSON string- Returns:
- JSON string
-