public class WidgetResponse extends Object
WidgetResponse
encapsulates the definition information
that should be serialized and returned in REST requests for alerts, groups,
and targets.Constructor and Description |
---|
WidgetResponse() |
Modifier and Type | Method and Description |
---|---|
static WidgetResponse |
coerce(WidgetEntity entity)
Gets an
WidgetResponse from the supplied entity. |
String |
getAuthor() |
String |
getClusterName() |
String |
getDescription() |
String |
getDisplayName() |
Long |
getId() |
String |
getMetrics() |
String |
getProperties() |
String |
getScope() |
String |
getTag() |
Long |
getTimeCreated() |
String |
getWidgetName() |
String |
getWidgetType() |
String |
getWidgetValues() |
void |
setAuthor(String author) |
void |
setClusterName(String clusterName) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setId(Long id) |
void |
setMetrics(String metrics) |
void |
setProperties(String properties) |
void |
setScope(String scope) |
void |
setTag(String tag) |
void |
setTimeCreated(Long timeCreated) |
void |
setWidgetName(String widgetName) |
void |
setWidgetType(String widgetType) |
void |
setWidgetValues(String widgetValues) |
String |
toString() |
public Long getId()
public void setId(Long id)
public String getWidgetName()
public void setWidgetName(String widgetName)
public String getWidgetType()
public void setWidgetType(String widgetType)
public String getMetrics()
public void setMetrics(String metrics)
public Long getTimeCreated()
public void setTimeCreated(Long timeCreated)
public String getAuthor()
public void setAuthor(String author)
public String getDescription()
public void setDescription(String description)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getScope()
public void setScope(String scope)
public String getWidgetValues()
public void setWidgetValues(String widgetValues)
public String getProperties()
public void setProperties(String properties)
public String getClusterName()
public void setClusterName(String clusterName)
public String getTag()
public void setTag(String tag)
public static WidgetResponse coerce(WidgetEntity entity)
WidgetResponse
from the supplied entity.entity
- the entity (not null
).Copyright © 2022 Apache Software Foundation. All rights reserved.