Name | Type | Description | Notes |
---|---|---|---|
CustomLinks | Pointer to []WidgetCustomLink | List of custom links. | [optional] |
Requests | []ToplistWidgetRequest | List of top list widget requests. | |
Time | Pointer to WidgetTime | [optional] | |
Title | Pointer to string | Title of your widget. | [optional] |
TitleAlign | Pointer to WidgetTextAlign | [optional] | |
TitleSize | Pointer to string | Size of the title. | [optional] |
Type | ToplistWidgetDefinitionType | [default to TOPLISTWIDGETDEFINITIONTYPE_TOPLIST] |
func NewToplistWidgetDefinition(requests []ToplistWidgetRequest, type_ ToplistWidgetDefinitionType) *ToplistWidgetDefinition
NewToplistWidgetDefinition instantiates a new ToplistWidgetDefinition 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 NewToplistWidgetDefinitionWithDefaults() *ToplistWidgetDefinition
NewToplistWidgetDefinitionWithDefaults instantiates a new ToplistWidgetDefinition 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 *ToplistWidgetDefinition) GetCustomLinks() []WidgetCustomLink
GetCustomLinks returns the CustomLinks field if non-nil, zero value otherwise.
func (o *ToplistWidgetDefinition) 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.
func (o *ToplistWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)
SetCustomLinks sets CustomLinks field to given value.
func (o *ToplistWidgetDefinition) HasCustomLinks() bool
HasCustomLinks returns a boolean if a field has been set.
func (o *ToplistWidgetDefinition) GetRequests() []ToplistWidgetRequest
GetRequests returns the Requests field if non-nil, zero value otherwise.
func (o *ToplistWidgetDefinition) GetRequestsOk() (*[]ToplistWidgetRequest, 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.
func (o *ToplistWidgetDefinition) SetRequests(v []ToplistWidgetRequest)
SetRequests sets Requests field to given value.
func (o *ToplistWidgetDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (o *ToplistWidgetDefinition) 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.
func (o *ToplistWidgetDefinition) SetTime(v WidgetTime)
SetTime sets Time field to given value.
func (o *ToplistWidgetDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (o *ToplistWidgetDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *ToplistWidgetDefinition) 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.
func (o *ToplistWidgetDefinition) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *ToplistWidgetDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *ToplistWidgetDefinition) GetTitleAlign() WidgetTextAlign
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (o *ToplistWidgetDefinition) 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.
func (o *ToplistWidgetDefinition) SetTitleAlign(v WidgetTextAlign)
SetTitleAlign sets TitleAlign field to given value.
func (o *ToplistWidgetDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (o *ToplistWidgetDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (o *ToplistWidgetDefinition) 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.
func (o *ToplistWidgetDefinition) SetTitleSize(v string)
SetTitleSize sets TitleSize field to given value.
func (o *ToplistWidgetDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (o *ToplistWidgetDefinition) GetType() ToplistWidgetDefinitionType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ToplistWidgetDefinition) GetTypeOk() (*ToplistWidgetDefinitionType, 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 *ToplistWidgetDefinition) SetType(v ToplistWidgetDefinitionType)
SetType sets Type field to given value.