Skip to content

Latest commit

 

History

History
244 lines (131 loc) · 7.13 KB

MetricInGroupRep.md

File metadata and controls

244 lines (131 loc) · 7.13 KB

MetricInGroupRep

Properties

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]

Methods

NewMetricInGroupRep

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

NewMetricInGroupRepWithDefaults

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

GetKey

func (o *MetricInGroupRep) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

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.

SetKey

func (o *MetricInGroupRep) SetKey(v string)

SetKey sets Key field to given value.

GetVersionId

func (o *MetricInGroupRep) GetVersionId() string

GetVersionId returns the VersionId field if non-nil, zero value otherwise.

GetVersionIdOk

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.

SetVersionId

func (o *MetricInGroupRep) SetVersionId(v string)

SetVersionId sets VersionId field to given value.

HasVersionId

func (o *MetricInGroupRep) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

GetName

func (o *MetricInGroupRep) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *MetricInGroupRep) SetName(v string)

SetName sets Name field to given value.

GetKind

func (o *MetricInGroupRep) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

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.

SetKind

func (o *MetricInGroupRep) SetKind(v string)

SetKind sets Kind field to given value.

GetIsNumeric

func (o *MetricInGroupRep) GetIsNumeric() bool

GetIsNumeric returns the IsNumeric field if non-nil, zero value otherwise.

GetIsNumericOk

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.

SetIsNumeric

func (o *MetricInGroupRep) SetIsNumeric(v bool)

SetIsNumeric sets IsNumeric field to given value.

HasIsNumeric

func (o *MetricInGroupRep) HasIsNumeric() bool

HasIsNumeric returns a boolean if a field has been set.

GetUnitAggregationType

func (o *MetricInGroupRep) GetUnitAggregationType() string

GetUnitAggregationType returns the UnitAggregationType field if non-nil, zero value otherwise.

GetUnitAggregationTypeOk

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.

SetUnitAggregationType

func (o *MetricInGroupRep) SetUnitAggregationType(v string)

SetUnitAggregationType sets UnitAggregationType field to given value.

HasUnitAggregationType

func (o *MetricInGroupRep) HasUnitAggregationType() bool

HasUnitAggregationType returns a boolean if a field has been set.

GetLinks

func (o *MetricInGroupRep) GetLinks() map[string]Link

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

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.

SetLinks

func (o *MetricInGroupRep) SetLinks(v map[string]Link)

SetLinks sets Links field to given value.

GetNameInGroup

func (o *MetricInGroupRep) GetNameInGroup() string

GetNameInGroup returns the NameInGroup field if non-nil, zero value otherwise.

GetNameInGroupOk

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.

SetNameInGroup

func (o *MetricInGroupRep) SetNameInGroup(v string)

SetNameInGroup sets NameInGroup field to given value.

HasNameInGroup

func (o *MetricInGroupRep) HasNameInGroup() bool

HasNameInGroup returns a boolean if a field has been set.

GetRandomizationUnits

func (o *MetricInGroupRep) GetRandomizationUnits() []string

GetRandomizationUnits returns the RandomizationUnits field if non-nil, zero value otherwise.

GetRandomizationUnitsOk

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.

SetRandomizationUnits

func (o *MetricInGroupRep) SetRandomizationUnits(v []string)

SetRandomizationUnits sets RandomizationUnits field to given value.

HasRandomizationUnits

func (o *MetricInGroupRep) HasRandomizationUnits() bool

HasRandomizationUnits returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]