func (o *Objective) GetIndicatorOk() (*Indicator, bool) {
	if o == nil || o.Indicator == nil {
		return nil, false
	}
	return o.Indicator, true
}
GetIndicatorOk returns a tuple with the Indicator field value if set, nil otherwise
and a boolean to check if the value has been set.
package openapi
import (
	"encoding/json"
)
type Objective struct {
	Labels      map[string]string `json:"labels"`
	Description string            `json:"description"`
	Target      float64           `json:"target"`
	Window      int64             `json:"window"`
	Config      string            `json:"config"`
	Indicator   *Indicator        `json:"indicator,omitempty"`
}
func NewObjective(labels map[string]string, description string, target float64, window int64, config string) *Objective {
	this := Objective{}
	this.Labels = labels
	this.Description = description
	this.Target = target
	this.Window = window
	this.Config = config
	return &this
}
func NewObjectiveWithDefaults() *Objective {
	this := Objective{}
	return &this
}
func (o *Objective) GetLabels() map[string]string {
	if o == nil {
		var ret map[string]string
		return ret
	}
	return o.Labels
}
func (o *Objective) GetLabelsOk() (*map[string]string, bool) {
	if o == nil {
		return nil, false
	}
	return &o.Labels, true
}
func (o *Objective) SetLabels(v map[string]string) {
	o.Labels = v
}
func (o *Objective) GetDescription() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.Description
}
func (o *Objective) GetDescriptionOk() (*string, bool) {
	if o == nil {
		return nil, false
	}
	return &o.Description, true
}
func (o *Objective) SetDescription(v string) {
	o.Description = v
}
func (o *Objective) GetTarget() float64 {
	if o == nil {
		var ret float64
		return ret
	}
	return o.Target
}
func (o *Objective) GetTargetOk() (*float64, bool) {
	if o == nil {
		return nil, false
	}
	return &o.Target, true
}
func (o *Objective) SetTarget(v float64) {
	o.Target = v
}
func (o *Objective) GetWindow() int64 {
	if o == nil {
		var ret int64
		return ret
	}
	return o.Window
}
func (o *Objective) GetWindowOk() (*int64, bool) {
	if o == nil {
		return nil, false
	}
	return &o.Window, true
}
func (o *Objective) SetWindow(v int64) {
	o.Window = v
}
func (o *Objective) GetConfig() string {
	if o == nil {
		var ret string
		return ret
	}
	return o.Config
}
func (o *Objective) GetConfigOk() (*string, bool) {
	if o == nil {
		return nil, false
	}
	return &o.Config, true
}
func (o *Objective) SetConfig(v string) {
	o.Config = v
}
func (o *Objective) GetIndicator() Indicator {
	if o == nil || o.Indicator == nil {
		var ret Indicator
		return ret
	}
	return *o.Indicator
}