Skip to content

Latest commit

 

History

History
264 lines (143 loc) · 8.11 KB

FilterBy.md

File metadata and controls

264 lines (143 loc) · 8.11 KB

FilterBy

Properties

Name Type Description Notes
MediaId Pointer to []string Returns analytics based on the unique identifiers of a video or a live stream. [optional]
MediaType Pointer to string [optional]
Continent Pointer to []string Returns analytics based on the viewers' continent. The list of supported continents names are based on the GeoNames public database. You must use the ISO-3166 alpha2 format, for example `EU`. [optional]
Country Pointer to []string Returns analytics based on the viewers' country. The list of supported country names are based on the GeoNames public database. You must use the ISO-3166 alpha2 format, for example `FR`. [optional]
DeviceType Pointer to []string Returns analytics based on the type of device used by the viewers. Response values can include: `computer`, `phone`, `tablet`, `tv`, `console`, `wearable`, `unknown`. [optional]
OperatingSystem Pointer to []string Returns analytics based on the operating system used by the viewers. Response values can include `windows`, `mac osx`, `android`, `ios`, `linux`. [optional]
Browser Pointer to []string Returns analytics based on the browser used by the viewers. Response values can include `chrome`, `firefox`, `edge`, `opera`. [optional]
Tag Pointer to string Returns analytics for videos using this tag. This filter only accepts a single value and is case sensitive. Read more about tagging your videos here. [optional]
Referrer Pointer to []string Filters data based on the URL where the view is originating from. This filter parameter accepts an empty string to filter view events where no referrer is available. - The API filters for exact matches. Include the trailing `/` characters if needed. - The URLs you add must be URL encoded. [optional]

Methods

NewFilterBy

func NewFilterBy() *FilterBy

NewFilterBy instantiates a new FilterBy 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

NewFilterByWithDefaults

func NewFilterByWithDefaults() *FilterBy

NewFilterByWithDefaults instantiates a new FilterBy 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

GetMediaId

func (o *FilterBy) GetMediaId() []string

GetMediaId returns the MediaId field if non-nil, zero value otherwise.

GetMediaIdOk

func (o *FilterBy) GetMediaIdOk() (*[]string, bool)

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

SetMediaId

func (o *FilterBy) SetMediaId(v []string)

SetMediaId sets MediaId field to given value.

HasMediaId

func (o *FilterBy) HasMediaId() bool

HasMediaId returns a boolean if a field has been set.

GetMediaType

func (o *FilterBy) GetMediaType() string

GetMediaType returns the MediaType field if non-nil, zero value otherwise.

GetMediaTypeOk

func (o *FilterBy) GetMediaTypeOk() (*string, bool)

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

SetMediaType

func (o *FilterBy) SetMediaType(v string)

SetMediaType sets MediaType field to given value.

HasMediaType

func (o *FilterBy) HasMediaType() bool

HasMediaType returns a boolean if a field has been set.

GetContinent

func (o *FilterBy) GetContinent() []string

GetContinent returns the Continent field if non-nil, zero value otherwise.

GetContinentOk

func (o *FilterBy) GetContinentOk() (*[]string, bool)

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

SetContinent

func (o *FilterBy) SetContinent(v []string)

SetContinent sets Continent field to given value.

HasContinent

func (o *FilterBy) HasContinent() bool

HasContinent returns a boolean if a field has been set.

GetCountry

func (o *FilterBy) GetCountry() []string

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

func (o *FilterBy) GetCountryOk() (*[]string, bool)

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

SetCountry

func (o *FilterBy) SetCountry(v []string)

SetCountry sets Country field to given value.

HasCountry

func (o *FilterBy) HasCountry() bool

HasCountry returns a boolean if a field has been set.

GetDeviceType

func (o *FilterBy) GetDeviceType() []string

GetDeviceType returns the DeviceType field if non-nil, zero value otherwise.

GetDeviceTypeOk

func (o *FilterBy) GetDeviceTypeOk() (*[]string, bool)

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

SetDeviceType

func (o *FilterBy) SetDeviceType(v []string)

SetDeviceType sets DeviceType field to given value.

HasDeviceType

func (o *FilterBy) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

GetOperatingSystem

func (o *FilterBy) GetOperatingSystem() []string

GetOperatingSystem returns the OperatingSystem field if non-nil, zero value otherwise.

GetOperatingSystemOk

func (o *FilterBy) GetOperatingSystemOk() (*[]string, bool)

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

SetOperatingSystem

func (o *FilterBy) SetOperatingSystem(v []string)

SetOperatingSystem sets OperatingSystem field to given value.

HasOperatingSystem

func (o *FilterBy) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

GetBrowser

func (o *FilterBy) GetBrowser() []string

GetBrowser returns the Browser field if non-nil, zero value otherwise.

GetBrowserOk

func (o *FilterBy) GetBrowserOk() (*[]string, bool)

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

SetBrowser

func (o *FilterBy) SetBrowser(v []string)

SetBrowser sets Browser field to given value.

HasBrowser

func (o *FilterBy) HasBrowser() bool

HasBrowser returns a boolean if a field has been set.

GetTag

func (o *FilterBy) GetTag() string

GetTag returns the Tag field if non-nil, zero value otherwise.

GetTagOk

func (o *FilterBy) GetTagOk() (*string, bool)

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

SetTag

func (o *FilterBy) SetTag(v string)

SetTag sets Tag field to given value.

HasTag

func (o *FilterBy) HasTag() bool

HasTag returns a boolean if a field has been set.

GetReferrer

func (o *FilterBy) GetReferrer() []string

GetReferrer returns the Referrer field if non-nil, zero value otherwise.

GetReferrerOk

func (o *FilterBy) GetReferrerOk() (*[]string, bool)

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

SetReferrer

func (o *FilterBy) SetReferrer(v []string)

SetReferrer sets Referrer field to given value.

HasReferrer

func (o *FilterBy) HasReferrer() bool

HasReferrer returns a boolean if a field has been set.

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