Skip to content

Latest commit

 

History

History
368 lines (199 loc) · 9.57 KB

PatchedDeviceRole.md

File metadata and controls

368 lines (199 loc) · 9.57 KB

PatchedDeviceRole

Properties

Name Type Description Notes
Id Pointer to string [optional] [readonly]
Url Pointer to string [optional] [readonly]
Name Pointer to string [optional]
Slug Pointer to string [optional]
Color Pointer to string [optional]
VmRole Pointer to bool Virtual machines may be assigned to this role [optional]
Description Pointer to string [optional]
DeviceCount Pointer to int32 [optional] [readonly]
VirtualmachineCount Pointer to int32 [optional] [readonly]
CustomFields Pointer to map[string]interface{} [optional]
Created Pointer to string [optional] [readonly]
LastUpdated Pointer to time.Time [optional] [readonly]
Display Pointer to string Human friendly display value [optional] [readonly]

Methods

NewPatchedDeviceRole

func NewPatchedDeviceRole() *PatchedDeviceRole

NewPatchedDeviceRole instantiates a new PatchedDeviceRole 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

NewPatchedDeviceRoleWithDefaults

func NewPatchedDeviceRoleWithDefaults() *PatchedDeviceRole

NewPatchedDeviceRoleWithDefaults instantiates a new PatchedDeviceRole 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 *PatchedDeviceRole) GetId() string

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

GetIdOk

func (o *PatchedDeviceRole) GetIdOk() (*string, 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 *PatchedDeviceRole) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *PatchedDeviceRole) HasId() bool

HasId returns a boolean if a field has been set.

GetUrl

func (o *PatchedDeviceRole) GetUrl() string

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

GetUrlOk

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

SetUrl sets Url field to given value.

HasUrl

func (o *PatchedDeviceRole) HasUrl() bool

HasUrl returns a boolean if a field has been set.

GetName

func (o *PatchedDeviceRole) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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

SetName

func (o *PatchedDeviceRole) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PatchedDeviceRole) HasName() bool

HasName returns a boolean if a field has been set.

GetSlug

func (o *PatchedDeviceRole) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *PatchedDeviceRole) GetSlugOk() (*string, bool)

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

SetSlug

func (o *PatchedDeviceRole) SetSlug(v string)

SetSlug sets Slug field to given value.

HasSlug

func (o *PatchedDeviceRole) HasSlug() bool

HasSlug returns a boolean if a field has been set.

GetColor

func (o *PatchedDeviceRole) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

GetColorOk

func (o *PatchedDeviceRole) GetColorOk() (*string, bool)

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

SetColor

func (o *PatchedDeviceRole) SetColor(v string)

SetColor sets Color field to given value.

HasColor

func (o *PatchedDeviceRole) HasColor() bool

HasColor returns a boolean if a field has been set.

GetVmRole

func (o *PatchedDeviceRole) GetVmRole() bool

GetVmRole returns the VmRole field if non-nil, zero value otherwise.

GetVmRoleOk

func (o *PatchedDeviceRole) GetVmRoleOk() (*bool, bool)

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

SetVmRole

func (o *PatchedDeviceRole) SetVmRole(v bool)

SetVmRole sets VmRole field to given value.

HasVmRole

func (o *PatchedDeviceRole) HasVmRole() bool

HasVmRole returns a boolean if a field has been set.

GetDescription

func (o *PatchedDeviceRole) GetDescription() string

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

GetDescriptionOk

func (o *PatchedDeviceRole) 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 *PatchedDeviceRole) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *PatchedDeviceRole) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDeviceCount

func (o *PatchedDeviceRole) GetDeviceCount() int32

GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise.

GetDeviceCountOk

func (o *PatchedDeviceRole) GetDeviceCountOk() (*int32, bool)

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

SetDeviceCount

func (o *PatchedDeviceRole) SetDeviceCount(v int32)

SetDeviceCount sets DeviceCount field to given value.

HasDeviceCount

func (o *PatchedDeviceRole) HasDeviceCount() bool

HasDeviceCount returns a boolean if a field has been set.

GetVirtualmachineCount

func (o *PatchedDeviceRole) GetVirtualmachineCount() int32

GetVirtualmachineCount returns the VirtualmachineCount field if non-nil, zero value otherwise.

GetVirtualmachineCountOk

func (o *PatchedDeviceRole) GetVirtualmachineCountOk() (*int32, bool)

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

SetVirtualmachineCount

func (o *PatchedDeviceRole) SetVirtualmachineCount(v int32)

SetVirtualmachineCount sets VirtualmachineCount field to given value.

HasVirtualmachineCount

func (o *PatchedDeviceRole) HasVirtualmachineCount() bool

HasVirtualmachineCount returns a boolean if a field has been set.

GetCustomFields

func (o *PatchedDeviceRole) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

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

SetCustomFields

func (o *PatchedDeviceRole) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *PatchedDeviceRole) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

GetCreated

func (o *PatchedDeviceRole) GetCreated() string

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *PatchedDeviceRole) GetCreatedOk() (*string, bool)

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

SetCreated

func (o *PatchedDeviceRole) SetCreated(v string)

SetCreated sets Created field to given value.

HasCreated

func (o *PatchedDeviceRole) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetLastUpdated

func (o *PatchedDeviceRole) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.

GetLastUpdatedOk

func (o *PatchedDeviceRole) GetLastUpdatedOk() (*time.Time, bool)

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

SetLastUpdated

func (o *PatchedDeviceRole) SetLastUpdated(v time.Time)

SetLastUpdated sets LastUpdated field to given value.

HasLastUpdated

func (o *PatchedDeviceRole) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

GetDisplay

func (o *PatchedDeviceRole) GetDisplay() string

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

GetDisplayOk

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

SetDisplay sets Display field to given value.

HasDisplay

func (o *PatchedDeviceRole) HasDisplay() bool

HasDisplay returns a boolean if a field has been set.

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