Name | Type | Description | Notes |
---|---|---|---|
Definition | WidgetDefinition | ||
Id | Pointer to int64 | ID of the widget. | [optional] |
Layout | Pointer to WidgetLayout | [optional] |
func NewWidget(definition WidgetDefinition, ) *Widget
NewWidget instantiates a new Widget 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 NewWidgetWithDefaults() *Widget
NewWidgetWithDefaults instantiates a new Widget 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 *Widget) GetDefinition() WidgetDefinition
GetDefinition returns the Definition field if non-nil, zero value otherwise.
func (o *Widget) GetDefinitionOk() (*WidgetDefinition, bool)
GetDefinitionOk returns a tuple with the Definition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Widget) SetDefinition(v WidgetDefinition)
SetDefinition sets Definition field to given value.
func (o *Widget) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Widget) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Widget) SetId(v int64)
SetId sets Id field to given value.
func (o *Widget) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Widget) GetLayout() WidgetLayout
GetLayout returns the Layout field if non-nil, zero value otherwise.
func (o *Widget) GetLayoutOk() (*WidgetLayout, bool)
GetLayoutOk returns a tuple with the Layout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Widget) SetLayout(v WidgetLayout)
SetLayout sets Layout field to given value.
func (o *Widget) HasLayout() bool
HasLayout returns a boolean if a field has been set.