Package ai.reveng.model
Class UserActivityResponse
java.lang.Object
ai.reveng.model.UserActivityResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class UserActivityResponse
extends Object
UserActivityResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityScope(String activityScope) creation(OffsetDateTime creation) booleanstatic UserActivityResponseCreate an instance of UserActivityResponse given an JSON stringGet actionsGet activityScopeGet creationGet messageGet sourcesGet usernameinthashCode()voidsetActions(String actions) voidsetActivityScope(String activityScope) voidsetCreation(OffsetDateTime creation) voidsetMessage(String message) voidsetSources(String sources) voidsetUsername(String username) toJson()Convert an instance of UserActivityResponse 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_ACTIONS
- See Also:
-
SERIALIZED_NAME_ACTIVITY_SCOPE
- See Also:
-
SERIALIZED_NAME_CREATION
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_SOURCES
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UserActivityResponse
public UserActivityResponse()
-
-
Method Details
-
actions
-
getActions
Get actions- Returns:
- actions
-
setActions
-
activityScope
-
getActivityScope
Get activityScope- Returns:
- activityScope
-
setActivityScope
-
creation
-
getCreation
Get creation- Returns:
- creation
-
setCreation
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
sources
-
getSources
Get sources- Returns:
- sources
-
setSources
-
username
-
getUsername
Get username- Returns:
- username
-
setUsername
-
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 UserActivityResponse
-
fromJson
Create an instance of UserActivityResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UserActivityResponse
- Throws:
IOException- if the JSON string is invalid with respect to UserActivityResponse
-
toJson
Convert an instance of UserActivityResponse to an JSON string- Returns:
- JSON string
-