Skip to content

Latest commit

 

History

History
202 lines (109 loc) · 6.06 KB

ChangeWidgetDefinition.md

File metadata and controls

202 lines (109 loc) · 6.06 KB

ChangeWidgetDefinition

Properties

Name Type Description Notes
CustomLinks Pointer to []WidgetCustomLink List of custom links. [optional]
Requests []ChangeWidgetRequest Array of one request object to display in the widget. See the dedicated Request JSON schema documentation to learn how to build the `REQUEST_SCHEMA`.
Time Pointer to WidgetTime [optional]
Title Pointer to string Title of the widget. [optional]
TitleAlign Pointer to WidgetTextAlign [optional]
TitleSize Pointer to string Size of the title. [optional]
Type ChangeWidgetDefinitionType [default to CHANGEWIDGETDEFINITIONTYPE_CHANGE]

Methods

NewChangeWidgetDefinition

func NewChangeWidgetDefinition(requests []ChangeWidgetRequest, type_ ChangeWidgetDefinitionType) *ChangeWidgetDefinition

NewChangeWidgetDefinition instantiates a new ChangeWidgetDefinition 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.

NewChangeWidgetDefinitionWithDefaults

func NewChangeWidgetDefinitionWithDefaults() *ChangeWidgetDefinition

NewChangeWidgetDefinitionWithDefaults instantiates a new ChangeWidgetDefinition 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.

GetCustomLinks

func (o *ChangeWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field if non-nil, zero value otherwise.

GetCustomLinksOk

func (o *ChangeWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

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

SetCustomLinks

func (o *ChangeWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks sets CustomLinks field to given value.

HasCustomLinks

func (o *ChangeWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

GetRequests

func (o *ChangeWidgetDefinition) GetRequests() []ChangeWidgetRequest

GetRequests returns the Requests field if non-nil, zero value otherwise.

GetRequestsOk

func (o *ChangeWidgetDefinition) GetRequestsOk() (*[]ChangeWidgetRequest, bool)

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

SetRequests

func (o *ChangeWidgetDefinition) SetRequests(v []ChangeWidgetRequest)

SetRequests sets Requests field to given value.

GetTime

func (o *ChangeWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

GetTimeOk

func (o *ChangeWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

SetTime

func (o *ChangeWidgetDefinition) SetTime(v WidgetTime)

SetTime sets Time field to given value.

HasTime

func (o *ChangeWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

GetTitle

func (o *ChangeWidgetDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *ChangeWidgetDefinition) GetTitleOk() (*string, bool)

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

SetTitle

func (o *ChangeWidgetDefinition) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *ChangeWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetTitleAlign

func (o *ChangeWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

GetTitleAlignOk

func (o *ChangeWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

SetTitleAlign

func (o *ChangeWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign sets TitleAlign field to given value.

HasTitleAlign

func (o *ChangeWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

GetTitleSize

func (o *ChangeWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

GetTitleSizeOk

func (o *ChangeWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

SetTitleSize

func (o *ChangeWidgetDefinition) SetTitleSize(v string)

SetTitleSize sets TitleSize field to given value.

HasTitleSize

func (o *ChangeWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

GetType

func (o *ChangeWidgetDefinition) GetType() ChangeWidgetDefinitionType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *ChangeWidgetDefinition) GetTypeOk() (*ChangeWidgetDefinitionType, 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.

SetType

func (o *ChangeWidgetDefinition) SetType(v ChangeWidgetDefinitionType)

SetType sets Type field to given value.

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