Package com.launchdarkly.api.model
Class InsightsChartMetadata
- java.lang.Object
-
- com.launchdarkly.api.model.InsightsChartMetadata
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-03T23:27:37.555894Z[Etc/UTC]") public class InsightsChartMetadata extends java.lang.Object
InsightsChartMetadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InsightsChartMetadata.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>
openapiFields
static java.util.HashSet<java.lang.String>
openapiRequiredFields
static java.lang.String
SERIALIZED_NAME_METRICS
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_SUMMARY
static java.lang.String
SERIALIZED_NAME_X_AXIS
static java.lang.String
SERIALIZED_NAME_Y_AXIS
-
Constructor Summary
Constructors Constructor Description InsightsChartMetadata()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static InsightsChartMetadata
fromJson(java.lang.String jsonString)
Create an instance of InsightsChartMetadata given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
Return the additional (undeclared) property.java.lang.Object
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.java.util.Map<java.lang.String,InsightsChartMetric>
getMetrics()
Get metricsjava.lang.String
getName()
Name of the chartjava.util.Map<java.lang.String,java.lang.Object>
getSummary()
Get summaryInsightsChartSeriesMetadataAxis
getxAxis()
Get xAxisInsightsChartSeriesMetadataAxis
getyAxis()
Get yAxisint
hashCode()
InsightsChartMetadata
metrics(java.util.Map<java.lang.String,InsightsChartMetric> metrics)
InsightsChartMetadata
name(java.lang.String name)
InsightsChartMetadata
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.InsightsChartMetadata
putMetricsItem(java.lang.String key, InsightsChartMetric metricsItem)
InsightsChartMetadata
putSummaryItem(java.lang.String key, java.lang.Object summaryItem)
void
setMetrics(java.util.Map<java.lang.String,InsightsChartMetric> metrics)
void
setName(java.lang.String name)
void
setSummary(java.util.Map<java.lang.String,java.lang.Object> summary)
void
setxAxis(InsightsChartSeriesMetadataAxis xAxis)
void
setyAxis(InsightsChartSeriesMetadataAxis yAxis)
InsightsChartMetadata
summary(java.util.Map<java.lang.String,java.lang.Object> summary)
java.lang.String
toJson()
Convert an instance of InsightsChartMetadata to an JSON stringjava.lang.String
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues foundInsightsChartMetadata
xAxis(InsightsChartSeriesMetadataAxis xAxis)
InsightsChartMetadata
yAxis(InsightsChartSeriesMetadataAxis yAxis)
-
-
-
Field Detail
-
SERIALIZED_NAME_SUMMARY
public static final java.lang.String SERIALIZED_NAME_SUMMARY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METRICS
public static final java.lang.String SERIALIZED_NAME_METRICS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_X_AXIS
public static final java.lang.String SERIALIZED_NAME_X_AXIS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_Y_AXIS
public static final java.lang.String SERIALIZED_NAME_Y_AXIS
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
summary
public InsightsChartMetadata summary(java.util.Map<java.lang.String,java.lang.Object> summary)
-
putSummaryItem
public InsightsChartMetadata putSummaryItem(java.lang.String key, java.lang.Object summaryItem)
-
getSummary
@Nonnull public java.util.Map<java.lang.String,java.lang.Object> getSummary()
Get summary- Returns:
- summary
-
setSummary
public void setSummary(java.util.Map<java.lang.String,java.lang.Object> summary)
-
name
public InsightsChartMetadata name(java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
Name of the chart- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
metrics
public InsightsChartMetadata metrics(java.util.Map<java.lang.String,InsightsChartMetric> metrics)
-
putMetricsItem
public InsightsChartMetadata putMetricsItem(java.lang.String key, InsightsChartMetric metricsItem)
-
getMetrics
@Nullable public java.util.Map<java.lang.String,InsightsChartMetric> getMetrics()
Get metrics- Returns:
- metrics
-
setMetrics
public void setMetrics(java.util.Map<java.lang.String,InsightsChartMetric> metrics)
-
xAxis
public InsightsChartMetadata xAxis(InsightsChartSeriesMetadataAxis xAxis)
-
getxAxis
@Nonnull public InsightsChartSeriesMetadataAxis getxAxis()
Get xAxis- Returns:
- xAxis
-
setxAxis
public void setxAxis(InsightsChartSeriesMetadataAxis xAxis)
-
yAxis
public InsightsChartMetadata yAxis(InsightsChartSeriesMetadataAxis yAxis)
-
getyAxis
@Nonnull public InsightsChartSeriesMetadataAxis getyAxis()
Get yAxis- Returns:
- yAxis
-
setyAxis
public void setyAxis(InsightsChartSeriesMetadataAxis yAxis)
-
putAdditionalProperty
public InsightsChartMetadata putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
java.io.IOException
- if the JSON Object is invalid with respect to InsightsChartMetadata
-
fromJson
public static InsightsChartMetadata fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of InsightsChartMetadata given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of InsightsChartMetadata
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to InsightsChartMetadata
-
toJson
public java.lang.String toJson()
Convert an instance of InsightsChartMetadata to an JSON string- Returns:
- JSON string
-
-