Name | Type | Description | Notes |
---|---|---|---|
ExperimentCount | Pointer to int32 | The number of experiments using this metric | [optional] |
MetricGroupCount | Pointer to int32 | The number of metric groups using this metric | [optional] |
Id | string | The ID of this metric | |
VersionId | string | The version ID of the metric | |
Key | string | A unique key to reference the metric | |
Name | string | A human-friendly name for the metric | |
Kind | string | The kind of event the metric tracks | |
AttachedFlagCount | Pointer to int32 | The number of feature flags currently attached to this metric | [optional] |
Links | map[string]Link | The location and content type of related resources | |
Site | Pointer to Link | [optional] | |
Access | Pointer to Access | [optional] | |
Tags | []string | Tags for the metric | |
CreationDate | int64 | ||
LastModified | Pointer to Modification | [optional] | |
MaintainerId | Pointer to string | The ID of the member who maintains this metric | [optional] |
Maintainer | Pointer to MemberSummary | [optional] | |
Description | Pointer to string | Description of the metric | [optional] |
IsNumeric | Pointer to bool | For custom 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>). | [optional] |
SuccessCriteria | Pointer to string | For custom metrics, the success criteria | [optional] |
Unit | Pointer to string | For numeric custom metrics, the unit of measure | [optional] |
EventKey | Pointer to string | For custom metrics, the event key to use in your code | [optional] |
RandomizationUnits | Pointer to []string | An array of randomization units allowed for this metric | [optional] |
UnitAggregationType | Pointer to string | The method by which multiple unit event values are aggregated | [optional] |
AnalysisType | Pointer to string | The method for analyzing metric events | [optional] |
PercentileValue | Pointer to int32 | 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>. | [optional] |
EventDefault | Pointer to MetricEventDefaultRep | [optional] |
func NewMetricListingRep(id string, versionId string, key string, name string, kind string, links map[string]Link, tags []string, creationDate int64, ) *MetricListingRep
NewMetricListingRep instantiates a new MetricListingRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetricListingRepWithDefaults() *MetricListingRep
NewMetricListingRepWithDefaults instantiates a new MetricListingRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *MetricListingRep) GetExperimentCount() int32
GetExperimentCount returns the ExperimentCount field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetExperimentCountOk() (*int32, bool)
GetExperimentCountOk returns a tuple with the ExperimentCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetExperimentCount(v int32)
SetExperimentCount sets ExperimentCount field to given value.
func (o *MetricListingRep) HasExperimentCount() bool
HasExperimentCount returns a boolean if a field has been set.
func (o *MetricListingRep) GetMetricGroupCount() int32
GetMetricGroupCount returns the MetricGroupCount field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetMetricGroupCountOk() (*int32, bool)
GetMetricGroupCountOk returns a tuple with the MetricGroupCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetMetricGroupCount(v int32)
SetMetricGroupCount sets MetricGroupCount field to given value.
func (o *MetricListingRep) HasMetricGroupCount() bool
HasMetricGroupCount returns a boolean if a field has been set.
func (o *MetricListingRep) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetId(v string)
SetId sets Id field to given value.
func (o *MetricListingRep) GetVersionId() string
GetVersionId returns the VersionId field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetVersionIdOk() (*string, bool)
GetVersionIdOk returns a tuple with the VersionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetVersionId(v string)
SetVersionId sets VersionId field to given value.
func (o *MetricListingRep) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetKey(v string)
SetKey sets Key field to given value.
func (o *MetricListingRep) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetName(v string)
SetName sets Name field to given value.
func (o *MetricListingRep) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetKind(v string)
SetKind sets Kind field to given value.
func (o *MetricListingRep) GetAttachedFlagCount() int32
GetAttachedFlagCount returns the AttachedFlagCount field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetAttachedFlagCountOk() (*int32, bool)
GetAttachedFlagCountOk returns a tuple with the AttachedFlagCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetAttachedFlagCount(v int32)
SetAttachedFlagCount sets AttachedFlagCount field to given value.
func (o *MetricListingRep) HasAttachedFlagCount() bool
HasAttachedFlagCount returns a boolean if a field has been set.
func (o *MetricListingRep) GetLinks() map[string]Link
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetLinksOk() (*map[string]Link, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetLinks(v map[string]Link)
SetLinks sets Links field to given value.
func (o *MetricListingRep) GetSite() Link
GetSite returns the Site field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetSiteOk() (*Link, bool)
GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetSite(v Link)
SetSite sets Site field to given value.
func (o *MetricListingRep) HasSite() bool
HasSite returns a boolean if a field has been set.
func (o *MetricListingRep) GetAccess() Access
GetAccess returns the Access field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetAccessOk() (*Access, bool)
GetAccessOk returns a tuple with the Access field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetAccess(v Access)
SetAccess sets Access field to given value.
func (o *MetricListingRep) HasAccess() bool
HasAccess returns a boolean if a field has been set.
func (o *MetricListingRep) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *MetricListingRep) GetCreationDate() int64
GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetCreationDateOk() (*int64, bool)
GetCreationDateOk returns a tuple with the CreationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetCreationDate(v int64)
SetCreationDate sets CreationDate field to given value.
func (o *MetricListingRep) GetLastModified() Modification
GetLastModified returns the LastModified field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetLastModifiedOk() (*Modification, bool)
GetLastModifiedOk returns a tuple with the LastModified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetLastModified(v Modification)
SetLastModified sets LastModified field to given value.
func (o *MetricListingRep) HasLastModified() bool
HasLastModified returns a boolean if a field has been set.
func (o *MetricListingRep) GetMaintainerId() string
GetMaintainerId returns the MaintainerId field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetMaintainerIdOk() (*string, bool)
GetMaintainerIdOk returns a tuple with the MaintainerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetMaintainerId(v string)
SetMaintainerId sets MaintainerId field to given value.
func (o *MetricListingRep) HasMaintainerId() bool
HasMaintainerId returns a boolean if a field has been set.
func (o *MetricListingRep) GetMaintainer() MemberSummary
GetMaintainer returns the Maintainer field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetMaintainerOk() (*MemberSummary, bool)
GetMaintainerOk returns a tuple with the Maintainer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetMaintainer(v MemberSummary)
SetMaintainer sets Maintainer field to given value.
func (o *MetricListingRep) HasMaintainer() bool
HasMaintainer returns a boolean if a field has been set.
func (o *MetricListingRep) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *MetricListingRep) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *MetricListingRep) GetIsNumeric() bool
GetIsNumeric returns the IsNumeric field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetIsNumericOk() (*bool, bool)
GetIsNumericOk returns a tuple with the IsNumeric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetIsNumeric(v bool)
SetIsNumeric sets IsNumeric field to given value.
func (o *MetricListingRep) HasIsNumeric() bool
HasIsNumeric returns a boolean if a field has been set.
func (o *MetricListingRep) GetSuccessCriteria() string
GetSuccessCriteria returns the SuccessCriteria field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetSuccessCriteriaOk() (*string, bool)
GetSuccessCriteriaOk returns a tuple with the SuccessCriteria field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetSuccessCriteria(v string)
SetSuccessCriteria sets SuccessCriteria field to given value.
func (o *MetricListingRep) HasSuccessCriteria() bool
HasSuccessCriteria returns a boolean if a field has been set.
func (o *MetricListingRep) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *MetricListingRep) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (o *MetricListingRep) GetEventKey() string
GetEventKey returns the EventKey field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetEventKeyOk() (*string, bool)
GetEventKeyOk returns a tuple with the EventKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetEventKey(v string)
SetEventKey sets EventKey field to given value.
func (o *MetricListingRep) HasEventKey() bool
HasEventKey returns a boolean if a field has been set.
func (o *MetricListingRep) GetRandomizationUnits() []string
GetRandomizationUnits returns the RandomizationUnits field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetRandomizationUnitsOk() (*[]string, bool)
GetRandomizationUnitsOk returns a tuple with the RandomizationUnits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetRandomizationUnits(v []string)
SetRandomizationUnits sets RandomizationUnits field to given value.
func (o *MetricListingRep) HasRandomizationUnits() bool
HasRandomizationUnits returns a boolean if a field has been set.
func (o *MetricListingRep) GetUnitAggregationType() string
GetUnitAggregationType returns the UnitAggregationType field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetUnitAggregationTypeOk() (*string, bool)
GetUnitAggregationTypeOk returns a tuple with the UnitAggregationType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetUnitAggregationType(v string)
SetUnitAggregationType sets UnitAggregationType field to given value.
func (o *MetricListingRep) HasUnitAggregationType() bool
HasUnitAggregationType returns a boolean if a field has been set.
func (o *MetricListingRep) GetAnalysisType() string
GetAnalysisType returns the AnalysisType field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetAnalysisTypeOk() (*string, bool)
GetAnalysisTypeOk returns a tuple with the AnalysisType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetAnalysisType(v string)
SetAnalysisType sets AnalysisType field to given value.
func (o *MetricListingRep) HasAnalysisType() bool
HasAnalysisType returns a boolean if a field has been set.
func (o *MetricListingRep) GetPercentileValue() int32
GetPercentileValue returns the PercentileValue field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetPercentileValueOk() (*int32, bool)
GetPercentileValueOk returns a tuple with the PercentileValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetPercentileValue(v int32)
SetPercentileValue sets PercentileValue field to given value.
func (o *MetricListingRep) HasPercentileValue() bool
HasPercentileValue returns a boolean if a field has been set.
func (o *MetricListingRep) GetEventDefault() MetricEventDefaultRep
GetEventDefault returns the EventDefault field if non-nil, zero value otherwise.
func (o *MetricListingRep) GetEventDefaultOk() (*MetricEventDefaultRep, bool)
GetEventDefaultOk returns a tuple with the EventDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricListingRep) SetEventDefault(v MetricEventDefaultRep)
SetEventDefault sets EventDefault field to given value.
func (o *MetricListingRep) HasEventDefault() bool
HasEventDefault returns a boolean if a field has been set.