// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type PrometheusResponse struct {
	// List of active targets.
	ActiveTargets []PrometheusResponseActiveTarget `json:"active_targets,omitempty"`
	// List of the versions of everything that Prometheus finds i.e., version of Prometheus, Go, Node, cAdvisor, etc.
	AllVersions []string `json:"all_versions,omitempty"`
	// True when the config endpoint is exposed.
	ConfigExposed *bool `json:"config_exposed,omitempty"`
	// List of dropped targets.
	DroppedTargets []PrometheusResponseDroppedTarget `json:"dropped_targets,omitempty"`
	// List of the versions of Go.
	GoVersions         []string                              `json:"go_versions,omitempty"`
	PrometheusVersions []PrometheusResponsePrometheusVersion `json:"prometheus_versions,omitempty"`
}

func (o *PrometheusResponse) GetActiveTargets() []PrometheusResponseActiveTarget {
	if o == nil {
		return nil
	}
	return o.ActiveTargets
}

func (o *PrometheusResponse) GetAllVersions() []string {
	if o == nil {
		return nil
	}
	return o.AllVersions
}

func (o *PrometheusResponse) GetConfigExposed() *bool {
	if o == nil {
		return nil
	}
	return o.ConfigExposed
}

func (o *PrometheusResponse) GetDroppedTargets() []PrometheusResponseDroppedTarget {
	if o == nil {
		return nil
	}
	return o.DroppedTargets
}

func (o *PrometheusResponse) GetGoVersions() []string {
	if o == nil {
		return nil
	}
	return o.GoVersions
}

func (o *PrometheusResponse) GetPrometheusVersions() []PrometheusResponsePrometheusVersion {
	if o == nil {
		return nil
	}
	return o.PrometheusVersions
}
