6.0 KiB
PatrolPatrolEvent
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| At | Pointer to string | At is when it was raised. | [optional] |
| Detail | Pointer to string | Detail is the longer account, or empty. | [optional] |
| Level | Pointer to string | Level is red, amber, green or cyan. | [optional] |
| Name | Pointer to string | Name is the event's document name. | [optional] |
| Site | Pointer to string | Site is the site the event is about, or empty. | [optional] |
| Source | Pointer to string | Source is what raised it. | [optional] |
| Title | Pointer to string | Title is the one line the feed shows. | [optional] |
| Unit | Pointer to string | Unit is the unit the event is about, or empty. | [optional] |
Methods
NewPatrolPatrolEvent
func NewPatrolPatrolEvent() *PatrolPatrolEvent
NewPatrolPatrolEvent instantiates a new PatrolPatrolEvent 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
NewPatrolPatrolEventWithDefaults
func NewPatrolPatrolEventWithDefaults() *PatrolPatrolEvent
NewPatrolPatrolEventWithDefaults instantiates a new PatrolPatrolEvent 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
GetAt
func (o *PatrolPatrolEvent) GetAt() string
GetAt returns the At field if non-nil, zero value otherwise.
GetAtOk
func (o *PatrolPatrolEvent) GetAtOk() (*string, bool)
GetAtOk returns a tuple with the At field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAt
func (o *PatrolPatrolEvent) SetAt(v string)
SetAt sets At field to given value.
HasAt
func (o *PatrolPatrolEvent) HasAt() bool
HasAt returns a boolean if a field has been set.
GetDetail
func (o *PatrolPatrolEvent) GetDetail() string
GetDetail returns the Detail field if non-nil, zero value otherwise.
GetDetailOk
func (o *PatrolPatrolEvent) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDetail
func (o *PatrolPatrolEvent) SetDetail(v string)
SetDetail sets Detail field to given value.
HasDetail
func (o *PatrolPatrolEvent) HasDetail() bool
HasDetail returns a boolean if a field has been set.
GetLevel
func (o *PatrolPatrolEvent) GetLevel() string
GetLevel returns the Level field if non-nil, zero value otherwise.
GetLevelOk
func (o *PatrolPatrolEvent) GetLevelOk() (*string, bool)
GetLevelOk returns a tuple with the Level field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLevel
func (o *PatrolPatrolEvent) SetLevel(v string)
SetLevel sets Level field to given value.
HasLevel
func (o *PatrolPatrolEvent) HasLevel() bool
HasLevel returns a boolean if a field has been set.
GetName
func (o *PatrolPatrolEvent) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *PatrolPatrolEvent) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *PatrolPatrolEvent) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *PatrolPatrolEvent) HasName() bool
HasName returns a boolean if a field has been set.
GetSite
func (o *PatrolPatrolEvent) GetSite() string
GetSite returns the Site field if non-nil, zero value otherwise.
GetSiteOk
func (o *PatrolPatrolEvent) GetSiteOk() (*string, bool)
GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSite
func (o *PatrolPatrolEvent) SetSite(v string)
SetSite sets Site field to given value.
HasSite
func (o *PatrolPatrolEvent) HasSite() bool
HasSite returns a boolean if a field has been set.
GetSource
func (o *PatrolPatrolEvent) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
GetSourceOk
func (o *PatrolPatrolEvent) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSource
func (o *PatrolPatrolEvent) SetSource(v string)
SetSource sets Source field to given value.
HasSource
func (o *PatrolPatrolEvent) HasSource() bool
HasSource returns a boolean if a field has been set.
GetTitle
func (o *PatrolPatrolEvent) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
GetTitleOk
func (o *PatrolPatrolEvent) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTitle
func (o *PatrolPatrolEvent) SetTitle(v string)
SetTitle sets Title field to given value.
HasTitle
func (o *PatrolPatrolEvent) HasTitle() bool
HasTitle returns a boolean if a field has been set.
GetUnit
func (o *PatrolPatrolEvent) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
GetUnitOk
func (o *PatrolPatrolEvent) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUnit
func (o *PatrolPatrolEvent) SetUnit(v string)
SetUnit sets Unit field to given value.
HasUnit
func (o *PatrolPatrolEvent) HasUnit() bool
HasUnit returns a boolean if a field has been set.