Skip to content

Latest commit

 

History

History
412 lines (227 loc) · 13.1 KB

GitbookConnectRequest.md

File metadata and controls

412 lines (227 loc) · 13.1 KB

GitbookConnectRequest

Properties

Name Type Description Notes
Tags Pointer to map[string]interface{} [optional] [default to {}]
Organization string
AccessToken string
ChunkSize Pointer to NullableInt32 [optional] [default to 1500]
ChunkOverlap Pointer to NullableInt32 [optional] [default to 20]
SkipEmbeddingGeneration Pointer to NullableBool [optional] [default to false]
EmbeddingModel Pointer to EmbeddingGenerators [optional]
GenerateSparseVectors Pointer to NullableBool [optional] [default to false]
PrependFilenameToChunks Pointer to NullableBool [optional] [default to false]
SyncFilesOnConnection Pointer to NullableBool [optional] [default to true]
RequestId Pointer to NullableString [optional]
SyncSourceItems Pointer to bool Enabling this flag will fetch all available content from the source to be listed via list items endpoint [optional] [default to true]

Methods

NewGitbookConnectRequest

func NewGitbookConnectRequest(organization string, accessToken string, ) *GitbookConnectRequest

NewGitbookConnectRequest instantiates a new GitbookConnectRequest 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

NewGitbookConnectRequestWithDefaults

func NewGitbookConnectRequestWithDefaults() *GitbookConnectRequest

NewGitbookConnectRequestWithDefaults instantiates a new GitbookConnectRequest 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

GetTags

func (o *GitbookConnectRequest) GetTags() map[string]interface{}

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

GetTagsOk

func (o *GitbookConnectRequest) GetTagsOk() (*map[string]interface{}, 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 *GitbookConnectRequest) SetTags(v map[string]interface{})

SetTags sets Tags field to given value.

HasTags

