Name | Type | Description | Notes |
---|---|---|---|
Site | int32 | ||
Location | Pointer to NullableInt32 | [optional] | |
Name | string | ||
Description | Pointer to string | [optional] | |
Comments | Pointer to string | [optional] | |
Tags | Pointer to []NestedTagRequest | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] |
func NewWritablePowerPanelRequest(site int32, name string, ) *WritablePowerPanelRequest
NewWritablePowerPanelRequest instantiates a new WritablePowerPanelRequest 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 NewWritablePowerPanelRequestWithDefaults() *WritablePowerPanelRequest
NewWritablePowerPanelRequestWithDefaults instantiates a new WritablePowerPanelRequest 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 *WritablePowerPanelRequest) GetSite() int32
GetSite returns the Site field if non-nil, zero value otherwise.
func (o *WritablePowerPanelRequest) GetSiteOk() (*int32, bool)
GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritablePowerPanelRequest) SetSite(v int32)
SetSite sets Site field to given value.
func (o *WritablePowerPanelRequest) GetLocation() int32
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *WritablePowerPanelRequest) GetLocationOk() (*int32, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritablePowerPanelRequest) SetLocation(v int32)
SetLocation sets Location field to given value.
func (o *WritablePowerPanelRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *WritablePowerPanelRequest) SetLocationNil(b bool)
SetLocationNil sets the value for Location to be an explicit nil
func (o *WritablePowerPanelRequest) UnsetLocation()
UnsetLocation ensures that no value is present for Location, not even an explicit nil
func (o *WritablePowerPanelRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *WritablePowerPanelRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritablePowerPanelRequest) SetName(v string)
SetName sets Name field to given value.
func (o *WritablePowerPanelRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *WritablePowerPanelRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritablePowerPanelRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *WritablePowerPanelRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *WritablePowerPanelRequest) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
func (o *WritablePowerPanelRequest) GetCommentsOk() (*string, bool)
GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritablePowerPanelRequest) SetComments(v string)
SetComments sets Comments field to given value.
func (o *WritablePowerPanelRequest) HasComments() bool
HasComments returns a boolean if a field has been set.
func (o *WritablePowerPanelRequest) GetTags() []NestedTagRequest
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *WritablePowerPanelRequest) GetTagsOk() (*[]NestedTagRequest, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritablePowerPanelRequest) SetTags(v []NestedTagRequest)
SetTags sets Tags field to given value.
func (o *WritablePowerPanelRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *WritablePowerPanelRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *WritablePowerPanelRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)
GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WritablePowerPanelRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *WritablePowerPanelRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.