Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.24 KB

Module.md

File metadata and controls

135 lines (72 loc) · 3.24 KB

Module

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Device Device
ModuleBay NestedModuleBay

Methods

NewModule

func NewModule(id int32, url string, display string, device Device, moduleBay NestedModuleBay, ) *Module

NewModule instantiates a new Module 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

NewModuleWithDefaults

func NewModuleWithDefaults() *Module

NewModuleWithDefaults instantiates a new Module 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

GetId

func (o *Module) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Module) GetIdOk() (*int32, 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.

SetId

func (o *Module) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *Module) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *Module) 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.

SetUrl

func (o *Module) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *Module) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

func (o *Module) GetDisplayOk() (*string, bool)

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

SetDisplay

func (o *Module) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetDevice

func (o *Module) GetDevice() Device

GetDevice returns the Device field if non-nil, zero value otherwise.

GetDeviceOk

func (o *Module) GetDeviceOk() (*Device, bool)

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

SetDevice

func (o *Module) SetDevice(v Device)

SetDevice sets Device field to given value.

GetModuleBay

func (o *Module) GetModuleBay() NestedModuleBay

GetModuleBay returns the ModuleBay field if non-nil, zero value otherwise.

GetModuleBayOk

func (o *Module) GetModuleBayOk() (*NestedModuleBay, bool)

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

SetModuleBay

func (o *Module) SetModuleBay(v NestedModuleBay)

SetModuleBay sets ModuleBay field to given value.

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