2.7 KiB
PlatformVerdict
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Flags | Pointer to []PlatformDriftFlag | Flags are the findings behind the severity, in detection order: floating-declared, floating-running, stale, un-rolled, then the release-artifact ones. Always present — `[]` for a row that runs what it declares, never null. | [optional] |
| Severity | Pointer to string | Severity is the roll-up over Flags — red if any flag is red, else yellow if any is yellow, else ok. It is the column a board sorts and filters on, and "ok" is exactly what no flags means. | [optional] |
Methods
NewPlatformVerdict
func NewPlatformVerdict() *PlatformVerdict
NewPlatformVerdict instantiates a new PlatformVerdict 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
NewPlatformVerdictWithDefaults
func NewPlatformVerdictWithDefaults() *PlatformVerdict
NewPlatformVerdictWithDefaults instantiates a new PlatformVerdict 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
GetFlags
func (o *PlatformVerdict) GetFlags() []PlatformDriftFlag
GetFlags returns the Flags field if non-nil, zero value otherwise.
GetFlagsOk
func (o *PlatformVerdict) GetFlagsOk() (*[]PlatformDriftFlag, bool)
GetFlagsOk returns a tuple with the Flags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFlags
func (o *PlatformVerdict) SetFlags(v []PlatformDriftFlag)
SetFlags sets Flags field to given value.
HasFlags
func (o *PlatformVerdict) HasFlags() bool
HasFlags returns a boolean if a field has been set.
GetSeverity
func (o *PlatformVerdict) GetSeverity() string
GetSeverity returns the Severity field if non-nil, zero value otherwise.
GetSeverityOk
func (o *PlatformVerdict) GetSeverityOk() (*string, bool)
GetSeverityOk returns a tuple with the Severity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSeverity
func (o *PlatformVerdict) SetSeverity(v string)
SetSeverity sets Severity field to given value.
HasSeverity
func (o *PlatformVerdict) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.