Name | Type | Description | Notes |
---|---|---|---|
ViolationContexts | Pointer to []ViolationContext | List of Violation Contexts | [optional] |
func NewViolationPrediction() *ViolationPrediction
NewViolationPrediction instantiates a new ViolationPrediction 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 NewViolationPredictionWithDefaults() *ViolationPrediction
NewViolationPredictionWithDefaults instantiates a new ViolationPrediction 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 *ViolationPrediction) GetViolationContexts() []ViolationContext
GetViolationContexts returns the ViolationContexts field if non-nil, zero value otherwise.
func (o *ViolationPrediction) GetViolationContextsOk() (*[]ViolationContext, bool)
GetViolationContextsOk returns a tuple with the ViolationContexts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ViolationPrediction) SetViolationContexts(v []ViolationContext)
SetViolationContexts sets ViolationContexts field to given value.
func (o *ViolationPrediction) HasViolationContexts() bool
HasViolationContexts returns a boolean if a field has been set.