func (o *Objective) GetWindowOk() (*int64, bool) {
	if o == nil {
		return nil, false
	}
	return &o.Window, true
}
GetWindowOk returns a tuple with the Window field value
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
}