func (o *GitbookConnectRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

SetTagsNil

func (o *GitbookConnectRequest) SetTagsNil(b bool)

SetTagsNil sets the value for Tags to be an explicit nil

UnsetTags

func (o *GitbookConnectRequest) UnsetTags()

UnsetTags ensures that no value is present for Tags, not even an explicit nil

GetOrganization

func (o *GitbookConnectRequest) GetOrganization() string

GetOrganization returns the Organization field if non-nil, zero value otherwise.

GetOrganizationOk

func (o *GitbookConnectRequest) GetOrganizationOk() (*string, bool)

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

SetOrganization

func (o *GitbookConnectRequest) SetOrganization(v string)

SetOrganization sets Organization field to given value.

GetAccessToken

func (o *GitbookConnectRequest) GetAccessToken() string

GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.

GetAccessTokenOk

func (o *GitbookConnectRequest) GetAccessTokenOk() (*string, bool)

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

SetAccessToken

func (o *GitbookConnectRequest) SetAccessToken(v string)

SetAccessToken sets AccessToken field to given value.

GetChunkSize

func (o *GitbookConnectRequest) GetChunkSize() int32

GetChunkSize returns the ChunkSize field if non-nil, zero value otherwise.

GetChunkSizeOk

func (o *GitbookConnectRequest) GetChunkSizeOk() (*int32, bool)

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

SetChunkSize

func (o *GitbookConnectRequest) SetChunkSize(v int32)

SetChunkSize sets ChunkSize field to given value.

HasChunkSize

func (o *GitbookConnectRequest) HasChunkSize() bool

HasChunkSize returns a boolean if a field has been set.

SetChunkSizeNil

func (o *GitbookConnectRequest) SetChunkSizeNil(b bool)

SetChunkSizeNil sets the value for ChunkSize to be an explicit nil

UnsetChunkSize

func (o *GitbookConnectRequest) UnsetChunkSize()

UnsetChunkSize ensures that no value is present for ChunkSize, not even an explicit nil

GetChunkOverlap

func (o *GitbookConnectRequest) GetChunkOverlap() int32

GetChunkOverlap returns the ChunkOverlap field if non-nil, zero value otherwise.

GetChunkOverlapOk

func (o *GitbookConnectRequest) GetChunkOverlapOk() (*int32, bool)

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

SetChunkOverlap

func (o *GitbookConnectRequest) SetChunkOverlap(v int32)

SetChunkOverlap sets ChunkOverlap field to given value.

HasChunkOverlap

func (o *GitbookConnectRequest) HasChunkOverlap() bool

HasChunkOverlap returns a boolean if a field has been set.

SetChunkOverlapNil

func (o *GitbookConnectRequest) SetChunkOverlapNil(b bool)

SetChunkOverlapNil sets the value for ChunkOverlap to be an explicit nil

UnsetChunkOverlap

func (o *GitbookConnectRequest) UnsetChunkOverlap()

UnsetChunkOverlap ensures that no value is present for ChunkOverlap, not even an explicit nil

GetSkipEmbeddingGeneration

func (o *GitbookConnectRequest) GetSkipEmbeddingGeneration() bool

GetSkipEmbeddingGeneration returns the SkipEmbeddingGeneration field if non-nil, zero value otherwise.

GetSkipEmbeddingGenerationOk

func (o *GitbookConnectRequest) GetSkipEmbeddingGenerationOk() (*bool, bool)

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

SetSkipEmbeddingGeneration

func (o *GitbookConnectRequest) SetSkipEmbeddingGeneration(v bool)

SetSkipEmbeddingGeneration sets SkipEmbeddingGeneration field to given value.

HasSkipEmbeddingGeneration

func (o *GitbookConnectRequest) HasSkipEmbeddingGeneration() bool

HasSkipEmbeddingGeneration returns a boolean if a field has been set.

SetSkipEmbeddingGenerationNil

func (o *GitbookConnectRequest) SetSkipEmbeddingGenerationNil(b bool)

SetSkipEmbeddingGenerationNil sets the value for SkipEmbeddingGeneration to be an explicit nil

UnsetSkipEmbeddingGeneration

func (o *GitbookConnectRequest) UnsetSkipEmbeddingGeneration()

UnsetSkipEmbeddingGeneration ensures that no value is present for SkipEmbeddingGeneration, not even an explicit nil

GetEmbeddingModel

func (o *GitbookConnectRequest) GetEmbeddingModel() EmbeddingGenerators

GetEmbeddingModel returns the EmbeddingModel field if non-nil, zero value otherwise.

GetEmbeddingModelOk

func (o *GitbookConnectRequest) GetEmbeddingModelOk() (*EmbeddingGenerators, bool)

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

SetEmbeddingModel

func (o *GitbookConnectRequest) SetEmbeddingModel(v EmbeddingGenerators)

SetEmbeddingModel sets EmbeddingModel field to given value.

HasEmbeddingModel

func (o *GitbookConnectRequest) HasEmbeddingModel() bool

HasEmbeddingModel returns a boolean if a field has been set.

GetGenerateSparseVectors

func (o *GitbookConnectRequest) GetGenerateSparseVectors() bool

GetGenerateSparseVectors returns the GenerateSparseVectors field if non-nil, zero value otherwise.

GetGenerateSparseVectorsOk

func (o *GitbookConnectRequest) GetGenerateSparseVectorsOk() (*bool, bool)

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

SetGenerateSparseVectors

func (o *GitbookConnectRequest) SetGenerateSparseVectors(v bool)

SetGenerateSparseVectors sets GenerateSparseVectors field to given value.

HasGenerateSparseVectors

func (o *GitbookConnectRequest) HasGenerateSparseVectors() bool

HasGenerateSparseVectors returns a boolean if a field has been set.

SetGenerateSparseVectorsNil

func (o *GitbookConnectRequest) SetGenerateSparseVectorsNil(b bool)

SetGenerateSparseVectorsNil sets the value for GenerateSparseVectors to be an explicit nil

UnsetGenerateSparseVectors

func (o *GitbookConnectRequest) UnsetGenerateSparseVectors()

UnsetGenerateSparseVectors ensures that no value is present for GenerateSparseVectors, not even an explicit nil

GetPrependFilenameToChunks

func (o *GitbookConnectRequest) GetPrependFilenameToChunks() bool

GetPrependFilenameToChunks returns the PrependFilenameToChunks field if non-nil, zero value otherwise.

GetPrependFilenameToChunksOk

func (o *GitbookConnectRequest) GetPrependFilenameToChunksOk() (*bool, bool)

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

SetPrependFilenameToChunks

func (o *GitbookConnectRequest) SetPrependFilenameToChunks(v bool)

SetPrependFilenameToChunks sets PrependFilenameToChunks field to given value.

HasPrependFilenameToChunks

func (o *GitbookConnectRequest) HasPrependFilenameToChunks() bool

HasPrependFilenameToChunks returns a boolean if a field has been set.

SetPrependFilenameToChunksNil

func (o *GitbookConnectRequest) SetPrependFilenameToChunksNil(b bool)

SetPrependFilenameToChunksNil sets the value for PrependFilenameToChunks to be an explicit nil

UnsetPrependFilenameToChunks

func (o *GitbookConnectRequest) UnsetPrependFilenameToChunks()

UnsetPrependFilenameToChunks ensures that no value is present for PrependFilenameToChunks, not even an explicit nil

GetSyncFilesOnConnection

func (o *GitbookConnectRequest) GetSyncFilesOnConnection() bool

GetSyncFilesOnConnection returns the SyncFilesOnConnection field if non-nil, zero value otherwise.

GetSyncFilesOnConnectionOk

func (o *GitbookConnectRequest) GetSyncFilesOnConnectionOk() (*bool, bool)

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

SetSyncFilesOnConnection

func (o *GitbookConnectRequest) SetSyncFilesOnConnection(v bool)

SetSyncFilesOnConnection sets SyncFilesOnConnection field to given value.

HasSyncFilesOnConnection

func (o *GitbookConnectRequest) HasSyncFilesOnConnection() bool

HasSyncFilesOnConnection returns a boolean if a field has been set.

SetSyncFilesOnConnectionNil

func (o *GitbookConnectRequest) SetSyncFilesOnConnectionNil(b bool)

SetSyncFilesOnConnectionNil sets the value for SyncFilesOnConnection to be an explicit nil

UnsetSyncFilesOnConnection

func (o *GitbookConnectRequest) UnsetSyncFilesOnConnection()

UnsetSyncFilesOnConnection ensures that no value is present for SyncFilesOnConnection, not even an explicit nil

GetRequestId

func (o *GitbookConnectRequest) GetRequestId() string

GetRequestId returns the RequestId field if non-nil, zero value otherwise.

GetRequestIdOk

func (o *GitbookConnectRequest) GetRequestIdOk() (*string, bool)

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

SetRequestId

func (o *GitbookConnectRequest) SetRequestId(v string)

SetRequestId sets RequestId field to given value.

HasRequestId

func (o *GitbookConnectRequest) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

SetRequestIdNil

func (o *GitbookConnectRequest) SetRequestIdNil(b bool)

SetRequestIdNil sets the value for RequestId to be an explicit nil

UnsetRequestId

func (o *GitbookConnectRequest) UnsetRequestId()

UnsetRequestId ensures that no value is present for RequestId, not even an explicit nil

GetSyncSourceItems

func (o *GitbookConnectRequest) GetSyncSourceItems() bool

GetSyncSourceItems returns the SyncSourceItems field if non-nil, zero value otherwise.

GetSyncSourceItemsOk

func (o *GitbookConnectRequest) GetSyncSourceItemsOk() (*bool, bool)

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

SetSyncSourceItems

func (o *GitbookConnectRequest) SetSyncSourceItems(v bool)

SetSyncSourceItems sets SyncSourceItems field to given value.

HasSyncSourceItems

func (o *GitbookConnectRequest) HasSyncSourceItems() bool

HasSyncSourceItems returns a boolean if a field has been set.

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