Package ai.shipeasy.admin.model
Class MeasurePlanStep
java.lang.Object
ai.shipeasy.admin.model.MeasurePlanStep
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class MeasurePlanStep
extends Object
One piece of code instrumentation a measurement plan still needs.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPropertiesItem(String propertiesItem) description(String description) booleanstatic MeasurePlanStepCreate an instance of MeasurePlanStep given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A new user attribute the project must start sending on its identify/evaluate context (when a gate's targeting needs a field that doesn't exist yet).What to track and why, described conceptually — which user moment/action to capture and what it enables.getEvent()The event name the instrumentation should emit, when known.getLabel()Short human-readable name for the moment being instrumented.Event properties the downstream metric needs attached (e.g.inthashCode()properties(List<String> properties) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttribute(String attribute) voidsetDescription(String description) voidvoidvoidsetProperties(List<String> properties) toJson()Convert an instance of MeasurePlanStep 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_EVENT
- See Also:
-
SERIALIZED_NAME_ATTRIBUTE
- See Also:
-
SERIALIZED_NAME_LABEL
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_PROPERTIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MeasurePlanStep
public MeasurePlanStep()
-
-
Method Details
-
event
-
getEvent
The event name the instrumentation should emit, when known.- Returns:
- event
-
setEvent
-
attribute
-
getAttribute
A new user attribute the project must start sending on its identify/evaluate context (when a gate's targeting needs a field that doesn't exist yet).- Returns:
- attribute
-
setAttribute
-
label
-
getLabel
Short human-readable name for the moment being instrumented.- Returns:
- label
-
setLabel
-
description
-
getDescription
What to track and why, described conceptually — which user moment/action to capture and what it enables. Deliberately NOT a file path (the assistant has no repo access and can't name real files); you locate the call site yourself.- Returns:
- description
-
setDescription
-
properties
-
addPropertiesItem
-
getProperties
Event properties the downstream metric needs attached (e.g. `method`, `plan`).- Returns:
- properties
-
setProperties
-
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 MeasurePlanStep 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 MeasurePlanStep
-
fromJson
Create an instance of MeasurePlanStep given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MeasurePlanStep
- Throws:
IOException- if the JSON string is invalid with respect to MeasurePlanStep
-
toJson
Convert an instance of MeasurePlanStep to an JSON string- Returns:
- JSON string
-