Name | Type | Description | Notes |
---|---|---|---|
PolicyViolations | Pointer to []ApiPolicyViolationDTOV2 | [optional] |
func NewApiComponentPolicyViolationListDTOV2() *ApiComponentPolicyViolationListDTOV2
NewApiComponentPolicyViolationListDTOV2 instantiates a new ApiComponentPolicyViolationListDTOV2 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
func NewApiComponentPolicyViolationListDTOV2WithDefaults() *ApiComponentPolicyViolationListDTOV2
NewApiComponentPolicyViolationListDTOV2WithDefaults instantiates a new ApiComponentPolicyViolationListDTOV2 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
func (o *ApiComponentPolicyViolationListDTOV2) GetPolicyViolations() []ApiPolicyViolationDTOV2
GetPolicyViolations returns the PolicyViolations field if non-nil, zero value otherwise.
func (o *ApiComponentPolicyViolationListDTOV2) GetPolicyViolationsOk() (*[]ApiPolicyViolationDTOV2, bool)
GetPolicyViolationsOk returns a tuple with the PolicyViolations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiComponentPolicyViolationListDTOV2) SetPolicyViolations(v []ApiPolicyViolationDTOV2)
SetPolicyViolations sets PolicyViolations field to given value.
func (o *ApiComponentPolicyViolationListDTOV2) HasPolicyViolations() bool
HasPolicyViolations returns a boolean if a field has been set.