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

package components

type Cvss struct {
	Components *CVSSComponents `json:"components,omitempty"`
	// Score of the vulnerability; 0.1 is the lowest, 10 is the maximum
	Score *float64 `json:"score,omitempty"`
	// The path, method, or scenario used to exploit the vulnerability. Each section represents components that contribute to the overall CVSS score.
	Vector *string `json:"vector,omitempty"`
}

func (o *Cvss) GetComponents() *CVSSComponents {
	if o == nil {
		return nil
	}
	return o.Components
}

func (o *Cvss) GetScore() *float64 {
	if o == nil {
		return nil
	}
	return o.Score
}

func (o *Cvss) GetVector() *string {
	if o == nil {
		return nil
	}
	return o.Vector
}
