Package dev.restate.admin.model
Class SubscriptionResponse
java.lang.Object
dev.restate.admin.model.SubscriptionResponse
SubscriptionResponse
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this SubscriptionResponse object is equal to o.getId()
Get idGet optionsgetSink()
Get sinkGet sourceint
hashCode()
putOptionsItem
(String key, String optionsItem) void
void
setOptions
(Map<String, String> options) void
void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_SINK
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
-
Constructor Details
-
SubscriptionResponse
public SubscriptionResponse()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
source
-
getSource
Get source- Returns:
- source
-
setSource
-
sink
-
getSink
Get sink- Returns:
- sink
-
setSink
-
options
-
putOptionsItem
-
getOptions
Get options- Returns:
- options
-
setOptions
-
equals
Return true if this SubscriptionResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-