Class MetricListingRep


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2026-06-30T13:33:45.929090Z[Etc/UTC]",
               comments="Generator version: 7.18.0")
    public class MetricListingRep
    extends java.lang.Object
    MetricListingRep
    • Field Detail

      • SERIALIZED_NAME_EXPERIMENT_COUNT

        public static final java.lang.String SERIALIZED_NAME_EXPERIMENT_COUNT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_METRIC_GROUP_COUNT

        public static final java.lang.String SERIALIZED_NAME_METRIC_GROUP_COUNT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ACTIVE_EXPERIMENT_COUNT

        public static final java.lang.String SERIALIZED_NAME_ACTIVE_EXPERIMENT_COUNT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ACTIVE_GUARDED_ROLLOUT_COUNT

        public static final java.lang.String SERIALIZED_NAME_ACTIVE_GUARDED_ROLLOUT_COUNT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ID

        public static final java.lang.String SERIALIZED_NAME_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VERSION_ID

        public static final java.lang.String SERIALIZED_NAME_VERSION_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VERSION

        public static final java.lang.String SERIALIZED_NAME_VERSION
        See Also:
        Constant Field Values
      • 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_KIND

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

        public static final java.lang.String SERIALIZED_NAME_ATTACHED_FLAG_COUNT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LINKS

        public static final java.lang.String SERIALIZED_NAME_LINKS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_SITE

        public static final java.lang.String SERIALIZED_NAME_SITE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ACCESS

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

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

        public static final java.lang.String SERIALIZED_NAME_CREATION_DATE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LAST_MODIFIED

        public static final java.lang.String SERIALIZED_NAME_LAST_MODIFIED
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_MAINTAINER_ID

        public static final java.lang.String SERIALIZED_NAME_MAINTAINER_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_MAINTAINER

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

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

        public static final java.lang.String SERIALIZED_NAME_CATEGORY
        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_SUCCESS_CRITERIA

        public static final java.lang.String SERIALIZED_NAME_SUCCESS_CRITERIA
        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_RANDOMIZATION_UNITS

        public static final java.lang.String SERIALIZED_NAME_RANDOMIZATION_UNITS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ANALYSIS_UNITS

        public static final java.lang.String SERIALIZED_NAME_ANALYSIS_UNITS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_FILTERS

        public static final java.lang.String SERIALIZED_NAME_FILTERS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_UNIT_AGGREGATION_TYPE

        public static final java.lang.String SERIALIZED_NAME_UNIT_AGGREGATION_TYPE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ANALYSIS_TYPE

        public static final java.lang.String SERIALIZED_NAME_ANALYSIS_TYPE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_PERCENTILE_VALUE

        public static final java.lang.String SERIALIZED_NAME_PERCENTILE_VALUE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EVENT_DEFAULT

        public static final java.lang.String SERIALIZED_NAME_EVENT_DEFAULT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_DATA_SOURCE

        public static final java.lang.String SERIALIZED_NAME_DATA_SOURCE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LAST_SEEN

        public static final java.lang.String SERIALIZED_NAME_LAST_SEEN
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ARCHIVED

        public static final java.lang.String SERIALIZED_NAME_ARCHIVED
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ARCHIVED_AT

        public static final java.lang.String SERIALIZED_NAME_ARCHIVED_AT
        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_WINDOW_START_OFFSET

        public static final java.lang.String SERIALIZED_NAME_WINDOW_START_OFFSET
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_WINDOW_END_OFFSET

        public static final java.lang.String SERIALIZED_NAME_WINDOW_END_OFFSET
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_WINSOR_LOWER_PERCENTILE

        public static final java.lang.String SERIALIZED_NAME_WINSOR_LOWER_PERCENTILE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_WINSOR_UPPER_PERCENTILE

        public static final java.lang.String SERIALIZED_NAME_WINSOR_UPPER_PERCENTILE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_WINSOR_EXCLUDE_IMPUTED

        public static final java.lang.String SERIALIZED_NAME_WINSOR_EXCLUDE_IMPUTED
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_WINSOR_INCLUDE_IMPUTED

        public static final java.lang.String SERIALIZED_NAME_WINSOR_INCLUDE_IMPUTED
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TRACE_QUERY

        public static final java.lang.String SERIALIZED_NAME_TRACE_QUERY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TRACE_VALUE_LOCATION

        public static final java.lang.String SERIALIZED_NAME_TRACE_VALUE_LOCATION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_DENOMINATOR

        public static final java.lang.String SERIALIZED_NAME_DENOMINATOR
        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
    • Constructor Detail

      • MetricListingRep

        public MetricListingRep()
    • Method Detail

      • experimentCount

        public MetricListingRep experimentCount​(@Nullable
                                                java.lang.Integer experimentCount)
      • getExperimentCount

        @Nullable
        public java.lang.Integer getExperimentCount()
        The number of experiments using this metric
        Returns:
        experimentCount
      • setExperimentCount

        public void setExperimentCount​(@Nullable
                                       java.lang.Integer experimentCount)
      • metricGroupCount

        public MetricListingRep metricGroupCount​(@Nullable
                                                 java.lang.Integer metricGroupCount)
      • getMetricGroupCount

        @Nullable
        public java.lang.Integer getMetricGroupCount()
        The number of metric groups using this metric
        Returns:
        metricGroupCount
      • setMetricGroupCount

        public void setMetricGroupCount​(@Nullable
                                        java.lang.Integer metricGroupCount)
      • activeExperimentCount

        public MetricListingRep activeExperimentCount​(@Nullable
                                                      java.lang.Integer activeExperimentCount)
      • getActiveExperimentCount

        @Nullable
        public java.lang.Integer getActiveExperimentCount()
        The number of active experiments using this metric
        Returns:
        activeExperimentCount
      • setActiveExperimentCount

        public void setActiveExperimentCount​(@Nullable
                                             java.lang.Integer activeExperimentCount)
      • activeGuardedRolloutCount

        public MetricListingRep activeGuardedRolloutCount​(@Nullable
                                                          java.lang.Integer activeGuardedRolloutCount)
      • getActiveGuardedRolloutCount

        @Nullable
        public java.lang.Integer getActiveGuardedRolloutCount()
        The number of active guarded rollouts using this metric
        Returns:
        activeGuardedRolloutCount
      • setActiveGuardedRolloutCount

        public void setActiveGuardedRolloutCount​(@Nullable
                                                 java.lang.Integer activeGuardedRolloutCount)
      • getId

        @Nonnull
        public java.lang.String getId()
        The ID of this metric
        Returns:
        id
      • setId

        public void setId​(@Nonnull
                          java.lang.String id)
      • versionId

        public MetricListingRep versionId​(@Nonnull
                                          java.lang.String versionId)
      • getVersionId

        @Nonnull
        public java.lang.String getVersionId()
        The version ID of the metric
        Returns:
        versionId
      • setVersionId

        public void setVersionId​(@Nonnull
                                 java.lang.String versionId)
      • version

        public MetricListingRep version​(@Nullable
                                        java.lang.Integer version)
      • getVersion

        @Nullable
        public java.lang.Integer getVersion()
        Version of the metric
        Returns:
        version
      • setVersion

        public void setVersion​(@Nullable
                               java.lang.Integer version)
      • getKey

        @Nonnull
        public java.lang.String getKey()
        A unique key to reference the metric
        Returns:
        key
      • setKey

        public void setKey​(@Nonnull
                           java.lang.String key)
      • getName

        @Nonnull
        public java.lang.String getName()
        A human-friendly name for the metric
        Returns:
        name
      • setName

        public void setName​(@Nonnull
                            java.lang.String name)
      • attachedFlagCount

        public MetricListingRep attachedFlagCount​(@Nullable
                                                  java.lang.Integer attachedFlagCount)
      • getAttachedFlagCount

        @Nullable
        public java.lang.Integer getAttachedFlagCount()
        The number of feature flags currently attached to this metric
        Returns:
        attachedFlagCount
      • setAttachedFlagCount

        public void setAttachedFlagCount​(@Nullable
                                         java.lang.Integer attachedFlagCount)
      • getLinks

        @Nonnull
        public java.util.Map<java.lang.String,​Link> getLinks()
        The location and content type of related resources
        Returns:
        links
      • setLinks

        public void setLinks​(@Nonnull
                             java.util.Map<java.lang.String,​Link> links)
      • getSite

        @Nullable
        public Link getSite()
        Get site
        Returns:
        site
      • setSite

        public void setSite​(@Nullable
                            Link site)
      • getAccess

        @Nullable
        public Access getAccess()
        Get access
        Returns:
        access
      • setAccess

        public void setAccess​(@Nullable
                              Access access)
      • tags

        public MetricListingRep tags​(@Nonnull
                                     java.util.List<java.lang.String> tags)
      • addTagsItem

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

        @Nonnull
        public java.util.List<java.lang.String> getTags()
        Tags for the metric
        Returns:
        tags
      • setTags

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

        public MetricListingRep creationDate​(@Nonnull
                                             java.lang.Long creationDate)
      • getCreationDate

        @Nonnull
        public java.lang.Long getCreationDate()
        Get creationDate
        Returns:
        creationDate
      • setCreationDate

        public void setCreationDate​(@Nonnull
                                    java.lang.Long creationDate)
      • getLastModified

        @Nullable
        public Modification getLastModified()
        Get lastModified
        Returns:
        lastModified
      • setLastModified

        public void setLastModified​(@Nullable
                                    Modification lastModified)
      • maintainerId

        public MetricListingRep maintainerId​(@Nullable
                                             java.lang.String maintainerId)
      • getMaintainerId

        @Nullable
        public java.lang.String getMaintainerId()
        The ID of the member who maintains this metric
        Returns:
        maintainerId
      • setMaintainerId

        public void setMaintainerId​(@Nullable
                                    java.lang.String maintainerId)
      • getMaintainer

        @Nullable
        public MemberSummary getMaintainer()
        Get maintainer
        Returns:
        maintainer
      • setMaintainer

        public void setMaintainer​(@Nullable
                                  MemberSummary maintainer)
      • description

        public MetricListingRep description​(@Nullable
                                            java.lang.String description)
      • getDescription

        @Nullable
        public java.lang.String getDescription()
        Description of the metric
        Returns:
        description
      • setDescription

        public void setDescription​(@Nullable
                                   java.lang.String description)
      • category

        public MetricListingRep category​(@Nullable
                                         java.lang.String category)
      • getCategory

        @Nullable
        public java.lang.String getCategory()
        The category of the metric
        Returns:
        category
      • setCategory

        public void setCategory​(@Nullable
                                java.lang.String category)
      • isNumeric

        public MetricListingRep isNumeric​(@Nullable
                                          java.lang.Boolean isNumeric)
      • getIsNumeric

        @Nullable
        public java.lang.Boolean getIsNumeric()
        For custom and trace metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>).
        Returns:
        isNumeric
      • setIsNumeric

        public void setIsNumeric​(@Nullable
                                 java.lang.Boolean isNumeric)
      • getUnit

        @Nullable
        public java.lang.String getUnit()
        For numeric custom and trace metrics, the unit of measure
        Returns:
        unit
      • setUnit

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

        public MetricListingRep eventKey​(@Nullable
                                         java.lang.String eventKey)
      • getEventKey

        @Nullable
        public java.lang.String getEventKey()
        For custom metrics, the event key to use in your code
        Returns:
        eventKey
      • setEventKey

        public void setEventKey​(@Nullable
                                java.lang.String eventKey)
      • randomizationUnits

        @Deprecated
        public MetricListingRep randomizationUnits​(@Nullable
                                                   java.util.List<java.lang.String> randomizationUnits)
        Deprecated.
      • addRandomizationUnitsItem

        public MetricListingRep addRandomizationUnitsItem​(java.lang.String randomizationUnitsItem)
      • getRandomizationUnits

        @Deprecated
        @Nullable
        public java.util.List<java.lang.String> getRandomizationUnits()
        Deprecated.
        Deprecated, use <code>analysisUnits</code> instead.
        Returns:
        randomizationUnits
      • setRandomizationUnits

        @Deprecated
        public void setRandomizationUnits​(@Nullable
                                          java.util.List<java.lang.String> randomizationUnits)
        Deprecated.
      • analysisUnits

        public MetricListingRep analysisUnits​(@Nullable
                                              java.util.List<java.lang.String> analysisUnits)
      • addAnalysisUnitsItem

        public MetricListingRep addAnalysisUnitsItem​(java.lang.String analysisUnitsItem)
      • getAnalysisUnits

        @Nullable
        public java.util.List<java.lang.String> getAnalysisUnits()
        An array of analysis units allowed for this metric.
        Returns:
        analysisUnits
      • setAnalysisUnits

        public void setAnalysisUnits​(@Nullable
                                     java.util.List<java.lang.String> analysisUnits)
      • getFilters

        @Nullable
        public Filter getFilters()
        Get filters
        Returns:
        filters
      • setFilters

        public void setFilters​(@Nullable
                               Filter filters)
      • getUnitAggregationType

        @Nullable
        public MetricListingRep.UnitAggregationTypeEnum getUnitAggregationType()
        The method by which multiple unit event values are aggregated
        Returns:
        unitAggregationType
      • percentileValue

        public MetricListingRep percentileValue​(@Nullable
                                                java.lang.Integer percentileValue)
      • getPercentileValue

        @Nullable
        public java.lang.Integer getPercentileValue()
        The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when <code>analysisType</code> is <code>percentile</code>.
        Returns:
        percentileValue
      • setPercentileValue

        public void setPercentileValue​(@Nullable
                                       java.lang.Integer percentileValue)
      • getEventDefault

        @Nullable
        public MetricEventDefaultRep getEventDefault()
        Get eventDefault
        Returns:
        eventDefault
      • lastSeen

        public MetricListingRep lastSeen​(@Nullable
                                         java.lang.Long lastSeen)
      • getLastSeen

        @Nullable
        public java.lang.Long getLastSeen()
        Get lastSeen
        Returns:
        lastSeen
      • setLastSeen

        public void setLastSeen​(@Nullable
                                java.lang.Long lastSeen)
      • archived

        public MetricListingRep archived​(@Nullable
                                         java.lang.Boolean archived)
      • getArchived

        @Nullable
        public java.lang.Boolean getArchived()
        Whether the metric version is archived
        Returns:
        archived
      • setArchived

        public void setArchived​(@Nullable
                                java.lang.Boolean archived)
      • archivedAt

        public MetricListingRep archivedAt​(@Nullable
                                           java.lang.Long archivedAt)
      • getArchivedAt

        @Nullable
        public java.lang.Long getArchivedAt()
        Get archivedAt
        Returns:
        archivedAt
      • setArchivedAt

        public void setArchivedAt​(@Nullable
                                  java.lang.Long archivedAt)
      • selector

        public MetricListingRep selector​(@Nullable
                                         java.lang.String selector)
      • getSelector

        @Nullable
        public java.lang.String getSelector()
        For click metrics, the CSS selectors
        Returns:
        selector
      • setSelector

        public void setSelector​(@Nullable
                                java.lang.String selector)
      • urls

        public MetricListingRep urls​(@Nullable
                                     java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> urls)
      • addUrlsItem

        public MetricListingRep addUrlsItem​(java.util.Map<java.lang.String,​java.lang.Object> urlsItem)
      • getUrls

        @Nullable
        public java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getUrls()
        Get urls
        Returns:
        urls
      • setUrls

        public void setUrls​(@Nullable
                            java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> urls)
      • windowStartOffset

        public MetricListingRep windowStartOffset​(@Nullable
                                                  java.lang.Long windowStartOffset)
      • getWindowStartOffset

        @Nullable
        public java.lang.Long getWindowStartOffset()
        Not yet implemented - The start of the measurement window, in milliseconds relative to the unit's first exposure to a flag variation
        Returns:
        windowStartOffset
      • setWindowStartOffset

        public void setWindowStartOffset​(@Nullable
                                         java.lang.Long windowStartOffset)
      • windowEndOffset

        public MetricListingRep windowEndOffset​(@Nullable
                                                java.lang.Long windowEndOffset)
      • getWindowEndOffset

        @Nullable
        public java.lang.Long getWindowEndOffset()
        Not yet implemented - The end of the measurement window, in milliseconds relative to the unit's first exposure to a flag variation
        Returns:
        windowEndOffset
      • setWindowEndOffset

        public void setWindowEndOffset​(@Nullable
                                       java.lang.Long windowEndOffset)
      • winsorLowerPercentile

        public MetricListingRep winsorLowerPercentile​(@Nullable
                                                      java.math.BigDecimal winsorLowerPercentile)
      • getWinsorLowerPercentile

        @Nullable
        public java.math.BigDecimal getWinsorLowerPercentile()
        Lower winsorization percentile, expressed as a percent in the open interval (0, 100). When both bounds are set, defines a two-sided clamp range. Otherwise lower-only winsorization.
        Returns:
        winsorLowerPercentile
      • setWinsorLowerPercentile

        public void setWinsorLowerPercentile​(@Nullable
                                             java.math.BigDecimal winsorLowerPercentile)
      • winsorUpperPercentile

        public MetricListingRep winsorUpperPercentile​(@Nullable
                                                      java.math.BigDecimal winsorUpperPercentile)
      • getWinsorUpperPercentile

        @Nullable
        public java.math.BigDecimal getWinsorUpperPercentile()
        Upper winsorization percentile, expressed as a percent in the open interval (0, 100). When both bounds are set, must be greater than winsorLowerPercentile.
        Returns:
        winsorUpperPercentile
      • setWinsorUpperPercentile

        public void setWinsorUpperPercentile​(@Nullable
                                             java.math.BigDecimal winsorUpperPercentile)
      • winsorExcludeImputed

        public MetricListingRep winsorExcludeImputed​(@Nullable
                                                     java.lang.Boolean winsorExcludeImputed)
      • getWinsorExcludeImputed

        @Nullable
        public java.lang.Boolean getWinsorExcludeImputed()
        Deprecated and ignored. Use winsorIncludeImputed instead.
        Returns:
        winsorExcludeImputed
      • setWinsorExcludeImputed

        public void setWinsorExcludeImputed​(@Nullable
                                            java.lang.Boolean winsorExcludeImputed)
      • winsorIncludeImputed

        public MetricListingRep winsorIncludeImputed​(@Nullable
                                                     java.lang.Boolean winsorIncludeImputed)
      • getWinsorIncludeImputed

        @Nullable
        public java.lang.Boolean getWinsorIncludeImputed()
        When true, the percentile bound calculation includes imputed zeros. Only meaningful when at least one bound is set and the metric includes units that didn't send events.
        Returns:
        winsorIncludeImputed
      • setWinsorIncludeImputed

        public void setWinsorIncludeImputed​(@Nullable
                                            java.lang.Boolean winsorIncludeImputed)
      • traceQuery

        public MetricListingRep traceQuery​(@Nullable
                                           java.lang.String traceQuery)
      • getTraceQuery

        @Nullable
        public java.lang.String getTraceQuery()
        For trace metrics, the trace query to use for the metric.
        Returns:
        traceQuery
      • setTraceQuery

        public void setTraceQuery​(@Nullable
                                  java.lang.String traceQuery)
      • traceValueLocation

        public MetricListingRep traceValueLocation​(@Nullable
                                                   java.lang.String traceValueLocation)
      • getTraceValueLocation

        @Nullable
        public java.lang.String getTraceValueLocation()
        For trace metrics, the location in the trace to use for numeric values.
        Returns:
        traceValueLocation
      • setTraceValueLocation

        public void setTraceValueLocation​(@Nullable
                                          java.lang.String traceValueLocation)
      • getDenominator

        @Nullable
        public MetricDenominatorRep getDenominator()
        Get denominator
        Returns:
        denominator
      • putAdditionalProperty

        public MetricListingRep 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.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the MetricListingRep instance itself
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public java.lang.Object getAdditionalProperty​(java.lang.String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • 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
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        java.io.IOException - if the JSON Element is invalid with respect to MetricListingRep
      • fromJson

        public static MetricListingRep fromJson​(java.lang.String jsonString)
                                         throws java.io.IOException
        Create an instance of MetricListingRep given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of MetricListingRep
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to MetricListingRep
      • toJson

        public java.lang.String toJson()
        Convert an instance of MetricListingRep to an JSON string
        Returns:
        JSON string