| Name | Type | Description | Notes |
|---|---|---|---|
| Type | string | ||
| Id | Pointer to int64 | [optional] | |
| Query | string | ||
| Unit | string | ||
| AliasTemplate | string |
func NewPromQLMetric(type_ string, query string, unit string, aliasTemplate string, ) *PromQLMetric
NewPromQLMetric instantiates a new PromQLMetric 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 NewPromQLMetricWithDefaults() *PromQLMetric
NewPromQLMetricWithDefaults instantiates a new PromQLMetric 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 *PromQLMetric) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PromQLMetric) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromQLMetric) SetType(v string)
SetType sets Type field to given value.
func (o *PromQLMetric) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PromQLMetric) GetIdOk() (*int64, 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 *PromQLMetric) SetId(v int64)
SetId sets Id field to given value.
func (o *PromQLMetric) HasId() bool
HasId returns a boolean if a field has been set.
func (o *PromQLMetric) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (o *PromQLMetric) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromQLMetric) SetQuery(v string)
SetQuery sets Query field to given value.
func (o *PromQLMetric) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *PromQLMetric) 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 *PromQLMetric) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *PromQLMetric) GetAliasTemplate() string
GetAliasTemplate returns the AliasTemplate field if non-nil, zero value otherwise.
func (o *PromQLMetric) GetAliasTemplateOk() (*string, bool)
GetAliasTemplateOk returns a tuple with the AliasTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromQLMetric) SetAliasTemplate(v string)
SetAliasTemplate sets AliasTemplate field to given value.