5.3 KiB
O11yO11yReductionStats
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| EstimatedMonthlySavingsUsd | Pointer to float64 | EstimatedMonthlySavingsUsd is the estimated monthly savings, in USD. | [optional] |
| IngestedSamples | Pointer to int32 | IngestedSamples is how many samples arrived across all rules. | [optional] |
| IngestedSeries | Pointer to int32 | IngestedSeries is how many series arrived across all rules. | [optional] |
| RetainedSamples | Pointer to int32 | RetainedSamples is how many of them were kept. | [optional] |
| RetainedSeries | Pointer to int32 | RetainedSeries is how many of them were kept. | [optional] |
Methods
NewO11yO11yReductionStats
func NewO11yO11yReductionStats() *O11yO11yReductionStats
NewO11yO11yReductionStats instantiates a new O11yO11yReductionStats 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
NewO11yO11yReductionStatsWithDefaults
func NewO11yO11yReductionStatsWithDefaults() *O11yO11yReductionStats
NewO11yO11yReductionStatsWithDefaults instantiates a new O11yO11yReductionStats 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
GetEstimatedMonthlySavingsUsd
func (o *O11yO11yReductionStats) GetEstimatedMonthlySavingsUsd() float64
GetEstimatedMonthlySavingsUsd returns the EstimatedMonthlySavingsUsd field if non-nil, zero value otherwise.
GetEstimatedMonthlySavingsUsdOk
func (o *O11yO11yReductionStats) GetEstimatedMonthlySavingsUsdOk() (*float64, bool)
GetEstimatedMonthlySavingsUsdOk returns a tuple with the EstimatedMonthlySavingsUsd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEstimatedMonthlySavingsUsd
func (o *O11yO11yReductionStats) SetEstimatedMonthlySavingsUsd(v float64)
SetEstimatedMonthlySavingsUsd sets EstimatedMonthlySavingsUsd field to given value.
HasEstimatedMonthlySavingsUsd
func (o *O11yO11yReductionStats) HasEstimatedMonthlySavingsUsd() bool
HasEstimatedMonthlySavingsUsd returns a boolean if a field has been set.
GetIngestedSamples
func (o *O11yO11yReductionStats) GetIngestedSamples() int32
GetIngestedSamples returns the IngestedSamples field if non-nil, zero value otherwise.
GetIngestedSamplesOk
func (o *O11yO11yReductionStats) GetIngestedSamplesOk() (*int32, bool)
GetIngestedSamplesOk returns a tuple with the IngestedSamples field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIngestedSamples
func (o *O11yO11yReductionStats) SetIngestedSamples(v int32)
SetIngestedSamples sets IngestedSamples field to given value.
HasIngestedSamples
func (o *O11yO11yReductionStats) HasIngestedSamples() bool
HasIngestedSamples returns a boolean if a field has been set.
GetIngestedSeries
func (o *O11yO11yReductionStats) GetIngestedSeries() int32
GetIngestedSeries returns the IngestedSeries field if non-nil, zero value otherwise.
GetIngestedSeriesOk
func (o *O11yO11yReductionStats) GetIngestedSeriesOk() (*int32, bool)
GetIngestedSeriesOk returns a tuple with the IngestedSeries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIngestedSeries
func (o *O11yO11yReductionStats) SetIngestedSeries(v int32)
SetIngestedSeries sets IngestedSeries field to given value.
HasIngestedSeries
func (o *O11yO11yReductionStats) HasIngestedSeries() bool
HasIngestedSeries returns a boolean if a field has been set.
GetRetainedSamples
func (o *O11yO11yReductionStats) GetRetainedSamples() int32
GetRetainedSamples returns the RetainedSamples field if non-nil, zero value otherwise.
GetRetainedSamplesOk
func (o *O11yO11yReductionStats) GetRetainedSamplesOk() (*int32, bool)
GetRetainedSamplesOk returns a tuple with the RetainedSamples field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRetainedSamples
func (o *O11yO11yReductionStats) SetRetainedSamples(v int32)
SetRetainedSamples sets RetainedSamples field to given value.
HasRetainedSamples
func (o *O11yO11yReductionStats) HasRetainedSamples() bool
HasRetainedSamples returns a boolean if a field has been set.
GetRetainedSeries
func (o *O11yO11yReductionStats) GetRetainedSeries() int32
GetRetainedSeries returns the RetainedSeries field if non-nil, zero value otherwise.
GetRetainedSeriesOk
func (o *O11yO11yReductionStats) GetRetainedSeriesOk() (*int32, bool)
GetRetainedSeriesOk returns a tuple with the RetainedSeries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRetainedSeries
func (o *O11yO11yReductionStats) SetRetainedSeries(v int32)
SetRetainedSeries sets RetainedSeries field to given value.
HasRetainedSeries
func (o *O11yO11yReductionStats) HasRetainedSeries() bool
HasRetainedSeries returns a boolean if a field has been set.