3.3 KiB
WorldFilters
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Keywords | Pointer to []string | Keywords keeps only items whose TITLE contains one of these, case-insensitively. They are also the GDELT queries the feed fans out to, one per keyword of three characters or more — so a keyword both widens what is fetched and narrows what is kept. | [optional] |
| Regions | Pointer to []string | Regions keeps only items whose TITLE contains one of these, matched case-insensitively as a substring. Empty keeps every region. | [optional] |
| Sources | Pointer to []string | Sources keeps only items whose outlet name contains one of these, case-insensitively. Empty keeps every outlet. | [optional] |
Methods
NewWorldFilters
func NewWorldFilters() *WorldFilters
NewWorldFilters instantiates a new WorldFilters 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
NewWorldFiltersWithDefaults
func NewWorldFiltersWithDefaults() *WorldFilters
NewWorldFiltersWithDefaults instantiates a new WorldFilters 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
GetKeywords
func (o *WorldFilters) GetKeywords() []string
GetKeywords returns the Keywords field if non-nil, zero value otherwise.
GetKeywordsOk
func (o *WorldFilters) GetKeywordsOk() (*[]string, bool)
GetKeywordsOk returns a tuple with the Keywords field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetKeywords
func (o *WorldFilters) SetKeywords(v []string)
SetKeywords sets Keywords field to given value.
HasKeywords
func (o *WorldFilters) HasKeywords() bool
HasKeywords returns a boolean if a field has been set.
GetRegions
func (o *WorldFilters) GetRegions() []string
GetRegions returns the Regions field if non-nil, zero value otherwise.
GetRegionsOk
func (o *WorldFilters) GetRegionsOk() (*[]string, bool)
GetRegionsOk returns a tuple with the Regions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRegions
func (o *WorldFilters) SetRegions(v []string)
SetRegions sets Regions field to given value.
HasRegions
func (o *WorldFilters) HasRegions() bool
HasRegions returns a boolean if a field has been set.
GetSources
func (o *WorldFilters) GetSources() []string
GetSources returns the Sources field if non-nil, zero value otherwise.
GetSourcesOk
func (o *WorldFilters) GetSourcesOk() (*[]string, bool)
GetSourcesOk returns a tuple with the Sources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSources
func (o *WorldFilters) SetSources(v []string)
SetSources sets Sources field to given value.
HasSources
func (o *WorldFilters) HasSources() bool
HasSources returns a boolean if a field has been set.