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 activityScopeReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get creationGet messageGet sourcesGet usernameinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the UserActivityResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-