Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 3.67 KB

Incident.md

File metadata and controls

160 lines (87 loc) · 3.67 KB

Incident

Properties

Name Type Description Notes
Id Pointer to string [optional]
Url Pointer to string [optional]
Score Pointer to int32 [optional]
Name Pointer to string [optional]
StartDate Pointer to int64 [optional]

Methods

NewIncident

func NewIncident() *Incident

NewIncident instantiates a new Incident 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

NewIncidentWithDefaults

func NewIncidentWithDefaults() *Incident

NewIncidentWithDefaults instantiates a new Incident 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

GetId

func (o *Incident) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Incident) GetIdOk() (*string, bool)

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

SetId

func (o *Incident) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Incident) HasId() bool

HasId returns a boolean if a field has been set.

GetUrl

func (o *Incident) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *Incident) GetUrlOk() (*string, bool)

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

SetUrl

func (o *Incident) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *Incident) HasUrl() bool

HasUrl returns a boolean if a field has been set.

GetScore

func (o *Incident) GetScore() int32

GetScore returns the Score field if non-nil, zero value otherwise.

GetScoreOk

func (o *Incident) GetScoreOk() (*int32, bool)

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

SetScore

func (o *Incident) SetScore(v int32)

SetScore sets Score field to given value.

HasScore

func (o *Incident) HasScore() bool

HasScore returns a boolean if a field has been set.

GetName

func (o *Incident) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Incident) 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 *Incident) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *Incident) HasName() bool

HasName returns a boolean if a field has been set.

GetStartDate

func (o *Incident) GetStartDate() int64

GetStartDate returns the StartDate field if non-nil, zero value otherwise.

GetStartDateOk

func (o *Incident) GetStartDateOk() (*int64, bool)

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

SetStartDate

func (o *Incident) SetStartDate(v int64)

SetStartDate sets StartDate field to given value.

HasStartDate

func (o *Incident) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

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