GoodMem
ReferenceClient SDKsGoRequests

UpdateSpaceRequest

UpdateSpaceRequest documentation for Go SDK

Properties

NameTypeDescriptionNotes
NamePointer to NullableStringThe new name for the space.[optional]
PublicReadPointer to NullableBoolWhether the space is publicly readable by all users.[optional]
ReplaceLabelsPointer to map[string]stringLabels to replace all existing labels. Mutually exclusive with mergeLabels.[optional]
MergeLabelsPointer to map[string]stringLabels to merge with existing labels. Mutually exclusive with replaceLabels.[optional]

Methods

NewUpdateSpaceRequest

func NewUpdateSpaceRequest() *UpdateSpaceRequest

NewUpdateSpaceRequest instantiates a new UpdateSpaceRequest 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

NewUpdateSpaceRequestWithDefaults

func NewUpdateSpaceRequestWithDefaults() *UpdateSpaceRequest

NewUpdateSpaceRequestWithDefaults instantiates a new UpdateSpaceRequest 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 *UpdateSpaceRequest) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *UpdateSpaceRequest) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *UpdateSpaceRequest) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *UpdateSpaceRequest) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetPublicRead

func (o *UpdateSpaceRequest) GetPublicRead() bool

GetPublicRead returns the PublicRead field if non-nil, zero value otherwise.

GetPublicReadOk

func (o *UpdateSpaceRequest) GetPublicReadOk() (*bool, bool)

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

SetPublicRead

func (o *UpdateSpaceRequest) SetPublicRead(v bool)

SetPublicRead sets PublicRead field to given value.

HasPublicRead

func (o *UpdateSpaceRequest) HasPublicRead() bool

HasPublicRead returns a boolean if a field has been set.

SetPublicReadNil

func (o *UpdateSpaceRequest) SetPublicReadNil(b bool)

SetPublicReadNil sets the value for PublicRead to be an explicit nil

UnsetPublicRead

func (o *UpdateSpaceRequest) UnsetPublicRead()

UnsetPublicRead ensures that no value is present for PublicRead, not even an explicit nil

GetReplaceLabels

func (o *UpdateSpaceRequest) GetReplaceLabels() map[string]string

GetReplaceLabels returns the ReplaceLabels field if non-nil, zero value otherwise.

GetReplaceLabelsOk

func (o *UpdateSpaceRequest) GetReplaceLabelsOk() (*map[string]string, bool)

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

SetReplaceLabels

func (o *UpdateSpaceRequest) SetReplaceLabels(v map[string]string)

SetReplaceLabels sets ReplaceLabels field to given value.

HasReplaceLabels

func (o *UpdateSpaceRequest) HasReplaceLabels() bool

HasReplaceLabels returns a boolean if a field has been set.

GetMergeLabels

func (o *UpdateSpaceRequest) GetMergeLabels() map[string]string

GetMergeLabels returns the MergeLabels field if non-nil, zero value otherwise.

GetMergeLabelsOk

func (o *UpdateSpaceRequest) GetMergeLabelsOk() (*map[string]string, bool)

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

SetMergeLabels

func (o *UpdateSpaceRequest) SetMergeLabels(v map[string]string)

SetMergeLabels sets MergeLabels field to given value.

HasMergeLabels

func (o *UpdateSpaceRequest) HasMergeLabels() bool

HasMergeLabels returns a boolean if a field has been set.