Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 3.24 KB

MobileEmulationDeviceMetrics.md

File metadata and controls

114 lines (61 loc) · 3.24 KB

MobileEmulationDeviceMetrics

Properties

Name Type Description Notes
Width int32
Height int32
PixelRatio float32
Touch bool [default to true]

Methods

NewMobileEmulationDeviceMetrics

func NewMobileEmulationDeviceMetrics(width int32, height int32, pixelRatio float32, touch bool, ) *MobileEmulationDeviceMetrics

NewMobileEmulationDeviceMetrics instantiates a new MobileEmulationDeviceMetrics 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

NewMobileEmulationDeviceMetricsWithDefaults

func NewMobileEmulationDeviceMetricsWithDefaults() *MobileEmulationDeviceMetrics

NewMobileEmulationDeviceMetricsWithDefaults instantiates a new MobileEmulationDeviceMetrics 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

GetWidth

func (o *MobileEmulationDeviceMetrics) GetWidth() int32

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

GetWidthOk

func (o *MobileEmulationDeviceMetrics) 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 *MobileEmulationDeviceMetrics) SetWidth(v int32)

SetWidth sets Width field to given value.

GetHeight

func (o *MobileEmulationDeviceMetrics) GetHeight() int32

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

GetHeightOk

func (o *MobileEmulationDeviceMetrics) 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 *MobileEmulationDeviceMetrics) SetHeight(v int32)

SetHeight sets Height field to given value.

GetPixelRatio

func (o *MobileEmulationDeviceMetrics) GetPixelRatio() float32

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

GetPixelRatioOk

func (o *MobileEmulationDeviceMetrics) GetPixelRatioOk() (*float32, 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 *MobileEmulationDeviceMetrics) SetPixelRatio(v float32)

SetPixelRatio sets PixelRatio field to given value.

GetTouch

func (o *MobileEmulationDeviceMetrics) GetTouch() bool

GetTouch returns the Touch field if non-nil, zero value otherwise.

GetTouchOk

func (o *MobileEmulationDeviceMetrics) GetTouchOk() (*bool, bool)

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

SetTouch

func (o *MobileEmulationDeviceMetrics) SetTouch(v bool)

SetTouch sets Touch field to given value.

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