Skip to content

Latest commit

 

History

History
140 lines (75 loc) · 3.87 KB

BrowserWindowDimensions.md

File metadata and controls

140 lines (75 loc) · 3.87 KB

BrowserWindowDimensions

Properties

Name Type Description Notes
IsMobile bool
Width int32
Height int32
PixelRatio int32
MobileDevice Pointer to string [optional]

Methods

NewBrowserWindowDimensions

func NewBrowserWindowDimensions(isMobile bool, width int32, height int32, pixelRatio int32, ) *BrowserWindowDimensions

NewBrowserWindowDimensions instantiates a new BrowserWindowDimensions 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

NewBrowserWindowDimensionsWithDefaults

func NewBrowserWindowDimensionsWithDefaults() *BrowserWindowDimensions

NewBrowserWindowDimensionsWithDefaults instantiates a new BrowserWindowDimensions 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

GetIsMobile

func (o *BrowserWindowDimensions) GetIsMobile() bool

GetIsMobile returns the IsMobile field if non-nil, zero value otherwise.

GetIsMobileOk

func (o *BrowserWindowDimensions) GetIsMobileOk() (*bool, bool)

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

SetIsMobile

func (o *BrowserWindowDimensions) SetIsMobile(v bool)

SetIsMobile sets IsMobile field to given value.

GetWidth

func (o *BrowserWindowDimensions) GetWidth() int32

GetWidth returns the Width field if non-nil, zero value otherwise.

GetWidthOk

func (o *BrowserWindowDimensions) GetWidthOk() (*int32, bool)

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

SetWidth

func (o *BrowserWindowDimensions) SetWidth(v int32)

SetWidth sets Width field to given value.

GetHeight

func (o *BrowserWindowDimensions) GetHeight() int32

GetHeight returns the Height field if non-nil, zero value otherwise.

GetHeightOk

func (o *BrowserWindowDimensions) GetHeightOk() (*int32, bool)

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

SetHeight

func (o *BrowserWindowDimensions) SetHeight(v int32)

SetHeight sets Height field to given value.

GetPixelRatio

func (o *BrowserWindowDimensions) GetPixelRatio() int32

GetPixelRatio returns the PixelRatio field if non-nil, zero value otherwise.

GetPixelRatioOk

func (o *BrowserWindowDimensions) GetPixelRatioOk() (*int32, bool)

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

SetPixelRatio

func (o *BrowserWindowDimensions) SetPixelRatio(v int32)

SetPixelRatio sets PixelRatio field to given value.

GetMobileDevice

func (o *BrowserWindowDimensions) GetMobileDevice() string

GetMobileDevice returns the MobileDevice field if non-nil, zero value otherwise.

GetMobileDeviceOk

func (o *BrowserWindowDimensions) GetMobileDeviceOk() (*string, bool)

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

SetMobileDevice

func (o *BrowserWindowDimensions) SetMobileDevice(v string)

SetMobileDevice sets MobileDevice field to given value.

HasMobileDevice

func (o *BrowserWindowDimensions) HasMobileDevice() bool

HasMobileDevice returns a boolean if a field has been set.

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