Name | Type | Description | Notes |
---|---|---|---|
HasBackground | Pointer to bool | Whether to display a background or not. | [optional] [default to true] |
HasBorder | Pointer to bool | Whether to display a border or not. | [optional] [default to true] |
HorizontalAlign | Pointer to WidgetHorizontalAlign | [optional] | |
Margin | Pointer to WidgetMargin | [optional] | |
Sizing | Pointer to WidgetImageSizing | [optional] | |
Type | ImageWidgetDefinitionType | [default to IMAGEWIDGETDEFINITIONTYPE_IMAGE] | |
Url | string | URL of the image. | |
UrlDarkTheme | Pointer to string | URL of the image in dark mode. | [optional] |
VerticalAlign | Pointer to WidgetVerticalAlign | [optional] |
func NewImageWidgetDefinition(type_ ImageWidgetDefinitionType, url string, ) *ImageWidgetDefinition
NewImageWidgetDefinition instantiates a new ImageWidgetDefinition 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 NewImageWidgetDefinitionWithDefaults() *ImageWidgetDefinition
NewImageWidgetDefinitionWithDefaults instantiates a new ImageWidgetDefinition 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 *ImageWidgetDefinition) GetHasBackground() bool
GetHasBackground returns the HasBackground field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetHasBackgroundOk() (*bool, bool)
GetHasBackgroundOk returns a tuple with the HasBackground field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetHasBackground(v bool)
SetHasBackground sets HasBackground field to given value.
func (o *ImageWidgetDefinition) HasHasBackground() bool
HasHasBackground returns a boolean if a field has been set.
func (o *ImageWidgetDefinition) GetHasBorder() bool
GetHasBorder returns the HasBorder field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetHasBorderOk() (*bool, bool)
GetHasBorderOk returns a tuple with the HasBorder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetHasBorder(v bool)
SetHasBorder sets HasBorder field to given value.
func (o *ImageWidgetDefinition) HasHasBorder() bool
HasHasBorder returns a boolean if a field has been set.
func (o *ImageWidgetDefinition) GetHorizontalAlign() WidgetHorizontalAlign
GetHorizontalAlign returns the HorizontalAlign field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetHorizontalAlignOk() (*WidgetHorizontalAlign, bool)
GetHorizontalAlignOk returns a tuple with the HorizontalAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetHorizontalAlign(v WidgetHorizontalAlign)
SetHorizontalAlign sets HorizontalAlign field to given value.
func (o *ImageWidgetDefinition) HasHorizontalAlign() bool
HasHorizontalAlign returns a boolean if a field has been set.
func (o *ImageWidgetDefinition) GetMargin() WidgetMargin
GetMargin returns the Margin field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetMarginOk() (*WidgetMargin, bool)
GetMarginOk returns a tuple with the Margin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetMargin(v WidgetMargin)
SetMargin sets Margin field to given value.
func (o *ImageWidgetDefinition) HasMargin() bool
HasMargin returns a boolean if a field has been set.
func (o *ImageWidgetDefinition) GetSizing() WidgetImageSizing
GetSizing returns the Sizing field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetSizingOk() (*WidgetImageSizing, bool)
GetSizingOk returns a tuple with the Sizing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetSizing(v WidgetImageSizing)
SetSizing sets Sizing field to given value.
func (o *ImageWidgetDefinition) HasSizing() bool
HasSizing returns a boolean if a field has been set.
func (o *ImageWidgetDefinition) GetType() ImageWidgetDefinitionType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetTypeOk() (*ImageWidgetDefinitionType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetType(v ImageWidgetDefinitionType)
SetType sets Type field to given value.
func (o *ImageWidgetDefinition) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *ImageWidgetDefinition) GetUrlDarkTheme() string
GetUrlDarkTheme returns the UrlDarkTheme field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetUrlDarkThemeOk() (*string, bool)
GetUrlDarkThemeOk returns a tuple with the UrlDarkTheme field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetUrlDarkTheme(v string)
SetUrlDarkTheme sets UrlDarkTheme field to given value.
func (o *ImageWidgetDefinition) HasUrlDarkTheme() bool
HasUrlDarkTheme returns a boolean if a field has been set.
func (o *ImageWidgetDefinition) GetVerticalAlign() WidgetVerticalAlign
GetVerticalAlign returns the VerticalAlign field if non-nil, zero value otherwise.
func (o *ImageWidgetDefinition) GetVerticalAlignOk() (*WidgetVerticalAlign, bool)
GetVerticalAlignOk returns a tuple with the VerticalAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ImageWidgetDefinition) SetVerticalAlign(v WidgetVerticalAlign)
SetVerticalAlign sets VerticalAlign field to given value.
func (o *ImageWidgetDefinition) HasVerticalAlign() bool
HasVerticalAlign returns a boolean if a field has been set.