GoodMem
ReferenceClient SDKsGo SDKModels

ImageInfo Model

ImageInfo Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
WidthPxint32Rendered image width in pixels
HeightPxint32Rendered image height in pixels
Dpiint32Rendering DPI

Methods

NewImageInfo

func NewImageInfo(widthPx int32, heightPx int32, dpi int32, ) *ImageInfo

NewImageInfo instantiates a new ImageInfo 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

NewImageInfoWithDefaults

func NewImageInfoWithDefaults() *ImageInfo

NewImageInfoWithDefaults instantiates a new ImageInfo 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

GetWidthPx

func (o *ImageInfo) GetWidthPx() int32

GetWidthPx returns the WidthPx field if non-nil, zero value otherwise.

GetWidthPxOk

func (o *ImageInfo) GetWidthPxOk() (*int32, bool)

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

SetWidthPx

func (o *ImageInfo) SetWidthPx(v int32)

SetWidthPx sets WidthPx field to given value.

GetHeightPx

func (o *ImageInfo) GetHeightPx() int32

GetHeightPx returns the HeightPx field if non-nil, zero value otherwise.

GetHeightPxOk

func (o *ImageInfo) GetHeightPxOk() (*int32, bool)

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

SetHeightPx

func (o *ImageInfo) SetHeightPx(v int32)

SetHeightPx sets HeightPx field to given value.

GetDpi

func (o *ImageInfo) GetDpi() int32

GetDpi returns the Dpi field if non-nil, zero value otherwise.

GetDpiOk

func (o *ImageInfo) GetDpiOk() (*int32, bool)

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

SetDpi

func (o *ImageInfo) SetDpi(v int32)

SetDpi sets Dpi field to given value.

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK