Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5.35 KB

PatchedInventoryItemRoleRequest.md

File metadata and controls

186 lines (101 loc) · 5.35 KB

PatchedInventoryItemRoleRequest

Properties

Name Type Description Notes
Name Pointer to string [optional]
Slug Pointer to string [optional]
Color Pointer to string [optional]
Description Pointer to string [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewPatchedInventoryItemRoleRequest

func NewPatchedInventoryItemRoleRequest() *PatchedInventoryItemRoleRequest

NewPatchedInventoryItemRoleRequest instantiates a new PatchedInventoryItemRoleRequest 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

NewPatchedInventoryItemRoleRequestWithDefaults

func NewPatchedInventoryItemRoleRequestWithDefaults() *PatchedInventoryItemRoleRequest

NewPatchedInventoryItemRoleRequestWithDefaults instantiates a new PatchedInventoryItemRoleRequest 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

GetName

func (o *PatchedInventoryItemRoleRequest) GetName() string

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

GetNameOk

func (o *PatchedInventoryItemRoleRequest) 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 *PatchedInventoryItemRoleRequest) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PatchedInventoryItemRoleRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetSlug

func (o *PatchedInventoryItemRoleRequest) GetSlug() string

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

GetSlugOk

func (o *PatchedInventoryItemRoleRequest) 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 *PatchedInventoryItemRoleRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

HasSlug

func (o *PatchedInventoryItemRoleRequest) HasSlug() bool

HasSlug returns a boolean if a field has been set.

GetColor

func (o *PatchedInventoryItemRoleRequest) GetColor() string

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

GetColorOk

func (o *PatchedInventoryItemRoleRequest) 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 *PatchedInventoryItemRoleRequest) SetColor(v string)

SetColor sets Color field to given value.

HasColor

func (o *PatchedInventoryItemRoleRequest) HasColor() bool

HasColor returns a boolean if a field has been set.

GetDescription

func (o *PatchedInventoryItemRoleRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *PatchedInventoryItemRoleRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

func (o *PatchedInventoryItemRoleRequest) GetTags() []NestedTagRequest

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

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

SetTags

func (o *PatchedInventoryItemRoleRequest) SetTags(v []NestedTagRequest)

SetTags sets Tags field to given value.

HasTags

func (o *PatchedInventoryItemRoleRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

func (o *PatchedInventoryItemRoleRequest) 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 *PatchedInventoryItemRoleRequest) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *PatchedInventoryItemRoleRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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