Files
sdk/docs/PlatformDriftFlag.md

3.4 KiB

PlatformDriftFlag

Properties

Name Type Description Notes
Kind Pointer to string Kind is which finding this is, one of stale, un-rolled, floating-declared, floating-running, no-release or zero-assets. It is what code matches on, and the kinds are independent — one row can carry several at once. [optional]
Message Pointer to string Message is the finding in words, naming the tags that produced it ("running v1.2.3 has not rolled to declared v1.2.4"). For display: match on Kind. [optional]
Severity Pointer to string Severity is this ONE finding's weight — yellow for stale and un-rolled, red for the other four. It is a constant of the kind (severityOf), never a judgement about the row, so the same kind always weighs the same. [optional]

Methods

NewPlatformDriftFlag

func NewPlatformDriftFlag() *PlatformDriftFlag

NewPlatformDriftFlag instantiates a new PlatformDriftFlag 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

NewPlatformDriftFlagWithDefaults

func NewPlatformDriftFlagWithDefaults() *PlatformDriftFlag

NewPlatformDriftFlagWithDefaults instantiates a new PlatformDriftFlag 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

GetKind

func (o *PlatformDriftFlag) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *PlatformDriftFlag) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKind

func (o *PlatformDriftFlag) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *PlatformDriftFlag) HasKind() bool

HasKind returns a boolean if a field has been set.

GetMessage

func (o *PlatformDriftFlag) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *PlatformDriftFlag) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMessage

func (o *PlatformDriftFlag) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *PlatformDriftFlag) HasMessage() bool

HasMessage returns a boolean if a field has been set.

GetSeverity

func (o *PlatformDriftFlag) GetSeverity() string

GetSeverity returns the Severity field if non-nil, zero value otherwise.

GetSeverityOk

func (o *PlatformDriftFlag) 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 *PlatformDriftFlag) SetSeverity(v string)

SetSeverity sets Severity field to given value.

HasSeverity

func (o *PlatformDriftFlag) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]