Files
sdk/docs/WorldNewsResponse.md

1.8 KiB

WorldNewsResponse

Properties

Name Type Description Notes
Items Pointer to []WorldNewsItem Items is the merged, filtered, deduped feed, freshest first and capped at 50. A source that failed is skipped rather than failing the read, so this can be shorter than the pipeline's reach — it is never an error. [optional]

Methods

NewWorldNewsResponse

func NewWorldNewsResponse() *WorldNewsResponse

NewWorldNewsResponse instantiates a new WorldNewsResponse 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

NewWorldNewsResponseWithDefaults

func NewWorldNewsResponseWithDefaults() *WorldNewsResponse

NewWorldNewsResponseWithDefaults instantiates a new WorldNewsResponse 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 *WorldNewsResponse) GetItems() []WorldNewsItem

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

GetItemsOk

func (o *WorldNewsResponse) GetItemsOk() (*[]WorldNewsItem, 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 *WorldNewsResponse) SetItems(v []WorldNewsItem)

SetItems sets Items field to given value.

HasItems

func (o *WorldNewsResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

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