Class MetricGroupRep


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2026-03-05T10:45:26.516033Z[Etc/UTC]",
               comments="Generator version: 7.18.0")
    public class MetricGroupRep
    extends java.lang.Object
    MetricGroupRep
    • Field Detail

      • SERIALIZED_NAME_ID

        public static final java.lang.String SERIALIZED_NAME_ID
        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_DESCRIPTION

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

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

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

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

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

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

        public static final java.lang.String SERIALIZED_NAME_EXPERIMENT_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
      • openapiFields

        public static java.util.HashSet<java.lang.String> openapiFields
      • openapiRequiredFields

        public static java.util.HashSet<java.lang.String> openapiRequiredFields
    • Constructor Detail

      • MetricGroupRep

        public MetricGroupRep()
    • Method Detail

      • getId

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

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

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

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

        public MetricGroupRep name​(@Nonnull
                                   java.lang.String name)
      • getName

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

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

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

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

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

        public MetricGroupRep links​(@Nonnull
                                    java.util.Map<java.lang.String,​Link> links)
      • putLinksItem

        public MetricGroupRep putLinksItem​(java.lang.String key,
                                           Link linksItem)
      • 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)
      • getAccess

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

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

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

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

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

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

        public MetricGroupRep 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)
      • lastModified

        public MetricGroupRep lastModified​(@Nonnull
                                           java.lang.Long lastModified)
      • getLastModified

        @Nonnull
        public java.lang.Long getLastModified()
        Get lastModified
        Returns:
        lastModified
      • setLastModified

        public void setLastModified​(@Nonnull
                                    java.lang.Long lastModified)
      • getMaintainer

        @Nonnull
        public MaintainerRep getMaintainer()
        Get maintainer
        Returns:
        maintainer
      • setMaintainer

        public void setMaintainer​(@Nonnull
                                  MaintainerRep maintainer)
      • getMetrics

        @Nonnull
        public java.util.List<MetricInGroupRep> getMetrics()
        An ordered list of the metrics in this metric group
        Returns:
        metrics
      • setMetrics

        public void setMetrics​(@Nonnull
                               java.util.List<MetricInGroupRep> metrics)
      • version

        public MetricGroupRep version​(@Nonnull
                                      java.lang.Integer version)
      • getVersion

        @Nonnull
        public java.lang.Integer getVersion()
        The version of this metric group
        Returns:
        version
      • setVersion

        public void setVersion​(@Nonnull
                               java.lang.Integer version)
      • getExperiments

        @Nullable
        public java.util.List<DependentExperimentRep> getExperiments()
        Get experiments
        Returns:
        experiments
      • setExperiments

        public void setExperiments​(@Nullable
                                   java.util.List<DependentExperimentRep> experiments)
      • experimentCount

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

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

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

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

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

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

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

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

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

        public MetricGroupRep 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 MetricGroupRep 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 MetricGroupRep
      • fromJson

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

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