Package ai.shipeasy.admin.model
Class SetExperimentMetricsResponse
java.lang.Object
ai.shipeasy.admin.model.SetExperimentMetricsResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class SetExperimentMetricsResponse
extends Object
SetExperimentMetricsResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMetricsItem(SetExperimentMetricsResponseMetricsInner metricsItem) booleanstatic SetExperimentMetricsResponseCreate an instance of SetExperimentMetricsResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getId()Get idGet metricsinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoJson()Convert an instance of SetExperimentMetricsResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_METRICS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SetExperimentMetricsResponse
public SetExperimentMetricsResponse()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
metrics
public SetExperimentMetricsResponse metrics(@Nonnull List<SetExperimentMetricsResponseMetricsInner> metrics) -
addMetricsItem
public SetExperimentMetricsResponse addMetricsItem(SetExperimentMetricsResponseMetricsInner metricsItem) -
getMetrics
Get metrics- Returns:
- metrics
-
setMetrics
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the SetExperimentMetricsResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to SetExperimentMetricsResponse
-
fromJson
Create an instance of SetExperimentMetricsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SetExperimentMetricsResponse
- Throws:
IOException- if the JSON string is invalid with respect to SetExperimentMetricsResponse
-
toJson
Convert an instance of SetExperimentMetricsResponse to an JSON string- Returns:
- JSON string
-