Name | Type | Description | Notes |
---|---|---|---|
Key | string | The metric key | |
VersionId | Pointer to string | The version ID of the metric | [optional] |
Name | string | The metric name | |
Kind | string | The kind of event the metric tracks | |
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] |
UnitAggregationType | Pointer to string | The type of unit aggregation to use for the metric | [optional] |
Links | map[string]Link | The location and content type of related resources | |
NameInGroup | Pointer to string | Name of the metric when used within the associated metric group. Can be different from the original name of the metric. Required if and only if the metric group is a <code>funnel</code>. | [optional] |
RandomizationUnits | Pointer to []string | The randomization units for the metric | [optional] |
func NewMetricInGroupRep(key string, name string, kind string, links map[string]Link, ) *MetricInGroupRep
NewMetricInGroupRep instantiates a new MetricInGroupRep 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 NewMetricInGroupRepWithDefaults() *MetricInGroupRep
NewMetricInGroupRepWithDefaults instantiates a new MetricInGroupRep 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 *MetricInGroupRep) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) 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 *MetricInGroupRep) SetKey(v string)
SetKey sets Key field to given value.
func (o *MetricInGroupRep) GetVersionId() string
GetVersionId returns the VersionId field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) 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 *MetricInGroupRep) SetVersionId(v string)
SetVersionId sets VersionId field to given value.
func (o *MetricInGroupRep) HasVersionId() bool
HasVersionId returns a boolean if a field has been set.
func (o *MetricInGroupRep) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) 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 *MetricInGroupRep) SetName(v string)
SetName sets Name field to given value.
func (o *MetricInGroupRep) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) 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 *MetricInGroupRep) SetKind(v string)
SetKind sets Kind field to given value.
func (o *MetricInGroupRep) GetIsNumeric() bool
GetIsNumeric returns the IsNumeric field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) 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 *MetricInGroupRep) SetIsNumeric(v bool)
SetIsNumeric sets IsNumeric field to given value.
func (o *MetricInGroupRep) HasIsNumeric() bool
HasIsNumeric returns a boolean if a field has been set.
func (o *MetricInGroupRep) GetUnitAggregationType() string
GetUnitAggregationType returns the UnitAggregationType field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) 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 *MetricInGroupRep) SetUnitAggregationType(v string)
SetUnitAggregationType sets UnitAggregationType field to given value.
func (o *MetricInGroupRep) HasUnitAggregationType() bool
HasUnitAggregationType returns a boolean if a field has been set.
func (o *MetricInGroupRep) GetLinks() map[string]Link
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) 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 *MetricInGroupRep) SetLinks(v map[string]Link)
SetLinks sets Links field to given value.
func (o *MetricInGroupRep) GetNameInGroup() string
GetNameInGroup returns the NameInGroup field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) GetNameInGroupOk() (*string, bool)
GetNameInGroupOk returns a tuple with the NameInGroup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricInGroupRep) SetNameInGroup(v string)
SetNameInGroup sets NameInGroup field to given value.
func (o *MetricInGroupRep) HasNameInGroup() bool
HasNameInGroup returns a boolean if a field has been set.
func (o *MetricInGroupRep) GetRandomizationUnits() []string
GetRandomizationUnits returns the RandomizationUnits field if non-nil, zero value otherwise.
func (o *MetricInGroupRep) 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 *MetricInGroupRep) SetRandomizationUnits(v []string)
SetRandomizationUnits sets RandomizationUnits field to given value.
func (o *MetricInGroupRep) HasRandomizationUnits() bool
HasRandomizationUnits returns a boolean if a field has been set.