GoodMem
ReferenceClient SDKsGo SDKRequests

UpdateSpaceRequest

UpdateSpaceRequest documentation for Go SDK

Properties

NameTypeDescriptionNotes
ValidateLabelStrategyPointer to map[string]interface[optional]
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]
DefaultChunkingConfigPointer to ChunkingConfiguration[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

GetValidateLabelStrategy

func (o *UpdateSpaceRequest) GetValidateLabelStrategy() map[string]interface{}

GetValidateLabelStrategy returns the ValidateLabelStrategy field if non-nil, zero value otherwise.

GetValidateLabelStrategyOk

func (o *UpdateSpaceRequest) GetValidateLabelStrategyOk() (*map[string]interface{}, bool)

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

SetValidateLabelStrategy

func (o *UpdateSpaceRequest) SetValidateLabelStrategy(v map[string]interface{})

SetValidateLabelStrategy sets ValidateLabelStrategy field to given value.

HasValidateLabelStrategy

func (o *UpdateSpaceRequest) HasValidateLabelStrategy() bool

HasValidateLabelStrategy returns a boolean if a field has been 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.

SetReplaceLabelsNil

func (o *UpdateSpaceRequest) SetReplaceLabelsNil(b bool)

SetReplaceLabelsNil sets the value for ReplaceLabels to be an explicit nil

UnsetReplaceLabels

func (o *UpdateSpaceRequest) UnsetReplaceLabels()

UnsetReplaceLabels ensures that no value is present for ReplaceLabels, not even an explicit nil

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.

SetMergeLabelsNil

func (o *UpdateSpaceRequest) SetMergeLabelsNil(b bool)

SetMergeLabelsNil sets the value for MergeLabels to be an explicit nil

UnsetMergeLabels

func (o *UpdateSpaceRequest) UnsetMergeLabels()

UnsetMergeLabels ensures that no value is present for MergeLabels, not even an explicit nil

GetDefaultChunkingConfig

func (o *UpdateSpaceRequest) GetDefaultChunkingConfig() ChunkingConfiguration

GetDefaultChunkingConfig returns the DefaultChunkingConfig field if non-nil, zero value otherwise.

GetDefaultChunkingConfigOk

func (o *UpdateSpaceRequest) GetDefaultChunkingConfigOk() (*ChunkingConfiguration, bool)

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

SetDefaultChunkingConfig

func (o *UpdateSpaceRequest) SetDefaultChunkingConfig(v ChunkingConfiguration)

SetDefaultChunkingConfig sets DefaultChunkingConfig field to given value.

HasDefaultChunkingConfig

func (o *UpdateSpaceRequest) HasDefaultChunkingConfig() bool

HasDefaultChunkingConfig returns a boolean if a field has been set.

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK