Class MetricPost


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2021-12-03T20:58:35.619656Z[Etc/UTC]")
    public class MetricPost
    extends java.lang.Object
    MetricPost
    • Field Detail

      • SERIALIZED_NAME_KEY

        public static final java.lang.String SERIALIZED_NAME_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_NAME

        public static final java.lang.String SERIALIZED_NAME_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_DESCRIPTION

        public static final java.lang.String SERIALIZED_NAME_DESCRIPTION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_KIND

        public static final java.lang.String SERIALIZED_NAME_KIND
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_SELECTOR

        public static final java.lang.String SERIALIZED_NAME_SELECTOR
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_URLS

        public static final java.lang.String SERIALIZED_NAME_URLS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_IS_ACTIVE

        public static final java.lang.String SERIALIZED_NAME_IS_ACTIVE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_IS_NUMERIC

        public static final java.lang.String SERIALIZED_NAME_IS_NUMERIC
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_UNIT

        public static final java.lang.String SERIALIZED_NAME_UNIT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EVENT_KEY

        public static final java.lang.String SERIALIZED_NAME_EVENT_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_SUCCESS_CRITERIA

        public static final java.lang.String SERIALIZED_NAME_SUCCESS_CRITERIA
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TAGS

        public static final java.lang.String SERIALIZED_NAME_TAGS
        See Also:
        Constant Field Values
    • Constructor Detail

      • MetricPost

        public MetricPost()
    • Method Detail

      • key

        public MetricPost key​(java.lang.String key)
      • getKey

        @Nonnull
        public java.lang.String getKey()
        Get key
        Returns:
        key
      • setKey

        public void setKey​(java.lang.String key)
      • name

        public MetricPost name​(java.lang.String name)
      • getName

        @Nullable
        public java.lang.String getName()
        Get name
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • description

        public MetricPost description​(java.lang.String description)
      • getDescription

        @Nullable
        public java.lang.String getDescription()
        Get description
        Returns:
        description
      • setDescription

        public void setDescription​(java.lang.String description)
      • selector

        public MetricPost selector​(java.lang.String selector)
      • getSelector

        @Nullable
        public java.lang.String getSelector()
        Required for click metrics
        Returns:
        selector
      • setSelector

        public void setSelector​(java.lang.String selector)
      • getUrls

        @Nullable
        public java.util.List<UrlPost> getUrls()
        Required for click and pageview metrics
        Returns:
        urls
      • setUrls

        public void setUrls​(java.util.List<UrlPost> urls)
      • isActive

        public MetricPost isActive​(java.lang.Boolean isActive)
      • getIsActive

        @Nullable
        public java.lang.Boolean getIsActive()
        Get isActive
        Returns:
        isActive
      • setIsActive

        public void setIsActive​(java.lang.Boolean isActive)
      • isNumeric

        public MetricPost isNumeric​(java.lang.Boolean isNumeric)
      • getIsNumeric

        @Nullable
        public java.lang.Boolean getIsNumeric()
        Get isNumeric
        Returns:
        isNumeric
      • setIsNumeric

        public void setIsNumeric​(java.lang.Boolean isNumeric)
      • unit

        public MetricPost unit​(java.lang.String unit)
      • getUnit

        @Nullable
        public java.lang.String getUnit()
        Get unit
        Returns:
        unit
      • setUnit

        public void setUnit​(java.lang.String unit)
      • eventKey

        public MetricPost eventKey​(java.lang.String eventKey)
      • getEventKey

        @Nullable
        public java.lang.String getEventKey()
        Required for custom metrics
        Returns:
        eventKey
      • setEventKey

        public void setEventKey​(java.lang.String eventKey)
      • successCriteria

        public MetricPost successCriteria​(java.lang.Integer successCriteria)
      • getSuccessCriteria

        @Nullable
        public java.lang.Integer getSuccessCriteria()
        Get successCriteria
        Returns:
        successCriteria
      • setSuccessCriteria

        public void setSuccessCriteria​(java.lang.Integer successCriteria)
      • tags

        public MetricPost tags​(java.util.List<java.lang.String> tags)
      • addTagsItem

        public MetricPost addTagsItem​(java.lang.String tagsItem)
      • getTags

        @Nullable
        public java.util.List<java.lang.String> getTags()
        Get tags
        Returns:
        tags
      • setTags

        public void setTags​(java.util.List<java.lang.String> tags)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object