Skip to content

Files

Latest commit

author
Víctor Díaz Marco
May 31, 2024
310bff3 · May 31, 2024

History

History
161 lines (86 loc) · 4.01 KB

ModuleType.md

File metadata and controls

161 lines (86 loc) · 4.01 KB

ModuleType

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Manufacturer Manufacturer
Model string
Description Pointer to string [optional]

Methods

NewModuleType

func NewModuleType(id int32, url string, display string, manufacturer Manufacturer, model string, ) *ModuleType

NewModuleType instantiates a new ModuleType 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

NewModuleTypeWithDefaults

func NewModuleTypeWithDefaults() *ModuleType

NewModuleTypeWithDefaults instantiates a new ModuleType 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 *ModuleType) GetId() int32

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

GetIdOk

func (o *ModuleType) 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 *ModuleType) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *ModuleType) GetUrl() string

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

GetUrlOk

func (o *ModuleType) 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 *ModuleType) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *ModuleType) GetDisplay() string

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

GetDisplayOk

func (o *ModuleType) 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 *ModuleType) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetManufacturer

func (o *ModuleType) GetManufacturer() Manufacturer

GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise.

GetManufacturerOk

func (o *ModuleType) GetManufacturerOk() (*Manufacturer, bool)

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

SetManufacturer

func (o *ModuleType) SetManufacturer(v Manufacturer)

SetManufacturer sets Manufacturer field to given value.

GetModel

func (o *ModuleType) GetModel() string

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

func (o *ModuleType) GetModelOk() (*string, bool)

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

SetModel

func (o *ModuleType) SetModel(v string)

SetModel sets Model field to given value.

GetDescription

func (o *ModuleType) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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

SetDescription

func (o *ModuleType) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ModuleType) HasDescription() bool

HasDescription returns a boolean if a field has been set.

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