Package com.exoscale.sdk.model
Class DbaasServiceNotification
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasServiceNotification
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasServiceNotification extends Object
Service notifications
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DbaasServiceNotification.LevelEnum
Notification levelstatic class
DbaasServiceNotification.TypeEnum
Notification type
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_LEVEL
static String
JSON_PROPERTY_MESSAGE
static String
JSON_PROPERTY_METADATA
static String
JSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description DbaasServiceNotification()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_LEVEL
public static final String JSON_PROPERTY_LEVEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
level
public DbaasServiceNotification level(DbaasServiceNotification.LevelEnum level)
-
getLevel
@Nonnull public DbaasServiceNotification.LevelEnum getLevel()
Notification level- Returns:
- level
-
setLevel
public void setLevel(DbaasServiceNotification.LevelEnum level)
-
message
public DbaasServiceNotification message(String message)
-
getMessage
@Nonnull public String getMessage()
Human notification message- Returns:
- message
-
setMessage
public void setMessage(String message)
-
type
public DbaasServiceNotification type(DbaasServiceNotification.TypeEnum type)
-
getType
@Nonnull public DbaasServiceNotification.TypeEnum getType()
Notification type- Returns:
- type
-
setType
public void setType(DbaasServiceNotification.TypeEnum type)
-
metadata
public DbaasServiceNotification metadata(Object metadata)
-
getMetadata
@Nonnull public Object getMetadata()
Notification type- Returns:
- metadata
-
setMetadata
public void setMetadata(Object metadata)
-
equals
public boolean equals(Object o)
Return true if this dbaas-service-notification object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-