Name | Type | Description | Notes |
---|---|---|---|
Width | int32 | ||
Height | int32 | ||
PixelRatio | float32 | ||
Touch | bool | [default to true] |
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
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
func (o *MobileEmulationDeviceMetrics) GetWidth() int32
GetWidth returns the Width field if non-nil, zero value otherwise.
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.
func (o *MobileEmulationDeviceMetrics) SetWidth(v int32)
SetWidth sets Width field to given value.
func (o *MobileEmulationDeviceMetrics) GetHeight() int32
GetHeight returns the Height field if non-nil, zero value otherwise.
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.
func (o *MobileEmulationDeviceMetrics) SetHeight(v int32)
SetHeight sets Height field to given value.
func (o *MobileEmulationDeviceMetrics) GetPixelRatio() float32
GetPixelRatio returns the PixelRatio field if non-nil, zero value otherwise.
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.
func (o *MobileEmulationDeviceMetrics) SetPixelRatio(v float32)
SetPixelRatio sets PixelRatio field to given value.
func (o *MobileEmulationDeviceMetrics) GetTouch() bool
GetTouch returns the Touch field if non-nil, zero value otherwise.
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.
func (o *MobileEmulationDeviceMetrics) SetTouch(v bool)
SetTouch sets Touch field to given value.