Package com.exoscale.sdk.model
Class Event
- java.lang.Object
-
- com.exoscale.sdk.model.Event
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class Event extends Object
A notable Mutation Event which happened on the infrastructure
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_BODY_PARAMS
static String
JSON_PROPERTY_ELAPSED_MS
static String
JSON_PROPERTY_GET_PARAMS
static String
JSON_PROPERTY_HANDLER
static String
JSON_PROPERTY_IAM_API_KEY
static String
JSON_PROPERTY_IAM_ROLE
static String
JSON_PROPERTY_IAM_USER
static String
JSON_PROPERTY_MESSAGE
static String
JSON_PROPERTY_PATH_PARAMS
static String
JSON_PROPERTY_REQUEST_ID
static String
JSON_PROPERTY_SOURCE_IP
static String
JSON_PROPERTY_STATUS
static String
JSON_PROPERTY_TIMESTAMP
static String
JSON_PROPERTY_URI
static String
JSON_PROPERTY_ZONE
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event
bodyParams(Object bodyParams)
Event
elapsedMs(Long elapsedMs)
boolean
equals(Object o)
Return true if this event object is equal to o.Object
getBodyParams()
Body parameters (free form map)Long
getElapsedMs()
Operation processing time minimum: 0Object
getGetParams()
Query string parameters (free form map)String
getHandler()
Operation handler nameIamApiKey
getIamApiKey()
Get iamApiKeyIamRole
getIamRole()
Get iamRoleUser
getIamUser()
Get iamUserString
getMessage()
Operation messageEvent
getParams(Object getParams)
Object
getPathParams()
URI path parameters (free form map)String
getRequestId()
Operation unique identifierString
getSourceIp()
Client IP addressLong
getStatus()
Operation HTTP status minimum: 0OffsetDateTime
getTimestamp()
Time at which the event happened, millisecond resolutionString
getUri()
Operation request URIString
getZone()
Operation targeted zoneEvent
handler(String handler)
int
hashCode()
Event
iamApiKey(IamApiKey iamApiKey)
Event
iamRole(IamRole iamRole)
Event
iamUser(User iamUser)
Event
message(String message)
Event
pathParams(Object pathParams)
Event
requestId(String requestId)
void
setBodyParams(Object bodyParams)
void
setElapsedMs(Long elapsedMs)
void
setGetParams(Object getParams)
void
setHandler(String handler)
void
setIamApiKey(IamApiKey iamApiKey)
void
setIamRole(IamRole iamRole)
void
setIamUser(User iamUser)
void
setMessage(String message)
void
setPathParams(Object pathParams)
void
setRequestId(String requestId)
void
setSourceIp(String sourceIp)
void
setStatus(Long status)
void
setTimestamp(OffsetDateTime timestamp)
void
setUri(String uri)
void
setZone(String zone)
Event
sourceIp(String sourceIp)
Event
status(Long status)
Event
timestamp(OffsetDateTime timestamp)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.Event
uri(String uri)
Event
zone(String zone)
-
-
-
Field Detail
-
JSON_PROPERTY_IAM_USER
public static final String JSON_PROPERTY_IAM_USER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUEST_ID
public static final String JSON_PROPERTY_REQUEST_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IAM_ROLE
public static final String JSON_PROPERTY_IAM_ROLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ZONE
public static final String JSON_PROPERTY_ZONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GET_PARAMS
public static final String JSON_PROPERTY_GET_PARAMS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BODY_PARAMS
public static final String JSON_PROPERTY_BODY_PARAMS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE_IP
public static final String JSON_PROPERTY_SOURCE_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IAM_API_KEY
public static final String JSON_PROPERTY_IAM_API_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ELAPSED_MS
public static final String JSON_PROPERTY_ELAPSED_MS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMESTAMP
public static final String JSON_PROPERTY_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH_PARAMS
public static final String JSON_PROPERTY_PATH_PARAMS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HANDLER
public static final String JSON_PROPERTY_HANDLER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIamUser
@Nullable public User getIamUser()
Get iamUser- Returns:
- iamUser
-
setIamUser
public void setIamUser(User iamUser)
-
getRequestId
@Nullable public String getRequestId()
Operation unique identifier- Returns:
- requestId
-
setRequestId
public void setRequestId(String requestId)
-
getIamRole
@Nullable public IamRole getIamRole()
Get iamRole- Returns:
- iamRole
-
setIamRole
public void setIamRole(IamRole iamRole)
-
getZone
@Nullable public String getZone()
Operation targeted zone- Returns:
- zone
-
setZone
public void setZone(String zone)
-
getGetParams
@Nullable public Object getGetParams()
Query string parameters (free form map)- Returns:
- getParams
-
setGetParams
public void setGetParams(Object getParams)
-
getBodyParams
@Nullable public Object getBodyParams()
Body parameters (free form map)- Returns:
- bodyParams
-
setBodyParams
public void setBodyParams(Object bodyParams)
-
getStatus
@Nullable public Long getStatus()
Operation HTTP status minimum: 0- Returns:
- status
-
setStatus
public void setStatus(Long status)
-
getSourceIp
@Nullable public String getSourceIp()
Client IP address- Returns:
- sourceIp
-
setSourceIp
public void setSourceIp(String sourceIp)
-
getIamApiKey
@Nullable public IamApiKey getIamApiKey()
Get iamApiKey- Returns:
- iamApiKey
-
setIamApiKey
public void setIamApiKey(IamApiKey iamApiKey)
-
getUri
@Nullable public String getUri()
Operation request URI- Returns:
- uri
-
setUri
public void setUri(String uri)
-
getElapsedMs
@Nullable public Long getElapsedMs()
Operation processing time minimum: 0- Returns:
- elapsedMs
-
setElapsedMs
public void setElapsedMs(Long elapsedMs)
-
timestamp
public Event timestamp(OffsetDateTime timestamp)
-
getTimestamp
@Nullable public OffsetDateTime getTimestamp()
Time at which the event happened, millisecond resolution- Returns:
- timestamp
-
setTimestamp
public void setTimestamp(OffsetDateTime timestamp)
-
getPathParams
@Nullable public Object getPathParams()
URI path parameters (free form map)- Returns:
- pathParams
-
setPathParams
public void setPathParams(Object pathParams)
-
getHandler
@Nullable public String getHandler()
Operation handler name- Returns:
- handler
-
setHandler
public void setHandler(String handler)
-
getMessage
@Nullable public String getMessage()
Operation message- Returns:
- message
-
setMessage
public void setMessage(String message)
-
equals
public boolean equals(Object o)
Return true if this event object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-