Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.48 KB

ListSourcesResponse.md

File metadata and controls

82 lines (45 loc) · 2.48 KB

ListSourcesResponse

Properties

Name Type Description Notes
Items Pointer to []Source [optional]
Errors Pointer to []Error Sadly, sometimes requests to the API are not successful. Failures can occur for a wide range of reasons. The Errors object contains information about full or partial failures which might have occurred during the request. [optional]

Methods

NewListSourcesResponse

func NewListSourcesResponse() *ListSourcesResponse

NewListSourcesResponse instantiates a new ListSourcesResponse 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

NewListSourcesResponseWithDefaults

func NewListSourcesResponseWithDefaults() *ListSourcesResponse

NewListSourcesResponseWithDefaults instantiates a new ListSourcesResponse 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

GetItems

func (o *ListSourcesResponse) GetItems() []Source

GetItems returns the Items field if non-nil, zero value otherwise.

GetItemsOk

func (o *ListSourcesResponse) GetItemsOk() (*[]Source, bool)

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

SetItems

func (o *ListSourcesResponse) SetItems(v []Source)

SetItems sets Items field to given value.

HasItems

func (o *ListSourcesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

GetErrors

func (o *ListSourcesResponse) GetErrors() []Error

GetErrors returns the Errors field if non-nil, zero value otherwise.

GetErrorsOk

func (o *ListSourcesResponse) GetErrorsOk() (*[]Error, bool)

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

SetErrors

func (o *ListSourcesResponse) SetErrors(v []Error)

SetErrors sets Errors field to given value.

HasErrors

func (o *ListSourcesResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

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