Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.38 KB

AlertResponse.md

File metadata and controls

160 lines (87 loc) · 4.38 KB

AlertResponse

Properties

Name Type Description Notes
Data Pointer to []Alert The resposne data/monitor checks [optional]
Links Pointer to StatisticsResponseLinks [optional]
Relationships Pointer to []RelationObject Relationships of the object [optional]
Meta Pointer to StatisticsResponseMeta [optional]
Cursors Pointer to AlertResponseCursors [optional]

Methods

NewAlertResponse

func NewAlertResponse() *AlertResponse

NewAlertResponse instantiates a new AlertResponse 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

NewAlertResponseWithDefaults

func NewAlertResponseWithDefaults() *AlertResponse

NewAlertResponseWithDefaults instantiates a new AlertResponse 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

GetData

func (o *AlertResponse) GetData() []Alert

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *AlertResponse) GetDataOk() (*[]Alert, bool)

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

SetData

func (o *AlertResponse) SetData(v []Alert)

SetData sets Data field to given value.

HasData

func (o *AlertResponse) HasData() bool

HasData returns a boolean if a field has been set.

GetLinks

func (o *AlertResponse) GetLinks() StatisticsResponseLinks

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *AlertResponse) GetLinksOk() (*StatisticsResponseLinks, bool)

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

SetLinks

func (o *AlertResponse) SetLinks(v StatisticsResponseLinks)

SetLinks sets Links field to given value.

HasLinks

func (o *AlertResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

GetRelationships

func (o *AlertResponse) GetRelationships() []RelationObject

GetRelationships returns the Relationships field if non-nil, zero value otherwise.

GetRelationshipsOk

func (o *AlertResponse) GetRelationshipsOk() (*[]RelationObject, bool)

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

SetRelationships

func (o *AlertResponse) SetRelationships(v []RelationObject)

SetRelationships sets Relationships field to given value.

HasRelationships

func (o *AlertResponse) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

GetMeta

func (o *AlertResponse) GetMeta() StatisticsResponseMeta

GetMeta returns the Meta field if non-nil, zero value otherwise.

GetMetaOk

func (o *AlertResponse) GetMetaOk() (*StatisticsResponseMeta, bool)

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

SetMeta

func (o *AlertResponse) SetMeta(v StatisticsResponseMeta)

SetMeta sets Meta field to given value.

HasMeta

func (o *AlertResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

GetCursors

func (o *AlertResponse) GetCursors() AlertResponseCursors

GetCursors returns the Cursors field if non-nil, zero value otherwise.

GetCursorsOk

func (o *AlertResponse) GetCursorsOk() (*AlertResponseCursors, bool)

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

SetCursors

func (o *AlertResponse) SetCursors(v AlertResponseCursors)

SetCursors sets Cursors field to given value.

HasCursors

func (o *AlertResponse) HasCursors() bool

HasCursors returns a boolean if a field has been set.

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