gleansdk

package module
v0.0.0-...-a1bc676 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 22 Imported by: 10

README

Package cloudeng.io/glean/gleansdk

import cloudeng.io/glean/gleansdk

Variables

ContextOAuth2, ContextBasicAuth, ContextAccessToken, ContextAPIKeys, ContextHttpSignatureAuth, ContextServerIndex, ContextOperationServerIndices, ContextServerVariables, ContextOperationServerVariables
// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOAuth2 = contextKey("token")
// ContextBasicAuth takes BasicAuth as authentication for the request.
ContextBasicAuth = contextKey("basic")
// ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAccessToken = contextKey("accesstoken")
// ContextAPIKeys takes a string apikey as authentication for the request
ContextAPIKeys = contextKey("apiKeys")
// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextHttpSignatureAuth = contextKey("httpsignature")
// ContextServerIndex uses a server configuration from the index.
ContextServerIndex = contextKey("serverIndex")
// ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerIndices = contextKey("serverOperationIndices")
// ContextServerVariables overrides a server configuration variables.
ContextServerVariables = contextKey("serverVariables")
// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextOperationServerVariables = contextKey("serverOperationVariables")

AllowedConnectorTypeEnumValues
AllowedConnectorTypeEnumValues = []ConnectorType{
	"API_CRAWL",
	"BROWSER_CRAWL",
	"BROWSER_HISTORY",
	"BUILTIN",
	"FEDERATED_SEARCH",
	"PUSH_API",
	"WEB_CRAWL",
	"NATIVE_HISTORY",
}

All allowed values of ConnectorType enum

Functions

Func CacheExpires
func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Func PtrBool
func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

Func PtrFloat32
func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

Func PtrFloat64
func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

Func PtrInt
func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

Func PtrInt32
func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

Func PtrInt64
func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

Func PtrString
func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

Func PtrTime
func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

Type APIClient
type APIClient struct {
	DatasourcesApi *DatasourcesApiService

	DocumentsApi *DocumentsApiService

	PeopleApi *PeopleApiService

	PermissionsApi *PermissionsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Glean Indexing API API v0.9.0 In most cases there should be only one, shared, APIClient.

Functions
func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

Methods
func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

Type APIKey
type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

Type APIResponse
type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

Functions
func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

Type AdditionalFieldDefinition
type AdditionalFieldDefinition struct {
	// Key to reference this field, e.g. \"languages\".
	Key *string `json:"key,omitempty"`
	// List of type string or HypertextField.  HypertextField is defined as ``` {   anchor: string,    // Anchor text for the hypertext field.   hyperlink: string, // URL for the hypertext field. } ``` Example: ```{\"anchor\":\"Glean\",\"hyperlink\":\"https://glean.com\"}```  When OpenAPI Generator supports oneOf, we will semantically enforce this in the docs.
	Value []map[string]interface{} `json:"value,omitempty"`
}

AdditionalFieldDefinition Additional information about the employee.

Functions
func NewAdditionalFieldDefinition() *AdditionalFieldDefinition

NewAdditionalFieldDefinition instantiates a new AdditionalFieldDefinition 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

func NewAdditionalFieldDefinitionWithDefaults() *AdditionalFieldDefinition

NewAdditionalFieldDefinitionWithDefaults instantiates a new AdditionalFieldDefinition 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

Methods
func (o *AdditionalFieldDefinition) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (o *AdditionalFieldDefinition) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *AdditionalFieldDefinition) GetValue() []map[string]interface{}

GetValue returns the Value field value if set, zero value otherwise.

func (o *AdditionalFieldDefinition) GetValueOk() ([]map[string]interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *AdditionalFieldDefinition) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *AdditionalFieldDefinition) HasValue() bool

HasValue returns a boolean if a field has been set.

func (o AdditionalFieldDefinition) MarshalJSON() ([]byte, error)
func (o *AdditionalFieldDefinition) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *AdditionalFieldDefinition) SetValue(v []map[string]interface{})

SetValue gets a reference to the given []map[string]interface{} and assigns it to the Value field.

Type ApiAdddatasourcePostRequest
type ApiAdddatasourcePostRequest struct {
	ApiService *DatasourcesApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiAdddatasourcePostRequest) CustomDatasourceConfig(customDatasourceConfig CustomDatasourceConfig) ApiAdddatasourcePostRequest
func (r ApiAdddatasourcePostRequest) Execute() (*http.Response, error)
Type ApiBetausersPostRequest
type ApiBetausersPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiBetausersPostRequest) Execute() (*http.Response, error)
func (r ApiBetausersPostRequest) GreenlistUsersRequest(greenlistUsersRequest GreenlistUsersRequest) ApiBetausersPostRequest
Type ApiBulkindexdocumentsPostRequest
type ApiBulkindexdocumentsPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiBulkindexdocumentsPostRequest) BulkIndexDocumentsRequest(bulkIndexDocumentsRequest BulkIndexDocumentsRequest) ApiBulkindexdocumentsPostRequest
func (r ApiBulkindexdocumentsPostRequest) Execute() (*http.Response, error)
Type ApiBulkindexemployeesPostRequest
type ApiBulkindexemployeesPostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiBulkindexemployeesPostRequest) BulkIndexEmployeesRequest(bulkIndexEmployeesRequest BulkIndexEmployeesRequest) ApiBulkindexemployeesPostRequest
func (r ApiBulkindexemployeesPostRequest) Execute() (*http.Response, error)
Type ApiBulkindexgroupsPostRequest
type ApiBulkindexgroupsPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiBulkindexgroupsPostRequest) BulkIndexGroupsRequest(bulkIndexGroupsRequest BulkIndexGroupsRequest) ApiBulkindexgroupsPostRequest
func (r ApiBulkindexgroupsPostRequest) Execute() (*http.Response, error)
Type ApiBulkindexmembershipsPostRequest
type ApiBulkindexmembershipsPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiBulkindexmembershipsPostRequest) BulkIndexMembershipsRequest(bulkIndexMembershipsRequest BulkIndexMembershipsRequest) ApiBulkindexmembershipsPostRequest
func (r ApiBulkindexmembershipsPostRequest) Execute() (*http.Response, error)
Type ApiBulkindexteamsPostRequest
type ApiBulkindexteamsPostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiBulkindexteamsPostRequest) BulkIndexTeamsRequest(bulkIndexTeamsRequest BulkIndexTeamsRequest) ApiBulkindexteamsPostRequest
func (r ApiBulkindexteamsPostRequest) Execute() (*http.Response, error)
Type ApiBulkindexusersPostRequest
type ApiBulkindexusersPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiBulkindexusersPostRequest) BulkIndexUsersRequest(bulkIndexUsersRequest BulkIndexUsersRequest) ApiBulkindexusersPostRequest
func (r ApiBulkindexusersPostRequest) Execute() (*http.Response, error)
Type ApiCheckdocumentaccessPostRequest
type ApiCheckdocumentaccessPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiCheckdocumentaccessPostRequest) CheckDocumentAccessRequest(checkDocumentAccessRequest CheckDocumentAccessRequest) ApiCheckdocumentaccessPostRequest
func (r ApiCheckdocumentaccessPostRequest) Execute() (*CheckDocumentAccessResponse, *http.Response, error)
Type ApiDeletedocumentPostRequest
type ApiDeletedocumentPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiDeletedocumentPostRequest) DeleteDocumentRequest(deleteDocumentRequest DeleteDocumentRequest) ApiDeletedocumentPostRequest
func (r ApiDeletedocumentPostRequest) Execute() (*http.Response, error)
Type ApiDeleteemployeePostRequest
type ApiDeleteemployeePostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiDeleteemployeePostRequest) DeleteEmployeeRequest(deleteEmployeeRequest DeleteEmployeeRequest) ApiDeleteemployeePostRequest
func (r ApiDeleteemployeePostRequest) Execute() (*http.Response, error)
Type ApiDeletegroupPostRequest
type ApiDeletegroupPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiDeletegroupPostRequest) DeleteGroupRequest(deleteGroupRequest DeleteGroupRequest) ApiDeletegroupPostRequest
func (r ApiDeletegroupPostRequest) Execute() (*http.Response, error)
Type ApiDeletemembershipPostRequest
type ApiDeletemembershipPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiDeletemembershipPostRequest) DeleteMembershipRequest(deleteMembershipRequest DeleteMembershipRequest) ApiDeletemembershipPostRequest
func (r ApiDeletemembershipPostRequest) Execute() (*http.Response, error)
Type ApiDeleteuserPostRequest
type ApiDeleteuserPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiDeleteuserPostRequest) DeleteUserRequest(deleteUserRequest DeleteUserRequest) ApiDeleteuserPostRequest
func (r ApiDeleteuserPostRequest) Execute() (*http.Response, error)
Type ApiGetdatasourceconfigPostRequest
type ApiGetdatasourceconfigPostRequest struct {
	ApiService *DatasourcesApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiGetdatasourceconfigPostRequest) Execute() (*CustomDatasourceConfig, *http.Response, error)
func (r ApiGetdatasourceconfigPostRequest) GetDatasourceConfigRequest(getDatasourceConfigRequest GetDatasourceConfigRequest) ApiGetdatasourceconfigPostRequest
Type ApiGetdocumentcountPostRequest
type ApiGetdocumentcountPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiGetdocumentcountPostRequest) Execute() (*GetDocumentCountResponse, *http.Response, error)
func (r ApiGetdocumentcountPostRequest) GetDocumentCountRequest(getDocumentCountRequest GetDocumentCountRequest) ApiGetdocumentcountPostRequest
Type ApiGetdocumentstatusPostRequest
type ApiGetdocumentstatusPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiGetdocumentstatusPostRequest) Execute() (*GetDocumentStatusResponse, *http.Response, error)
func (r ApiGetdocumentstatusPostRequest) GetDocumentStatusRequest(getDocumentStatusRequest GetDocumentStatusRequest) ApiGetdocumentstatusPostRequest
Type ApiGetusercountPostRequest
type ApiGetusercountPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiGetusercountPostRequest) Execute() (*GetUserCountResponse, *http.Response, error)
func (r ApiGetusercountPostRequest) GetUserCountRequest(getUserCountRequest GetUserCountRequest) ApiGetusercountPostRequest
Type ApiIndexdocumentPostRequest
type ApiIndexdocumentPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiIndexdocumentPostRequest) Execute() (*http.Response, error)
func (r ApiIndexdocumentPostRequest) IndexDocumentRequest(indexDocumentRequest IndexDocumentRequest) ApiIndexdocumentPostRequest
Type ApiIndexemployeePostRequest
type ApiIndexemployeePostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiIndexemployeePostRequest) Execute() (*http.Response, error)
func (r ApiIndexemployeePostRequest) IndexEmployeeRequest(indexEmployeeRequest IndexEmployeeRequest) ApiIndexemployeePostRequest
Type ApiIndexemployeelistPostRequest
type ApiIndexemployeelistPostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiIndexemployeelistPostRequest) Execute() (*http.Response, error)
func (r ApiIndexemployeelistPostRequest) IndexEmployeeListRequest(indexEmployeeListRequest IndexEmployeeListRequest) ApiIndexemployeelistPostRequest
Type ApiIndexgroupPostRequest
type ApiIndexgroupPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiIndexgroupPostRequest) Execute() (*http.Response, error)
func (r ApiIndexgroupPostRequest) IndexGroupRequest(indexGroupRequest IndexGroupRequest) ApiIndexgroupPostRequest
Type ApiIndexmembershipPostRequest
type ApiIndexmembershipPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiIndexmembershipPostRequest) Execute() (*http.Response, error)
func (r ApiIndexmembershipPostRequest) IndexMembershipRequest(indexMembershipRequest IndexMembershipRequest) ApiIndexmembershipPostRequest
Type ApiIndexteamPostRequest
type ApiIndexteamPostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiIndexteamPostRequest) Execute() (*http.Response, error)
func (r ApiIndexteamPostRequest) IndexTeamRequest(indexTeamRequest IndexTeamRequest) ApiIndexteamPostRequest
Type ApiIndexuserPostRequest
type ApiIndexuserPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiIndexuserPostRequest) Execute() (*http.Response, error)
func (r ApiIndexuserPostRequest) IndexUserRequest(indexUserRequest IndexUserRequest) ApiIndexuserPostRequest
Type ApiProcessalldocumentsPostRequest
type ApiProcessalldocumentsPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiProcessalldocumentsPostRequest) Execute() (*http.Response, error)
func (r ApiProcessalldocumentsPostRequest) ProcessAllDocumentsRequest(processAllDocumentsRequest ProcessAllDocumentsRequest) ApiProcessalldocumentsPostRequest
Type ApiProcessallmembershipsPostRequest
type ApiProcessallmembershipsPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}
Methods
func (r ApiProcessallmembershipsPostRequest) Execute() (*http.Response, error)
func (r ApiProcessallmembershipsPostRequest) ProcessAllMembershipsRequest(processAllMembershipsRequest ProcessAllMembershipsRequest) ApiProcessallmembershipsPostRequest
Type BasicAuth
type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

Type BulkIndexDocumentsRequest
type BulkIndexDocumentsRequest struct {
	// Unique id that must be used for this instance of datasource employees upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// Datasource of the documents
	Datasource string `json:"datasource"`
	// Batch of documents for the datasource
	Documents []DocumentDefinition `json:"documents"`
	// True if older documents need to be force deleted after the upload completes. Defaults to older documents being deleted asynchronously. This must only be set when `isLastPage = true`
	DisableStaleDocumentDeletionCheck *bool `json:"disableStaleDocumentDeletionCheck,omitempty"`
}

BulkIndexDocumentsRequest Describes the request body of the /bulkindexdocuments API call

Functions
func NewBulkIndexDocumentsRequest(uploadId string, datasource string, documents []DocumentDefinition) *BulkIndexDocumentsRequest

NewBulkIndexDocumentsRequest instantiates a new BulkIndexDocumentsRequest 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

func NewBulkIndexDocumentsRequestWithDefaults() *BulkIndexDocumentsRequest

NewBulkIndexDocumentsRequestWithDefaults instantiates a new BulkIndexDocumentsRequest 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

Methods
func (o *BulkIndexDocumentsRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *BulkIndexDocumentsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequest) GetDisableStaleDocumentDeletionCheck() bool

GetDisableStaleDocumentDeletionCheck returns the DisableStaleDocumentDeletionCheck field value if set, zero value otherwise.

func (o *BulkIndexDocumentsRequest) GetDisableStaleDocumentDeletionCheckOk() (*bool, bool)

GetDisableStaleDocumentDeletionCheckOk returns a tuple with the DisableStaleDocumentDeletionCheck field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequest) GetDocuments() []DocumentDefinition

GetDocuments returns the Documents field value

func (o *BulkIndexDocumentsRequest) GetDocumentsOk() ([]DocumentDefinition, bool)

GetDocumentsOk returns a tuple with the Documents field value and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (o *BulkIndexDocumentsRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (o *BulkIndexDocumentsRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (o *BulkIndexDocumentsRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (o *BulkIndexDocumentsRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequest) HasDisableStaleDocumentDeletionCheck() bool

HasDisableStaleDocumentDeletionCheck returns a boolean if a field has been set.

func (o *BulkIndexDocumentsRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (o *BulkIndexDocumentsRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (o *BulkIndexDocumentsRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (o BulkIndexDocumentsRequest) MarshalJSON() ([]byte, error)
func (o *BulkIndexDocumentsRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *BulkIndexDocumentsRequest) SetDisableStaleDocumentDeletionCheck(v bool)

SetDisableStaleDocumentDeletionCheck gets a reference to the given bool and assigns it to the DisableStaleDocumentDeletionCheck field.

func (o *BulkIndexDocumentsRequest) SetDocuments(v []DocumentDefinition)

SetDocuments sets field value

func (o *BulkIndexDocumentsRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (o *BulkIndexDocumentsRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (o *BulkIndexDocumentsRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (o *BulkIndexDocumentsRequest) SetUploadId(v string)

SetUploadId sets field value

Type BulkIndexDocumentsRequestAllOf
type BulkIndexDocumentsRequestAllOf struct {
	// Datasource of the documents
	Datasource string `json:"datasource"`
	// Batch of documents for the datasource
	Documents []DocumentDefinition `json:"documents"`
	// True if older documents need to be force deleted after the upload completes. Defaults to older documents being deleted asynchronously. This must only be set when `isLastPage = true`
	DisableStaleDocumentDeletionCheck *bool `json:"disableStaleDocumentDeletionCheck,omitempty"`
}

BulkIndexDocumentsRequestAllOf struct for BulkIndexDocumentsRequestAllOf

Functions
func NewBulkIndexDocumentsRequestAllOf(datasource string, documents []DocumentDefinition) *BulkIndexDocumentsRequestAllOf

NewBulkIndexDocumentsRequestAllOf instantiates a new BulkIndexDocumentsRequestAllOf 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

func NewBulkIndexDocumentsRequestAllOfWithDefaults() *BulkIndexDocumentsRequestAllOf

NewBulkIndexDocumentsRequestAllOfWithDefaults instantiates a new BulkIndexDocumentsRequestAllOf 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

Methods
func (o *BulkIndexDocumentsRequestAllOf) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *BulkIndexDocumentsRequestAllOf) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequestAllOf) GetDisableStaleDocumentDeletionCheck() bool

GetDisableStaleDocumentDeletionCheck returns the DisableStaleDocumentDeletionCheck field value if set, zero value otherwise.

func (o *BulkIndexDocumentsRequestAllOf) GetDisableStaleDocumentDeletionCheckOk() (*bool, bool)

GetDisableStaleDocumentDeletionCheckOk returns a tuple with the DisableStaleDocumentDeletionCheck field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequestAllOf) GetDocuments() []DocumentDefinition

GetDocuments returns the Documents field value

func (o *BulkIndexDocumentsRequestAllOf) GetDocumentsOk() ([]DocumentDefinition, bool)

GetDocumentsOk returns a tuple with the Documents field value and a boolean to check if the value has been set.

func (o *BulkIndexDocumentsRequestAllOf) HasDisableStaleDocumentDeletionCheck() bool

HasDisableStaleDocumentDeletionCheck returns a boolean if a field has been set.

func (o BulkIndexDocumentsRequestAllOf) MarshalJSON() ([]byte, error)
func (o *BulkIndexDocumentsRequestAllOf) SetDatasource(v string)

SetDatasource sets field value

func (o *BulkIndexDocumentsRequestAllOf) SetDisableStaleDocumentDeletionCheck(v bool)

SetDisableStaleDocumentDeletionCheck gets a reference to the given bool and assigns it to the DisableStaleDocumentDeletionCheck field.

func (o *BulkIndexDocumentsRequestAllOf) SetDocuments(v []DocumentDefinition)

SetDocuments sets field value

Type BulkIndexEmployeesRequest
type BulkIndexEmployeesRequest struct {
	// Unique id that must be used for this instance of datasource employees upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// Batch of employee information
	Employees []EmployeeInfoDefinition `json:"employees"`
}

BulkIndexEmployeesRequest Describes the request body of the /bulkindexemployees API call

Functions
func NewBulkIndexEmployeesRequest(uploadId string, employees []EmployeeInfoDefinition) *BulkIndexEmployeesRequest

NewBulkIndexEmployeesRequest instantiates a new BulkIndexEmployeesRequest 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

func NewBulkIndexEmployeesRequestWithDefaults() *BulkIndexEmployeesRequest

NewBulkIndexEmployeesRequestWithDefaults instantiates a new BulkIndexEmployeesRequest 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

Methods
func (o *BulkIndexEmployeesRequest) GetEmployees() []EmployeeInfoDefinition

GetEmployees returns the Employees field value

func (o *BulkIndexEmployeesRequest) GetEmployeesOk() ([]EmployeeInfoDefinition, bool)

GetEmployeesOk returns a tuple with the Employees field value and a boolean to check if the value has been set.

func (o *BulkIndexEmployeesRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (o *BulkIndexEmployeesRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexEmployeesRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (o *BulkIndexEmployeesRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexEmployeesRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (o *BulkIndexEmployeesRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexEmployeesRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (o *BulkIndexEmployeesRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (o *BulkIndexEmployeesRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (o *BulkIndexEmployeesRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (o *BulkIndexEmployeesRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (o BulkIndexEmployeesRequest) MarshalJSON() ([]byte, error)
func (o *BulkIndexEmployeesRequest) SetEmployees(v []EmployeeInfoDefinition)

SetEmployees sets field value

func (o *BulkIndexEmployeesRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (o *BulkIndexEmployeesRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (o *BulkIndexEmployeesRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (o *BulkIndexEmployeesRequest) SetUploadId(v string)

SetUploadId sets field value

Type BulkIndexEmployeesRequestAllOf
type BulkIndexEmployeesRequestAllOf struct {
	// Batch of employee information
	Employees []EmployeeInfoDefinition `json:"employees"`
}

BulkIndexEmployeesRequestAllOf struct for BulkIndexEmployeesRequestAllOf

Functions
func NewBulkIndexEmployeesRequestAllOf(employees []EmployeeInfoDefinition) *BulkIndexEmployeesRequestAllOf

NewBulkIndexEmployeesRequestAllOf instantiates a new BulkIndexEmployeesRequestAllOf 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

func NewBulkIndexEmployeesRequestAllOfWithDefaults() *BulkIndexEmployeesRequestAllOf

NewBulkIndexEmployeesRequestAllOfWithDefaults instantiates a new BulkIndexEmployeesRequestAllOf 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

Methods
func (o *BulkIndexEmployeesRequestAllOf) GetEmployees() []EmployeeInfoDefinition

GetEmployees returns the Employees field value

func (o *BulkIndexEmployeesRequestAllOf) GetEmployeesOk() ([]EmployeeInfoDefinition, bool)

GetEmployeesOk returns a tuple with the Employees field value and a boolean to check if the value has been set.

func (o BulkIndexEmployeesRequestAllOf) MarshalJSON() ([]byte, error)
func (o *BulkIndexEmployeesRequestAllOf) SetEmployees(v []EmployeeInfoDefinition)

SetEmployees sets field value

Type BulkIndexGroupsRequest
type BulkIndexGroupsRequest struct {
	// Unique id that must be used for this instance of datasource groups upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// datasource of the groups
	Datasource string `json:"datasource"`
	// batch of groups for the datasource
	Groups []DatasourceGroupDefinition `json:"groups"`
}

BulkIndexGroupsRequest Describes the request body for the /bulkindexgroups API call

Functions
func NewBulkIndexGroupsRequest(uploadId string, datasource string, groups []DatasourceGroupDefinition) *BulkIndexGroupsRequest

NewBulkIndexGroupsRequest instantiates a new BulkIndexGroupsRequest 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

func NewBulkIndexGroupsRequestWithDefaults() *BulkIndexGroupsRequest

NewBulkIndexGroupsRequestWithDefaults instantiates a new BulkIndexGroupsRequest 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

Methods
func (o *BulkIndexGroupsRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *BulkIndexGroupsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *BulkIndexGroupsRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (o *BulkIndexGroupsRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexGroupsRequest) GetGroups() []DatasourceGroupDefinition

GetGroups returns the Groups field value

func (o *BulkIndexGroupsRequest) GetGroupsOk() ([]DatasourceGroupDefinition, bool)

GetGroupsOk returns a tuple with the Groups field value and a boolean to check if the value has been set.

func (o *BulkIndexGroupsRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (o *BulkIndexGroupsRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexGroupsRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (o *BulkIndexGroupsRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexGroupsRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (o *BulkIndexGroupsRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (o *BulkIndexGroupsRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (o *BulkIndexGroupsRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (o *BulkIndexGroupsRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (o BulkIndexGroupsRequest) MarshalJSON() ([]byte, error)
func (o *BulkIndexGroupsRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *BulkIndexGroupsRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (o *BulkIndexGroupsRequest) SetGroups(v []DatasourceGroupDefinition)

SetGroups sets field value

func (o *BulkIndexGroupsRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (o *BulkIndexGroupsRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (o *BulkIndexGroupsRequest) SetUploadId(v string)

SetUploadId sets field value

Type BulkIndexMembershipsRequest
type BulkIndexMembershipsRequest struct {
	// Unique id that must be used for this instance of datasource group memberships upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// datasource of the memberships
	Datasource string `json:"datasource"`
	// group who's memberships are specified
	Group *string `json:"group,omitempty"`
	// batch of memberships for the group
	Memberships []DatasourceBulkMembershipDefinition `json:"memberships"`
}

BulkIndexMembershipsRequest Describes the request body for the /bulkindexmemberships API call

Functions
func NewBulkIndexMembershipsRequest(uploadId string, datasource string, memberships []DatasourceBulkMembershipDefinition) *BulkIndexMembershipsRequest

NewBulkIndexMembershipsRequest instantiates a new BulkIndexMembershipsRequest 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

func NewBulkIndexMembershipsRequestWithDefaults() *BulkIndexMembershipsRequest

NewBulkIndexMembershipsRequestWithDefaults instantiates a new BulkIndexMembershipsRequest 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

Methods
func (o *BulkIndexMembershipsRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *BulkIndexMembershipsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *BulkIndexMembershipsRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (o *BulkIndexMembershipsRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexMembershipsRequest) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (o *BulkIndexMembershipsRequest) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexMembershipsRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (o *BulkIndexMembershipsRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexMembershipsRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (o *BulkIndexMembershipsRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexMembershipsRequest) GetMemberships() []DatasourceBulkMembershipDefinition

GetMemberships returns the Memberships field value

func (o *BulkIndexMembershipsRequest) GetMembershipsOk() ([]DatasourceBulkMembershipDefinition, bool)

GetMembershipsOk returns a tuple with the Memberships field value and a boolean to check if the value has been set.

func (o *BulkIndexMembershipsRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (o *BulkIndexMembershipsRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (o *BulkIndexMembershipsRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (o *BulkIndexMembershipsRequest) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (o *BulkIndexMembershipsRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (o *BulkIndexMembershipsRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (o BulkIndexMembershipsRequest) MarshalJSON() ([]byte, error)
func (o *BulkIndexMembershipsRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *BulkIndexMembershipsRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (o *BulkIndexMembershipsRequest) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (o *BulkIndexMembershipsRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (o *BulkIndexMembershipsRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (o *BulkIndexMembershipsRequest) SetMemberships(v []DatasourceBulkMembershipDefinition)

SetMemberships sets field value

func (o *BulkIndexMembershipsRequest) SetUploadId(v string)

SetUploadId sets field value

Type BulkIndexRequest
type BulkIndexRequest struct {
	// Unique id that must be used for this instance of datasource employees upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
}

BulkIndexRequest Describes the request body of the /bulkindexteams API call

Functions
func NewBulkIndexRequest(uploadId string) *BulkIndexRequest

NewBulkIndexRequest instantiates a new BulkIndexRequest 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

func NewBulkIndexRequestWithDefaults() *BulkIndexRequest

NewBulkIndexRequestWithDefaults instantiates a new BulkIndexRequest 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

Methods
func (o *BulkIndexRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (o *BulkIndexRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (o *BulkIndexRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (o *BulkIndexRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (o *BulkIndexRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (o *BulkIndexRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (o *BulkIndexRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (o *BulkIndexRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (o BulkIndexRequest) MarshalJSON() ([]byte, error)
func (o *BulkIndexRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (o *BulkIndexRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (o *BulkIndexRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (o *BulkIndexRequest) SetUploadId(v string)

SetUploadId sets field value

Type BulkIndexTeamsRequest
type BulkIndexTeamsRequest struct {
	// Unique id that must be used for this instance of datasource employees upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// Batch of team information
	Teams []TeamInfoDefinition `json:"teams"`
}

BulkIndexTeamsRequest Describes the request body of the /bulkindexteams API call

Functions
func NewBulkIndexTeamsRequest(uploadId string, teams []TeamInfoDefinition) *BulkIndexTeamsRequest

NewBulkIndexTeamsRequest instantiates a new BulkIndexTeamsRequest 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

func NewBulkIndexTeamsRequestWithDefaults() *BulkIndexTeamsRequest

NewBulkIndexTeamsRequestWithDefaults instantiates a new BulkIndexTeamsRequest 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

Methods
func (o *BulkIndexTeamsRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (o *BulkIndexTeamsRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexTeamsRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (o *BulkIndexTeamsRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexTeamsRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (o *BulkIndexTeamsRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexTeamsRequest) GetTeams() []TeamInfoDefinition

GetTeams returns the Teams field value

func (o *BulkIndexTeamsRequest) GetTeamsOk() ([]TeamInfoDefinition, bool)

GetTeamsOk returns a tuple with the Teams field value and a boolean to check if the value has been set.

func (o *BulkIndexTeamsRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (o *BulkIndexTeamsRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (o *BulkIndexTeamsRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (o *BulkIndexTeamsRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (o *BulkIndexTeamsRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (o BulkIndexTeamsRequest) MarshalJSON() ([]byte, error)
func (o *BulkIndexTeamsRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (o *BulkIndexTeamsRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (o *BulkIndexTeamsRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (o *BulkIndexTeamsRequest) SetTeams(v []TeamInfoDefinition)

SetTeams sets field value

func (o *BulkIndexTeamsRequest) SetUploadId(v string)

SetUploadId sets field value

Type BulkIndexTeamsRequestAllOf
type BulkIndexTeamsRequestAllOf struct {
	// Batch of team information
	Teams []TeamInfoDefinition `json:"teams"`
}

BulkIndexTeamsRequestAllOf struct for BulkIndexTeamsRequestAllOf

Functions
func NewBulkIndexTeamsRequestAllOf(teams []TeamInfoDefinition) *BulkIndexTeamsRequestAllOf

NewBulkIndexTeamsRequestAllOf instantiates a new BulkIndexTeamsRequestAllOf 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

func NewBulkIndexTeamsRequestAllOfWithDefaults() *BulkIndexTeamsRequestAllOf

NewBulkIndexTeamsRequestAllOfWithDefaults instantiates a new BulkIndexTeamsRequestAllOf 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

Methods
func (o *BulkIndexTeamsRequestAllOf) GetTeams() []TeamInfoDefinition

GetTeams returns the Teams field value

func (o *BulkIndexTeamsRequestAllOf) GetTeamsOk() ([]TeamInfoDefinition, bool)

GetTeamsOk returns a tuple with the Teams field value and a boolean to check if the value has been set.

func (o BulkIndexTeamsRequestAllOf) MarshalJSON() ([]byte, error)
func (o *BulkIndexTeamsRequestAllOf) SetTeams(v []TeamInfoDefinition)

SetTeams sets field value

Type BulkIndexUsersRequest
type BulkIndexUsersRequest struct {
	// Unique id that must be used for this instance of datasource users upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// datasource of the users
	Datasource string `json:"datasource"`
	// batch of users for the datasource
	Users []DatasourceUserDefinition `json:"users"`
}

BulkIndexUsersRequest Describes the request body for the /bulkindexusers API call

Functions
func NewBulkIndexUsersRequest(uploadId string, datasource string, users []DatasourceUserDefinition) *BulkIndexUsersRequest

NewBulkIndexUsersRequest instantiates a new BulkIndexUsersRequest 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

func NewBulkIndexUsersRequestWithDefaults() *BulkIndexUsersRequest

NewBulkIndexUsersRequestWithDefaults instantiates a new BulkIndexUsersRequest 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

Methods
func (o *BulkIndexUsersRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *BulkIndexUsersRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *BulkIndexUsersRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (o *BulkIndexUsersRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexUsersRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (o *BulkIndexUsersRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexUsersRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (o *BulkIndexUsersRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *BulkIndexUsersRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (o *BulkIndexUsersRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (o *BulkIndexUsersRequest) GetUsers() []DatasourceUserDefinition

GetUsers returns the Users field value

func (o *BulkIndexUsersRequest) GetUsersOk() ([]DatasourceUserDefinition, bool)

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (o *BulkIndexUsersRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (o *BulkIndexUsersRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (o *BulkIndexUsersRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (o BulkIndexUsersRequest) MarshalJSON() ([]byte, error)
func (o *BulkIndexUsersRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *BulkIndexUsersRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (o *BulkIndexUsersRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (o *BulkIndexUsersRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (o *BulkIndexUsersRequest) SetUploadId(v string)

SetUploadId sets field value

func (o *BulkIndexUsersRequest) SetUsers(v []DatasourceUserDefinition)

SetUsers sets field value

Type CanonicalizingRegexType
type CanonicalizingRegexType struct {
	// Regular expression to match to an arbitrary string.
	MatchRegex *string `json:"matchRegex,omitempty"`
	// Regular expression to transform into a canonical string.
	RewriteRegex *string `json:"rewriteRegex,omitempty"`
}

CanonicalizingRegexType Regular expression to apply to an arbitrary string to transform it into a canonical string.

Functions
func NewCanonicalizingRegexType() *CanonicalizingRegexType

NewCanonicalizingRegexType instantiates a new CanonicalizingRegexType 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

func NewCanonicalizingRegexTypeWithDefaults() *CanonicalizingRegexType

NewCanonicalizingRegexTypeWithDefaults instantiates a new CanonicalizingRegexType 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

Methods
func (o *CanonicalizingRegexType) GetMatchRegex() string

GetMatchRegex returns the MatchRegex field value if set, zero value otherwise.

func (o *CanonicalizingRegexType) GetMatchRegexOk() (*string, bool)

GetMatchRegexOk returns a tuple with the MatchRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CanonicalizingRegexType) GetRewriteRegex() string

GetRewriteRegex returns the RewriteRegex field value if set, zero value otherwise.

func (o *CanonicalizingRegexType) GetRewriteRegexOk() (*string, bool)

GetRewriteRegexOk returns a tuple with the RewriteRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CanonicalizingRegexType) HasMatchRegex() bool

HasMatchRegex returns a boolean if a field has been set.

func (o *CanonicalizingRegexType) HasRewriteRegex() bool

HasRewriteRegex returns a boolean if a field has been set.

func (o CanonicalizingRegexType) MarshalJSON() ([]byte, error)
func (o *CanonicalizingRegexType) SetMatchRegex(v string)

SetMatchRegex gets a reference to the given string and assigns it to the MatchRegex field.

func (o *CanonicalizingRegexType) SetRewriteRegex(v string)

SetRewriteRegex gets a reference to the given string and assigns it to the RewriteRegex field.

Type CheckDocumentAccessRequest
type CheckDocumentAccessRequest struct {
	// Datasource of document to get check access for
	Datasource string `json:"datasource"`
	// Object type of document to get check access for
	ObjectType string `json:"objectType"`
	// ID of document to get check access for
	DocId string `json:"docId"`
	// Email of user to check access for
	UserEmail string `json:"userEmail"`
}

CheckDocumentAccessRequest Describes the request body of the /checkdocumentaccess API call

Functions
func NewCheckDocumentAccessRequest(datasource string, objectType string, docId string, userEmail string) *CheckDocumentAccessRequest

NewCheckDocumentAccessRequest instantiates a new CheckDocumentAccessRequest 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

func NewCheckDocumentAccessRequestWithDefaults() *CheckDocumentAccessRequest

NewCheckDocumentAccessRequestWithDefaults instantiates a new CheckDocumentAccessRequest 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

Methods
func (o *CheckDocumentAccessRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *CheckDocumentAccessRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *CheckDocumentAccessRequest) GetDocId() string

GetDocId returns the DocId field value

func (o *CheckDocumentAccessRequest) GetDocIdOk() (*string, bool)

GetDocIdOk returns a tuple with the DocId field value and a boolean to check if the value has been set.

func (o *CheckDocumentAccessRequest) GetObjectType() string

GetObjectType returns the ObjectType field value

func (o *CheckDocumentAccessRequest) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field value and a boolean to check if the value has been set.

func (o *CheckDocumentAccessRequest) GetUserEmail() string

GetUserEmail returns the UserEmail field value

func (o *CheckDocumentAccessRequest) GetUserEmailOk() (*string, bool)

GetUserEmailOk returns a tuple with the UserEmail field value and a boolean to check if the value has been set.

func (o CheckDocumentAccessRequest) MarshalJSON() ([]byte, error)
func (o *CheckDocumentAccessRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *CheckDocumentAccessRequest) SetDocId(v string)

SetDocId sets field value

func (o *CheckDocumentAccessRequest) SetObjectType(v string)

SetObjectType sets field value

func (o *CheckDocumentAccessRequest) SetUserEmail(v string)

SetUserEmail sets field value

Type CheckDocumentAccessResponse
type CheckDocumentAccessResponse struct {
	// If true, user has access to document for search
	HasAccess *bool `json:"hasAccess,omitempty"`
}

CheckDocumentAccessResponse Describes the response body of the /checkdocumentaccess API call

Functions
func NewCheckDocumentAccessResponse() *CheckDocumentAccessResponse

NewCheckDocumentAccessResponse instantiates a new CheckDocumentAccessResponse 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

func NewCheckDocumentAccessResponseWithDefaults() *CheckDocumentAccessResponse

NewCheckDocumentAccessResponseWithDefaults instantiates a new CheckDocumentAccessResponse 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

Methods
func (o *CheckDocumentAccessResponse) GetHasAccess() bool

GetHasAccess returns the HasAccess field value if set, zero value otherwise.

func (o *CheckDocumentAccessResponse) GetHasAccessOk() (*bool, bool)

GetHasAccessOk returns a tuple with the HasAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CheckDocumentAccessResponse) HasHasAccess() bool

HasHasAccess returns a boolean if a field has been set.

func (o CheckDocumentAccessResponse) MarshalJSON() ([]byte, error)
func (o *CheckDocumentAccessResponse) SetHasAccess(v bool)

SetHasAccess gets a reference to the given bool and assigns it to the HasAccess field.

Type Configuration
type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

Functions
func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

Methods
func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

Type ConnectorType
type ConnectorType string

ConnectorType The source from which document content was pulled, e.g. an API crawl or browser history

Constants
API_CRAWL, BROWSER_CRAWL, BROWSER_HISTORY, BUILTIN, FEDERATED_SEARCH, PUSH_API, WEB_CRAWL, NATIVE_HISTORY
API_CRAWL ConnectorType = "API_CRAWL"
BROWSER_CRAWL ConnectorType = "BROWSER_CRAWL"
BROWSER_HISTORY ConnectorType = "BROWSER_HISTORY"
BUILTIN ConnectorType = "BUILTIN"
FEDERATED_SEARCH ConnectorType = "FEDERATED_SEARCH"
PUSH_API ConnectorType = "PUSH_API"
WEB_CRAWL ConnectorType = "WEB_CRAWL"
NATIVE_HISTORY ConnectorType = "NATIVE_HISTORY"

List of ConnectorType

Functions
func NewConnectorTypeFromValue(v string) (*ConnectorType, error)

NewConnectorTypeFromValue returns a pointer to a valid ConnectorType for the value passed as argument, or an error if the value passed is not allowed by the enum

Methods
func (v ConnectorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (v ConnectorType) Ptr() *ConnectorType

Ptr returns reference to ConnectorType value

func (v *ConnectorType) UnmarshalJSON(src []byte) error
Type ContentDefinition
type ContentDefinition struct {
	MimeType string `json:"mimeType"`
	// text content. Only one of textContent or binary content can be specified
	TextContent *string `json:"textContent,omitempty"`
	// base64 encoded binary content. Only one of textContent or binary content can be specified
	BinaryContent *string `json:"binaryContent,omitempty"`
}

ContentDefinition Describes text content or base64 encoded binary content

Functions
func NewContentDefinition(mimeType string) *ContentDefinition

NewContentDefinition instantiates a new ContentDefinition 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

func NewContentDefinitionWithDefaults() *ContentDefinition

NewContentDefinitionWithDefaults instantiates a new ContentDefinition 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

Methods
func (o *ContentDefinition) GetBinaryContent() string

GetBinaryContent returns the BinaryContent field value if set, zero value otherwise.

func (o *ContentDefinition) GetBinaryContentOk() (*string, bool)

GetBinaryContentOk returns a tuple with the BinaryContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ContentDefinition) GetMimeType() string

GetMimeType returns the MimeType field value

func (o *ContentDefinition) GetMimeTypeOk() (*string, bool)

GetMimeTypeOk returns a tuple with the MimeType field value and a boolean to check if the value has been set.

func (o *ContentDefinition) GetTextContent() string

GetTextContent returns the TextContent field value if set, zero value otherwise.

func (o *ContentDefinition) GetTextContentOk() (*string, bool)

GetTextContentOk returns a tuple with the TextContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ContentDefinition) HasBinaryContent() bool

HasBinaryContent returns a boolean if a field has been set.

func (o *ContentDefinition) HasTextContent() bool

HasTextContent returns a boolean if a field has been set.

func (o ContentDefinition) MarshalJSON() ([]byte, error)
func (o *ContentDefinition) SetBinaryContent(v string)

SetBinaryContent gets a reference to the given string and assigns it to the BinaryContent field.

func (o *ContentDefinition) SetMimeType(v string)

SetMimeType sets field value

func (o *ContentDefinition) SetTextContent(v string)

SetTextContent gets a reference to the given string and assigns it to the TextContent field.

Type CustomDatasourceConfig
type CustomDatasourceConfig struct {
	// Unique identifier of datasource instance to which this config applies.
	Name string `json:"name"`
	// Example text for what to search for in this datasource
	SuggestionText *string `json:"suggestionText,omitempty"`
	// The user-friendly instance label to display. If omitted, falls back to the title-cased `name`.
	DisplayName *string `json:"displayName,omitempty"`
	// The URL of the landing page for this datasource instance. Should point to the most useful page for users, not the company marketing page.
	HomeUrl *string `json:"homeUrl,omitempty"`
	// This only applies to WEB_CRAWL and BROWSER_CRAWL datasources. Defines the seed urls for crawling.
	CrawlerSeedUrls []string `json:"crawlerSeedUrls,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance in dark mode. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconDarkUrl *string `json:"iconDarkUrl,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconUrl *string `json:"iconUrl,omitempty"`
	// The list of top-level `objectType`s for the datasource.
	ObjectDefinitions []ObjectDefinition `json:"objectDefinitions,omitempty"`
	// List of built-in facet types that should be hidden for the datasource.
	HideBuiltInFacets []string `json:"hideBuiltInFacets,omitempty"`
	// Regular expression that matches URLs of documents of the datasource instance. The behavior for multiple matches is non-deterministic. **Note: urlRegex is a required field for non-entity datasources (ie. datasources where isEntityDatasource is false). Please add a regex as specific as possible to this datasource instance.**
	UrlRegex *string `json:"urlRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary URL to transform it into a canonical URL for this datasource instance. Regexes are to be applied in the order specified in this list.
	CanonicalizingURLRegex []CanonicalizingRegexType `json:"canonicalizingURLRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary title to transform it into a title that will be displayed in the search results
	CanonicalizingTitleRegex []CanonicalizingRegexType `json:"canonicalizingTitleRegex,omitempty"`
	// A regex that identifies titles that should not be indexed
	RedlistTitleRegex *string        `json:"redlistTitleRegex,omitempty"`
	ConnectorType     *ConnectorType `json:"connectorType,omitempty"`
	// List of actions for this datasource instance that will show up in autocomplete and app card, e.g. \"Create new issue\" for jira
	Quicklinks []Quicklink `json:"quicklinks,omitempty"`
	// The name of a render config to use for displaying results from this datasource. Any well known datasource name may be used to render the same as that source, e.g. `web` or `gdrive`.
	RenderConfigPreset *string `json:"renderConfigPreset,omitempty"`
	// Aliases that can be used as `app` operator-values.
	Aliases []string `json:"aliases,omitempty"`
	// The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED.
	DatasourceCategory *string `json:"datasourceCategory,omitempty"`
	// Whether or not this datasource is hosted on-premise.
	IsOnPrem *bool `json:"isOnPrem,omitempty"`
	// True if browser activity is able to report the correct URL for VIEW events. Set this to true if the URLs reported by Chrome are constant throughout each page load. Set this to false if the page has Javascript that modifies the URL during or after the load.
	TrustUrlRegexForViewActivity *bool `json:"trustUrlRegexForViewActivity,omitempty"`
	// If true, a utm_source query param will be added to outbound links to this datasource within Glean.
	IncludeUtmSource *bool `json:"includeUtmSource,omitempty"`
	// If the datasource uses another datasource for identity info, then the name of the datasource. The identity datasource must exist already.
	IdentityDatasourceName *string `json:"identityDatasourceName,omitempty"`
	// If the datasource uses a specific product access group, then the name of that group.
	ProductAccessGroup *string `json:"productAccessGroup,omitempty"`
	// whether email is used to reference users in document ACLs and in group memberships.
	IsUserReferencedByEmail *bool `json:"isUserReferencedByEmail,omitempty"`
	// True if this datasource is used to push custom entities.
	IsEntityDatasource *bool `json:"isEntityDatasource,omitempty"`
	// True if this datasource will be used for testing purpose only. Documents from such a datasource wouldn't have any effect on search rankings.
	IsTestDatasource *bool `json:"isTestDatasource,omitempty"`
}

CustomDatasourceConfig Structure describing config properties of a custom datasource

Functions
func NewCustomDatasourceConfig(name string) *CustomDatasourceConfig

NewCustomDatasourceConfig instantiates a new CustomDatasourceConfig 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

func NewCustomDatasourceConfigWithDefaults() *CustomDatasourceConfig

NewCustomDatasourceConfigWithDefaults instantiates a new CustomDatasourceConfig 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

Methods
func (o *CustomDatasourceConfig) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetAliasesOk() ([]string, bool)

GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetCanonicalizingTitleRegex() []CanonicalizingRegexType

GetCanonicalizingTitleRegex returns the CanonicalizingTitleRegex field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetCanonicalizingTitleRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingTitleRegexOk returns a tuple with the CanonicalizingTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetCanonicalizingURLRegex() []CanonicalizingRegexType

GetCanonicalizingURLRegex returns the CanonicalizingURLRegex field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetCanonicalizingURLRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingURLRegexOk returns a tuple with the CanonicalizingURLRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetConnectorType() ConnectorType

GetConnectorType returns the ConnectorType field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetConnectorTypeOk() (*ConnectorType, bool)

GetConnectorTypeOk returns a tuple with the ConnectorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetCrawlerSeedUrls() []string

GetCrawlerSeedUrls returns the CrawlerSeedUrls field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetCrawlerSeedUrlsOk() ([]string, bool)

GetCrawlerSeedUrlsOk returns a tuple with the CrawlerSeedUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetDatasourceCategory() string

GetDatasourceCategory returns the DatasourceCategory field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetDatasourceCategoryOk() (*string, bool)

GetDatasourceCategoryOk returns a tuple with the DatasourceCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetHideBuiltInFacets() []string

GetHideBuiltInFacets returns the HideBuiltInFacets field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetHideBuiltInFacetsOk() ([]string, bool)

GetHideBuiltInFacetsOk returns a tuple with the HideBuiltInFacets field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetHomeUrl() string

GetHomeUrl returns the HomeUrl field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetHomeUrlOk() (*string, bool)

GetHomeUrlOk returns a tuple with the HomeUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetIconDarkUrl() string

GetIconDarkUrl returns the IconDarkUrl field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetIconDarkUrlOk() (*string, bool)

GetIconDarkUrlOk returns a tuple with the IconDarkUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetIdentityDatasourceName() string

GetIdentityDatasourceName returns the IdentityDatasourceName field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetIdentityDatasourceNameOk() (*string, bool)

GetIdentityDatasourceNameOk returns a tuple with the IdentityDatasourceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetIncludeUtmSource() bool

GetIncludeUtmSource returns the IncludeUtmSource field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetIncludeUtmSourceOk() (*bool, bool)

GetIncludeUtmSourceOk returns a tuple with the IncludeUtmSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetIsEntityDatasource() bool

GetIsEntityDatasource returns the IsEntityDatasource field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetIsEntityDatasourceOk() (*bool, bool)

GetIsEntityDatasourceOk returns a tuple with the IsEntityDatasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetIsOnPrem() bool

GetIsOnPrem returns the IsOnPrem field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetIsOnPremOk() (*bool, bool)

GetIsOnPremOk returns a tuple with the IsOnPrem field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetIsTestDatasource() bool

GetIsTestDatasource returns the IsTestDatasource field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetIsTestDatasourceOk() (*bool, bool)

GetIsTestDatasourceOk returns a tuple with the IsTestDatasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetIsUserReferencedByEmail() bool

GetIsUserReferencedByEmail returns the IsUserReferencedByEmail field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetIsUserReferencedByEmailOk() (*bool, bool)

GetIsUserReferencedByEmailOk returns a tuple with the IsUserReferencedByEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetName() string

GetName returns the Name field value

func (o *CustomDatasourceConfig) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetObjectDefinitions() []ObjectDefinition

GetObjectDefinitions returns the ObjectDefinitions field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetObjectDefinitionsOk() ([]ObjectDefinition, bool)

GetObjectDefinitionsOk returns a tuple with the ObjectDefinitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetProductAccessGroup() string

GetProductAccessGroup returns the ProductAccessGroup field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetProductAccessGroupOk() (*string, bool)

GetProductAccessGroupOk returns a tuple with the ProductAccessGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetQuicklinks() []Quicklink

GetQuicklinks returns the Quicklinks field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetQuicklinksOk() ([]Quicklink, bool)

GetQuicklinksOk returns a tuple with the Quicklinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetRedlistTitleRegex() string

GetRedlistTitleRegex returns the RedlistTitleRegex field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetRedlistTitleRegexOk() (*string, bool)

GetRedlistTitleRegexOk returns a tuple with the RedlistTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetRenderConfigPreset() string

GetRenderConfigPreset returns the RenderConfigPreset field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetRenderConfigPresetOk() (*string, bool)

GetRenderConfigPresetOk returns a tuple with the RenderConfigPreset field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetSuggestionText() string

GetSuggestionText returns the SuggestionText field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetSuggestionTextOk() (*string, bool)

GetSuggestionTextOk returns a tuple with the SuggestionText field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetTrustUrlRegexForViewActivity() bool

GetTrustUrlRegexForViewActivity returns the TrustUrlRegexForViewActivity field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetTrustUrlRegexForViewActivityOk() (*bool, bool)

GetTrustUrlRegexForViewActivityOk returns a tuple with the TrustUrlRegexForViewActivity field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetUrlRegex() string

GetUrlRegex returns the UrlRegex field value if set, zero value otherwise.

func (o *CustomDatasourceConfig) GetUrlRegexOk() (*string, bool)

GetUrlRegexOk returns a tuple with the UrlRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasCanonicalizingTitleRegex() bool

HasCanonicalizingTitleRegex returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasCanonicalizingURLRegex() bool

HasCanonicalizingURLRegex returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasConnectorType() bool

HasConnectorType returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasCrawlerSeedUrls() bool

HasCrawlerSeedUrls returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasDatasourceCategory() bool

HasDatasourceCategory returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasHideBuiltInFacets() bool

HasHideBuiltInFacets returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasHomeUrl() bool

HasHomeUrl returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasIconDarkUrl() bool

HasIconDarkUrl returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasIdentityDatasourceName() bool

HasIdentityDatasourceName returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasIncludeUtmSource() bool

HasIncludeUtmSource returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasIsEntityDatasource() bool

HasIsEntityDatasource returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasIsOnPrem() bool

HasIsOnPrem returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasIsTestDatasource() bool

HasIsTestDatasource returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasIsUserReferencedByEmail() bool

HasIsUserReferencedByEmail returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasObjectDefinitions() bool

HasObjectDefinitions returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasProductAccessGroup() bool

HasProductAccessGroup returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasQuicklinks() bool

HasQuicklinks returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasRedlistTitleRegex() bool

HasRedlistTitleRegex returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasRenderConfigPreset() bool

HasRenderConfigPreset returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasSuggestionText() bool

HasSuggestionText returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasTrustUrlRegexForViewActivity() bool

HasTrustUrlRegexForViewActivity returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasUrlRegex() bool

HasUrlRegex returns a boolean if a field has been set.

func (o CustomDatasourceConfig) MarshalJSON() ([]byte, error)
func (o *CustomDatasourceConfig) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (o *CustomDatasourceConfig) SetCanonicalizingTitleRegex(v []CanonicalizingRegexType)

SetCanonicalizingTitleRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingTitleRegex field.

func (o *CustomDatasourceConfig) SetCanonicalizingURLRegex(v []CanonicalizingRegexType)

SetCanonicalizingURLRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingURLRegex field.

func (o *CustomDatasourceConfig) SetConnectorType(v ConnectorType)

SetConnectorType gets a reference to the given ConnectorType and assigns it to the ConnectorType field.

func (o *CustomDatasourceConfig) SetCrawlerSeedUrls(v []string)

SetCrawlerSeedUrls gets a reference to the given []string and assigns it to the CrawlerSeedUrls field.

func (o *CustomDatasourceConfig) SetDatasourceCategory(v string)

SetDatasourceCategory gets a reference to the given string and assigns it to the DatasourceCategory field.

func (o *CustomDatasourceConfig) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (o *CustomDatasourceConfig) SetHideBuiltInFacets(v []string)

SetHideBuiltInFacets gets a reference to the given []string and assigns it to the HideBuiltInFacets field.

func (o *CustomDatasourceConfig) SetHomeUrl(v string)

SetHomeUrl gets a reference to the given string and assigns it to the HomeUrl field.

func (o *CustomDatasourceConfig) SetIconDarkUrl(v string)

SetIconDarkUrl gets a reference to the given string and assigns it to the IconDarkUrl field.

func (o *CustomDatasourceConfig) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (o *CustomDatasourceConfig) SetIdentityDatasourceName(v string)

SetIdentityDatasourceName gets a reference to the given string and assigns it to the IdentityDatasourceName field.

func (o *CustomDatasourceConfig) SetIncludeUtmSource(v bool)

SetIncludeUtmSource gets a reference to the given bool and assigns it to the IncludeUtmSource field.

func (o *CustomDatasourceConfig) SetIsEntityDatasource(v bool)

SetIsEntityDatasource gets a reference to the given bool and assigns it to the IsEntityDatasource field.

func (o *CustomDatasourceConfig) SetIsOnPrem(v bool)

SetIsOnPrem gets a reference to the given bool and assigns it to the IsOnPrem field.

func (o *CustomDatasourceConfig) SetIsTestDatasource(v bool)

SetIsTestDatasource gets a reference to the given bool and assigns it to the IsTestDatasource field.

func (o *CustomDatasourceConfig) SetIsUserReferencedByEmail(v bool)

SetIsUserReferencedByEmail gets a reference to the given bool and assigns it to the IsUserReferencedByEmail field.

func (o *CustomDatasourceConfig) SetName(v string)

SetName sets field value

func (o *CustomDatasourceConfig) SetObjectDefinitions(v []ObjectDefinition)

SetObjectDefinitions gets a reference to the given []ObjectDefinition and assigns it to the ObjectDefinitions field.

func (o *CustomDatasourceConfig) SetProductAccessGroup(v string)

SetProductAccessGroup gets a reference to the given string and assigns it to the ProductAccessGroup field.

func (o *CustomDatasourceConfig) SetQuicklinks(v []Quicklink)

SetQuicklinks gets a reference to the given []Quicklink and assigns it to the Quicklinks field.

func (o *CustomDatasourceConfig) SetRedlistTitleRegex(v string)

SetRedlistTitleRegex gets a reference to the given string and assigns it to the RedlistTitleRegex field.

func (o *CustomDatasourceConfig) SetRenderConfigPreset(v string)

SetRenderConfigPreset gets a reference to the given string and assigns it to the RenderConfigPreset field.

func (o *CustomDatasourceConfig) SetSuggestionText(v string)

SetSuggestionText gets a reference to the given string and assigns it to the SuggestionText field.

func (o *CustomDatasourceConfig) SetTrustUrlRegexForViewActivity(v bool)

SetTrustUrlRegexForViewActivity gets a reference to the given bool and assigns it to the TrustUrlRegexForViewActivity field.

func (o *CustomDatasourceConfig) SetUrlRegex(v string)

SetUrlRegex gets a reference to the given string and assigns it to the UrlRegex field.

Type CustomDatasourceConfigAllOf
type CustomDatasourceConfigAllOf struct {
	// If the datasource uses another datasource for identity info, then the name of the datasource. The identity datasource must exist already.
	IdentityDatasourceName *string `json:"identityDatasourceName,omitempty"`
	// If the datasource uses a specific product access group, then the name of that group.
	ProductAccessGroup *string `json:"productAccessGroup,omitempty"`
	// whether email is used to reference users in document ACLs and in group memberships.
	IsUserReferencedByEmail *bool `json:"isUserReferencedByEmail,omitempty"`
	// True if this datasource is used to push custom entities.
	IsEntityDatasource *bool `json:"isEntityDatasource,omitempty"`
	// True if this datasource will be used for testing purpose only. Documents from such a datasource wouldn't have any effect on search rankings.
	IsTestDatasource *bool `json:"isTestDatasource,omitempty"`
}

CustomDatasourceConfigAllOf struct for CustomDatasourceConfigAllOf

Functions
func NewCustomDatasourceConfigAllOf() *CustomDatasourceConfigAllOf

NewCustomDatasourceConfigAllOf instantiates a new CustomDatasourceConfigAllOf 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

func NewCustomDatasourceConfigAllOfWithDefaults() *CustomDatasourceConfigAllOf

NewCustomDatasourceConfigAllOfWithDefaults instantiates a new CustomDatasourceConfigAllOf 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

Methods
func (o *CustomDatasourceConfigAllOf) GetIdentityDatasourceName() string

GetIdentityDatasourceName returns the IdentityDatasourceName field value if set, zero value otherwise.

func (o *CustomDatasourceConfigAllOf) GetIdentityDatasourceNameOk() (*string, bool)

GetIdentityDatasourceNameOk returns a tuple with the IdentityDatasourceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfigAllOf) GetIsEntityDatasource() bool

GetIsEntityDatasource returns the IsEntityDatasource field value if set, zero value otherwise.

func (o *CustomDatasourceConfigAllOf) GetIsEntityDatasourceOk() (*bool, bool)

GetIsEntityDatasourceOk returns a tuple with the IsEntityDatasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfigAllOf) GetIsTestDatasource() bool

GetIsTestDatasource returns the IsTestDatasource field value if set, zero value otherwise.

func (o *CustomDatasourceConfigAllOf) GetIsTestDatasourceOk() (*bool, bool)

GetIsTestDatasourceOk returns a tuple with the IsTestDatasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfigAllOf) GetIsUserReferencedByEmail() bool

GetIsUserReferencedByEmail returns the IsUserReferencedByEmail field value if set, zero value otherwise.

func (o *CustomDatasourceConfigAllOf) GetIsUserReferencedByEmailOk() (*bool, bool)

GetIsUserReferencedByEmailOk returns a tuple with the IsUserReferencedByEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfigAllOf) GetProductAccessGroup() string

GetProductAccessGroup returns the ProductAccessGroup field value if set, zero value otherwise.

func (o *CustomDatasourceConfigAllOf) GetProductAccessGroupOk() (*string, bool)

GetProductAccessGroupOk returns a tuple with the ProductAccessGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfigAllOf) HasIdentityDatasourceName() bool

HasIdentityDatasourceName returns a boolean if a field has been set.

func (o *CustomDatasourceConfigAllOf) HasIsEntityDatasource() bool

HasIsEntityDatasource returns a boolean if a field has been set.

func (o *CustomDatasourceConfigAllOf) HasIsTestDatasource() bool

HasIsTestDatasource returns a boolean if a field has been set.

func (o *CustomDatasourceConfigAllOf) HasIsUserReferencedByEmail() bool

HasIsUserReferencedByEmail returns a boolean if a field has been set.

func (o *CustomDatasourceConfigAllOf) HasProductAccessGroup() bool

HasProductAccessGroup returns a boolean if a field has been set.

func (o CustomDatasourceConfigAllOf) MarshalJSON() ([]byte, error)
func (o *CustomDatasourceConfigAllOf) SetIdentityDatasourceName(v string)

SetIdentityDatasourceName gets a reference to the given string and assigns it to the IdentityDatasourceName field.

func (o *CustomDatasourceConfigAllOf) SetIsEntityDatasource(v bool)

SetIsEntityDatasource gets a reference to the given bool and assigns it to the IsEntityDatasource field.

func (o *CustomDatasourceConfigAllOf) SetIsTestDatasource(v bool)

SetIsTestDatasource gets a reference to the given bool and assigns it to the IsTestDatasource field.

func (o *CustomDatasourceConfigAllOf) SetIsUserReferencedByEmail(v bool)

SetIsUserReferencedByEmail gets a reference to the given bool and assigns it to the IsUserReferencedByEmail field.

func (o *CustomDatasourceConfigAllOf) SetProductAccessGroup(v string)

SetProductAccessGroup gets a reference to the given string and assigns it to the ProductAccessGroup field.

Type CustomProperty
type CustomProperty struct {
	Name *string `json:"name,omitempty"`
	// Must either be a string or an array of strings. An integer, boolean, etc. is not valid. When OpenAPI Generator supports `oneOf`, we can semantically enforce this.
	Value interface{} `json:"value,omitempty"`
}

CustomProperty Describes the custom properties of the object.

Functions
func NewCustomProperty() *CustomProperty

NewCustomProperty instantiates a new CustomProperty 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

func NewCustomPropertyWithDefaults() *CustomProperty

NewCustomPropertyWithDefaults instantiates a new CustomProperty 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

Methods
func (o *CustomProperty) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *CustomProperty) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomProperty) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (o *CustomProperty) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, nil, true will be returned

func (o *CustomProperty) HasName() bool

HasName returns a boolean if a field has been set.

func (o *CustomProperty) HasValue() bool

HasValue returns a boolean if a field has been set.

func (o CustomProperty) MarshalJSON() ([]byte, error)
func (o *CustomProperty) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (o *CustomProperty) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

Type DatasourceBulkMembershipDefinition
type DatasourceBulkMembershipDefinition struct {
	// If the member is a user, then the email or datasource id for the user
	MemberUserId *string `json:"memberUserId,omitempty"`
	// If the member is a group, then the name of the member group
	MemberGroupName *string `json:"memberGroupName,omitempty"`
}

DatasourceBulkMembershipDefinition describes the membership row of a group in the bulk uploaded. Only one of memberUserId and memberGroupName can be specified.

Functions
func NewDatasourceBulkMembershipDefinition() *DatasourceBulkMembershipDefinition

NewDatasourceBulkMembershipDefinition instantiates a new DatasourceBulkMembershipDefinition 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

func NewDatasourceBulkMembershipDefinitionWithDefaults() *DatasourceBulkMembershipDefinition

NewDatasourceBulkMembershipDefinitionWithDefaults instantiates a new DatasourceBulkMembershipDefinition 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

Methods
func (o *DatasourceBulkMembershipDefinition) GetMemberGroupName() string

GetMemberGroupName returns the MemberGroupName field value if set, zero value otherwise.

func (o *DatasourceBulkMembershipDefinition) GetMemberGroupNameOk() (*string, bool)

GetMemberGroupNameOk returns a tuple with the MemberGroupName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceBulkMembershipDefinition) GetMemberUserId() string

GetMemberUserId returns the MemberUserId field value if set, zero value otherwise.

func (o *DatasourceBulkMembershipDefinition) GetMemberUserIdOk() (*string, bool)

GetMemberUserIdOk returns a tuple with the MemberUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceBulkMembershipDefinition) HasMemberGroupName() bool

HasMemberGroupName returns a boolean if a field has been set.

func (o *DatasourceBulkMembershipDefinition) HasMemberUserId() bool

HasMemberUserId returns a boolean if a field has been set.

func (o DatasourceBulkMembershipDefinition) MarshalJSON() ([]byte, error)
func (o *DatasourceBulkMembershipDefinition) SetMemberGroupName(v string)

SetMemberGroupName gets a reference to the given string and assigns it to the MemberGroupName field.

func (o *DatasourceBulkMembershipDefinition) SetMemberUserId(v string)

SetMemberUserId gets a reference to the given string and assigns it to the MemberUserId field.

Type DatasourceConfigList
type DatasourceConfigList struct {
	// Datasource configuration.
	DatasourceConfig []SharedDatasourceConfig `json:"datasourceConfig"`
}

DatasourceConfigList List of datasource configurations.

Functions
func NewDatasourceConfigList(datasourceConfig []SharedDatasourceConfig) *DatasourceConfigList

NewDatasourceConfigList instantiates a new DatasourceConfigList 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

func NewDatasourceConfigListWithDefaults() *DatasourceConfigList

NewDatasourceConfigListWithDefaults instantiates a new DatasourceConfigList 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

Methods
func (o *DatasourceConfigList) GetDatasourceConfig() []SharedDatasourceConfig

GetDatasourceConfig returns the DatasourceConfig field value

func (o *DatasourceConfigList) GetDatasourceConfigOk() ([]SharedDatasourceConfig, bool)

GetDatasourceConfigOk returns a tuple with the DatasourceConfig field value and a boolean to check if the value has been set.

func (o DatasourceConfigList) MarshalJSON() ([]byte, error)
func (o *DatasourceConfigList) SetDatasourceConfig(v []SharedDatasourceConfig)

SetDatasourceConfig sets field value

Type DatasourceGroupDefinition
type DatasourceGroupDefinition struct {
	// name of the group. Should be unique among all groups for the datasource, and cannot have spaces.
	Name string `json:"name"`
}

DatasourceGroupDefinition describes a group in the datasource

Functions
func NewDatasourceGroupDefinition(name string) *DatasourceGroupDefinition

NewDatasourceGroupDefinition instantiates a new DatasourceGroupDefinition 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

func NewDatasourceGroupDefinitionWithDefaults() *DatasourceGroupDefinition

NewDatasourceGroupDefinitionWithDefaults instantiates a new DatasourceGroupDefinition 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

Methods
func (o *DatasourceGroupDefinition) GetName() string

GetName returns the Name field value

func (o *DatasourceGroupDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o DatasourceGroupDefinition) MarshalJSON() ([]byte, error)
func (o *DatasourceGroupDefinition) SetName(v string)

SetName sets field value

Type DatasourceMembershipDefinition
type DatasourceMembershipDefinition struct {
	// The group for which the membership is specified
	GroupName string `json:"groupName"`
	// If the member is a user, then the email or datasource id for the user
	MemberUserId *string `json:"memberUserId,omitempty"`
	// If the member is a group, then the name of the member group
	MemberGroupName *string `json:"memberGroupName,omitempty"`
}

DatasourceMembershipDefinition describes the membership row of a group. Only one of memberUserId and memberGroupName can be specified.

Functions
func NewDatasourceMembershipDefinition(groupName string) *DatasourceMembershipDefinition

NewDatasourceMembershipDefinition instantiates a new DatasourceMembershipDefinition 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

func NewDatasourceMembershipDefinitionWithDefaults() *DatasourceMembershipDefinition

NewDatasourceMembershipDefinitionWithDefaults instantiates a new DatasourceMembershipDefinition 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

Methods
func (o *DatasourceMembershipDefinition) GetGroupName() string

GetGroupName returns the GroupName field value

func (o *DatasourceMembershipDefinition) GetGroupNameOk() (*string, bool)

GetGroupNameOk returns a tuple with the GroupName field value and a boolean to check if the value has been set.

func (o *DatasourceMembershipDefinition) GetMemberGroupName() string

GetMemberGroupName returns the MemberGroupName field value if set, zero value otherwise.

func (o *DatasourceMembershipDefinition) GetMemberGroupNameOk() (*string, bool)

GetMemberGroupNameOk returns a tuple with the MemberGroupName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceMembershipDefinition) GetMemberUserId() string

GetMemberUserId returns the MemberUserId field value if set, zero value otherwise.

func (o *DatasourceMembershipDefinition) GetMemberUserIdOk() (*string, bool)

GetMemberUserIdOk returns a tuple with the MemberUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceMembershipDefinition) HasMemberGroupName() bool

HasMemberGroupName returns a boolean if a field has been set.

func (o *DatasourceMembershipDefinition) HasMemberUserId() bool

HasMemberUserId returns a boolean if a field has been set.

func (o DatasourceMembershipDefinition) MarshalJSON() ([]byte, error)
func (o *DatasourceMembershipDefinition) SetGroupName(v string)

SetGroupName sets field value

func (o *DatasourceMembershipDefinition) SetMemberGroupName(v string)

SetMemberGroupName gets a reference to the given string and assigns it to the MemberGroupName field.

func (o *DatasourceMembershipDefinition) SetMemberUserId(v string)

SetMemberUserId gets a reference to the given string and assigns it to the MemberUserId field.

Type DatasourceProfile
type DatasourceProfile struct {
	// The datasource the profile is of.
	Datasource string `json:"datasource"`
	// The display name of the person in the given datasource.
	Handle string `json:"handle"`
	// URL to view the user's profile.
	Url *string `json:"url,omitempty"`
	// A deep link, if available, into the datasource's native application for the user's platform (i.e. slack://...).
	NativeAppUrl *string `json:"nativeAppUrl,omitempty"`
	// For internal use only. True iff the data source profile was manually added by a user from within Glean (aka not from the original data source)
	IsUserGenerated *bool `json:"isUserGenerated,omitempty"`
}

DatasourceProfile struct for DatasourceProfile

Functions
func NewDatasourceProfile(datasource string, handle string) *DatasourceProfile

NewDatasourceProfile instantiates a new DatasourceProfile 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

func NewDatasourceProfileWithDefaults() *DatasourceProfile

NewDatasourceProfileWithDefaults instantiates a new DatasourceProfile 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

Methods
func (o *DatasourceProfile) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *DatasourceProfile) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *DatasourceProfile) GetHandle() string

GetHandle returns the Handle field value

func (o *DatasourceProfile) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value and a boolean to check if the value has been set.

func (o *DatasourceProfile) GetIsUserGenerated() bool

GetIsUserGenerated returns the IsUserGenerated field value if set, zero value otherwise.

func (o *DatasourceProfile) GetIsUserGeneratedOk() (*bool, bool)

GetIsUserGeneratedOk returns a tuple with the IsUserGenerated field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceProfile) GetNativeAppUrl() string

GetNativeAppUrl returns the NativeAppUrl field value if set, zero value otherwise.

func (o *DatasourceProfile) GetNativeAppUrlOk() (*string, bool)

GetNativeAppUrlOk returns a tuple with the NativeAppUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceProfile) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (o *DatasourceProfile) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceProfile) HasIsUserGenerated() bool

HasIsUserGenerated returns a boolean if a field has been set.

func (o *DatasourceProfile) HasNativeAppUrl() bool

HasNativeAppUrl returns a boolean if a field has been set.

func (o *DatasourceProfile) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (o DatasourceProfile) MarshalJSON() ([]byte, error)
func (o *DatasourceProfile) SetDatasource(v string)

SetDatasource sets field value

func (o *DatasourceProfile) SetHandle(v string)

SetHandle sets field value

func (o *DatasourceProfile) SetIsUserGenerated(v bool)

SetIsUserGenerated gets a reference to the given bool and assigns it to the IsUserGenerated field.

func (o *DatasourceProfile) SetNativeAppUrl(v string)

SetNativeAppUrl gets a reference to the given string and assigns it to the NativeAppUrl field.

func (o *DatasourceProfile) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

Type DatasourceUserDefinition
type DatasourceUserDefinition struct {
	Email *string `json:"email,omitempty"`
	// To be supplied if the user id in the datasource is not the email
	UserId *string `json:"userId,omitempty"`
	Name   string  `json:"name"`
	// set to false if the user is a former employee or a bot
	IsActive *bool `json:"isActive,omitempty"`
}

DatasourceUserDefinition describes a user in the datasource

Functions
func NewDatasourceUserDefinition(name string) *DatasourceUserDefinition

NewDatasourceUserDefinition instantiates a new DatasourceUserDefinition 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

func NewDatasourceUserDefinitionWithDefaults() *DatasourceUserDefinition

NewDatasourceUserDefinitionWithDefaults instantiates a new DatasourceUserDefinition 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

Methods
func (o *DatasourceUserDefinition) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (o *DatasourceUserDefinition) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceUserDefinition) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (o *DatasourceUserDefinition) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceUserDefinition) GetName() string

GetName returns the Name field value

func (o *DatasourceUserDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *DatasourceUserDefinition) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (o *DatasourceUserDefinition) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DatasourceUserDefinition) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (o *DatasourceUserDefinition) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (o *DatasourceUserDefinition) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (o DatasourceUserDefinition) MarshalJSON() ([]byte, error)
func (o *DatasourceUserDefinition) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (o *DatasourceUserDefinition) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (o *DatasourceUserDefinition) SetName(v string)

SetName sets field value

func (o *DatasourceUserDefinition) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

Type DatasourcesApiService
type DatasourcesApiService service

DatasourcesApiService DatasourcesApi service

Methods
func (a *DatasourcesApiService) AdddatasourcePost(ctx context.Context) ApiAdddatasourcePostRequest

AdddatasourcePost Add datasource

API to register a custom datasource type and its schema.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAdddatasourcePostRequest
func (a *DatasourcesApiService) AdddatasourcePostExecute(r ApiAdddatasourcePostRequest) (*http.Response, error)

Execute executes the request

func (a *DatasourcesApiService) GetdatasourceconfigPost(ctx context.Context) ApiGetdatasourceconfigPostRequest

GetdatasourceconfigPost Get datasource config

Fetches the datasource config for the specified custom datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetdatasourceconfigPostRequest
func (a *DatasourcesApiService) GetdatasourceconfigPostExecute(r ApiGetdatasourceconfigPostRequest) (*CustomDatasourceConfig, *http.Response, error)

Execute executes the request

@return CustomDatasourceConfig
Type DeleteDocumentRequest
type DeleteDocumentRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// datasource of the document
	Datasource string `json:"datasource"`
	// object type of the document
	ObjectType string `json:"objectType"`
	// The id of the document
	Id string `json:"id"`
}

DeleteDocumentRequest Describes the request body of the /deletedocument API call

Functions
func NewDeleteDocumentRequest(datasource string, objectType string, id string) *DeleteDocumentRequest

NewDeleteDocumentRequest instantiates a new DeleteDocumentRequest 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

func NewDeleteDocumentRequestWithDefaults() *DeleteDocumentRequest

NewDeleteDocumentRequestWithDefaults instantiates a new DeleteDocumentRequest 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

Methods
func (o *DeleteDocumentRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *DeleteDocumentRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *DeleteDocumentRequest) GetId() string

GetId returns the Id field value

func (o *DeleteDocumentRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (o *DeleteDocumentRequest) GetObjectType() string

GetObjectType returns the ObjectType field value

func (o *DeleteDocumentRequest) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field value and a boolean to check if the value has been set.

func (o *DeleteDocumentRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *DeleteDocumentRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DeleteDocumentRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o DeleteDocumentRequest) MarshalJSON() ([]byte, error)
func (o *DeleteDocumentRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *DeleteDocumentRequest) SetId(v string)

SetId sets field value

func (o *DeleteDocumentRequest) SetObjectType(v string)

SetObjectType sets field value

func (o *DeleteDocumentRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type DeleteEmployeeRequest
type DeleteEmployeeRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The deleted employee's email
	EmployeeEmail string `json:"employeeEmail"`
}

DeleteEmployeeRequest Describes the request body of the /deleteemployee API call

Functions
func NewDeleteEmployeeRequest(employeeEmail string) *DeleteEmployeeRequest

NewDeleteEmployeeRequest instantiates a new DeleteEmployeeRequest 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

func NewDeleteEmployeeRequestWithDefaults() *DeleteEmployeeRequest

NewDeleteEmployeeRequestWithDefaults instantiates a new DeleteEmployeeRequest 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

Methods
func (o *DeleteEmployeeRequest) GetEmployeeEmail() string

GetEmployeeEmail returns the EmployeeEmail field value

func (o *DeleteEmployeeRequest) GetEmployeeEmailOk() (*string, bool)

GetEmployeeEmailOk returns a tuple with the EmployeeEmail field value and a boolean to check if the value has been set.

func (o *DeleteEmployeeRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *DeleteEmployeeRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DeleteEmployeeRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o DeleteEmployeeRequest) MarshalJSON() ([]byte, error)
func (o *DeleteEmployeeRequest) SetEmployeeEmail(v string)

SetEmployeeEmail sets field value

func (o *DeleteEmployeeRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type DeleteGroupRequest
type DeleteGroupRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the group is removed
	Datasource string `json:"datasource"`
	// the name of the group to be deleted
	GroupName string `json:"groupName"`
}

DeleteGroupRequest Describes the request body of the /deletegroup API call

Functions
func NewDeleteGroupRequest(datasource string, groupName string) *DeleteGroupRequest

NewDeleteGroupRequest instantiates a new DeleteGroupRequest 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

func NewDeleteGroupRequestWithDefaults() *DeleteGroupRequest

NewDeleteGroupRequestWithDefaults instantiates a new DeleteGroupRequest 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

Methods
func (o *DeleteGroupRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *DeleteGroupRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *DeleteGroupRequest) GetGroupName() string

GetGroupName returns the GroupName field value

func (o *DeleteGroupRequest) GetGroupNameOk() (*string, bool)

GetGroupNameOk returns a tuple with the GroupName field value and a boolean to check if the value has been set.

func (o *DeleteGroupRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *DeleteGroupRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DeleteGroupRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o DeleteGroupRequest) MarshalJSON() ([]byte, error)
func (o *DeleteGroupRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *DeleteGroupRequest) SetGroupName(v string)

SetGroupName sets field value

func (o *DeleteGroupRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type DeleteMembershipRequest
type DeleteMembershipRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the membership is removed
	Datasource string                         `json:"datasource"`
	Membership DatasourceMembershipDefinition `json:"membership"`
}

DeleteMembershipRequest Describes the request body of the /deletemembership API call

Functions
func NewDeleteMembershipRequest(datasource string, membership DatasourceMembershipDefinition) *DeleteMembershipRequest

NewDeleteMembershipRequest instantiates a new DeleteMembershipRequest 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

func NewDeleteMembershipRequestWithDefaults() *DeleteMembershipRequest

NewDeleteMembershipRequestWithDefaults instantiates a new DeleteMembershipRequest 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

Methods
func (o *DeleteMembershipRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *DeleteMembershipRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *DeleteMembershipRequest) GetMembership() DatasourceMembershipDefinition

GetMembership returns the Membership field value

func (o *DeleteMembershipRequest) GetMembershipOk() (*DatasourceMembershipDefinition, bool)

GetMembershipOk returns a tuple with the Membership field value and a boolean to check if the value has been set.

func (o *DeleteMembershipRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *DeleteMembershipRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DeleteMembershipRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o DeleteMembershipRequest) MarshalJSON() ([]byte, error)
func (o *DeleteMembershipRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *DeleteMembershipRequest) SetMembership(v DatasourceMembershipDefinition)

SetMembership sets field value

func (o *DeleteMembershipRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type DeleteUserRequest
type DeleteUserRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the user is removed
	Datasource string `json:"datasource"`
	// The email of the user to be deleted
	Email string `json:"email"`
}

DeleteUserRequest Describes the request body of the /deleteuser API call

Functions
func NewDeleteUserRequest(datasource string, email string) *DeleteUserRequest

NewDeleteUserRequest instantiates a new DeleteUserRequest 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

func NewDeleteUserRequestWithDefaults() *DeleteUserRequest

NewDeleteUserRequestWithDefaults instantiates a new DeleteUserRequest 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

Methods
func (o *DeleteUserRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *DeleteUserRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *DeleteUserRequest) GetEmail() string

GetEmail returns the Email field value

func (o *DeleteUserRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (o *DeleteUserRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *DeleteUserRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DeleteUserRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o DeleteUserRequest) MarshalJSON() ([]byte, error)
func (o *DeleteUserRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *DeleteUserRequest) SetEmail(v string)

SetEmail sets field value

func (o *DeleteUserRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type DocumentDefinition
type DocumentDefinition struct {
	// Document title, in plain text, if present.
	Title *string `json:"title,omitempty"`
	// The container for the content (Folder for example for file content).
	Container  *string `json:"container,omitempty"`
	Datasource string  `json:"datasource"`
	// The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _
	ObjectType *string `json:"objectType,omitempty"`
	// The permalink for viewing the document.
	ViewURL *string `json:"viewURL,omitempty"`
	// The datasource specific id for the document. This should not be more than 200 characters in length.
	Id          *string                        `json:"id,omitempty"`
	Summary     *ContentDefinition             `json:"summary,omitempty"`
	Body        *ContentDefinition             `json:"body,omitempty"`
	Author      *UserReferenceDefinition       `json:"author,omitempty"`
	Owner       *UserReferenceDefinition       `json:"owner,omitempty"`
	Permissions *DocumentPermissionsDefinition `json:"permissions,omitempty"`
	// The creation time, in epoch seconds.
	CreatedAt *int64 `json:"createdAt,omitempty"`
	// The last update time, in epoch seconds.
	UpdatedAt *int64                   `json:"updatedAt,omitempty"`
	UpdatedBy *UserReferenceDefinition `json:"updatedBy,omitempty"`
	// Labels associated with the document.
	Tags         []string                        `json:"tags,omitempty"`
	Interactions *DocumentInteractionsDefinition `json:"interactions,omitempty"`
	Status       *string                         `json:"status,omitempty"`
	// Additional variations of the url that this document points to.
	AdditionalUrls []string `json:"additionalUrls,omitempty"`
	// Additional metadata properties of the document.
	CustomProperties []CustomProperty `json:"customProperties,omitempty"`
}

DocumentDefinition Indexable document structure

Functions
func NewDocumentDefinition(datasource string) *DocumentDefinition

NewDocumentDefinition instantiates a new DocumentDefinition 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

func NewDocumentDefinitionWithDefaults() *DocumentDefinition

NewDocumentDefinitionWithDefaults instantiates a new DocumentDefinition 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

Methods
func (o *DocumentDefinition) GetAdditionalUrls() []string

GetAdditionalUrls returns the AdditionalUrls field value if set, zero value otherwise.

func (o *DocumentDefinition) GetAdditionalUrlsOk() ([]string, bool)

GetAdditionalUrlsOk returns a tuple with the AdditionalUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetAuthor() UserReferenceDefinition

GetAuthor returns the Author field value if set, zero value otherwise.

func (o *DocumentDefinition) GetAuthorOk() (*UserReferenceDefinition, bool)

GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetBody() ContentDefinition

GetBody returns the Body field value if set, zero value otherwise.

func (o *DocumentDefinition) GetBodyOk() (*ContentDefinition, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetContainer() string

GetContainer returns the Container field value if set, zero value otherwise.

func (o *DocumentDefinition) GetContainerOk() (*string, bool)

GetContainerOk returns a tuple with the Container field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (o *DocumentDefinition) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetCustomProperties() []CustomProperty

GetCustomProperties returns the CustomProperties field value if set, zero value otherwise.

func (o *DocumentDefinition) GetCustomPropertiesOk() ([]CustomProperty, bool)

GetCustomPropertiesOk returns a tuple with the CustomProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *DocumentDefinition) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (o *DocumentDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetInteractions() DocumentInteractionsDefinition

GetInteractions returns the Interactions field value if set, zero value otherwise.

func (o *DocumentDefinition) GetInteractionsOk() (*DocumentInteractionsDefinition, bool)

GetInteractionsOk returns a tuple with the Interactions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetObjectType() string

GetObjectType returns the ObjectType field value if set, zero value otherwise.

func (o *DocumentDefinition) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetOwner() UserReferenceDefinition

GetOwner returns the Owner field value if set, zero value otherwise.

func (o *DocumentDefinition) GetOwnerOk() (*UserReferenceDefinition, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetPermissions() DocumentPermissionsDefinition

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (o *DocumentDefinition) GetPermissionsOk() (*DocumentPermissionsDefinition, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (o *DocumentDefinition) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetSummary() ContentDefinition

GetSummary returns the Summary field value if set, zero value otherwise.

func (o *DocumentDefinition) GetSummaryOk() (*ContentDefinition, bool)

GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (o *DocumentDefinition) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (o *DocumentDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (o *DocumentDefinition) GetUpdatedAtOk() (*int64, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetUpdatedBy() UserReferenceDefinition

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (o *DocumentDefinition) GetUpdatedByOk() (*UserReferenceDefinition, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) GetViewURL() string

GetViewURL returns the ViewURL field value if set, zero value otherwise.

func (o *DocumentDefinition) GetViewURLOk() (*string, bool)

GetViewURLOk returns a tuple with the ViewURL field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentDefinition) HasAdditionalUrls() bool

HasAdditionalUrls returns a boolean if a field has been set.

func (o *DocumentDefinition) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (o *DocumentDefinition) HasBody() bool

HasBody returns a boolean if a field has been set.

func (o *DocumentDefinition) HasContainer() bool

HasContainer returns a boolean if a field has been set.

func (o *DocumentDefinition) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (o *DocumentDefinition) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

func (o *DocumentDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (o *DocumentDefinition) HasInteractions() bool

HasInteractions returns a boolean if a field has been set.

func (o *DocumentDefinition) HasObjectType() bool

HasObjectType returns a boolean if a field has been set.

func (o *DocumentDefinition) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (o *DocumentDefinition) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (o *DocumentDefinition) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (o *DocumentDefinition) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (o *DocumentDefinition) HasTags() bool

HasTags returns a boolean if a field has been set.

func (o *DocumentDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (o *DocumentDefinition) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (o *DocumentDefinition) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (o *DocumentDefinition) HasViewURL() bool

HasViewURL returns a boolean if a field has been set.

func (o DocumentDefinition) MarshalJSON() ([]byte, error)
func (o *DocumentDefinition) SetAdditionalUrls(v []string)

SetAdditionalUrls gets a reference to the given []string and assigns it to the AdditionalUrls field.

func (o *DocumentDefinition) SetAuthor(v UserReferenceDefinition)

SetAuthor gets a reference to the given UserReferenceDefinition and assigns it to the Author field.

func (o *DocumentDefinition) SetBody(v ContentDefinition)

SetBody gets a reference to the given ContentDefinition and assigns it to the Body field.

func (o *DocumentDefinition) SetContainer(v string)

SetContainer gets a reference to the given string and assigns it to the Container field.

func (o *DocumentDefinition) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (o *DocumentDefinition) SetCustomProperties(v []CustomProperty)

SetCustomProperties gets a reference to the given []CustomProperty and assigns it to the CustomProperties field.

func (o *DocumentDefinition) SetDatasource(v string)

SetDatasource sets field value

func (o *DocumentDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *DocumentDefinition) SetInteractions(v DocumentInteractionsDefinition)

SetInteractions gets a reference to the given DocumentInteractionsDefinition and assigns it to the Interactions field.

func (o *DocumentDefinition) SetObjectType(v string)

SetObjectType gets a reference to the given string and assigns it to the ObjectType field.

func (o *DocumentDefinition) SetOwner(v UserReferenceDefinition)

SetOwner gets a reference to the given UserReferenceDefinition and assigns it to the Owner field.

func (o *DocumentDefinition) SetPermissions(v DocumentPermissionsDefinition)

SetPermissions gets a reference to the given DocumentPermissionsDefinition and assigns it to the Permissions field.

func (o *DocumentDefinition) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (o *DocumentDefinition) SetSummary(v ContentDefinition)

SetSummary gets a reference to the given ContentDefinition and assigns it to the Summary field.

func (o *DocumentDefinition) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (o *DocumentDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (o *DocumentDefinition) SetUpdatedAt(v int64)

SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.

func (o *DocumentDefinition) SetUpdatedBy(v UserReferenceDefinition)

SetUpdatedBy gets a reference to the given UserReferenceDefinition and assigns it to the UpdatedBy field.

func (o *DocumentDefinition) SetViewURL(v string)

SetViewURL gets a reference to the given string and assigns it to the ViewURL field.

Type DocumentInteractionsDefinition
type DocumentInteractionsDefinition struct {
	NumViews    *int32 `json:"numViews,omitempty"`
	NumLikes    *int32 `json:"numLikes,omitempty"`
	NumComments *int32 `json:"numComments,omitempty"`
}

DocumentInteractionsDefinition describes the interactions on the document

Functions
func NewDocumentInteractionsDefinition() *DocumentInteractionsDefinition

NewDocumentInteractionsDefinition instantiates a new DocumentInteractionsDefinition 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

func NewDocumentInteractionsDefinitionWithDefaults() *DocumentInteractionsDefinition

NewDocumentInteractionsDefinitionWithDefaults instantiates a new DocumentInteractionsDefinition 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

Methods
func (o *DocumentInteractionsDefinition) GetNumComments() int32

GetNumComments returns the NumComments field value if set, zero value otherwise.

func (o *DocumentInteractionsDefinition) GetNumCommentsOk() (*int32, bool)

GetNumCommentsOk returns a tuple with the NumComments field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentInteractionsDefinition) GetNumLikes() int32

GetNumLikes returns the NumLikes field value if set, zero value otherwise.

func (o *DocumentInteractionsDefinition) GetNumLikesOk() (*int32, bool)

GetNumLikesOk returns a tuple with the NumLikes field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentInteractionsDefinition) GetNumViews() int32

GetNumViews returns the NumViews field value if set, zero value otherwise.

func (o *DocumentInteractionsDefinition) GetNumViewsOk() (*int32, bool)

GetNumViewsOk returns a tuple with the NumViews field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentInteractionsDefinition) HasNumComments() bool

HasNumComments returns a boolean if a field has been set.

func (o *DocumentInteractionsDefinition) HasNumLikes() bool

HasNumLikes returns a boolean if a field has been set.

func (o *DocumentInteractionsDefinition) HasNumViews() bool

HasNumViews returns a boolean if a field has been set.

func (o DocumentInteractionsDefinition) MarshalJSON() ([]byte, error)
func (o *DocumentInteractionsDefinition) SetNumComments(v int32)

SetNumComments gets a reference to the given int32 and assigns it to the NumComments field.

func (o *DocumentInteractionsDefinition) SetNumLikes(v int32)

SetNumLikes gets a reference to the given int32 and assigns it to the NumLikes field.

func (o *DocumentInteractionsDefinition) SetNumViews(v int32)

SetNumViews gets a reference to the given int32 and assigns it to the NumViews field.

Type DocumentPermissionsDefinition
type DocumentPermissionsDefinition struct {
	// List of users who can view the document
	AllowedUsers []UserReferenceDefinition `json:"allowedUsers,omitempty"`
	// List of groups that can view the document
	AllowedGroups []string `json:"allowedGroups,omitempty"`
	// List of allowed group intersections. This describes a permissions constraint of the form ((GroupA AND GroupB AND GroupC) OR (GroupX AND GroupY) OR ...
	AllowedGroupIntersections []PermissionsGroupIntersectionDefinition `json:"allowedGroupIntersections,omitempty"`
	// If true, then any Glean user can view the document
	AllowAnonymousAccess *bool `json:"allowAnonymousAccess,omitempty"`
	// If true, then any user who has an account in the datasource can view the document.
	AllowAllDatasourceUsersAccess *bool `json:"allowAllDatasourceUsersAccess,omitempty"`
}

DocumentPermissionsDefinition describes the access control details of the document

Functions
func NewDocumentPermissionsDefinition() *DocumentPermissionsDefinition

NewDocumentPermissionsDefinition instantiates a new DocumentPermissionsDefinition 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

func NewDocumentPermissionsDefinitionWithDefaults() *DocumentPermissionsDefinition

NewDocumentPermissionsDefinitionWithDefaults instantiates a new DocumentPermissionsDefinition 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

Methods
func (o *DocumentPermissionsDefinition) GetAllowAllDatasourceUsersAccess() bool

GetAllowAllDatasourceUsersAccess returns the AllowAllDatasourceUsersAccess field value if set, zero value otherwise.

func (o *DocumentPermissionsDefinition) GetAllowAllDatasourceUsersAccessOk() (*bool, bool)

GetAllowAllDatasourceUsersAccessOk returns a tuple with the AllowAllDatasourceUsersAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentPermissionsDefinition) GetAllowAnonymousAccess() bool

GetAllowAnonymousAccess returns the AllowAnonymousAccess field value if set, zero value otherwise.

func (o *DocumentPermissionsDefinition) GetAllowAnonymousAccessOk() (*bool, bool)

GetAllowAnonymousAccessOk returns a tuple with the AllowAnonymousAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentPermissionsDefinition) GetAllowedGroupIntersections() []PermissionsGroupIntersectionDefinition

GetAllowedGroupIntersections returns the AllowedGroupIntersections field value if set, zero value otherwise.

func (o *DocumentPermissionsDefinition) GetAllowedGroupIntersectionsOk() ([]PermissionsGroupIntersectionDefinition, bool)

GetAllowedGroupIntersectionsOk returns a tuple with the AllowedGroupIntersections field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentPermissionsDefinition) GetAllowedGroups() []string

GetAllowedGroups returns the AllowedGroups field value if set, zero value otherwise.

func (o *DocumentPermissionsDefinition) GetAllowedGroupsOk() ([]string, bool)

GetAllowedGroupsOk returns a tuple with the AllowedGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentPermissionsDefinition) GetAllowedUsers() []UserReferenceDefinition

GetAllowedUsers returns the AllowedUsers field value if set, zero value otherwise.

func (o *DocumentPermissionsDefinition) GetAllowedUsersOk() ([]UserReferenceDefinition, bool)

GetAllowedUsersOk returns a tuple with the AllowedUsers field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DocumentPermissionsDefinition) HasAllowAllDatasourceUsersAccess() bool

HasAllowAllDatasourceUsersAccess returns a boolean if a field has been set.

func (o *DocumentPermissionsDefinition) HasAllowAnonymousAccess() bool

HasAllowAnonymousAccess returns a boolean if a field has been set.

func (o *DocumentPermissionsDefinition) HasAllowedGroupIntersections() bool

HasAllowedGroupIntersections returns a boolean if a field has been set.

func (o *DocumentPermissionsDefinition) HasAllowedGroups() bool

HasAllowedGroups returns a boolean if a field has been set.

func (o *DocumentPermissionsDefinition) HasAllowedUsers() bool

HasAllowedUsers returns a boolean if a field has been set.

func (o DocumentPermissionsDefinition) MarshalJSON() ([]byte, error)
func (o *DocumentPermissionsDefinition) SetAllowAllDatasourceUsersAccess(v bool)

SetAllowAllDatasourceUsersAccess gets a reference to the given bool and assigns it to the AllowAllDatasourceUsersAccess field.

func (o *DocumentPermissionsDefinition) SetAllowAnonymousAccess(v bool)

SetAllowAnonymousAccess gets a reference to the given bool and assigns it to the AllowAnonymousAccess field.

func (o *DocumentPermissionsDefinition) SetAllowedGroupIntersections(v []PermissionsGroupIntersectionDefinition)

SetAllowedGroupIntersections gets a reference to the given []PermissionsGroupIntersectionDefinition and assigns it to the AllowedGroupIntersections field.

func (o *DocumentPermissionsDefinition) SetAllowedGroups(v []string)

SetAllowedGroups gets a reference to the given []string and assigns it to the AllowedGroups field.

func (o *DocumentPermissionsDefinition) SetAllowedUsers(v []UserReferenceDefinition)

SetAllowedUsers gets a reference to the given []UserReferenceDefinition and assigns it to the AllowedUsers field.

Type DocumentsApiService
type DocumentsApiService service

DocumentsApiService DocumentsApi service

Methods
func (a *DocumentsApiService) BulkindexdocumentsPost(ctx context.Context) ApiBulkindexdocumentsPostRequest

BulkindexdocumentsPost Bulk index documents

Replaces the documents in a datasource using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexdocumentsPostRequest
func (a *DocumentsApiService) BulkindexdocumentsPostExecute(r ApiBulkindexdocumentsPostRequest) (*http.Response, error)

Execute executes the request

func (a *DocumentsApiService) DeletedocumentPost(ctx context.Context) ApiDeletedocumentPostRequest

DeletedocumentPost Delete document

Deletes the specified document from the index. Succeeds if document is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeletedocumentPostRequest
func (a *DocumentsApiService) DeletedocumentPostExecute(r ApiDeletedocumentPostRequest) (*http.Response, error)

Execute executes the request

func (a *DocumentsApiService) GetdocumentcountPost(ctx context.Context) ApiGetdocumentcountPostRequest

GetdocumentcountPost Get document count

Fetches document count for the specified custom datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetdocumentcountPostRequest
func (a *DocumentsApiService) GetdocumentcountPostExecute(r ApiGetdocumentcountPostRequest) (*GetDocumentCountResponse, *http.Response, error)

Execute executes the request

@return GetDocumentCountResponse
func (a *DocumentsApiService) GetdocumentstatusPost(ctx context.Context) ApiGetdocumentstatusPostRequest

GetdocumentstatusPost Get document upload and indexing status

Intended for debugging/validation. Fetches the current upload and indexing status of documents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetdocumentstatusPostRequest
func (a *DocumentsApiService) GetdocumentstatusPostExecute(r ApiGetdocumentstatusPostRequest) (*GetDocumentStatusResponse, *http.Response, error)

Execute executes the request

@return GetDocumentStatusResponse
func (a *DocumentsApiService) IndexdocumentPost(ctx context.Context) ApiIndexdocumentPostRequest

IndexdocumentPost Index document

Adds a document to the index or updates an existing document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexdocumentPostRequest
func (a *DocumentsApiService) IndexdocumentPostExecute(r ApiIndexdocumentPostRequest) (*http.Response, error)

Execute executes the request

func (a *DocumentsApiService) ProcessalldocumentsPost(ctx context.Context) ApiProcessalldocumentsPostRequest

ProcessalldocumentsPost Schedules the processing of uploaded documents

Schedules the immediate processing of documents uploaded through the indexing API. By default the uploaded documents will be processed asynchronously but this API can be used to schedule processing of all documents on demand.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiProcessalldocumentsPostRequest
func (a *DocumentsApiService) ProcessalldocumentsPostExecute(r ApiProcessalldocumentsPostRequest) (*http.Response, error)

Execute executes the request

Type EmployeeAndVersionDefinition
type EmployeeAndVersionDefinition struct {
	Employee *EmployeeInfoDefinition `json:"employee,omitempty"`
	// Version number for the employee object. If absent or 0 then no version checks are done
	Version *int64 `json:"version,omitempty"`
}

EmployeeAndVersionDefinition describes info about an employee and optional version for that info

Functions
func NewEmployeeAndVersionDefinition() *EmployeeAndVersionDefinition

NewEmployeeAndVersionDefinition instantiates a new EmployeeAndVersionDefinition 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

func NewEmployeeAndVersionDefinitionWithDefaults() *EmployeeAndVersionDefinition

NewEmployeeAndVersionDefinitionWithDefaults instantiates a new EmployeeAndVersionDefinition 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

Methods
func (o *EmployeeAndVersionDefinition) GetEmployee() EmployeeInfoDefinition

GetEmployee returns the Employee field value if set, zero value otherwise.

func (o *EmployeeAndVersionDefinition) GetEmployeeOk() (*EmployeeInfoDefinition, bool)

GetEmployeeOk returns a tuple with the Employee field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeAndVersionDefinition) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *EmployeeAndVersionDefinition) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeAndVersionDefinition) HasEmployee() bool

HasEmployee returns a boolean if a field has been set.

func (o *EmployeeAndVersionDefinition) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o EmployeeAndVersionDefinition) MarshalJSON() ([]byte, error)
func (o *EmployeeAndVersionDefinition) SetEmployee(v EmployeeInfoDefinition)

SetEmployee gets a reference to the given EmployeeInfoDefinition and assigns it to the Employee field.

func (o *EmployeeAndVersionDefinition) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type EmployeeInfoDefinition
type EmployeeInfoDefinition struct {
	// The employee's email
	Email string `json:"email"`
	// The first name of the employee
	FirstName *string `json:"firstName,omitempty"`
	// The last name of the employee
	LastName *string `json:"lastName,omitempty"`
	// The preferred name or nickname of the employee
	PreferredName *string `json:"preferredName,omitempty"`
	// **[Advanced]** A unique universal internal identifier for the employee. This is solely used for understanding manager relationships along with `managerId`.
	Id *string `json:"id,omitempty"`
	// The employee's phone number.
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	// The employee's location (city/office name etc).
	// Deprecated
	Location           *string             `json:"location,omitempty"`
	StructuredLocation *StructuredLocation `json:"structuredLocation,omitempty"`
	// The employee's role title.
	Title *string `json:"title,omitempty"`
	// The employee's profile pic
	PhotoUrl *string `json:"photoUrl,omitempty"`
	// Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses.
	BusinessUnit *string `json:"businessUnit,omitempty"`
	// An organizational unit where everyone has a similar task, e.g. `Engineering`.
	Department string `json:"department"`
	// The datasource profiles of the employee, e.g. `Slack`,`Github`.
	DatasourceProfiles []DatasourceProfile `json:"datasourceProfiles,omitempty"`
	// Info about the employee's team(s)
	Teams []EmployeeTeamInfo `json:"teams,omitempty"`
	// The date when the employee started
	StartDate *string `json:"startDate,omitempty"`
	// If a former employee, the last date of employment.
	EndDate *string `json:"endDate,omitempty"`
	// Short biography or mission statement of the employee.
	Bio *string `json:"bio,omitempty"`
	// She/her, He/his or other pronoun.
	Pronoun *string `json:"pronoun,omitempty"`
	// Other names associated with the employee.
	AlsoKnownAs []string `json:"alsoKnownAs,omitempty"`
	// Link to internal company person profile.
	ProfileUrl *string `json:"profileUrl,omitempty"`
	// List of social network profiles.
	SocialNetworks []SocialNetworkDefinition `json:"socialNetworks,omitempty"`
	// The email of the employee's manager
	ManagerEmail *string `json:"managerEmail,omitempty"`
	// **[Advanced]** A unique universal internal identifier for the employee's manager. This is solely used in conjunction with `id`.
	ManagerId *string `json:"managerId,omitempty"`
	// The status of the employee, an enum of `CURRENT`, `FUTURE`, `EX`
	Status *string `json:"status,omitempty"`
	// List of additional fields with more information about the employee.
	AdditionalFields []AdditionalFieldDefinition `json:"additionalFields,omitempty"`
}

EmployeeInfoDefinition Describes employee info

Functions
func NewEmployeeInfoDefinition(email string, department string) *EmployeeInfoDefinition

NewEmployeeInfoDefinition instantiates a new EmployeeInfoDefinition 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

func NewEmployeeInfoDefinitionWithDefaults() *EmployeeInfoDefinition

NewEmployeeInfoDefinitionWithDefaults instantiates a new EmployeeInfoDefinition 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

Methods
func (o *EmployeeInfoDefinition) GetAdditionalFields() []AdditionalFieldDefinition

GetAdditionalFields returns the AdditionalFields field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetAdditionalFieldsOk() ([]AdditionalFieldDefinition, bool)

GetAdditionalFieldsOk returns a tuple with the AdditionalFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetAlsoKnownAs() []string

GetAlsoKnownAs returns the AlsoKnownAs field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetAlsoKnownAsOk() ([]string, bool)

GetAlsoKnownAsOk returns a tuple with the AlsoKnownAs field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetBio() string

GetBio returns the Bio field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetBioOk() (*string, bool)

GetBioOk returns a tuple with the Bio field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetBusinessUnit() string

GetBusinessUnit returns the BusinessUnit field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetBusinessUnitOk() (*string, bool)

GetBusinessUnitOk returns a tuple with the BusinessUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetDatasourceProfiles() []DatasourceProfile

GetDatasourceProfiles returns the DatasourceProfiles field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetDatasourceProfilesOk() ([]DatasourceProfile, bool)

GetDatasourceProfilesOk returns a tuple with the DatasourceProfiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetDepartment() string

GetDepartment returns the Department field value

func (o *EmployeeInfoDefinition) GetDepartmentOk() (*string, bool)

GetDepartmentOk returns a tuple with the Department field value and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetEmail() string

GetEmail returns the Email field value

func (o *EmployeeInfoDefinition) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetEndDate() string

GetEndDate returns the EndDate field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetEndDateOk() (*string, bool)

GetEndDateOk returns a tuple with the EndDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise. Deprecated

func (o *EmployeeInfoDefinition) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (o *EmployeeInfoDefinition) GetManagerEmail() string

GetManagerEmail returns the ManagerEmail field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetManagerEmailOk() (*string, bool)

GetManagerEmailOk returns a tuple with the ManagerEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetManagerId() string

GetManagerId returns the ManagerId field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetManagerIdOk() (*string, bool)

GetManagerIdOk returns a tuple with the ManagerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetPhotoUrl() string

GetPhotoUrl returns the PhotoUrl field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetPhotoUrlOk() (*string, bool)

GetPhotoUrlOk returns a tuple with the PhotoUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetPreferredName() string

GetPreferredName returns the PreferredName field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetPreferredNameOk() (*string, bool)

GetPreferredNameOk returns a tuple with the PreferredName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetProfileUrl() string

GetProfileUrl returns the ProfileUrl field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetProfileUrlOk() (*string, bool)

GetProfileUrlOk returns a tuple with the ProfileUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetPronoun() string

GetPronoun returns the Pronoun field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetPronounOk() (*string, bool)

GetPronounOk returns a tuple with the Pronoun field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetSocialNetworks() []SocialNetworkDefinition

GetSocialNetworks returns the SocialNetworks field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetSocialNetworksOk() ([]SocialNetworkDefinition, bool)

GetSocialNetworksOk returns a tuple with the SocialNetworks field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetStartDate() string

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetStructuredLocation() StructuredLocation

GetStructuredLocation returns the StructuredLocation field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetStructuredLocationOk() (*StructuredLocation, bool)

GetStructuredLocationOk returns a tuple with the StructuredLocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetTeams() []EmployeeTeamInfo

GetTeams returns the Teams field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetTeamsOk() ([]EmployeeTeamInfo, bool)

GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (o *EmployeeInfoDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeInfoDefinition) HasAdditionalFields() bool

HasAdditionalFields returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasAlsoKnownAs() bool

HasAlsoKnownAs returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasBio() bool

HasBio returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasBusinessUnit() bool

HasBusinessUnit returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasDatasourceProfiles() bool

HasDatasourceProfiles returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasEndDate() bool

HasEndDate returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasManagerEmail() bool

HasManagerEmail returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasManagerId() bool

HasManagerId returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasPhotoUrl() bool

HasPhotoUrl returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasPreferredName() bool

HasPreferredName returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasProfileUrl() bool

HasProfileUrl returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasPronoun() bool

HasPronoun returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasSocialNetworks() bool

HasSocialNetworks returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasStructuredLocation() bool

HasStructuredLocation returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasTeams() bool

HasTeams returns a boolean if a field has been set.

func (o *EmployeeInfoDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (o EmployeeInfoDefinition) MarshalJSON() ([]byte, error)
func (o *EmployeeInfoDefinition) SetAdditionalFields(v []AdditionalFieldDefinition)

SetAdditionalFields gets a reference to the given []AdditionalFieldDefinition and assigns it to the AdditionalFields field.

func (o *EmployeeInfoDefinition) SetAlsoKnownAs(v []string)

SetAlsoKnownAs gets a reference to the given []string and assigns it to the AlsoKnownAs field.

func (o *EmployeeInfoDefinition) SetBio(v string)

SetBio gets a reference to the given string and assigns it to the Bio field.

func (o *EmployeeInfoDefinition) SetBusinessUnit(v string)

SetBusinessUnit gets a reference to the given string and assigns it to the BusinessUnit field.

func (o *EmployeeInfoDefinition) SetDatasourceProfiles(v []DatasourceProfile)

SetDatasourceProfiles gets a reference to the given []DatasourceProfile and assigns it to the DatasourceProfiles field.

func (o *EmployeeInfoDefinition) SetDepartment(v string)

SetDepartment sets field value

func (o *EmployeeInfoDefinition) SetEmail(v string)

SetEmail sets field value

func (o *EmployeeInfoDefinition) SetEndDate(v string)

SetEndDate gets a reference to the given string and assigns it to the EndDate field.

func (o *EmployeeInfoDefinition) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (o *EmployeeInfoDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *EmployeeInfoDefinition) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (o *EmployeeInfoDefinition) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field. Deprecated

func (o *EmployeeInfoDefinition) SetManagerEmail(v string)

SetManagerEmail gets a reference to the given string and assigns it to the ManagerEmail field.

func (o *EmployeeInfoDefinition) SetManagerId(v string)

SetManagerId gets a reference to the given string and assigns it to the ManagerId field.

func (o *EmployeeInfoDefinition) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (o *EmployeeInfoDefinition) SetPhotoUrl(v string)

SetPhotoUrl gets a reference to the given string and assigns it to the PhotoUrl field.

func (o *EmployeeInfoDefinition) SetPreferredName(v string)

SetPreferredName gets a reference to the given string and assigns it to the PreferredName field.

func (o *EmployeeInfoDefinition) SetProfileUrl(v string)

SetProfileUrl gets a reference to the given string and assigns it to the ProfileUrl field.

func (o *EmployeeInfoDefinition) SetPronoun(v string)

SetPronoun gets a reference to the given string and assigns it to the Pronoun field.

func (o *EmployeeInfoDefinition) SetSocialNetworks(v []SocialNetworkDefinition)

SetSocialNetworks gets a reference to the given []SocialNetworkDefinition and assigns it to the SocialNetworks field.

func (o *EmployeeInfoDefinition) SetStartDate(v string)

SetStartDate gets a reference to the given string and assigns it to the StartDate field.

func (o *EmployeeInfoDefinition) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (o *EmployeeInfoDefinition) SetStructuredLocation(v StructuredLocation)

SetStructuredLocation gets a reference to the given StructuredLocation and assigns it to the StructuredLocation field.

func (o *EmployeeInfoDefinition) SetTeams(v []EmployeeTeamInfo)

SetTeams gets a reference to the given []EmployeeTeamInfo and assigns it to the Teams field.

func (o *EmployeeInfoDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

Type EmployeeTeamInfo
type EmployeeTeamInfo struct {
	// unique identifier for this team
	Id *string `json:"id,omitempty"`
	// Team name
	Name *string `json:"name,omitempty"`
	// Link to internal company team page
	Url *string `json:"url,omitempty"`
}

EmployeeTeamInfo Information about which team an employee belongs to

Functions
func NewEmployeeTeamInfo() *EmployeeTeamInfo

NewEmployeeTeamInfo instantiates a new EmployeeTeamInfo 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

func NewEmployeeTeamInfoWithDefaults() *EmployeeTeamInfo

NewEmployeeTeamInfoWithDefaults instantiates a new EmployeeTeamInfo 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

Methods
func (o *EmployeeTeamInfo) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (o *EmployeeTeamInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeTeamInfo) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *EmployeeTeamInfo) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeTeamInfo) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (o *EmployeeTeamInfo) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EmployeeTeamInfo) HasId() bool

HasId returns a boolean if a field has been set.

func (o *EmployeeTeamInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (o *EmployeeTeamInfo) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (o EmployeeTeamInfo) MarshalJSON() ([]byte, error)
func (o *EmployeeTeamInfo) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *EmployeeTeamInfo) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (o *EmployeeTeamInfo) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

Type GenericOpenAPIError
type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

Methods
func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

Type GetDatasourceConfigRequest
type GetDatasourceConfigRequest struct {
	// Datasource name for which config is needed.
	Name *string `json:"name,omitempty"`
}

GetDatasourceConfigRequest Describes the request body of the /getdatasourceconfig API call

Functions
func NewGetDatasourceConfigRequest() *GetDatasourceConfigRequest

NewGetDatasourceConfigRequest instantiates a new GetDatasourceConfigRequest 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

func NewGetDatasourceConfigRequestWithDefaults() *GetDatasourceConfigRequest

NewGetDatasourceConfigRequestWithDefaults instantiates a new GetDatasourceConfigRequest 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

Methods
func (o *GetDatasourceConfigRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *GetDatasourceConfigRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *GetDatasourceConfigRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (o GetDatasourceConfigRequest) MarshalJSON() ([]byte, error)
func (o *GetDatasourceConfigRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

Type GetDocumentCountRequest
type GetDocumentCountRequest struct {
	// Datasource name for which document count is needed.
	Name string `json:"name"`
}

GetDocumentCountRequest Describes the request body of the /getdocumentcount API call

Functions
func NewGetDocumentCountRequest(name string) *GetDocumentCountRequest

NewGetDocumentCountRequest instantiates a new GetDocumentCountRequest 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

func NewGetDocumentCountRequestWithDefaults() *GetDocumentCountRequest

NewGetDocumentCountRequestWithDefaults instantiates a new GetDocumentCountRequest 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

Methods
func (o *GetDocumentCountRequest) GetName() string

GetName returns the Name field value

func (o *GetDocumentCountRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o GetDocumentCountRequest) MarshalJSON() ([]byte, error)
func (o *GetDocumentCountRequest) SetName(v string)

SetName sets field value

Type GetDocumentCountResponse
type GetDocumentCountResponse struct {
	// Number of documents corresponding to the specified custom datasource.
	DocumentCount *int32 `json:"documentCount,omitempty"`
}

GetDocumentCountResponse Describes the response body of the /getdocumentcount API call

Functions
func NewGetDocumentCountResponse() *GetDocumentCountResponse

NewGetDocumentCountResponse instantiates a new GetDocumentCountResponse 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

func NewGetDocumentCountResponseWithDefaults() *GetDocumentCountResponse

NewGetDocumentCountResponseWithDefaults instantiates a new GetDocumentCountResponse 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

Methods
func (o *GetDocumentCountResponse) GetDocumentCount() int32

GetDocumentCount returns the DocumentCount field value if set, zero value otherwise.

func (o *GetDocumentCountResponse) GetDocumentCountOk() (*int32, bool)

GetDocumentCountOk returns a tuple with the DocumentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *GetDocumentCountResponse) HasDocumentCount() bool

HasDocumentCount returns a boolean if a field has been set.

func (o GetDocumentCountResponse) MarshalJSON() ([]byte, error)
func (o *GetDocumentCountResponse) SetDocumentCount(v int32)

SetDocumentCount gets a reference to the given int32 and assigns it to the DocumentCount field.

Type GetDocumentStatusRequest
type GetDocumentStatusRequest struct {
	// Datasource to get fetch document status for
	Datasource string `json:"datasource"`
	// Object type of the document to get the status for
	ObjectType string `json:"objectType"`
	// Document ID within the datasource to get the status for
	DocId string `json:"docId"`
}

GetDocumentStatusRequest Describes the request body for /getdocumentstatus API call

Functions
func NewGetDocumentStatusRequest(datasource string, objectType string, docId string) *GetDocumentStatusRequest

NewGetDocumentStatusRequest instantiates a new GetDocumentStatusRequest 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

func NewGetDocumentStatusRequestWithDefaults() *GetDocumentStatusRequest

NewGetDocumentStatusRequestWithDefaults instantiates a new GetDocumentStatusRequest 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

Methods
func (o *GetDocumentStatusRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *GetDocumentStatusRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *GetDocumentStatusRequest) GetDocId() string

GetDocId returns the DocId field value

func (o *GetDocumentStatusRequest) GetDocIdOk() (*string, bool)

GetDocIdOk returns a tuple with the DocId field value and a boolean to check if the value has been set.

func (o *GetDocumentStatusRequest) GetObjectType() string

GetObjectType returns the ObjectType field value

func (o *GetDocumentStatusRequest) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field value and a boolean to check if the value has been set.

func (o GetDocumentStatusRequest) MarshalJSON() ([]byte, error)
func (o *GetDocumentStatusRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *GetDocumentStatusRequest) SetDocId(v string)

SetDocId sets field value

func (o *GetDocumentStatusRequest) SetObjectType(v string)

SetObjectType sets field value

Type GetDocumentStatusResponse
type GetDocumentStatusResponse struct {
	// Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN
	UploadStatus *string `json:"uploadStatus,omitempty"`
	// Time of last successful upload, in epoch seconds
	LastUploadedAt *int64 `json:"lastUploadedAt,omitempty"`
	// Indexing status, enum of NOT_INDEXED, INDEXED, STATUS_UNKNOWN
	IndexingStatus *string `json:"indexingStatus,omitempty"`
	// Time of last successful indexing, in epoch seconds
	LastIndexedAt *int64 `json:"lastIndexedAt,omitempty"`
}

GetDocumentStatusResponse Describes the response body of the /getdocumentstatus API call

Functions
func NewGetDocumentStatusResponse() *GetDocumentStatusResponse

NewGetDocumentStatusResponse instantiates a new GetDocumentStatusResponse 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

func NewGetDocumentStatusResponseWithDefaults() *GetDocumentStatusResponse

NewGetDocumentStatusResponseWithDefaults instantiates a new GetDocumentStatusResponse 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

Methods
func (o *GetDocumentStatusResponse) GetIndexingStatus() string

GetIndexingStatus returns the IndexingStatus field value if set, zero value otherwise.

func (o *GetDocumentStatusResponse) GetIndexingStatusOk() (*string, bool)

GetIndexingStatusOk returns a tuple with the IndexingStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *GetDocumentStatusResponse) GetLastIndexedAt() int64

GetLastIndexedAt returns the LastIndexedAt field value if set, zero value otherwise.

func (o *GetDocumentStatusResponse) GetLastIndexedAtOk() (*int64, bool)

GetLastIndexedAtOk returns a tuple with the LastIndexedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *GetDocumentStatusResponse) GetLastUploadedAt() int64

GetLastUploadedAt returns the LastUploadedAt field value if set, zero value otherwise.

func (o *GetDocumentStatusResponse) GetLastUploadedAtOk() (*int64, bool)

GetLastUploadedAtOk returns a tuple with the LastUploadedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *GetDocumentStatusResponse) GetUploadStatus() string

GetUploadStatus returns the UploadStatus field value if set, zero value otherwise.

func (o *GetDocumentStatusResponse) GetUploadStatusOk() (*string, bool)

GetUploadStatusOk returns a tuple with the UploadStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *GetDocumentStatusResponse) HasIndexingStatus() bool

HasIndexingStatus returns a boolean if a field has been set.

func (o *GetDocumentStatusResponse) HasLastIndexedAt() bool

HasLastIndexedAt returns a boolean if a field has been set.

func (o *GetDocumentStatusResponse) HasLastUploadedAt() bool

HasLastUploadedAt returns a boolean if a field has been set.

func (o *GetDocumentStatusResponse) HasUploadStatus() bool

HasUploadStatus returns a boolean if a field has been set.

func (o GetDocumentStatusResponse) MarshalJSON() ([]byte, error)
func (o *GetDocumentStatusResponse) SetIndexingStatus(v string)

SetIndexingStatus gets a reference to the given string and assigns it to the IndexingStatus field.

func (o *GetDocumentStatusResponse) SetLastIndexedAt(v int64)

SetLastIndexedAt gets a reference to the given int64 and assigns it to the LastIndexedAt field.

func (o *GetDocumentStatusResponse) SetLastUploadedAt(v int64)

SetLastUploadedAt gets a reference to the given int64 and assigns it to the LastUploadedAt field.

func (o *GetDocumentStatusResponse) SetUploadStatus(v string)

SetUploadStatus gets a reference to the given string and assigns it to the UploadStatus field.

Type GetUserCountRequest
type GetUserCountRequest struct {
	// Datasource name for which user count is needed.
	Name *string `json:"name,omitempty"`
}

GetUserCountRequest Describes the request body of the /getusercount API call

Functions
func NewGetUserCountRequest() *GetUserCountRequest

NewGetUserCountRequest instantiates a new GetUserCountRequest 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

func NewGetUserCountRequestWithDefaults() *GetUserCountRequest

NewGetUserCountRequestWithDefaults instantiates a new GetUserCountRequest 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

Methods
func (o *GetUserCountRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *GetUserCountRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *GetUserCountRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (o GetUserCountRequest) MarshalJSON() ([]byte, error)
func (o *GetUserCountRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

Type GetUserCountResponse
type GetUserCountResponse struct {
	// Number of users corresponding to the specified custom datasource.
	UserCount *int32 `json:"userCount,omitempty"`
}

GetUserCountResponse Describes the response body of the /getusercount API call

Functions
func NewGetUserCountResponse() *GetUserCountResponse

NewGetUserCountResponse instantiates a new GetUserCountResponse 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

func NewGetUserCountResponseWithDefaults() *GetUserCountResponse

NewGetUserCountResponseWithDefaults instantiates a new GetUserCountResponse 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

Methods
func (o *GetUserCountResponse) GetUserCount() int32

GetUserCount returns the UserCount field value if set, zero value otherwise.

func (o *GetUserCountResponse) GetUserCountOk() (*int32, bool)

GetUserCountOk returns a tuple with the UserCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *GetUserCountResponse) HasUserCount() bool

HasUserCount returns a boolean if a field has been set.

func (o GetUserCountResponse) MarshalJSON() ([]byte, error)
func (o *GetUserCountResponse) SetUserCount(v int32)

SetUserCount gets a reference to the given int32 and assigns it to the UserCount field.

Type GreenlistUsersRequest
type GreenlistUsersRequest struct {
	// Datasource which needs to be made visible to users specified in the `emails` field.
	Datasource string `json:"datasource"`
	// The emails of the beta users
	Emails []string `json:"emails"`
}

GreenlistUsersRequest Describes the request body of the /betausers API call

Functions
func NewGreenlistUsersRequest(datasource string, emails []string) *GreenlistUsersRequest

NewGreenlistUsersRequest instantiates a new GreenlistUsersRequest 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

func NewGreenlistUsersRequestWithDefaults() *GreenlistUsersRequest

NewGreenlistUsersRequestWithDefaults instantiates a new GreenlistUsersRequest 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

Methods
func (o *GreenlistUsersRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *GreenlistUsersRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *GreenlistUsersRequest) GetEmails() []string

GetEmails returns the Emails field value

func (o *GreenlistUsersRequest) GetEmailsOk() ([]string, bool)

GetEmailsOk returns a tuple with the Emails field value and a boolean to check if the value has been set.

func (o GreenlistUsersRequest) MarshalJSON() ([]byte, error)
func (o *GreenlistUsersRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *GreenlistUsersRequest) SetEmails(v []string)

SetEmails sets field value

Type HypertextField
type HypertextField struct {
	// Anchor text for the hypertext field.
	Anchor *string `json:"anchor,omitempty"`
	// URL for the hypertext field.
	Hyperlink *string `json:"hyperlink,omitempty"`
}

HypertextField struct for HypertextField

Functions
func NewHypertextField() *HypertextField

NewHypertextField instantiates a new HypertextField 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

func NewHypertextFieldWithDefaults() *HypertextField

NewHypertextFieldWithDefaults instantiates a new HypertextField 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

Methods
func (o *HypertextField) GetAnchor() string

GetAnchor returns the Anchor field value if set, zero value otherwise.

func (o *HypertextField) GetAnchorOk() (*string, bool)

GetAnchorOk returns a tuple with the Anchor field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *HypertextField) GetHyperlink() string

GetHyperlink returns the Hyperlink field value if set, zero value otherwise.

func (o *HypertextField) GetHyperlinkOk() (*string, bool)

GetHyperlinkOk returns a tuple with the Hyperlink field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *HypertextField) HasAnchor() bool

HasAnchor returns a boolean if a field has been set.

func (o *HypertextField) HasHyperlink() bool

HasHyperlink returns a boolean if a field has been set.

func (o HypertextField) MarshalJSON() ([]byte, error)
func (o *HypertextField) SetAnchor(v string)

SetAnchor gets a reference to the given string and assigns it to the Anchor field.

func (o *HypertextField) SetHyperlink(v string)

SetHyperlink gets a reference to the given string and assigns it to the Hyperlink field.

Type IconConfig
type IconConfig struct {
	Color    *string `json:"color,omitempty"`
	Key      *string `json:"key,omitempty"`
	IconType *string `json:"iconType,omitempty"`
	// The filename for iconType.GLYPH icons
	Name *string `json:"name,omitempty"`
	// The URL to an image to be displayed for iconType.URL icons
	Url *string `json:"url,omitempty"`
}

IconConfig Defines how to render an icon

Functions
func NewIconConfig() *IconConfig

NewIconConfig instantiates a new IconConfig 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

func NewIconConfigWithDefaults() *IconConfig

NewIconConfigWithDefaults instantiates a new IconConfig 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

Methods
func (o *IconConfig) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

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

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IconConfig) GetIconType() string

GetIconType returns the IconType field value if set, zero value otherwise.

func (o *IconConfig) GetIconTypeOk() (*string, bool)

GetIconTypeOk returns a tuple with the IconType field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IconConfig) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (o *IconConfig) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IconConfig) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *IconConfig) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IconConfig) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (o *IconConfig) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IconConfig) HasColor() bool

HasColor returns a boolean if a field has been set.

func (o *IconConfig) HasIconType() bool

HasIconType returns a boolean if a field has been set.

func (o *IconConfig) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *IconConfig) HasName() bool

HasName returns a boolean if a field has been set.

func (o *IconConfig) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (o IconConfig) MarshalJSON() ([]byte, error)
func (o *IconConfig) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (o *IconConfig) SetIconType(v string)

SetIconType gets a reference to the given string and assigns it to the IconType field.

func (o *IconConfig) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *IconConfig) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (o *IconConfig) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

Type IndexDocumentRequest
type IndexDocumentRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version  *int64             `json:"version,omitempty"`
	Document DocumentDefinition `json:"document"`
}

IndexDocumentRequest Describes the request body of the /indexdocument API call

Functions
func NewIndexDocumentRequest(document DocumentDefinition) *IndexDocumentRequest

NewIndexDocumentRequest instantiates a new IndexDocumentRequest 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

func NewIndexDocumentRequestWithDefaults() *IndexDocumentRequest

NewIndexDocumentRequestWithDefaults instantiates a new IndexDocumentRequest 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

Methods
func (o *IndexDocumentRequest) GetDocument() DocumentDefinition

GetDocument returns the Document field value

func (o *IndexDocumentRequest) GetDocumentOk() (*DocumentDefinition, bool)

GetDocumentOk returns a tuple with the Document field value and a boolean to check if the value has been set.

func (o *IndexDocumentRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *IndexDocumentRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IndexDocumentRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o IndexDocumentRequest) MarshalJSON() ([]byte, error)
func (o *IndexDocumentRequest) SetDocument(v DocumentDefinition)

SetDocument sets field value

func (o *IndexDocumentRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type IndexEmployeeListRequest
type IndexEmployeeListRequest struct {
	// List of employee info and version.
	Employees []IndexEmployeeRequest `json:"employees,omitempty"`
}

IndexEmployeeListRequest Describes the request body of the /indexemployeelist API call

Functions
func NewIndexEmployeeListRequest() *IndexEmployeeListRequest

NewIndexEmployeeListRequest instantiates a new IndexEmployeeListRequest 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

func NewIndexEmployeeListRequestWithDefaults() *IndexEmployeeListRequest

NewIndexEmployeeListRequestWithDefaults instantiates a new IndexEmployeeListRequest 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

Methods
func (o *IndexEmployeeListRequest) GetEmployees() []IndexEmployeeRequest

GetEmployees returns the Employees field value if set, zero value otherwise.

func (o *IndexEmployeeListRequest) GetEmployeesOk() ([]IndexEmployeeRequest, bool)

GetEmployeesOk returns a tuple with the Employees field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IndexEmployeeListRequest) HasEmployees() bool

HasEmployees returns a boolean if a field has been set.

func (o IndexEmployeeListRequest) MarshalJSON() ([]byte, error)
func (o *IndexEmployeeListRequest) SetEmployees(v []IndexEmployeeRequest)

SetEmployees gets a reference to the given []IndexEmployeeRequest and assigns it to the Employees field.

Type IndexEmployeeRequest
type IndexEmployeeRequest struct {
	Employee EmployeeInfoDefinition `json:"employee"`
	// Version number for the employee object. If absent or 0 then no version checks are done
	Version *int64 `json:"version,omitempty"`
}

IndexEmployeeRequest Info about an employee and optional version for that info

Functions
func NewIndexEmployeeRequest(employee EmployeeInfoDefinition) *IndexEmployeeRequest

NewIndexEmployeeRequest instantiates a new IndexEmployeeRequest 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

func NewIndexEmployeeRequestWithDefaults() *IndexEmployeeRequest

NewIndexEmployeeRequestWithDefaults instantiates a new IndexEmployeeRequest 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

Methods
func (o *IndexEmployeeRequest) GetEmployee() EmployeeInfoDefinition

GetEmployee returns the Employee field value

func (o *IndexEmployeeRequest) GetEmployeeOk() (*EmployeeInfoDefinition, bool)

GetEmployeeOk returns a tuple with the Employee field value and a boolean to check if the value has been set.

func (o *IndexEmployeeRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *IndexEmployeeRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IndexEmployeeRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o IndexEmployeeRequest) MarshalJSON() ([]byte, error)
func (o *IndexEmployeeRequest) SetEmployee(v EmployeeInfoDefinition)

SetEmployee sets field value

func (o *IndexEmployeeRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type IndexGroupRequest
type IndexGroupRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the group is added
	Datasource string                    `json:"datasource"`
	Group      DatasourceGroupDefinition `json:"group"`
}

IndexGroupRequest Describes the request body of the /indexgroup API call

Functions
func NewIndexGroupRequest(datasource string, group DatasourceGroupDefinition) *IndexGroupRequest

NewIndexGroupRequest instantiates a new IndexGroupRequest 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

func NewIndexGroupRequestWithDefaults() *IndexGroupRequest

NewIndexGroupRequestWithDefaults instantiates a new IndexGroupRequest 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

Methods
func (o *IndexGroupRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *IndexGroupRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *IndexGroupRequest) GetGroup() DatasourceGroupDefinition

GetGroup returns the Group field value

func (o *IndexGroupRequest) GetGroupOk() (*DatasourceGroupDefinition, bool)

GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.

func (o *IndexGroupRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *IndexGroupRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IndexGroupRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o IndexGroupRequest) MarshalJSON() ([]byte, error)
func (o *IndexGroupRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *IndexGroupRequest) SetGroup(v DatasourceGroupDefinition)

SetGroup sets field value

func (o *IndexGroupRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type IndexMembershipRequest
type IndexMembershipRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the membership is added
	Datasource string                         `json:"datasource"`
	Membership DatasourceMembershipDefinition `json:"membership"`
}

IndexMembershipRequest Describes the request body of the /indexmembership API call

Functions
func NewIndexMembershipRequest(datasource string, membership DatasourceMembershipDefinition) *IndexMembershipRequest

NewIndexMembershipRequest instantiates a new IndexMembershipRequest 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

func NewIndexMembershipRequestWithDefaults() *IndexMembershipRequest

NewIndexMembershipRequestWithDefaults instantiates a new IndexMembershipRequest 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

Methods
func (o *IndexMembershipRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *IndexMembershipRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *IndexMembershipRequest) GetMembership() DatasourceMembershipDefinition

GetMembership returns the Membership field value

func (o *IndexMembershipRequest) GetMembershipOk() (*DatasourceMembershipDefinition, bool)

GetMembershipOk returns a tuple with the Membership field value and a boolean to check if the value has been set.

func (o *IndexMembershipRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *IndexMembershipRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IndexMembershipRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o IndexMembershipRequest) MarshalJSON() ([]byte, error)
func (o *IndexMembershipRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *IndexMembershipRequest) SetMembership(v DatasourceMembershipDefinition)

SetMembership sets field value

func (o *IndexMembershipRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type IndexTeamRequest
type IndexTeamRequest struct {
	Team TeamInfoDefinition `json:"team"`
	// Version number for the team object. If absent or 0 then no version checks are done
	Version *int64 `json:"version,omitempty"`
}

IndexTeamRequest Info about a team and optional version for that info

Functions
func NewIndexTeamRequest(team TeamInfoDefinition) *IndexTeamRequest

NewIndexTeamRequest instantiates a new IndexTeamRequest 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

func NewIndexTeamRequestWithDefaults() *IndexTeamRequest

NewIndexTeamRequestWithDefaults instantiates a new IndexTeamRequest 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

Methods
func (o *IndexTeamRequest) GetTeam() TeamInfoDefinition

GetTeam returns the Team field value

func (o *IndexTeamRequest) GetTeamOk() (*TeamInfoDefinition, bool)

GetTeamOk returns a tuple with the Team field value and a boolean to check if the value has been set.

func (o *IndexTeamRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *IndexTeamRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IndexTeamRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o IndexTeamRequest) MarshalJSON() ([]byte, error)
func (o *IndexTeamRequest) SetTeam(v TeamInfoDefinition)

SetTeam sets field value

func (o *IndexTeamRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type IndexUserRequest
type IndexUserRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the user is added
	Datasource string                   `json:"datasource"`
	User       DatasourceUserDefinition `json:"user"`
}

IndexUserRequest Describes the request body of the /indexuser API call

Functions
func NewIndexUserRequest(datasource string, user DatasourceUserDefinition) *IndexUserRequest

NewIndexUserRequest instantiates a new IndexUserRequest 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

func NewIndexUserRequestWithDefaults() *IndexUserRequest

NewIndexUserRequestWithDefaults instantiates a new IndexUserRequest 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

Methods
func (o *IndexUserRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (o *IndexUserRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (o *IndexUserRequest) GetUser() DatasourceUserDefinition

GetUser returns the User field value

func (o *IndexUserRequest) GetUserOk() (*DatasourceUserDefinition, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (o *IndexUserRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (o *IndexUserRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IndexUserRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (o IndexUserRequest) MarshalJSON() ([]byte, error)
func (o *IndexUserRequest) SetDatasource(v string)

SetDatasource sets field value

func (o *IndexUserRequest) SetUser(v DatasourceUserDefinition)

SetUser sets field value

func (o *IndexUserRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Type NullableAdditionalFieldDefinition
type NullableAdditionalFieldDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableAdditionalFieldDefinition(val *AdditionalFieldDefinition) *NullableAdditionalFieldDefinition
Methods
func (v NullableAdditionalFieldDefinition) Get() *AdditionalFieldDefinition
func (v NullableAdditionalFieldDefinition) IsSet() bool
func (v NullableAdditionalFieldDefinition) MarshalJSON() ([]byte, error)
func (v *NullableAdditionalFieldDefinition) Set(val *AdditionalFieldDefinition)
func (v *NullableAdditionalFieldDefinition) UnmarshalJSON(src []byte) error
func (v *NullableAdditionalFieldDefinition) Unset()
Type NullableBool
type NullableBool struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBool(val *bool) *NullableBool
Methods
func (v NullableBool) Get() *bool
func (v NullableBool) IsSet() bool
func (v NullableBool) MarshalJSON() ([]byte, error)
func (v *NullableBool) Set(val *bool)
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (v *NullableBool) Unset()
Type NullableBulkIndexDocumentsRequest
type NullableBulkIndexDocumentsRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexDocumentsRequest(val *BulkIndexDocumentsRequest) *NullableBulkIndexDocumentsRequest
Methods
func (v NullableBulkIndexDocumentsRequest) Get() *BulkIndexDocumentsRequest
func (v NullableBulkIndexDocumentsRequest) IsSet() bool
func (v NullableBulkIndexDocumentsRequest) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexDocumentsRequest) Set(val *BulkIndexDocumentsRequest)
func (v *NullableBulkIndexDocumentsRequest) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexDocumentsRequest) Unset()
Type NullableBulkIndexDocumentsRequestAllOf
type NullableBulkIndexDocumentsRequestAllOf struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexDocumentsRequestAllOf(val *BulkIndexDocumentsRequestAllOf) *NullableBulkIndexDocumentsRequestAllOf
Methods
func (v NullableBulkIndexDocumentsRequestAllOf) Get() *BulkIndexDocumentsRequestAllOf
func (v NullableBulkIndexDocumentsRequestAllOf) IsSet() bool
func (v NullableBulkIndexDocumentsRequestAllOf) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexDocumentsRequestAllOf) Set(val *BulkIndexDocumentsRequestAllOf)
func (v *NullableBulkIndexDocumentsRequestAllOf) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexDocumentsRequestAllOf) Unset()
Type NullableBulkIndexEmployeesRequest
type NullableBulkIndexEmployeesRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexEmployeesRequest(val *BulkIndexEmployeesRequest) *NullableBulkIndexEmployeesRequest
Methods
func (v NullableBulkIndexEmployeesRequest) Get() *BulkIndexEmployeesRequest
func (v NullableBulkIndexEmployeesRequest) IsSet() bool
func (v NullableBulkIndexEmployeesRequest) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexEmployeesRequest) Set(val *BulkIndexEmployeesRequest)
func (v *NullableBulkIndexEmployeesRequest) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexEmployeesRequest) Unset()
Type NullableBulkIndexEmployeesRequestAllOf
type NullableBulkIndexEmployeesRequestAllOf struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexEmployeesRequestAllOf(val *BulkIndexEmployeesRequestAllOf) *NullableBulkIndexEmployeesRequestAllOf
Methods
func (v NullableBulkIndexEmployeesRequestAllOf) Get() *BulkIndexEmployeesRequestAllOf
func (v NullableBulkIndexEmployeesRequestAllOf) IsSet() bool
func (v NullableBulkIndexEmployeesRequestAllOf) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexEmployeesRequestAllOf) Set(val *BulkIndexEmployeesRequestAllOf)
func (v *NullableBulkIndexEmployeesRequestAllOf) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexEmployeesRequestAllOf) Unset()
Type NullableBulkIndexGroupsRequest
type NullableBulkIndexGroupsRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexGroupsRequest(val *BulkIndexGroupsRequest) *NullableBulkIndexGroupsRequest
Methods
func (v NullableBulkIndexGroupsRequest) Get() *BulkIndexGroupsRequest
func (v NullableBulkIndexGroupsRequest) IsSet() bool
func (v NullableBulkIndexGroupsRequest) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexGroupsRequest) Set(val *BulkIndexGroupsRequest)
func (v *NullableBulkIndexGroupsRequest) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexGroupsRequest) Unset()
Type NullableBulkIndexMembershipsRequest
type NullableBulkIndexMembershipsRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexMembershipsRequest(val *BulkIndexMembershipsRequest) *NullableBulkIndexMembershipsRequest
Methods
func (v NullableBulkIndexMembershipsRequest) Get() *BulkIndexMembershipsRequest
func (v NullableBulkIndexMembershipsRequest) IsSet() bool
func (v NullableBulkIndexMembershipsRequest) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexMembershipsRequest) Set(val *BulkIndexMembershipsRequest)
func (v *NullableBulkIndexMembershipsRequest) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexMembershipsRequest) Unset()
Type NullableBulkIndexRequest
type NullableBulkIndexRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexRequest(val *BulkIndexRequest) *NullableBulkIndexRequest
Methods
func (v NullableBulkIndexRequest) Get() *BulkIndexRequest
func (v NullableBulkIndexRequest) IsSet() bool
func (v NullableBulkIndexRequest) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexRequest) Set(val *BulkIndexRequest)
func (v *NullableBulkIndexRequest) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexRequest) Unset()
Type NullableBulkIndexTeamsRequest
type NullableBulkIndexTeamsRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexTeamsRequest(val *BulkIndexTeamsRequest) *NullableBulkIndexTeamsRequest
Methods
func (v NullableBulkIndexTeamsRequest) Get() *BulkIndexTeamsRequest
func (v NullableBulkIndexTeamsRequest) IsSet() bool
func (v NullableBulkIndexTeamsRequest) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexTeamsRequest) Set(val *BulkIndexTeamsRequest)
func (v *NullableBulkIndexTeamsRequest) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexTeamsRequest) Unset()
Type NullableBulkIndexTeamsRequestAllOf
type NullableBulkIndexTeamsRequestAllOf struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexTeamsRequestAllOf(val *BulkIndexTeamsRequestAllOf) *NullableBulkIndexTeamsRequestAllOf
Methods
func (v NullableBulkIndexTeamsRequestAllOf) Get() *BulkIndexTeamsRequestAllOf
func (v NullableBulkIndexTeamsRequestAllOf) IsSet() bool
func (v NullableBulkIndexTeamsRequestAllOf) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexTeamsRequestAllOf) Set(val *BulkIndexTeamsRequestAllOf)
func (v *NullableBulkIndexTeamsRequestAllOf) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexTeamsRequestAllOf) Unset()
Type NullableBulkIndexUsersRequest
type NullableBulkIndexUsersRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableBulkIndexUsersRequest(val *BulkIndexUsersRequest) *NullableBulkIndexUsersRequest
Methods
func (v NullableBulkIndexUsersRequest) Get() *BulkIndexUsersRequest
func (v NullableBulkIndexUsersRequest) IsSet() bool
func (v NullableBulkIndexUsersRequest) MarshalJSON() ([]byte, error)
func (v *NullableBulkIndexUsersRequest) Set(val *BulkIndexUsersRequest)
func (v *NullableBulkIndexUsersRequest) UnmarshalJSON(src []byte) error
func (v *NullableBulkIndexUsersRequest) Unset()
Type NullableCanonicalizingRegexType
type NullableCanonicalizingRegexType struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableCanonicalizingRegexType(val *CanonicalizingRegexType) *NullableCanonicalizingRegexType
Methods
func (v NullableCanonicalizingRegexType) Get() *CanonicalizingRegexType
func (v NullableCanonicalizingRegexType) IsSet() bool
func (v NullableCanonicalizingRegexType) MarshalJSON() ([]byte, error)
func (v *NullableCanonicalizingRegexType) Set(val *CanonicalizingRegexType)
func (v *NullableCanonicalizingRegexType) UnmarshalJSON(src []byte) error
func (v *NullableCanonicalizingRegexType) Unset()
Type NullableCheckDocumentAccessRequest
type NullableCheckDocumentAccessRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableCheckDocumentAccessRequest(val *CheckDocumentAccessRequest) *NullableCheckDocumentAccessRequest
Methods
func (v NullableCheckDocumentAccessRequest) Get() *CheckDocumentAccessRequest
func (v NullableCheckDocumentAccessRequest) IsSet() bool
func (v NullableCheckDocumentAccessRequest) MarshalJSON() ([]byte, error)
func (v *NullableCheckDocumentAccessRequest) Set(val *CheckDocumentAccessRequest)
func (v *NullableCheckDocumentAccessRequest) UnmarshalJSON(src []byte) error
func (v *NullableCheckDocumentAccessRequest) Unset()
Type NullableCheckDocumentAccessResponse
type NullableCheckDocumentAccessResponse struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableCheckDocumentAccessResponse(val *CheckDocumentAccessResponse) *NullableCheckDocumentAccessResponse
Methods
func (v NullableCheckDocumentAccessResponse) Get() *CheckDocumentAccessResponse
func (v NullableCheckDocumentAccessResponse) IsSet() bool
func (v NullableCheckDocumentAccessResponse) MarshalJSON() ([]byte, error)
func (v *NullableCheckDocumentAccessResponse) Set(val *CheckDocumentAccessResponse)
func (v *NullableCheckDocumentAccessResponse) UnmarshalJSON(src []byte) error
func (v *NullableCheckDocumentAccessResponse) Unset()
Type NullableConnectorType
type NullableConnectorType struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableConnectorType(val *ConnectorType) *NullableConnectorType
Methods
func (v NullableConnectorType) Get() *ConnectorType
func (v NullableConnectorType) IsSet() bool
func (v NullableConnectorType) MarshalJSON() ([]byte, error)
func (v *NullableConnectorType) Set(val *ConnectorType)
func (v *NullableConnectorType) UnmarshalJSON(src []byte) error
func (v *NullableConnectorType) Unset()
Type NullableContentDefinition
type NullableContentDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableContentDefinition(val *ContentDefinition) *NullableContentDefinition
Methods
func (v NullableContentDefinition) Get() *ContentDefinition
func (v NullableContentDefinition) IsSet() bool
func (v NullableContentDefinition) MarshalJSON() ([]byte, error)
func (v *NullableContentDefinition) Set(val *ContentDefinition)
func (v *NullableContentDefinition) UnmarshalJSON(src []byte) error
func (v *NullableContentDefinition) Unset()
Type NullableCustomDatasourceConfig
type NullableCustomDatasourceConfig struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableCustomDatasourceConfig(val *CustomDatasourceConfig) *NullableCustomDatasourceConfig
Methods
func (v NullableCustomDatasourceConfig) Get() *CustomDatasourceConfig
func (v NullableCustomDatasourceConfig) IsSet() bool
func (v NullableCustomDatasourceConfig) MarshalJSON() ([]byte, error)
func (v *NullableCustomDatasourceConfig) Set(val *CustomDatasourceConfig)
func (v *NullableCustomDatasourceConfig) UnmarshalJSON(src []byte) error
func (v *NullableCustomDatasourceConfig) Unset()
Type NullableCustomDatasourceConfigAllOf
type NullableCustomDatasourceConfigAllOf struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableCustomDatasourceConfigAllOf(val *CustomDatasourceConfigAllOf) *NullableCustomDatasourceConfigAllOf
Methods
func (v NullableCustomDatasourceConfigAllOf) Get() *CustomDatasourceConfigAllOf
func (v NullableCustomDatasourceConfigAllOf) IsSet() bool
func (v NullableCustomDatasourceConfigAllOf) MarshalJSON() ([]byte, error)
func (v *NullableCustomDatasourceConfigAllOf) Set(val *CustomDatasourceConfigAllOf)
func (v *NullableCustomDatasourceConfigAllOf) UnmarshalJSON(src []byte) error
func (v *NullableCustomDatasourceConfigAllOf) Unset()
Type NullableCustomProperty
type NullableCustomProperty struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableCustomProperty(val *CustomProperty) *NullableCustomProperty
Methods
func (v NullableCustomProperty) Get() *CustomProperty
func (v NullableCustomProperty) IsSet() bool
func (v NullableCustomProperty) MarshalJSON() ([]byte, error)
func (v *NullableCustomProperty) Set(val *CustomProperty)
func (v *NullableCustomProperty) UnmarshalJSON(src []byte) error
func (v *NullableCustomProperty) Unset()
Type NullableDatasourceBulkMembershipDefinition
type NullableDatasourceBulkMembershipDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDatasourceBulkMembershipDefinition(val *DatasourceBulkMembershipDefinition) *NullableDatasourceBulkMembershipDefinition
Methods
func (v NullableDatasourceBulkMembershipDefinition) Get() *DatasourceBulkMembershipDefinition
func (v NullableDatasourceBulkMembershipDefinition) IsSet() bool
func (v NullableDatasourceBulkMembershipDefinition) MarshalJSON() ([]byte, error)
func (v *NullableDatasourceBulkMembershipDefinition) Set(val *DatasourceBulkMembershipDefinition)
func (v *NullableDatasourceBulkMembershipDefinition) UnmarshalJSON(src []byte) error
func (v *NullableDatasourceBulkMembershipDefinition) Unset()
Type NullableDatasourceConfigList
type NullableDatasourceConfigList struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDatasourceConfigList(val *DatasourceConfigList) *NullableDatasourceConfigList
Methods
func (v NullableDatasourceConfigList) Get() *DatasourceConfigList
func (v NullableDatasourceConfigList) IsSet() bool
func (v NullableDatasourceConfigList) MarshalJSON() ([]byte, error)
func (v *NullableDatasourceConfigList) Set(val *DatasourceConfigList)
func (v *NullableDatasourceConfigList) UnmarshalJSON(src []byte) error
func (v *NullableDatasourceConfigList) Unset()
Type NullableDatasourceGroupDefinition
type NullableDatasourceGroupDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDatasourceGroupDefinition(val *DatasourceGroupDefinition) *NullableDatasourceGroupDefinition
Methods
func (v NullableDatasourceGroupDefinition) Get() *DatasourceGroupDefinition
func (v NullableDatasourceGroupDefinition) IsSet() bool
func (v NullableDatasourceGroupDefinition) MarshalJSON() ([]byte, error)
func (v *NullableDatasourceGroupDefinition) Set(val *DatasourceGroupDefinition)
func (v *NullableDatasourceGroupDefinition) UnmarshalJSON(src []byte) error
func (v *NullableDatasourceGroupDefinition) Unset()
Type NullableDatasourceMembershipDefinition
type NullableDatasourceMembershipDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDatasourceMembershipDefinition(val *DatasourceMembershipDefinition) *NullableDatasourceMembershipDefinition
Methods
func (v NullableDatasourceMembershipDefinition) Get() *DatasourceMembershipDefinition
func (v NullableDatasourceMembershipDefinition) IsSet() bool
func (v NullableDatasourceMembershipDefinition) MarshalJSON() ([]byte, error)
func (v *NullableDatasourceMembershipDefinition) Set(val *DatasourceMembershipDefinition)
func (v *NullableDatasourceMembershipDefinition) UnmarshalJSON(src []byte) error
func (v *NullableDatasourceMembershipDefinition) Unset()
Type NullableDatasourceProfile
type NullableDatasourceProfile struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDatasourceProfile(val *DatasourceProfile) *NullableDatasourceProfile
Methods
func (v NullableDatasourceProfile) Get() *DatasourceProfile
func (v NullableDatasourceProfile) IsSet() bool
func (v NullableDatasourceProfile) MarshalJSON() ([]byte, error)
func (v *NullableDatasourceProfile) Set(val *DatasourceProfile)
func (v *NullableDatasourceProfile) UnmarshalJSON(src []byte) error
func (v *NullableDatasourceProfile) Unset()
Type NullableDatasourceUserDefinition
type NullableDatasourceUserDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDatasourceUserDefinition(val *DatasourceUserDefinition) *NullableDatasourceUserDefinition
Methods
func (v NullableDatasourceUserDefinition) Get() *DatasourceUserDefinition
func (v NullableDatasourceUserDefinition) IsSet() bool
func (v NullableDatasourceUserDefinition) MarshalJSON() ([]byte, error)
func (v *NullableDatasourceUserDefinition) Set(val *DatasourceUserDefinition)
func (v *NullableDatasourceUserDefinition) UnmarshalJSON(src []byte) error
func (v *NullableDatasourceUserDefinition) Unset()
Type NullableDeleteDocumentRequest
type NullableDeleteDocumentRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDeleteDocumentRequest(val *DeleteDocumentRequest) *NullableDeleteDocumentRequest
Methods
func (v NullableDeleteDocumentRequest) Get() *DeleteDocumentRequest
func (v NullableDeleteDocumentRequest) IsSet() bool
func (v NullableDeleteDocumentRequest) MarshalJSON() ([]byte, error)
func (v *NullableDeleteDocumentRequest) Set(val *DeleteDocumentRequest)
func (v *NullableDeleteDocumentRequest) UnmarshalJSON(src []byte) error
func (v *NullableDeleteDocumentRequest) Unset()
Type NullableDeleteEmployeeRequest
type NullableDeleteEmployeeRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDeleteEmployeeRequest(val *DeleteEmployeeRequest) *NullableDeleteEmployeeRequest
Methods
func (v NullableDeleteEmployeeRequest) Get() *DeleteEmployeeRequest
func (v NullableDeleteEmployeeRequest) IsSet() bool
func (v NullableDeleteEmployeeRequest) MarshalJSON() ([]byte, error)
func (v *NullableDeleteEmployeeRequest) Set(val *DeleteEmployeeRequest)
func (v *NullableDeleteEmployeeRequest) UnmarshalJSON(src []byte) error
func (v *NullableDeleteEmployeeRequest) Unset()
Type NullableDeleteGroupRequest
type NullableDeleteGroupRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDeleteGroupRequest(val *DeleteGroupRequest) *NullableDeleteGroupRequest
Methods
func (v NullableDeleteGroupRequest) Get() *DeleteGroupRequest
func (v NullableDeleteGroupRequest) IsSet() bool
func (v NullableDeleteGroupRequest) MarshalJSON() ([]byte, error)
func (v *NullableDeleteGroupRequest) Set(val *DeleteGroupRequest)
func (v *NullableDeleteGroupRequest) UnmarshalJSON(src []byte) error
func (v *NullableDeleteGroupRequest) Unset()
Type NullableDeleteMembershipRequest
type NullableDeleteMembershipRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDeleteMembershipRequest(val *DeleteMembershipRequest) *NullableDeleteMembershipRequest
Methods
func (v NullableDeleteMembershipRequest) Get() *DeleteMembershipRequest
func (v NullableDeleteMembershipRequest) IsSet() bool
func (v NullableDeleteMembershipRequest) MarshalJSON() ([]byte, error)
func (v *NullableDeleteMembershipRequest) Set(val *DeleteMembershipRequest)
func (v *NullableDeleteMembershipRequest) UnmarshalJSON(src []byte) error
func (v *NullableDeleteMembershipRequest) Unset()
Type NullableDeleteUserRequest
type NullableDeleteUserRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDeleteUserRequest(val *DeleteUserRequest) *NullableDeleteUserRequest
Methods
func (v NullableDeleteUserRequest) Get() *DeleteUserRequest
func (v NullableDeleteUserRequest) IsSet() bool
func (v NullableDeleteUserRequest) MarshalJSON() ([]byte, error)
func (v *NullableDeleteUserRequest) Set(val *DeleteUserRequest)
func (v *NullableDeleteUserRequest) UnmarshalJSON(src []byte) error
func (v *NullableDeleteUserRequest) Unset()
Type NullableDocumentDefinition
type NullableDocumentDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDocumentDefinition(val *DocumentDefinition) *NullableDocumentDefinition
Methods
func (v NullableDocumentDefinition) Get() *DocumentDefinition
func (v NullableDocumentDefinition) IsSet() bool
func (v NullableDocumentDefinition) MarshalJSON() ([]byte, error)
func (v *NullableDocumentDefinition) Set(val *DocumentDefinition)
func (v *NullableDocumentDefinition) UnmarshalJSON(src []byte) error
func (v *NullableDocumentDefinition) Unset()
Type NullableDocumentInteractionsDefinition
type NullableDocumentInteractionsDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDocumentInteractionsDefinition(val *DocumentInteractionsDefinition) *NullableDocumentInteractionsDefinition
Methods
func (v NullableDocumentInteractionsDefinition) Get() *DocumentInteractionsDefinition
func (v NullableDocumentInteractionsDefinition) IsSet() bool
func (v NullableDocumentInteractionsDefinition) MarshalJSON() ([]byte, error)
func (v *NullableDocumentInteractionsDefinition) Set(val *DocumentInteractionsDefinition)
func (v *NullableDocumentInteractionsDefinition) UnmarshalJSON(src []byte) error
func (v *NullableDocumentInteractionsDefinition) Unset()
Type NullableDocumentPermissionsDefinition
type NullableDocumentPermissionsDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableDocumentPermissionsDefinition(val *DocumentPermissionsDefinition) *NullableDocumentPermissionsDefinition
Methods
func (v NullableDocumentPermissionsDefinition) Get() *DocumentPermissionsDefinition
func (v NullableDocumentPermissionsDefinition) IsSet() bool
func (v NullableDocumentPermissionsDefinition) MarshalJSON() ([]byte, error)
func (v *NullableDocumentPermissionsDefinition) Set(val *DocumentPermissionsDefinition)
func (v *NullableDocumentPermissionsDefinition) UnmarshalJSON(src []byte) error
func (v *NullableDocumentPermissionsDefinition) Unset()
Type NullableEmployeeAndVersionDefinition
type NullableEmployeeAndVersionDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableEmployeeAndVersionDefinition(val *EmployeeAndVersionDefinition) *NullableEmployeeAndVersionDefinition
Methods
func (v NullableEmployeeAndVersionDefinition) Get() *EmployeeAndVersionDefinition
func (v NullableEmployeeAndVersionDefinition) IsSet() bool
func (v NullableEmployeeAndVersionDefinition) MarshalJSON() ([]byte, error)
func (v *NullableEmployeeAndVersionDefinition) Set(val *EmployeeAndVersionDefinition)
func (v *NullableEmployeeAndVersionDefinition) UnmarshalJSON(src []byte) error
func (v *NullableEmployeeAndVersionDefinition) Unset()
Type NullableEmployeeInfoDefinition
type NullableEmployeeInfoDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableEmployeeInfoDefinition(val *EmployeeInfoDefinition) *NullableEmployeeInfoDefinition
Methods
func (v NullableEmployeeInfoDefinition) Get() *EmployeeInfoDefinition
func (v NullableEmployeeInfoDefinition) IsSet() bool
func (v NullableEmployeeInfoDefinition) MarshalJSON() ([]byte, error)
func (v *NullableEmployeeInfoDefinition) Set(val *EmployeeInfoDefinition)
func (v *NullableEmployeeInfoDefinition) UnmarshalJSON(src []byte) error
func (v *NullableEmployeeInfoDefinition) Unset()
Type NullableEmployeeTeamInfo
type NullableEmployeeTeamInfo struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableEmployeeTeamInfo(val *EmployeeTeamInfo) *NullableEmployeeTeamInfo
Methods
func (v NullableEmployeeTeamInfo) Get() *EmployeeTeamInfo
func (v NullableEmployeeTeamInfo) IsSet() bool
func (v NullableEmployeeTeamInfo) MarshalJSON() ([]byte, error)
func (v *NullableEmployeeTeamInfo) Set(val *EmployeeTeamInfo)
func (v *NullableEmployeeTeamInfo) UnmarshalJSON(src []byte) error
func (v *NullableEmployeeTeamInfo) Unset()
Type NullableFloat32
type NullableFloat32 struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableFloat32(val *float32) *NullableFloat32
Methods
func (v NullableFloat32) Get() *float32
func (v NullableFloat32) IsSet() bool
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (v *NullableFloat32) Set(val *float32)
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (v *NullableFloat32) Unset()
Type NullableFloat64
type NullableFloat64 struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableFloat64(val *float64) *NullableFloat64
Methods
func (v NullableFloat64) Get() *float64
func (v NullableFloat64) IsSet() bool
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (v *NullableFloat64) Set(val *float64)
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (v *NullableFloat64) Unset()
Type NullableGetDatasourceConfigRequest
type NullableGetDatasourceConfigRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableGetDatasourceConfigRequest(val *GetDatasourceConfigRequest) *NullableGetDatasourceConfigRequest
Methods
func (v NullableGetDatasourceConfigRequest) Get() *GetDatasourceConfigRequest
func (v NullableGetDatasourceConfigRequest) IsSet() bool
func (v NullableGetDatasourceConfigRequest) MarshalJSON() ([]byte, error)
func (v *NullableGetDatasourceConfigRequest) Set(val *GetDatasourceConfigRequest)
func (v *NullableGetDatasourceConfigRequest) UnmarshalJSON(src []byte) error
func (v *NullableGetDatasourceConfigRequest) Unset()
Type NullableGetDocumentCountRequest
type NullableGetDocumentCountRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableGetDocumentCountRequest(val *GetDocumentCountRequest) *NullableGetDocumentCountRequest
Methods
func (v NullableGetDocumentCountRequest) Get() *GetDocumentCountRequest
func (v NullableGetDocumentCountRequest) IsSet() bool
func (v NullableGetDocumentCountRequest) MarshalJSON() ([]byte, error)
func (v *NullableGetDocumentCountRequest) Set(val *GetDocumentCountRequest)
func (v *NullableGetDocumentCountRequest) UnmarshalJSON(src []byte) error
func (v *NullableGetDocumentCountRequest) Unset()
Type NullableGetDocumentCountResponse
type NullableGetDocumentCountResponse struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableGetDocumentCountResponse(val *GetDocumentCountResponse) *NullableGetDocumentCountResponse
Methods
func (v NullableGetDocumentCountResponse) Get() *GetDocumentCountResponse
func (v NullableGetDocumentCountResponse) IsSet() bool
func (v NullableGetDocumentCountResponse) MarshalJSON() ([]byte, error)
func (v *NullableGetDocumentCountResponse) Set(val *GetDocumentCountResponse)
func (v *NullableGetDocumentCountResponse) UnmarshalJSON(src []byte) error
func (v *NullableGetDocumentCountResponse) Unset()
Type NullableGetDocumentStatusRequest
type NullableGetDocumentStatusRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableGetDocumentStatusRequest(val *GetDocumentStatusRequest) *NullableGetDocumentStatusRequest
Methods
func (v NullableGetDocumentStatusRequest) Get() *GetDocumentStatusRequest
func (v NullableGetDocumentStatusRequest) IsSet() bool
func (v NullableGetDocumentStatusRequest) MarshalJSON() ([]byte, error)
func (v *NullableGetDocumentStatusRequest) Set(val *GetDocumentStatusRequest)
func (v *NullableGetDocumentStatusRequest) UnmarshalJSON(src []byte) error
func (v *NullableGetDocumentStatusRequest) Unset()
Type NullableGetDocumentStatusResponse
type NullableGetDocumentStatusResponse struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableGetDocumentStatusResponse(val *GetDocumentStatusResponse) *NullableGetDocumentStatusResponse
Methods
func (v NullableGetDocumentStatusResponse) Get() *GetDocumentStatusResponse
func (v NullableGetDocumentStatusResponse) IsSet() bool
func (v NullableGetDocumentStatusResponse) MarshalJSON() ([]byte, error)
func (v *NullableGetDocumentStatusResponse) Set(val *GetDocumentStatusResponse)
func (v *NullableGetDocumentStatusResponse) UnmarshalJSON(src []byte) error
func (v *NullableGetDocumentStatusResponse) Unset()
Type NullableGetUserCountRequest
type NullableGetUserCountRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableGetUserCountRequest(val *GetUserCountRequest) *NullableGetUserCountRequest
Methods
func (v NullableGetUserCountRequest) Get() *GetUserCountRequest
func (v NullableGetUserCountRequest) IsSet() bool
func (v NullableGetUserCountRequest) MarshalJSON() ([]byte, error)
func (v *NullableGetUserCountRequest) Set(val *GetUserCountRequest)
func (v *NullableGetUserCountRequest) UnmarshalJSON(src []byte) error
func (v *NullableGetUserCountRequest) Unset()
Type NullableGetUserCountResponse
type NullableGetUserCountResponse struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableGetUserCountResponse(val *GetUserCountResponse) *NullableGetUserCountResponse
Methods
func (v NullableGetUserCountResponse) Get() *GetUserCountResponse
func (v NullableGetUserCountResponse) IsSet() bool
func (v NullableGetUserCountResponse) MarshalJSON() ([]byte, error)
func (v *NullableGetUserCountResponse) Set(val *GetUserCountResponse)
func (v *NullableGetUserCountResponse) UnmarshalJSON(src []byte) error
func (v *NullableGetUserCountResponse) Unset()
Type NullableGreenlistUsersRequest
type NullableGreenlistUsersRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableGreenlistUsersRequest(val *GreenlistUsersRequest) *NullableGreenlistUsersRequest
Methods
func (v NullableGreenlistUsersRequest) Get() *GreenlistUsersRequest
func (v NullableGreenlistUsersRequest) IsSet() bool
func (v NullableGreenlistUsersRequest) MarshalJSON() ([]byte, error)
func (v *NullableGreenlistUsersRequest) Set(val *GreenlistUsersRequest)
func (v *NullableGreenlistUsersRequest) UnmarshalJSON(src []byte) error
func (v *NullableGreenlistUsersRequest) Unset()
Type NullableHypertextField
type NullableHypertextField struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableHypertextField(val *HypertextField) *NullableHypertextField
Methods
func (v NullableHypertextField) Get() *HypertextField
func (v NullableHypertextField) IsSet() bool
func (v NullableHypertextField) MarshalJSON() ([]byte, error)
func (v *NullableHypertextField) Set(val *HypertextField)
func (v *NullableHypertextField) UnmarshalJSON(src []byte) error
func (v *NullableHypertextField) Unset()
Type NullableIconConfig
type NullableIconConfig struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableIconConfig(val *IconConfig) *NullableIconConfig
Methods
func (v NullableIconConfig) Get() *IconConfig
func (v NullableIconConfig) IsSet() bool
func (v NullableIconConfig) MarshalJSON() ([]byte, error)
func (v *NullableIconConfig) Set(val *IconConfig)
func (v *NullableIconConfig) UnmarshalJSON(src []byte) error
func (v *NullableIconConfig) Unset()
Type NullableIndexDocumentRequest
type NullableIndexDocumentRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableIndexDocumentRequest(val *IndexDocumentRequest) *NullableIndexDocumentRequest
Methods
func (v NullableIndexDocumentRequest) Get() *IndexDocumentRequest
func (v NullableIndexDocumentRequest) IsSet() bool
func (v NullableIndexDocumentRequest) MarshalJSON() ([]byte, error)
func (v *NullableIndexDocumentRequest) Set(val *IndexDocumentRequest)
func (v *NullableIndexDocumentRequest) UnmarshalJSON(src []byte) error
func (v *NullableIndexDocumentRequest) Unset()
Type NullableIndexEmployeeListRequest
type NullableIndexEmployeeListRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableIndexEmployeeListRequest(val *IndexEmployeeListRequest) *NullableIndexEmployeeListRequest
Methods
func (v NullableIndexEmployeeListRequest) Get() *IndexEmployeeListRequest
func (v NullableIndexEmployeeListRequest) IsSet() bool
func (v NullableIndexEmployeeListRequest) MarshalJSON() ([]byte, error)
func (v *NullableIndexEmployeeListRequest) Set(val *IndexEmployeeListRequest)
func (v *NullableIndexEmployeeListRequest) UnmarshalJSON(src []byte) error
func (v *NullableIndexEmployeeListRequest) Unset()
Type NullableIndexEmployeeRequest
type NullableIndexEmployeeRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableIndexEmployeeRequest(val *IndexEmployeeRequest) *NullableIndexEmployeeRequest
Methods
func (v NullableIndexEmployeeRequest) Get() *IndexEmployeeRequest
func (v NullableIndexEmployeeRequest) IsSet() bool
func (v NullableIndexEmployeeRequest) MarshalJSON() ([]byte, error)
func (v *NullableIndexEmployeeRequest) Set(val *IndexEmployeeRequest)
func (v *NullableIndexEmployeeRequest) UnmarshalJSON(src []byte) error
func (v *NullableIndexEmployeeRequest) Unset()
Type NullableIndexGroupRequest
type NullableIndexGroupRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableIndexGroupRequest(val *IndexGroupRequest) *NullableIndexGroupRequest
Methods
func (v NullableIndexGroupRequest) Get() *IndexGroupRequest
func (v NullableIndexGroupRequest) IsSet() bool
func (v NullableIndexGroupRequest) MarshalJSON() ([]byte, error)
func (v *NullableIndexGroupRequest) Set(val *IndexGroupRequest)
func (v *NullableIndexGroupRequest) UnmarshalJSON(src []byte) error
func (v *NullableIndexGroupRequest) Unset()
Type NullableIndexMembershipRequest
type NullableIndexMembershipRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableIndexMembershipRequest(val *IndexMembershipRequest) *NullableIndexMembershipRequest
Methods
func (v NullableIndexMembershipRequest) Get() *IndexMembershipRequest
func (v NullableIndexMembershipRequest) IsSet() bool
func (v NullableIndexMembershipRequest) MarshalJSON() ([]byte, error)
func (v *NullableIndexMembershipRequest) Set(val *IndexMembershipRequest)
func (v *NullableIndexMembershipRequest) UnmarshalJSON(src []byte) error
func (v *NullableIndexMembershipRequest) Unset()
Type NullableIndexTeamRequest
type NullableIndexTeamRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableIndexTeamRequest(val *IndexTeamRequest) *NullableIndexTeamRequest
Methods
func (v NullableIndexTeamRequest) Get() *IndexTeamRequest
func (v NullableIndexTeamRequest) IsSet() bool
func (v NullableIndexTeamRequest) MarshalJSON() ([]byte, error)
func (v *NullableIndexTeamRequest) Set(val *IndexTeamRequest)
func (v *NullableIndexTeamRequest) UnmarshalJSON(src []byte) error
func (v *NullableIndexTeamRequest) Unset()
Type NullableIndexUserRequest
type NullableIndexUserRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableIndexUserRequest(val *IndexUserRequest) *NullableIndexUserRequest
Methods
func (v NullableIndexUserRequest) Get() *IndexUserRequest
func (v NullableIndexUserRequest) IsSet() bool
func (v NullableIndexUserRequest) MarshalJSON() ([]byte, error)
func (v *NullableIndexUserRequest) Set(val *IndexUserRequest)
func (v *NullableIndexUserRequest) UnmarshalJSON(src []byte) error
func (v *NullableIndexUserRequest) Unset()
Type NullableInt
type NullableInt struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableInt(val *int) *NullableInt
Methods
func (v NullableInt) Get() *int
func (v NullableInt) IsSet() bool
func (v NullableInt) MarshalJSON() ([]byte, error)
func (v *NullableInt) Set(val *int)
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (v *NullableInt) Unset()
Type NullableInt32
type NullableInt32 struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableInt32(val *int32) *NullableInt32
Methods
func (v NullableInt32) Get() *int32
func (v NullableInt32) IsSet() bool
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (v *NullableInt32) Set(val *int32)
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (v *NullableInt32) Unset()
Type NullableInt64
type NullableInt64 struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableInt64(val *int64) *NullableInt64
Methods
func (v NullableInt64) Get() *int64
func (v NullableInt64) IsSet() bool
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (v *NullableInt64) Set(val *int64)
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (v *NullableInt64) Unset()
Type NullableObjectDefinition
type NullableObjectDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableObjectDefinition(val *ObjectDefinition) *NullableObjectDefinition
Methods
func (v NullableObjectDefinition) Get() *ObjectDefinition
func (v NullableObjectDefinition) IsSet() bool
func (v NullableObjectDefinition) MarshalJSON() ([]byte, error)
func (v *NullableObjectDefinition) Set(val *ObjectDefinition)
func (v *NullableObjectDefinition) UnmarshalJSON(src []byte) error
func (v *NullableObjectDefinition) Unset()
Type NullableObjectPropertyOptions
type NullableObjectPropertyOptions struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableObjectPropertyOptions(val *ObjectPropertyOptions) *NullableObjectPropertyOptions
Methods
func (v NullableObjectPropertyOptions) Get() *ObjectPropertyOptions
func (v NullableObjectPropertyOptions) IsSet() bool
func (v NullableObjectPropertyOptions) MarshalJSON() ([]byte, error)
func (v *NullableObjectPropertyOptions) Set(val *ObjectPropertyOptions)
func (v *NullableObjectPropertyOptions) UnmarshalJSON(src []byte) error
func (v *NullableObjectPropertyOptions) Unset()
Type NullablePermissionsGroupIntersectionDefinition
type NullablePermissionsGroupIntersectionDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullablePermissionsGroupIntersectionDefinition(val *PermissionsGroupIntersectionDefinition) *NullablePermissionsGroupIntersectionDefinition
Methods
func (v NullablePermissionsGroupIntersectionDefinition) Get() *PermissionsGroupIntersectionDefinition
func (v NullablePermissionsGroupIntersectionDefinition) IsSet() bool
func (v NullablePermissionsGroupIntersectionDefinition) MarshalJSON() ([]byte, error)
func (v *NullablePermissionsGroupIntersectionDefinition) Set(val *PermissionsGroupIntersectionDefinition)
func (v *NullablePermissionsGroupIntersectionDefinition) UnmarshalJSON(src []byte) error
func (v *NullablePermissionsGroupIntersectionDefinition) Unset()
Type NullableProcessAllDocumentsRequest
type NullableProcessAllDocumentsRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableProcessAllDocumentsRequest(val *ProcessAllDocumentsRequest) *NullableProcessAllDocumentsRequest
Methods
func (v NullableProcessAllDocumentsRequest) Get() *ProcessAllDocumentsRequest
func (v NullableProcessAllDocumentsRequest) IsSet() bool
func (v NullableProcessAllDocumentsRequest) MarshalJSON() ([]byte, error)
func (v *NullableProcessAllDocumentsRequest) Set(val *ProcessAllDocumentsRequest)
func (v *NullableProcessAllDocumentsRequest) UnmarshalJSON(src []byte) error
func (v *NullableProcessAllDocumentsRequest) Unset()
Type NullableProcessAllMembershipsRequest
type NullableProcessAllMembershipsRequest struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableProcessAllMembershipsRequest(val *ProcessAllMembershipsRequest) *NullableProcessAllMembershipsRequest
Methods
func (v NullableProcessAllMembershipsRequest) Get() *ProcessAllMembershipsRequest
func (v NullableProcessAllMembershipsRequest) IsSet() bool
func (v NullableProcessAllMembershipsRequest) MarshalJSON() ([]byte, error)
func (v *NullableProcessAllMembershipsRequest) Set(val *ProcessAllMembershipsRequest)
func (v *NullableProcessAllMembershipsRequest) UnmarshalJSON(src []byte) error
func (v *NullableProcessAllMembershipsRequest) Unset()
Type NullablePropertyDefinition
type NullablePropertyDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullablePropertyDefinition(val *PropertyDefinition) *NullablePropertyDefinition
Methods
func (v NullablePropertyDefinition) Get() *PropertyDefinition
func (v NullablePropertyDefinition) IsSet() bool
func (v NullablePropertyDefinition) MarshalJSON() ([]byte, error)
func (v *NullablePropertyDefinition) Set(val *PropertyDefinition)
func (v *NullablePropertyDefinition) UnmarshalJSON(src []byte) error
func (v *NullablePropertyDefinition) Unset()
Type NullablePropertyGroup
type NullablePropertyGroup struct {
	// contains filtered or unexported fields
}
Functions
func NewNullablePropertyGroup(val *PropertyGroup) *NullablePropertyGroup
Methods
func (v NullablePropertyGroup) Get() *PropertyGroup
func (v NullablePropertyGroup) IsSet() bool
func (v NullablePropertyGroup) MarshalJSON() ([]byte, error)
func (v *NullablePropertyGroup) Set(val *PropertyGroup)
func (v *NullablePropertyGroup) UnmarshalJSON(src []byte) error
func (v *NullablePropertyGroup) Unset()
type NullableQuicklink struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableQuicklink(val *Quicklink) *NullableQuicklink
Methods
func (v NullableQuicklink) Get() *Quicklink
func (v NullableQuicklink) IsSet() bool
func (v NullableQuicklink) MarshalJSON() ([]byte, error)
func (v *NullableQuicklink) Set(val *Quicklink)
func (v *NullableQuicklink) UnmarshalJSON(src []byte) error
func (v *NullableQuicklink) Unset()
Type NullableSharedDatasourceConfig
type NullableSharedDatasourceConfig struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableSharedDatasourceConfig(val *SharedDatasourceConfig) *NullableSharedDatasourceConfig
Methods
func (v NullableSharedDatasourceConfig) Get() *SharedDatasourceConfig
func (v NullableSharedDatasourceConfig) IsSet() bool
func (v NullableSharedDatasourceConfig) MarshalJSON() ([]byte, error)
func (v *NullableSharedDatasourceConfig) Set(val *SharedDatasourceConfig)
func (v *NullableSharedDatasourceConfig) UnmarshalJSON(src []byte) error
func (v *NullableSharedDatasourceConfig) Unset()
Type NullableSharedDatasourceConfigAllOf
type NullableSharedDatasourceConfigAllOf struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableSharedDatasourceConfigAllOf(val *SharedDatasourceConfigAllOf) *NullableSharedDatasourceConfigAllOf
Methods
func (v NullableSharedDatasourceConfigAllOf) Get() *SharedDatasourceConfigAllOf
func (v NullableSharedDatasourceConfigAllOf) IsSet() bool
func (v NullableSharedDatasourceConfigAllOf) MarshalJSON() ([]byte, error)
func (v *NullableSharedDatasourceConfigAllOf) Set(val *SharedDatasourceConfigAllOf)
func (v *NullableSharedDatasourceConfigAllOf) UnmarshalJSON(src []byte) error
func (v *NullableSharedDatasourceConfigAllOf) Unset()
Type NullableSharedDatasourceConfigNoInstance
type NullableSharedDatasourceConfigNoInstance struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableSharedDatasourceConfigNoInstance(val *SharedDatasourceConfigNoInstance) *NullableSharedDatasourceConfigNoInstance
Methods
func (v NullableSharedDatasourceConfigNoInstance) Get() *SharedDatasourceConfigNoInstance
func (v NullableSharedDatasourceConfigNoInstance) IsSet() bool
func (v NullableSharedDatasourceConfigNoInstance) MarshalJSON() ([]byte, error)
func (v *NullableSharedDatasourceConfigNoInstance) Set(val *SharedDatasourceConfigNoInstance)
func (v *NullableSharedDatasourceConfigNoInstance) UnmarshalJSON(src []byte) error
func (v *NullableSharedDatasourceConfigNoInstance) Unset()
Type NullableSocialNetworkDefinition
type NullableSocialNetworkDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableSocialNetworkDefinition(val *SocialNetworkDefinition) *NullableSocialNetworkDefinition
Methods
func (v NullableSocialNetworkDefinition) Get() *SocialNetworkDefinition
func (v NullableSocialNetworkDefinition) IsSet() bool
func (v NullableSocialNetworkDefinition) MarshalJSON() ([]byte, error)
func (v *NullableSocialNetworkDefinition) Set(val *SocialNetworkDefinition)
func (v *NullableSocialNetworkDefinition) UnmarshalJSON(src []byte) error
func (v *NullableSocialNetworkDefinition) Unset()
Type NullableString
type NullableString struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableString(val *string) *NullableString
Methods
func (v NullableString) Get() *string
func (v NullableString) IsSet() bool
func (v NullableString) MarshalJSON() ([]byte, error)
func (v *NullableString) Set(val *string)
func (v *NullableString) UnmarshalJSON(src []byte) error
func (v *NullableString) Unset()
Type NullableStructuredLocation
type NullableStructuredLocation struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableStructuredLocation(val *StructuredLocation) *NullableStructuredLocation
Methods
func (v NullableStructuredLocation) Get() *StructuredLocation
func (v NullableStructuredLocation) IsSet() bool
func (v NullableStructuredLocation) MarshalJSON() ([]byte, error)
func (v *NullableStructuredLocation) Set(val *StructuredLocation)
func (v *NullableStructuredLocation) UnmarshalJSON(src []byte) error
func (v *NullableStructuredLocation) Unset()
Type NullableTeamEmail
type NullableTeamEmail struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableTeamEmail(val *TeamEmail) *NullableTeamEmail
Methods
func (v NullableTeamEmail) Get() *TeamEmail
func (v NullableTeamEmail) IsSet() bool
func (v NullableTeamEmail) MarshalJSON() ([]byte, error)
func (v *NullableTeamEmail) Set(val *TeamEmail)
func (v *NullableTeamEmail) UnmarshalJSON(src []byte) error
func (v *NullableTeamEmail) Unset()
Type NullableTeamInfoDefinition
type NullableTeamInfoDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableTeamInfoDefinition(val *TeamInfoDefinition) *NullableTeamInfoDefinition
Methods
func (v NullableTeamInfoDefinition) Get() *TeamInfoDefinition
func (v NullableTeamInfoDefinition) IsSet() bool
func (v NullableTeamInfoDefinition) MarshalJSON() ([]byte, error)
func (v *NullableTeamInfoDefinition) Set(val *TeamInfoDefinition)
func (v *NullableTeamInfoDefinition) UnmarshalJSON(src []byte) error
func (v *NullableTeamInfoDefinition) Unset()
Type NullableTeamMember
type NullableTeamMember struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableTeamMember(val *TeamMember) *NullableTeamMember
Methods
func (v NullableTeamMember) Get() *TeamMember
func (v NullableTeamMember) IsSet() bool
func (v NullableTeamMember) MarshalJSON() ([]byte, error)
func (v *NullableTeamMember) Set(val *TeamMember)
func (v *NullableTeamMember) UnmarshalJSON(src []byte) error
func (v *NullableTeamMember) Unset()
Type NullableTime
type NullableTime struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableTime(val *time.Time) *NullableTime
Methods
func (v NullableTime) Get() *time.Time
func (v NullableTime) IsSet() bool
func (v NullableTime) MarshalJSON() ([]byte, error)
func (v *NullableTime) Set(val *time.Time)
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (v *NullableTime) Unset()
Type NullableUserReferenceDefinition
type NullableUserReferenceDefinition struct {
	// contains filtered or unexported fields
}
Functions
func NewNullableUserReferenceDefinition(val *UserReferenceDefinition) *NullableUserReferenceDefinition
Methods
func (v NullableUserReferenceDefinition) Get() *UserReferenceDefinition
func (v NullableUserReferenceDefinition) IsSet() bool
func (v NullableUserReferenceDefinition) MarshalJSON() ([]byte, error)
func (v *NullableUserReferenceDefinition) Set(val *UserReferenceDefinition)
func (v *NullableUserReferenceDefinition) UnmarshalJSON(src []byte) error
func (v *NullableUserReferenceDefinition) Unset()
Type ObjectDefinition
type ObjectDefinition struct {
	// Unique identifier for this `DocumentMetadata.objectType`. If omitted, this definition is used as a default for all unmatched `DocumentMetadata.objectType`s in this datasource.
	Name *string `json:"name,omitempty"`
	// The user-friendly name of the object for display.
	DisplayLabel *string `json:"displayLabel,omitempty"`
	// The document category of this object type.
	DocCategory         *string              `json:"docCategory,omitempty"`
	PropertyDefinitions []PropertyDefinition `json:"propertyDefinitions,omitempty"`
	// A list of `PropertyGroup`s belonging to this object type, which will group properties to be displayed together in the UI.
	PropertyGroups []PropertyGroup `json:"propertyGroups,omitempty"`
}

ObjectDefinition The definition for an DocumentMetadata.objectType within a datasource.

Functions
func NewObjectDefinition() *ObjectDefinition

NewObjectDefinition instantiates a new ObjectDefinition 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

func NewObjectDefinitionWithDefaults() *ObjectDefinition

NewObjectDefinitionWithDefaults instantiates a new ObjectDefinition 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

Methods
func (o *ObjectDefinition) GetDisplayLabel() string

GetDisplayLabel returns the DisplayLabel field value if set, zero value otherwise.

func (o *ObjectDefinition) GetDisplayLabelOk() (*string, bool)

GetDisplayLabelOk returns a tuple with the DisplayLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ObjectDefinition) GetDocCategory() string

GetDocCategory returns the DocCategory field value if set, zero value otherwise.

func (o *ObjectDefinition) GetDocCategoryOk() (*string, bool)

GetDocCategoryOk returns a tuple with the DocCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ObjectDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *ObjectDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ObjectDefinition) GetPropertyDefinitions() []PropertyDefinition

GetPropertyDefinitions returns the PropertyDefinitions field value if set, zero value otherwise.

func (o *ObjectDefinition) GetPropertyDefinitionsOk() ([]PropertyDefinition, bool)

GetPropertyDefinitionsOk returns a tuple with the PropertyDefinitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ObjectDefinition) GetPropertyGroups() []PropertyGroup

GetPropertyGroups returns the PropertyGroups field value if set, zero value otherwise.

func (o *ObjectDefinition) GetPropertyGroupsOk() ([]PropertyGroup, bool)

GetPropertyGroupsOk returns a tuple with the PropertyGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ObjectDefinition) HasDisplayLabel() bool

HasDisplayLabel returns a boolean if a field has been set.

func (o *ObjectDefinition) HasDocCategory() bool

HasDocCategory returns a boolean if a field has been set.

func (o *ObjectDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (o *ObjectDefinition) HasPropertyDefinitions() bool

HasPropertyDefinitions returns a boolean if a field has been set.

func (o *ObjectDefinition) HasPropertyGroups() bool

HasPropertyGroups returns a boolean if a field has been set.

func (o ObjectDefinition) MarshalJSON() ([]byte, error)
func (o *ObjectDefinition) SetDisplayLabel(v string)

SetDisplayLabel gets a reference to the given string and assigns it to the DisplayLabel field.

func (o *ObjectDefinition) SetDocCategory(v string)

SetDocCategory gets a reference to the given string and assigns it to the DocCategory field.

func (o *ObjectDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (o *ObjectDefinition) SetPropertyDefinitions(v []PropertyDefinition)

SetPropertyDefinitions gets a reference to the given []PropertyDefinition and assigns it to the PropertyDefinitions field.

func (o *ObjectDefinition) SetPropertyGroups(v []PropertyGroup)

SetPropertyGroups gets a reference to the given []PropertyGroup and assigns it to the PropertyGroups field.

Type ObjectPropertyOptions
type ObjectPropertyOptions struct {
	// The properties of the sub-object. These properties represent a nested object. For example, if this property represents a postal address, the subobjectProperties might be named street, city, and state.
	SubobjectProperties []PropertyDefinition `json:"subobjectProperties,omitempty"`
}

ObjectPropertyOptions Options for object properties.

Functions
func NewObjectPropertyOptions() *ObjectPropertyOptions

NewObjectPropertyOptions instantiates a new ObjectPropertyOptions 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

func NewObjectPropertyOptionsWithDefaults() *ObjectPropertyOptions

NewObjectPropertyOptionsWithDefaults instantiates a new ObjectPropertyOptions 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

Methods
func (o *ObjectPropertyOptions) GetSubobjectProperties() []PropertyDefinition

GetSubobjectProperties returns the SubobjectProperties field value if set, zero value otherwise.

func (o *ObjectPropertyOptions) GetSubobjectPropertiesOk() ([]PropertyDefinition, bool)

GetSubobjectPropertiesOk returns a tuple with the SubobjectProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ObjectPropertyOptions) HasSubobjectProperties() bool

HasSubobjectProperties returns a boolean if a field has been set.

func (o ObjectPropertyOptions) MarshalJSON() ([]byte, error)
func (o *ObjectPropertyOptions) SetSubobjectProperties(v []PropertyDefinition)

SetSubobjectProperties gets a reference to the given []PropertyDefinition and assigns it to the SubobjectProperties field.

Type PeopleApiService
type PeopleApiService service

PeopleApiService PeopleApi service

Methods
func (a *PeopleApiService) BulkindexemployeesPost(ctx context.Context) ApiBulkindexemployeesPostRequest

BulkindexemployeesPost Bulk index employees

Replaces all the currently indexed employees using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexemployeesPostRequest
func (a *PeopleApiService) BulkindexemployeesPostExecute(r ApiBulkindexemployeesPostRequest) (*http.Response, error)

Execute executes the request

func (a *PeopleApiService) BulkindexteamsPost(ctx context.Context) ApiBulkindexteamsPostRequest

BulkindexteamsPost Bulk index teams

Replaces all the currently indexed teams using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexteamsPostRequest
func (a *PeopleApiService) BulkindexteamsPostExecute(r ApiBulkindexteamsPostRequest) (*http.Response, error)

Execute executes the request

func (a *PeopleApiService) DeleteemployeePost(ctx context.Context) ApiDeleteemployeePostRequest

DeleteemployeePost Delete employee

Delete an employee. Silently succeeds if employee is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteemployeePostRequest
func (a *PeopleApiService) DeleteemployeePostExecute(r ApiDeleteemployeePostRequest) (*http.Response, error)

Execute executes the request

func (a *PeopleApiService) IndexemployeePost(ctx context.Context) ApiIndexemployeePostRequest

IndexemployeePost Index employee

Adds an employee or updates information about an employee

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexemployeePostRequest
func (a *PeopleApiService) IndexemployeePostExecute(r ApiIndexemployeePostRequest) (*http.Response, error)

Execute executes the request

func (a *PeopleApiService) IndexemployeelistPost(ctx context.Context) ApiIndexemployeelistPostRequest

IndexemployeelistPost Bulk index employees

Bulk upload details of all the employees. This deletes all employees uploaded in the prior batch. SOON TO BE DEPRECATED in favor of /bulkindexemployees.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexemployeelistPostRequest

Deprecated

func (a *PeopleApiService) IndexemployeelistPostExecute(r ApiIndexemployeelistPostRequest) (*http.Response, error)

Execute executes the request Deprecated

func (a *PeopleApiService) IndexteamPost(ctx context.Context) ApiIndexteamPostRequest

IndexteamPost Index team

Adds a team or updates information about a team

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexteamPostRequest
func (a *PeopleApiService) IndexteamPostExecute(r ApiIndexteamPostRequest) (*http.Response, error)

Execute executes the request

Type PermissionsApiService
type PermissionsApiService service

PermissionsApiService PermissionsApi service

Methods
func (a *PermissionsApiService) BetausersPost(ctx context.Context) ApiBetausersPostRequest

BetausersPost Beta users

Allow the datasource be visible to the specified beta users. The default behaviour is datasource being visible to all users if it is enabled and not visible to any user if it is not enabled.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBetausersPostRequest
func (a *PermissionsApiService) BetausersPostExecute(r ApiBetausersPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) BulkindexgroupsPost(ctx context.Context) ApiBulkindexgroupsPostRequest

BulkindexgroupsPost Bulk index groups

Replaces the groups in a datasource using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexgroupsPostRequest
func (a *PermissionsApiService) BulkindexgroupsPostExecute(r ApiBulkindexgroupsPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) BulkindexmembershipsPost(ctx context.Context) ApiBulkindexmembershipsPostRequest

BulkindexmembershipsPost Bulk index memberships for a group

Replaces the memberships for a group in a datasource using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexmembershipsPostRequest
func (a *PermissionsApiService) BulkindexmembershipsPostExecute(r ApiBulkindexmembershipsPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) BulkindexusersPost(ctx context.Context) ApiBulkindexusersPostRequest

BulkindexusersPost Bulk index users

Replaces the users in a datasource using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexusersPostRequest
func (a *PermissionsApiService) BulkindexusersPostExecute(r ApiBulkindexusersPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) CheckdocumentaccessPost(ctx context.Context) ApiCheckdocumentaccessPostRequest

CheckdocumentaccessPost Check document access

Check if a given user has access to access a document in a custom datasource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCheckdocumentaccessPostRequest
func (a *PermissionsApiService) CheckdocumentaccessPostExecute(r ApiCheckdocumentaccessPostRequest) (*CheckDocumentAccessResponse, *http.Response, error)

Execute executes the request

@return CheckDocumentAccessResponse
func (a *PermissionsApiService) DeletegroupPost(ctx context.Context) ApiDeletegroupPostRequest

DeletegroupPost Delete group

Delete group from the datasource. Silently succeeds if group is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeletegroupPostRequest
func (a *PermissionsApiService) DeletegroupPostExecute(r ApiDeletegroupPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) DeletemembershipPost(ctx context.Context) ApiDeletemembershipPostRequest

DeletemembershipPost Delete membership

Delete membership to a group in the specified datasource. Silently succeeds if membership is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeletemembershipPostRequest
func (a *PermissionsApiService) DeletemembershipPostExecute(r ApiDeletemembershipPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) DeleteuserPost(ctx context.Context) ApiDeleteuserPostRequest

DeleteuserPost Delete user

Delete the user from the datasource. Silently succeeds if user is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteuserPostRequest
func (a *PermissionsApiService) DeleteuserPostExecute(r ApiDeleteuserPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) GetusercountPost(ctx context.Context) ApiGetusercountPostRequest

GetusercountPost Get user count

Fetches user count for the specified custom datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetusercountPostRequest
func (a *PermissionsApiService) GetusercountPostExecute(r ApiGetusercountPostRequest) (*GetUserCountResponse, *http.Response, error)

Execute executes the request

@return GetUserCountResponse
func (a *PermissionsApiService) IndexgroupPost(ctx context.Context) ApiIndexgroupPostRequest

IndexgroupPost Index group

Add or update a group in the datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexgroupPostRequest
func (a *PermissionsApiService) IndexgroupPostExecute(r ApiIndexgroupPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) IndexmembershipPost(ctx context.Context) ApiIndexmembershipPostRequest

IndexmembershipPost Index membership

Add the memberships of a group in the datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexmembershipPostRequest
func (a *PermissionsApiService) IndexmembershipPostExecute(r ApiIndexmembershipPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) IndexuserPost(ctx context.Context) ApiIndexuserPostRequest

IndexuserPost Index user

Adds a datasource user or updates an existing user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexuserPostRequest
func (a *PermissionsApiService) IndexuserPostExecute(r ApiIndexuserPostRequest) (*http.Response, error)

Execute executes the request

func (a *PermissionsApiService) ProcessallmembershipsPost(ctx context.Context) ApiProcessallmembershipsPostRequest

ProcessallmembershipsPost Schedules the processing of group memberships

Schedules the immediate processing of all group memberships uploaded through the indexing API. By default the uploaded group memberships will be processed asynchronously but this API can be used to schedule processing of all memberships on demand.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiProcessallmembershipsPostRequest
func (a *PermissionsApiService) ProcessallmembershipsPostExecute(r ApiProcessallmembershipsPostRequest) (*http.Response, error)

Execute executes the request

Type PermissionsGroupIntersectionDefinition
type PermissionsGroupIntersectionDefinition struct {
	RequiredGroups []string `json:"requiredGroups,omitempty"`
}

PermissionsGroupIntersectionDefinition describes a list of groups that are all required in a permissions constraint

Functions
func NewPermissionsGroupIntersectionDefinition() *PermissionsGroupIntersectionDefinition

NewPermissionsGroupIntersectionDefinition instantiates a new PermissionsGroupIntersectionDefinition 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

func NewPermissionsGroupIntersectionDefinitionWithDefaults() *PermissionsGroupIntersectionDefinition

NewPermissionsGroupIntersectionDefinitionWithDefaults instantiates a new PermissionsGroupIntersectionDefinition 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

Methods
func (o *PermissionsGroupIntersectionDefinition) GetRequiredGroups() []string

GetRequiredGroups returns the RequiredGroups field value if set, zero value otherwise.

func (o *PermissionsGroupIntersectionDefinition) GetRequiredGroupsOk() ([]string, bool)

GetRequiredGroupsOk returns a tuple with the RequiredGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PermissionsGroupIntersectionDefinition) HasRequiredGroups() bool

HasRequiredGroups returns a boolean if a field has been set.

func (o PermissionsGroupIntersectionDefinition) MarshalJSON() ([]byte, error)
func (o *PermissionsGroupIntersectionDefinition) SetRequiredGroups(v []string)

SetRequiredGroups gets a reference to the given []string and assigns it to the RequiredGroups field.

Type ProcessAllDocumentsRequest
type ProcessAllDocumentsRequest struct {
	// If provided, process documents only for this custom datasource. Otherwise all uploaded documents are processed.
	Datasource *string `json:"datasource,omitempty"`
}

ProcessAllDocumentsRequest Describes the request body of the /processalldocuments API call

Functions
func NewProcessAllDocumentsRequest() *ProcessAllDocumentsRequest

NewProcessAllDocumentsRequest instantiates a new ProcessAllDocumentsRequest 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

func NewProcessAllDocumentsRequestWithDefaults() *ProcessAllDocumentsRequest

NewProcessAllDocumentsRequestWithDefaults instantiates a new ProcessAllDocumentsRequest 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

Methods
func (o *ProcessAllDocumentsRequest) GetDatasource() string

GetDatasource returns the Datasource field value if set, zero value otherwise.

func (o *ProcessAllDocumentsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ProcessAllDocumentsRequest) HasDatasource() bool

HasDatasource returns a boolean if a field has been set.

func (o ProcessAllDocumentsRequest) MarshalJSON() ([]byte, error)
func (o *ProcessAllDocumentsRequest) SetDatasource(v string)

SetDatasource gets a reference to the given string and assigns it to the Datasource field.

Type ProcessAllMembershipsRequest
type ProcessAllMembershipsRequest struct {
	// If provided, process group memberships only for this custom datasource. Otherwise all uploaded memberships are processed.
	Datasource *string `json:"datasource,omitempty"`
}

ProcessAllMembershipsRequest Describes the request body of the /processallmemberships API call

Functions
func NewProcessAllMembershipsRequest() *ProcessAllMembershipsRequest

NewProcessAllMembershipsRequest instantiates a new ProcessAllMembershipsRequest 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

func NewProcessAllMembershipsRequestWithDefaults() *ProcessAllMembershipsRequest

NewProcessAllMembershipsRequestWithDefaults instantiates a new ProcessAllMembershipsRequest 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

Methods
func (o *ProcessAllMembershipsRequest) GetDatasource() string

GetDatasource returns the Datasource field value if set, zero value otherwise.

func (o *ProcessAllMembershipsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ProcessAllMembershipsRequest) HasDatasource() bool

HasDatasource returns a boolean if a field has been set.

func (o ProcessAllMembershipsRequest) MarshalJSON() ([]byte, error)
func (o *ProcessAllMembershipsRequest) SetDatasource(v string)

SetDatasource gets a reference to the given string and assigns it to the Datasource field.

Type PropertyDefinition
type PropertyDefinition struct {
	// The name of the property in the `DocumentMetadata` (e.g. 'createTime', 'updateTime', 'author', 'container'). In the future, this will support custom properties too.
	Name *string `json:"name,omitempty"`
	// The user friendly label for the property.
	DisplayLabel *string `json:"displayLabel,omitempty"`
	// The user friendly label for the property that will be used if a plural context.
	DisplayLabelPlural *string `json:"displayLabelPlural,omitempty"`
	// The type of custom property - this governs the search and faceting behavior
	PropertyType *string `json:"propertyType,omitempty"`
	UiOptions    *string `json:"uiOptions,omitempty"`
	// If true then the property will not show up as a facet in the UI.
	HideUiFacet *bool `json:"hideUiFacet,omitempty"`
	// Will be used to set the order of facets in the UI, if present. If set for one facet, must be set for all non-hidden UI facets. Must take on an integer value from 1 (shown at the top) to N (shown last), where N is the number of non-hidden UI facets. These facets will be ordered below the built-in \"Type\" and \"Tag\" operators.
	UiFacetOrder          *int32                  `json:"uiFacetOrder,omitempty"`
	ObjectPropertyOptions []ObjectPropertyOptions `json:"objectPropertyOptions,omitempty"`
	// The unique identifier of the `PropertyGroup` to which this property belongs.
	Group *string `json:"group,omitempty"`
}

PropertyDefinition struct for PropertyDefinition

Functions
func NewPropertyDefinition() *PropertyDefinition

NewPropertyDefinition instantiates a new PropertyDefinition 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

func NewPropertyDefinitionWithDefaults() *PropertyDefinition

NewPropertyDefinitionWithDefaults instantiates a new PropertyDefinition 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

Methods
func (o *PropertyDefinition) GetDisplayLabel() string

GetDisplayLabel returns the DisplayLabel field value if set, zero value otherwise.

func (o *PropertyDefinition) GetDisplayLabelOk() (*string, bool)

GetDisplayLabelOk returns a tuple with the DisplayLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) GetDisplayLabelPlural() string

GetDisplayLabelPlural returns the DisplayLabelPlural field value if set, zero value otherwise.

func (o *PropertyDefinition) GetDisplayLabelPluralOk() (*string, bool)

GetDisplayLabelPluralOk returns a tuple with the DisplayLabelPlural field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (o *PropertyDefinition) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) GetHideUiFacet() bool

GetHideUiFacet returns the HideUiFacet field value if set, zero value otherwise.

func (o *PropertyDefinition) GetHideUiFacetOk() (*bool, bool)

GetHideUiFacetOk returns a tuple with the HideUiFacet field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *PropertyDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) GetObjectPropertyOptions() []ObjectPropertyOptions

GetObjectPropertyOptions returns the ObjectPropertyOptions field value if set, zero value otherwise.

func (o *PropertyDefinition) GetObjectPropertyOptionsOk() ([]ObjectPropertyOptions, bool)

GetObjectPropertyOptionsOk returns a tuple with the ObjectPropertyOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) GetPropertyType() string

GetPropertyType returns the PropertyType field value if set, zero value otherwise.

func (o *PropertyDefinition) GetPropertyTypeOk() (*string, bool)

GetPropertyTypeOk returns a tuple with the PropertyType field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) GetUiFacetOrder() int32

GetUiFacetOrder returns the UiFacetOrder field value if set, zero value otherwise.

func (o *PropertyDefinition) GetUiFacetOrderOk() (*int32, bool)

GetUiFacetOrderOk returns a tuple with the UiFacetOrder field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) GetUiOptions() string

GetUiOptions returns the UiOptions field value if set, zero value otherwise.

func (o *PropertyDefinition) GetUiOptionsOk() (*string, bool)

GetUiOptionsOk returns a tuple with the UiOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyDefinition) HasDisplayLabel() bool

HasDisplayLabel returns a boolean if a field has been set.

func (o *PropertyDefinition) HasDisplayLabelPlural() bool

HasDisplayLabelPlural returns a boolean if a field has been set.

func (o *PropertyDefinition) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (o *PropertyDefinition) HasHideUiFacet() bool

HasHideUiFacet returns a boolean if a field has been set.

func (o *PropertyDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (o *PropertyDefinition) HasObjectPropertyOptions() bool

HasObjectPropertyOptions returns a boolean if a field has been set.

func (o *PropertyDefinition) HasPropertyType() bool

HasPropertyType returns a boolean if a field has been set.

func (o *PropertyDefinition) HasUiFacetOrder() bool

HasUiFacetOrder returns a boolean if a field has been set.

func (o *PropertyDefinition) HasUiOptions() bool

HasUiOptions returns a boolean if a field has been set.

func (o PropertyDefinition) MarshalJSON() ([]byte, error)
func (o *PropertyDefinition) SetDisplayLabel(v string)

SetDisplayLabel gets a reference to the given string and assigns it to the DisplayLabel field.

func (o *PropertyDefinition) SetDisplayLabelPlural(v string)

SetDisplayLabelPlural gets a reference to the given string and assigns it to the DisplayLabelPlural field.

func (o *PropertyDefinition) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (o *PropertyDefinition) SetHideUiFacet(v bool)

SetHideUiFacet gets a reference to the given bool and assigns it to the HideUiFacet field.

func (o *PropertyDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (o *PropertyDefinition) SetObjectPropertyOptions(v []ObjectPropertyOptions)

SetObjectPropertyOptions gets a reference to the given []ObjectPropertyOptions and assigns it to the ObjectPropertyOptions field.

func (o *PropertyDefinition) SetPropertyType(v string)

SetPropertyType gets a reference to the given string and assigns it to the PropertyType field.

func (o *PropertyDefinition) SetUiFacetOrder(v int32)

SetUiFacetOrder gets a reference to the given int32 and assigns it to the UiFacetOrder field.

func (o *PropertyDefinition) SetUiOptions(v string)

SetUiOptions gets a reference to the given string and assigns it to the UiOptions field.

Type PropertyGroup
type PropertyGroup struct {
	// The unique identifier of the group.
	Name *string `json:"name,omitempty"`
	// The user-friendly group label to display.
	DisplayLabel *string `json:"displayLabel,omitempty"`
}

PropertyGroup A grouping for multiple PropertyDefinition. Grouped properties will be displayed together in the UI.

Functions
func NewPropertyGroup() *PropertyGroup

NewPropertyGroup instantiates a new PropertyGroup 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

func NewPropertyGroupWithDefaults() *PropertyGroup

NewPropertyGroupWithDefaults instantiates a new PropertyGroup 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

Methods
func (o *PropertyGroup) GetDisplayLabel() string

GetDisplayLabel returns the DisplayLabel field value if set, zero value otherwise.

func (o *PropertyGroup) GetDisplayLabelOk() (*string, bool)

GetDisplayLabelOk returns a tuple with the DisplayLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyGroup) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *PropertyGroup) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PropertyGroup) HasDisplayLabel() bool

HasDisplayLabel returns a boolean if a field has been set.

func (o *PropertyGroup) HasName() bool

HasName returns a boolean if a field has been set.

func (o PropertyGroup) MarshalJSON() ([]byte, error)
func (o *PropertyGroup) SetDisplayLabel(v string)

SetDisplayLabel gets a reference to the given string and assigns it to the DisplayLabel field.

func (o *PropertyGroup) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type Quicklink struct {
	// Full action name. Used in autocomplete
	Name *string `json:"name,omitempty"`
	// Shortened name. Used in app card
	ShortName *string `json:"shortName,omitempty"`
	// The URL for the action
	Url        *string     `json:"url,omitempty"`
	IconConfig *IconConfig `json:"iconConfig,omitempty"`
	// Unique identifier of this quicklink
	Id *string `json:"id,omitempty"`
	// The scopes for which this quicklink is applicable
	Scopes []string `json:"scopes,omitempty"`
}

Quicklink An action for a specific datasource that will show up in autocomplete and app card, e.g. "Create new issue" for jira

Functions
func NewQuicklink() *Quicklink

NewQuicklink instantiates a new Quicklink 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

func NewQuicklinkWithDefaults() *Quicklink

NewQuicklinkWithDefaults instantiates a new Quicklink 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

Methods
func (o *Quicklink) GetIconConfig() IconConfig

GetIconConfig returns the IconConfig field value if set, zero value otherwise.

func (o *Quicklink) GetIconConfigOk() (*IconConfig, bool)

GetIconConfigOk returns a tuple with the IconConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Quicklink) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (o *Quicklink) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Quicklink) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *Quicklink) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Quicklink) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (o *Quicklink) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Quicklink) GetShortName() string

GetShortName returns the ShortName field value if set, zero value otherwise.

func (o *Quicklink) GetShortNameOk() (*string, bool)

GetShortNameOk returns a tuple with the ShortName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Quicklink) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (o *Quicklink) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Quicklink) HasIconConfig() bool

HasIconConfig returns a boolean if a field has been set.

func (o *Quicklink) HasId() bool

HasId returns a boolean if a field has been set.

func (o *Quicklink) HasName() bool

HasName returns a boolean if a field has been set.

func (o *Quicklink) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (o *Quicklink) HasShortName() bool

HasShortName returns a boolean if a field has been set.

func (o *Quicklink) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (o Quicklink) MarshalJSON() ([]byte, error)
func (o *Quicklink) SetIconConfig(v IconConfig)

SetIconConfig gets a reference to the given IconConfig and assigns it to the IconConfig field.

func (o *Quicklink) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *Quicklink) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (o *Quicklink) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (o *Quicklink) SetShortName(v string)

SetShortName gets a reference to the given string and assigns it to the ShortName field.

func (o *Quicklink) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

Type ServerConfiguration
type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

Type ServerConfigurations
type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

Methods
func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

Type ServerVariable
type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

Type SharedDatasourceConfig
type SharedDatasourceConfig struct {
	// Unique identifier of datasource instance to which this config applies.
	Name string `json:"name"`
	// Example text for what to search for in this datasource
	SuggestionText *string `json:"suggestionText,omitempty"`
	// The user-friendly instance label to display. If omitted, falls back to the title-cased `name`.
	DisplayName *string `json:"displayName,omitempty"`
	// The URL of the landing page for this datasource instance. Should point to the most useful page for users, not the company marketing page.
	HomeUrl *string `json:"homeUrl,omitempty"`
	// This only applies to WEB_CRAWL and BROWSER_CRAWL datasources. Defines the seed urls for crawling.
	CrawlerSeedUrls []string `json:"crawlerSeedUrls,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance in dark mode. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconDarkUrl *string `json:"iconDarkUrl,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconUrl *string `json:"iconUrl,omitempty"`
	// The list of top-level `objectType`s for the datasource.
	ObjectDefinitions []ObjectDefinition `json:"objectDefinitions,omitempty"`
	// List of built-in facet types that should be hidden for the datasource.
	HideBuiltInFacets []string `json:"hideBuiltInFacets,omitempty"`
	// Regular expression that matches URLs of documents of the datasource instance. The behavior for multiple matches is non-deterministic. **Note: urlRegex is a required field for non-entity datasources (ie. datasources where isEntityDatasource is false). Please add a regex as specific as possible to this datasource instance.**
	UrlRegex *string `json:"urlRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary URL to transform it into a canonical URL for this datasource instance. Regexes are to be applied in the order specified in this list.
	CanonicalizingURLRegex []CanonicalizingRegexType `json:"canonicalizingURLRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary title to transform it into a title that will be displayed in the search results
	CanonicalizingTitleRegex []CanonicalizingRegexType `json:"canonicalizingTitleRegex,omitempty"`
	// A regex that identifies titles that should not be indexed
	RedlistTitleRegex *string        `json:"redlistTitleRegex,omitempty"`
	ConnectorType     *ConnectorType `json:"connectorType,omitempty"`
	// List of actions for this datasource instance that will show up in autocomplete and app card, e.g. \"Create new issue\" for jira
	Quicklinks []Quicklink `json:"quicklinks,omitempty"`
	// The name of a render config to use for displaying results from this datasource. Any well known datasource name may be used to render the same as that source, e.g. `web` or `gdrive`.
	RenderConfigPreset *string `json:"renderConfigPreset,omitempty"`
	// Aliases that can be used as `app` operator-values.
	Aliases []string `json:"aliases,omitempty"`
	// The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED.
	DatasourceCategory *string `json:"datasourceCategory,omitempty"`
	// Whether or not this datasource is hosted on-premise.
	IsOnPrem *bool `json:"isOnPrem,omitempty"`
	// True if browser activity is able to report the correct URL for VIEW events. Set this to true if the URLs reported by Chrome are constant throughout each page load. Set this to false if the page has Javascript that modifies the URL during or after the load.
	TrustUrlRegexForViewActivity *bool `json:"trustUrlRegexForViewActivity,omitempty"`
	// If true, a utm_source query param will be added to outbound links to this datasource within Glean.
	IncludeUtmSource *bool `json:"includeUtmSource,omitempty"`
	// The (non-unique) name of the datasource of which this config is an instance, e.g. \"jira\".
	DatasourceName *string `json:"datasourceName,omitempty"`
	// The instance of the datasource for this particular config, e.g. \"onprem\".
	InstanceOnlyName *string `json:"instanceOnlyName,omitempty"`
	// A human readable string identifying this instance as compared to its peers, e.g. \"github.com/askscio\" or \"github.askscio.com\"
	InstanceDescription *string `json:"instanceDescription,omitempty"`
}

SharedDatasourceConfig Structure describing shared config properties of the datasource (including multi-instance support)

Functions
func NewSharedDatasourceConfig(name string) *SharedDatasourceConfig

NewSharedDatasourceConfig instantiates a new SharedDatasourceConfig 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

func NewSharedDatasourceConfigWithDefaults() *SharedDatasourceConfig

NewSharedDatasourceConfigWithDefaults instantiates a new SharedDatasourceConfig 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

Methods
func (o *SharedDatasourceConfig) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetAliasesOk() ([]string, bool)

GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetCanonicalizingTitleRegex() []CanonicalizingRegexType

GetCanonicalizingTitleRegex returns the CanonicalizingTitleRegex field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetCanonicalizingTitleRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingTitleRegexOk returns a tuple with the CanonicalizingTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetCanonicalizingURLRegex() []CanonicalizingRegexType

GetCanonicalizingURLRegex returns the CanonicalizingURLRegex field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetCanonicalizingURLRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingURLRegexOk returns a tuple with the CanonicalizingURLRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetConnectorType() ConnectorType

GetConnectorType returns the ConnectorType field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetConnectorTypeOk() (*ConnectorType, bool)

GetConnectorTypeOk returns a tuple with the ConnectorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetCrawlerSeedUrls() []string

GetCrawlerSeedUrls returns the CrawlerSeedUrls field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetCrawlerSeedUrlsOk() ([]string, bool)

GetCrawlerSeedUrlsOk returns a tuple with the CrawlerSeedUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetDatasourceCategory() string

GetDatasourceCategory returns the DatasourceCategory field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetDatasourceCategoryOk() (*string, bool)

GetDatasourceCategoryOk returns a tuple with the DatasourceCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetDatasourceName() string

GetDatasourceName returns the DatasourceName field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetDatasourceNameOk() (*string, bool)

GetDatasourceNameOk returns a tuple with the DatasourceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetHideBuiltInFacets() []string

GetHideBuiltInFacets returns the HideBuiltInFacets field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetHideBuiltInFacetsOk() ([]string, bool)

GetHideBuiltInFacetsOk returns a tuple with the HideBuiltInFacets field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetHomeUrl() string

GetHomeUrl returns the HomeUrl field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetHomeUrlOk() (*string, bool)

GetHomeUrlOk returns a tuple with the HomeUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetIconDarkUrl() string

GetIconDarkUrl returns the IconDarkUrl field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetIconDarkUrlOk() (*string, bool)

GetIconDarkUrlOk returns a tuple with the IconDarkUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetIncludeUtmSource() bool

GetIncludeUtmSource returns the IncludeUtmSource field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetIncludeUtmSourceOk() (*bool, bool)

GetIncludeUtmSourceOk returns a tuple with the IncludeUtmSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetInstanceDescription() string

GetInstanceDescription returns the InstanceDescription field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetInstanceDescriptionOk() (*string, bool)

GetInstanceDescriptionOk returns a tuple with the InstanceDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetInstanceOnlyName() string

GetInstanceOnlyName returns the InstanceOnlyName field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetInstanceOnlyNameOk() (*string, bool)

GetInstanceOnlyNameOk returns a tuple with the InstanceOnlyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetIsOnPrem() bool

GetIsOnPrem returns the IsOnPrem field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetIsOnPremOk() (*bool, bool)

GetIsOnPremOk returns a tuple with the IsOnPrem field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetName() string

GetName returns the Name field value

func (o *SharedDatasourceConfig) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetObjectDefinitions() []ObjectDefinition

GetObjectDefinitions returns the ObjectDefinitions field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetObjectDefinitionsOk() ([]ObjectDefinition, bool)

GetObjectDefinitionsOk returns a tuple with the ObjectDefinitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetQuicklinks() []Quicklink

GetQuicklinks returns the Quicklinks field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetQuicklinksOk() ([]Quicklink, bool)

GetQuicklinksOk returns a tuple with the Quicklinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetRedlistTitleRegex() string

GetRedlistTitleRegex returns the RedlistTitleRegex field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetRedlistTitleRegexOk() (*string, bool)

GetRedlistTitleRegexOk returns a tuple with the RedlistTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetRenderConfigPreset() string

GetRenderConfigPreset returns the RenderConfigPreset field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetRenderConfigPresetOk() (*string, bool)

GetRenderConfigPresetOk returns a tuple with the RenderConfigPreset field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetSuggestionText() string

GetSuggestionText returns the SuggestionText field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetSuggestionTextOk() (*string, bool)

GetSuggestionTextOk returns a tuple with the SuggestionText field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetTrustUrlRegexForViewActivity() bool

GetTrustUrlRegexForViewActivity returns the TrustUrlRegexForViewActivity field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetTrustUrlRegexForViewActivityOk() (*bool, bool)

GetTrustUrlRegexForViewActivityOk returns a tuple with the TrustUrlRegexForViewActivity field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetUrlRegex() string

GetUrlRegex returns the UrlRegex field value if set, zero value otherwise.

func (o *SharedDatasourceConfig) GetUrlRegexOk() (*string, bool)

GetUrlRegexOk returns a tuple with the UrlRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasCanonicalizingTitleRegex() bool

HasCanonicalizingTitleRegex returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasCanonicalizingURLRegex() bool

HasCanonicalizingURLRegex returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasConnectorType() bool

HasConnectorType returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasCrawlerSeedUrls() bool

HasCrawlerSeedUrls returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasDatasourceCategory() bool

HasDatasourceCategory returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasDatasourceName() bool

HasDatasourceName returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasHideBuiltInFacets() bool

HasHideBuiltInFacets returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasHomeUrl() bool

HasHomeUrl returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasIconDarkUrl() bool

HasIconDarkUrl returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasIncludeUtmSource() bool

HasIncludeUtmSource returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasInstanceDescription() bool

HasInstanceDescription returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasInstanceOnlyName() bool

HasInstanceOnlyName returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasIsOnPrem() bool

HasIsOnPrem returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasObjectDefinitions() bool

HasObjectDefinitions returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasQuicklinks() bool

HasQuicklinks returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasRedlistTitleRegex() bool

HasRedlistTitleRegex returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasRenderConfigPreset() bool

HasRenderConfigPreset returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasSuggestionText() bool

HasSuggestionText returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasTrustUrlRegexForViewActivity() bool

HasTrustUrlRegexForViewActivity returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasUrlRegex() bool

HasUrlRegex returns a boolean if a field has been set.

func (o SharedDatasourceConfig) MarshalJSON() ([]byte, error)
func (o *SharedDatasourceConfig) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (o *SharedDatasourceConfig) SetCanonicalizingTitleRegex(v []CanonicalizingRegexType)

SetCanonicalizingTitleRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingTitleRegex field.

func (o *SharedDatasourceConfig) SetCanonicalizingURLRegex(v []CanonicalizingRegexType)

SetCanonicalizingURLRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingURLRegex field.

func (o *SharedDatasourceConfig) SetConnectorType(v ConnectorType)

SetConnectorType gets a reference to the given ConnectorType and assigns it to the ConnectorType field.

func (o *SharedDatasourceConfig) SetCrawlerSeedUrls(v []string)

SetCrawlerSeedUrls gets a reference to the given []string and assigns it to the CrawlerSeedUrls field.

func (o *SharedDatasourceConfig) SetDatasourceCategory(v string)

SetDatasourceCategory gets a reference to the given string and assigns it to the DatasourceCategory field.

func (o *SharedDatasourceConfig) SetDatasourceName(v string)

SetDatasourceName gets a reference to the given string and assigns it to the DatasourceName field.

func (o *SharedDatasourceConfig) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (o *SharedDatasourceConfig) SetHideBuiltInFacets(v []string)

SetHideBuiltInFacets gets a reference to the given []string and assigns it to the HideBuiltInFacets field.

func (o *SharedDatasourceConfig) SetHomeUrl(v string)

SetHomeUrl gets a reference to the given string and assigns it to the HomeUrl field.

func (o *SharedDatasourceConfig) SetIconDarkUrl(v string)

SetIconDarkUrl gets a reference to the given string and assigns it to the IconDarkUrl field.

func (o *SharedDatasourceConfig) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (o *SharedDatasourceConfig) SetIncludeUtmSource(v bool)

SetIncludeUtmSource gets a reference to the given bool and assigns it to the IncludeUtmSource field.

func (o *SharedDatasourceConfig) SetInstanceDescription(v string)

SetInstanceDescription gets a reference to the given string and assigns it to the InstanceDescription field.

func (o *SharedDatasourceConfig) SetInstanceOnlyName(v string)

SetInstanceOnlyName gets a reference to the given string and assigns it to the InstanceOnlyName field.

func (o *SharedDatasourceConfig) SetIsOnPrem(v bool)

SetIsOnPrem gets a reference to the given bool and assigns it to the IsOnPrem field.

func (o *SharedDatasourceConfig) SetName(v string)

SetName sets field value

func (o *SharedDatasourceConfig) SetObjectDefinitions(v []ObjectDefinition)

SetObjectDefinitions gets a reference to the given []ObjectDefinition and assigns it to the ObjectDefinitions field.

func (o *SharedDatasourceConfig) SetQuicklinks(v []Quicklink)

SetQuicklinks gets a reference to the given []Quicklink and assigns it to the Quicklinks field.

func (o *SharedDatasourceConfig) SetRedlistTitleRegex(v string)

SetRedlistTitleRegex gets a reference to the given string and assigns it to the RedlistTitleRegex field.

func (o *SharedDatasourceConfig) SetRenderConfigPreset(v string)

SetRenderConfigPreset gets a reference to the given string and assigns it to the RenderConfigPreset field.

func (o *SharedDatasourceConfig) SetSuggestionText(v string)

SetSuggestionText gets a reference to the given string and assigns it to the SuggestionText field.

func (o *SharedDatasourceConfig) SetTrustUrlRegexForViewActivity(v bool)

SetTrustUrlRegexForViewActivity gets a reference to the given bool and assigns it to the TrustUrlRegexForViewActivity field.

func (o *SharedDatasourceConfig) SetUrlRegex(v string)

SetUrlRegex gets a reference to the given string and assigns it to the UrlRegex field.

Type SharedDatasourceConfigAllOf
type SharedDatasourceConfigAllOf struct {
	// The (non-unique) name of the datasource of which this config is an instance, e.g. \"jira\".
	DatasourceName *string `json:"datasourceName,omitempty"`
	// The instance of the datasource for this particular config, e.g. \"onprem\".
	InstanceOnlyName *string `json:"instanceOnlyName,omitempty"`
	// A human readable string identifying this instance as compared to its peers, e.g. \"github.com/askscio\" or \"github.askscio.com\"
	InstanceDescription *string `json:"instanceDescription,omitempty"`
}

SharedDatasourceConfigAllOf struct for SharedDatasourceConfigAllOf

Functions
func NewSharedDatasourceConfigAllOf() *SharedDatasourceConfigAllOf

NewSharedDatasourceConfigAllOf instantiates a new SharedDatasourceConfigAllOf 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

func NewSharedDatasourceConfigAllOfWithDefaults() *SharedDatasourceConfigAllOf

NewSharedDatasourceConfigAllOfWithDefaults instantiates a new SharedDatasourceConfigAllOf 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

Methods
func (o *SharedDatasourceConfigAllOf) GetDatasourceName() string

GetDatasourceName returns the DatasourceName field value if set, zero value otherwise.

func (o *SharedDatasourceConfigAllOf) GetDatasourceNameOk() (*string, bool)

GetDatasourceNameOk returns a tuple with the DatasourceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigAllOf) GetInstanceDescription() string

GetInstanceDescription returns the InstanceDescription field value if set, zero value otherwise.

func (o *SharedDatasourceConfigAllOf) GetInstanceDescriptionOk() (*string, bool)

GetInstanceDescriptionOk returns a tuple with the InstanceDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigAllOf) GetInstanceOnlyName() string

GetInstanceOnlyName returns the InstanceOnlyName field value if set, zero value otherwise.

func (o *SharedDatasourceConfigAllOf) GetInstanceOnlyNameOk() (*string, bool)

GetInstanceOnlyNameOk returns a tuple with the InstanceOnlyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigAllOf) HasDatasourceName() bool

HasDatasourceName returns a boolean if a field has been set.

func (o *SharedDatasourceConfigAllOf) HasInstanceDescription() bool

HasInstanceDescription returns a boolean if a field has been set.

func (o *SharedDatasourceConfigAllOf) HasInstanceOnlyName() bool

HasInstanceOnlyName returns a boolean if a field has been set.

func (o SharedDatasourceConfigAllOf) MarshalJSON() ([]byte, error)
func (o *SharedDatasourceConfigAllOf) SetDatasourceName(v string)

SetDatasourceName gets a reference to the given string and assigns it to the DatasourceName field.

func (o *SharedDatasourceConfigAllOf) SetInstanceDescription(v string)

SetInstanceDescription gets a reference to the given string and assigns it to the InstanceDescription field.

func (o *SharedDatasourceConfigAllOf) SetInstanceOnlyName(v string)

SetInstanceOnlyName gets a reference to the given string and assigns it to the InstanceOnlyName field.

Type SharedDatasourceConfigNoInstance
type SharedDatasourceConfigNoInstance struct {
	// Unique identifier of datasource instance to which this config applies.
	Name string `json:"name"`
	// Example text for what to search for in this datasource
	SuggestionText *string `json:"suggestionText,omitempty"`
	// The user-friendly instance label to display. If omitted, falls back to the title-cased `name`.
	DisplayName *string `json:"displayName,omitempty"`
	// The URL of the landing page for this datasource instance. Should point to the most useful page for users, not the company marketing page.
	HomeUrl *string `json:"homeUrl,omitempty"`
	// This only applies to WEB_CRAWL and BROWSER_CRAWL datasources. Defines the seed urls for crawling.
	CrawlerSeedUrls []string `json:"crawlerSeedUrls,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance in dark mode. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconDarkUrl *string `json:"iconDarkUrl,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconUrl *string `json:"iconUrl,omitempty"`
	// The list of top-level `objectType`s for the datasource.
	ObjectDefinitions []ObjectDefinition `json:"objectDefinitions,omitempty"`
	// List of built-in facet types that should be hidden for the datasource.
	HideBuiltInFacets []string `json:"hideBuiltInFacets,omitempty"`
	// Regular expression that matches URLs of documents of the datasource instance. The behavior for multiple matches is non-deterministic. **Note: urlRegex is a required field for non-entity datasources (ie. datasources where isEntityDatasource is false). Please add a regex as specific as possible to this datasource instance.**
	UrlRegex *string `json:"urlRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary URL to transform it into a canonical URL for this datasource instance. Regexes are to be applied in the order specified in this list.
	CanonicalizingURLRegex []CanonicalizingRegexType `json:"canonicalizingURLRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary title to transform it into a title that will be displayed in the search results
	CanonicalizingTitleRegex []CanonicalizingRegexType `json:"canonicalizingTitleRegex,omitempty"`
	// A regex that identifies titles that should not be indexed
	RedlistTitleRegex *string        `json:"redlistTitleRegex,omitempty"`
	ConnectorType     *ConnectorType `json:"connectorType,omitempty"`
	// List of actions for this datasource instance that will show up in autocomplete and app card, e.g. \"Create new issue\" for jira
	Quicklinks []Quicklink `json:"quicklinks,omitempty"`
	// The name of a render config to use for displaying results from this datasource. Any well known datasource name may be used to render the same as that source, e.g. `web` or `gdrive`.
	RenderConfigPreset *string `json:"renderConfigPreset,omitempty"`
	// Aliases that can be used as `app` operator-values.
	Aliases []string `json:"aliases,omitempty"`
	// The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED.
	DatasourceCategory *string `json:"datasourceCategory,omitempty"`
	// Whether or not this datasource is hosted on-premise.
	IsOnPrem *bool `json:"isOnPrem,omitempty"`
	// True if browser activity is able to report the correct URL for VIEW events. Set this to true if the URLs reported by Chrome are constant throughout each page load. Set this to false if the page has Javascript that modifies the URL during or after the load.
	TrustUrlRegexForViewActivity *bool `json:"trustUrlRegexForViewActivity,omitempty"`
	// If true, a utm_source query param will be added to outbound links to this datasource within Glean.
	IncludeUtmSource *bool `json:"includeUtmSource,omitempty"`
}

SharedDatasourceConfigNoInstance Structure describing shared config properties of a datasource with no multi-instance support.

Functions
func NewSharedDatasourceConfigNoInstance(name string) *SharedDatasourceConfigNoInstance

NewSharedDatasourceConfigNoInstance instantiates a new SharedDatasourceConfigNoInstance 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

func NewSharedDatasourceConfigNoInstanceWithDefaults() *SharedDatasourceConfigNoInstance

NewSharedDatasourceConfigNoInstanceWithDefaults instantiates a new SharedDatasourceConfigNoInstance 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

Methods
func (o *SharedDatasourceConfigNoInstance) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetAliasesOk() ([]string, bool)

GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetCanonicalizingTitleRegex() []CanonicalizingRegexType

GetCanonicalizingTitleRegex returns the CanonicalizingTitleRegex field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetCanonicalizingTitleRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingTitleRegexOk returns a tuple with the CanonicalizingTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetCanonicalizingURLRegex() []CanonicalizingRegexType

GetCanonicalizingURLRegex returns the CanonicalizingURLRegex field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetCanonicalizingURLRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingURLRegexOk returns a tuple with the CanonicalizingURLRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetConnectorType() ConnectorType

GetConnectorType returns the ConnectorType field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetConnectorTypeOk() (*ConnectorType, bool)

GetConnectorTypeOk returns a tuple with the ConnectorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetCrawlerSeedUrls() []string

GetCrawlerSeedUrls returns the CrawlerSeedUrls field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetCrawlerSeedUrlsOk() ([]string, bool)

GetCrawlerSeedUrlsOk returns a tuple with the CrawlerSeedUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetDatasourceCategory() string

GetDatasourceCategory returns the DatasourceCategory field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetDatasourceCategoryOk() (*string, bool)

GetDatasourceCategoryOk returns a tuple with the DatasourceCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetHideBuiltInFacets() []string

GetHideBuiltInFacets returns the HideBuiltInFacets field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetHideBuiltInFacetsOk() ([]string, bool)

GetHideBuiltInFacetsOk returns a tuple with the HideBuiltInFacets field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetHomeUrl() string

GetHomeUrl returns the HomeUrl field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetHomeUrlOk() (*string, bool)

GetHomeUrlOk returns a tuple with the HomeUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetIconDarkUrl() string

GetIconDarkUrl returns the IconDarkUrl field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetIconDarkUrlOk() (*string, bool)

GetIconDarkUrlOk returns a tuple with the IconDarkUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetIncludeUtmSource() bool

GetIncludeUtmSource returns the IncludeUtmSource field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetIncludeUtmSourceOk() (*bool, bool)

GetIncludeUtmSourceOk returns a tuple with the IncludeUtmSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetIsOnPrem() bool

GetIsOnPrem returns the IsOnPrem field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetIsOnPremOk() (*bool, bool)

GetIsOnPremOk returns a tuple with the IsOnPrem field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetName() string

GetName returns the Name field value

func (o *SharedDatasourceConfigNoInstance) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetObjectDefinitions() []ObjectDefinition

GetObjectDefinitions returns the ObjectDefinitions field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetObjectDefinitionsOk() ([]ObjectDefinition, bool)

GetObjectDefinitionsOk returns a tuple with the ObjectDefinitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetQuicklinks() []Quicklink

GetQuicklinks returns the Quicklinks field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetQuicklinksOk() ([]Quicklink, bool)

GetQuicklinksOk returns a tuple with the Quicklinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetRedlistTitleRegex() string

GetRedlistTitleRegex returns the RedlistTitleRegex field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetRedlistTitleRegexOk() (*string, bool)

GetRedlistTitleRegexOk returns a tuple with the RedlistTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetRenderConfigPreset() string

GetRenderConfigPreset returns the RenderConfigPreset field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetRenderConfigPresetOk() (*string, bool)

GetRenderConfigPresetOk returns a tuple with the RenderConfigPreset field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetSuggestionText() string

GetSuggestionText returns the SuggestionText field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetSuggestionTextOk() (*string, bool)

GetSuggestionTextOk returns a tuple with the SuggestionText field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetTrustUrlRegexForViewActivity() bool

GetTrustUrlRegexForViewActivity returns the TrustUrlRegexForViewActivity field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetTrustUrlRegexForViewActivityOk() (*bool, bool)

GetTrustUrlRegexForViewActivityOk returns a tuple with the TrustUrlRegexForViewActivity field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetUrlRegex() string

GetUrlRegex returns the UrlRegex field value if set, zero value otherwise.

func (o *SharedDatasourceConfigNoInstance) GetUrlRegexOk() (*string, bool)

GetUrlRegexOk returns a tuple with the UrlRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasCanonicalizingTitleRegex() bool

HasCanonicalizingTitleRegex returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasCanonicalizingURLRegex() bool

HasCanonicalizingURLRegex returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasConnectorType() bool

HasConnectorType returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasCrawlerSeedUrls() bool

HasCrawlerSeedUrls returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasDatasourceCategory() bool

HasDatasourceCategory returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasHideBuiltInFacets() bool

HasHideBuiltInFacets returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasHomeUrl() bool

HasHomeUrl returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasIconDarkUrl() bool

HasIconDarkUrl returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasIncludeUtmSource() bool

HasIncludeUtmSource returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasIsOnPrem() bool

HasIsOnPrem returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasObjectDefinitions() bool

HasObjectDefinitions returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasQuicklinks() bool

HasQuicklinks returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasRedlistTitleRegex() bool

HasRedlistTitleRegex returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasRenderConfigPreset() bool

HasRenderConfigPreset returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasSuggestionText() bool

HasSuggestionText returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasTrustUrlRegexForViewActivity() bool

HasTrustUrlRegexForViewActivity returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasUrlRegex() bool

HasUrlRegex returns a boolean if a field has been set.

func (o SharedDatasourceConfigNoInstance) MarshalJSON() ([]byte, error)
func (o *SharedDatasourceConfigNoInstance) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (o *SharedDatasourceConfigNoInstance) SetCanonicalizingTitleRegex(v []CanonicalizingRegexType)

SetCanonicalizingTitleRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingTitleRegex field.

func (o *SharedDatasourceConfigNoInstance) SetCanonicalizingURLRegex(v []CanonicalizingRegexType)

SetCanonicalizingURLRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingURLRegex field.

func (o *SharedDatasourceConfigNoInstance) SetConnectorType(v ConnectorType)

SetConnectorType gets a reference to the given ConnectorType and assigns it to the ConnectorType field.

func (o *SharedDatasourceConfigNoInstance) SetCrawlerSeedUrls(v []string)

SetCrawlerSeedUrls gets a reference to the given []string and assigns it to the CrawlerSeedUrls field.

func (o *SharedDatasourceConfigNoInstance) SetDatasourceCategory(v string)

SetDatasourceCategory gets a reference to the given string and assigns it to the DatasourceCategory field.

func (o *SharedDatasourceConfigNoInstance) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (o *SharedDatasourceConfigNoInstance) SetHideBuiltInFacets(v []string)

SetHideBuiltInFacets gets a reference to the given []string and assigns it to the HideBuiltInFacets field.

func (o *SharedDatasourceConfigNoInstance) SetHomeUrl(v string)

SetHomeUrl gets a reference to the given string and assigns it to the HomeUrl field.

func (o *SharedDatasourceConfigNoInstance) SetIconDarkUrl(v string)

SetIconDarkUrl gets a reference to the given string and assigns it to the IconDarkUrl field.

func (o *SharedDatasourceConfigNoInstance) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (o *SharedDatasourceConfigNoInstance) SetIncludeUtmSource(v bool)

SetIncludeUtmSource gets a reference to the given bool and assigns it to the IncludeUtmSource field.

func (o *SharedDatasourceConfigNoInstance) SetIsOnPrem(v bool)

SetIsOnPrem gets a reference to the given bool and assigns it to the IsOnPrem field.

func (o *SharedDatasourceConfigNoInstance) SetName(v string)

SetName sets field value

func (o *SharedDatasourceConfigNoInstance) SetObjectDefinitions(v []ObjectDefinition)

SetObjectDefinitions gets a reference to the given []ObjectDefinition and assigns it to the ObjectDefinitions field.

func (o *SharedDatasourceConfigNoInstance) SetQuicklinks(v []Quicklink)

SetQuicklinks gets a reference to the given []Quicklink and assigns it to the Quicklinks field.

func (o *SharedDatasourceConfigNoInstance) SetRedlistTitleRegex(v string)

SetRedlistTitleRegex gets a reference to the given string and assigns it to the RedlistTitleRegex field.

func (o *SharedDatasourceConfigNoInstance) SetRenderConfigPreset(v string)

SetRenderConfigPreset gets a reference to the given string and assigns it to the RenderConfigPreset field.

func (o *SharedDatasourceConfigNoInstance) SetSuggestionText(v string)

SetSuggestionText gets a reference to the given string and assigns it to the SuggestionText field.

func (o *SharedDatasourceConfigNoInstance) SetTrustUrlRegexForViewActivity(v bool)

SetTrustUrlRegexForViewActivity gets a reference to the given bool and assigns it to the TrustUrlRegexForViewActivity field.

func (o *SharedDatasourceConfigNoInstance) SetUrlRegex(v string)

SetUrlRegex gets a reference to the given string and assigns it to the UrlRegex field.

Type SocialNetworkDefinition
type SocialNetworkDefinition struct {
	// Possible values are \"twitter\", \"linkedin\".
	Name *string `json:"name,omitempty"`
	// Human-readable profile name.
	ProfileName *string `json:"profileName,omitempty"`
	// Link to profile.
	ProfileUrl *string `json:"profileUrl,omitempty"`
}

SocialNetworkDefinition Employee's social network profile

Functions
func NewSocialNetworkDefinition() *SocialNetworkDefinition

NewSocialNetworkDefinition instantiates a new SocialNetworkDefinition 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

func NewSocialNetworkDefinitionWithDefaults() *SocialNetworkDefinition

NewSocialNetworkDefinitionWithDefaults instantiates a new SocialNetworkDefinition 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

Methods
func (o *SocialNetworkDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *SocialNetworkDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SocialNetworkDefinition) GetProfileName() string

GetProfileName returns the ProfileName field value if set, zero value otherwise.

func (o *SocialNetworkDefinition) GetProfileNameOk() (*string, bool)

GetProfileNameOk returns a tuple with the ProfileName field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SocialNetworkDefinition) GetProfileUrl() string

GetProfileUrl returns the ProfileUrl field value if set, zero value otherwise.

func (o *SocialNetworkDefinition) GetProfileUrlOk() (*string, bool)

GetProfileUrlOk returns a tuple with the ProfileUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SocialNetworkDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (o *SocialNetworkDefinition) HasProfileName() bool

HasProfileName returns a boolean if a field has been set.

func (o *SocialNetworkDefinition) HasProfileUrl() bool

HasProfileUrl returns a boolean if a field has been set.

func (o SocialNetworkDefinition) MarshalJSON() ([]byte, error)
func (o *SocialNetworkDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (o *SocialNetworkDefinition) SetProfileName(v string)

SetProfileName gets a reference to the given string and assigns it to the ProfileName field.

func (o *SocialNetworkDefinition) SetProfileUrl(v string)

SetProfileUrl gets a reference to the given string and assigns it to the ProfileUrl field.

Type StructuredLocation
type StructuredLocation struct {
	// Desk number.
	DeskLocation *string `json:"deskLocation,omitempty"`
	// Location's timezone, e.g. UTC, PST.
	Timezone *string `json:"timezone,omitempty"`
	// Office address or name.
	Address *string `json:"address,omitempty"`
	// Name of the city.
	City *string `json:"city,omitempty"`
	// State code.
	State *string `json:"state,omitempty"`
	// Region information, e.g. NORAM, APAC.
	Region *string `json:"region,omitempty"`
	// ZIP Code for the address.
	ZipCode *string `json:"zipCode,omitempty"`
	// Country name.
	Country *string `json:"country,omitempty"`
	// Alpha-2 or Alpha-3 ISO 3166 country code, e.g. US or USA.
	CountryCode *string `json:"countryCode,omitempty"`
}

StructuredLocation Detailed location with information about country, state, city etc.

Functions
func NewStructuredLocation() *StructuredLocation

NewStructuredLocation instantiates a new StructuredLocation 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

func NewStructuredLocationWithDefaults() *StructuredLocation

NewStructuredLocationWithDefaults instantiates a new StructuredLocation 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

Methods
func (o *StructuredLocation) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (o *StructuredLocation) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (o *StructuredLocation) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (o *StructuredLocation) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (o *StructuredLocation) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) GetDeskLocation() string

GetDeskLocation returns the DeskLocation field value if set, zero value otherwise.

func (o *StructuredLocation) GetDeskLocationOk() (*string, bool)

GetDeskLocationOk returns a tuple with the DeskLocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (o *StructuredLocation) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (o *StructuredLocation) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (o *StructuredLocation) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) GetZipCode() string

GetZipCode returns the ZipCode field value if set, zero value otherwise.

func (o *StructuredLocation) GetZipCodeOk() (*string, bool)

GetZipCodeOk returns a tuple with the ZipCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StructuredLocation) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (o *StructuredLocation) HasCity() bool

HasCity returns a boolean if a field has been set.

func (o *StructuredLocation) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (o *StructuredLocation) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (o *StructuredLocation) HasDeskLocation() bool

HasDeskLocation returns a boolean if a field has been set.

func (o *StructuredLocation) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (o *StructuredLocation) HasState() bool

HasState returns a boolean if a field has been set.

func (o *StructuredLocation) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (o *StructuredLocation) HasZipCode() bool

HasZipCode returns a boolean if a field has been set.

func (o StructuredLocation) MarshalJSON() ([]byte, error)
func (o *StructuredLocation) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (o *StructuredLocation) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (o *StructuredLocation) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (o *StructuredLocation) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (o *StructuredLocation) SetDeskLocation(v string)

SetDeskLocation gets a reference to the given string and assigns it to the DeskLocation field.

func (o *StructuredLocation) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (o *StructuredLocation) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (o *StructuredLocation) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (o *StructuredLocation) SetZipCode(v string)

SetZipCode gets a reference to the given string and assigns it to the ZipCode field.

Type TeamEmail
type TeamEmail struct {
	// An email address
	Email string `json:"email"`
	// An enum of `PRIMARY`, `SECONDARY`, `ONCALL`, `OTHER`
	Type string `json:"type"`
}

TeamEmail Information about a team's email

Functions
func NewTeamEmail(email string, type_ string) *TeamEmail

NewTeamEmail instantiates a new TeamEmail 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

func NewTeamEmailWithDefaults() *TeamEmail

NewTeamEmailWithDefaults instantiates a new TeamEmail 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

Methods
func (o *TeamEmail) GetEmail() string

GetEmail returns the Email field value

func (o *TeamEmail) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (o *TeamEmail) GetType() string

GetType returns the Type field value

func (o *TeamEmail) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o TeamEmail) MarshalJSON() ([]byte, error)
func (o *TeamEmail) SetEmail(v string)

SetEmail sets field value

func (o *TeamEmail) SetType(v string)

SetType sets field value

Type TeamInfoDefinition
type TeamInfoDefinition struct {
	// The unique ID of the team
	Id string `json:"id"`
	// Human-readable team name
	Name string `json:"name"`
	// The description of this team
	Description *string `json:"description,omitempty"`
	// Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses.
	BusinessUnit *string `json:"businessUnit,omitempty"`
	// An organizational unit where everyone has a similar task, e.g. `Engineering`.
	Department *string `json:"department,omitempty"`
	// A link to the team's photo
	PhotoUrl *string `json:"photoUrl,omitempty"`
	// A link to an external team page. If set, team results will link to it.
	ExternalLink *string `json:"externalLink,omitempty"`
	// The emails of the team
	Emails []TeamEmail `json:"emails,omitempty"`
	// The datasource profiles of the team
	DatasourceProfiles []DatasourceProfile `json:"datasourceProfiles,omitempty"`
	// The members of the team
	Members []TeamMember `json:"members"`
}

TeamInfoDefinition Information about an employee's team

Functions
func NewTeamInfoDefinition(id string, name string, members []TeamMember) *TeamInfoDefinition

NewTeamInfoDefinition instantiates a new TeamInfoDefinition 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

func NewTeamInfoDefinitionWithDefaults() *TeamInfoDefinition

NewTeamInfoDefinitionWithDefaults instantiates a new TeamInfoDefinition 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

Methods
func (o *TeamInfoDefinition) GetBusinessUnit() string

GetBusinessUnit returns the BusinessUnit field value if set, zero value otherwise.

func (o *TeamInfoDefinition) GetBusinessUnitOk() (*string, bool)

GetBusinessUnitOk returns a tuple with the BusinessUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetDatasourceProfiles() []DatasourceProfile

GetDatasourceProfiles returns the DatasourceProfiles field value if set, zero value otherwise.

func (o *TeamInfoDefinition) GetDatasourceProfilesOk() ([]DatasourceProfile, bool)

GetDatasourceProfilesOk returns a tuple with the DatasourceProfiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetDepartment() string

GetDepartment returns the Department field value if set, zero value otherwise.

func (o *TeamInfoDefinition) GetDepartmentOk() (*string, bool)

GetDepartmentOk returns a tuple with the Department field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (o *TeamInfoDefinition) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetEmails() []TeamEmail

GetEmails returns the Emails field value if set, zero value otherwise.

func (o *TeamInfoDefinition) GetEmailsOk() ([]TeamEmail, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetExternalLink() string

GetExternalLink returns the ExternalLink field value if set, zero value otherwise.

func (o *TeamInfoDefinition) GetExternalLinkOk() (*string, bool)

GetExternalLinkOk returns a tuple with the ExternalLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetId() string

GetId returns the Id field value

func (o *TeamInfoDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetMembers() []TeamMember

GetMembers returns the Members field value

func (o *TeamInfoDefinition) GetMembersOk() ([]TeamMember, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetName() string

GetName returns the Name field value

func (o *TeamInfoDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetPhotoUrl() string

GetPhotoUrl returns the PhotoUrl field value if set, zero value otherwise.

func (o *TeamInfoDefinition) GetPhotoUrlOk() (*string, bool)

GetPhotoUrlOk returns a tuple with the PhotoUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) HasBusinessUnit() bool

HasBusinessUnit returns a boolean if a field has been set.

func (o *TeamInfoDefinition) HasDatasourceProfiles() bool

HasDatasourceProfiles returns a boolean if a field has been set.

func (o *TeamInfoDefinition) HasDepartment() bool

HasDepartment returns a boolean if a field has been set.

func (o *TeamInfoDefinition) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (o *TeamInfoDefinition) HasEmails() bool

HasEmails returns a boolean if a field has been set.

func (o *TeamInfoDefinition) HasExternalLink() bool

HasExternalLink returns a boolean if a field has been set.

func (o *TeamInfoDefinition) HasPhotoUrl() bool

HasPhotoUrl returns a boolean if a field has been set.

func (o TeamInfoDefinition) MarshalJSON() ([]byte, error)
func (o *TeamInfoDefinition) SetBusinessUnit(v string)

SetBusinessUnit gets a reference to the given string and assigns it to the BusinessUnit field.

func (o *TeamInfoDefinition) SetDatasourceProfiles(v []DatasourceProfile)

SetDatasourceProfiles gets a reference to the given []DatasourceProfile and assigns it to the DatasourceProfiles field.

func (o *TeamInfoDefinition) SetDepartment(v string)

SetDepartment gets a reference to the given string and assigns it to the Department field.

func (o *TeamInfoDefinition) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (o *TeamInfoDefinition) SetEmails(v []TeamEmail)

SetEmails gets a reference to the given []TeamEmail and assigns it to the Emails field.

func (o *TeamInfoDefinition) SetExternalLink(v string)

SetExternalLink gets a reference to the given string and assigns it to the ExternalLink field.

func (o *TeamInfoDefinition) SetId(v string)

SetId sets field value

func (o *TeamInfoDefinition) SetMembers(v []TeamMember)

SetMembers sets field value

func (o *TeamInfoDefinition) SetName(v string)

SetName sets field value

func (o *TeamInfoDefinition) SetPhotoUrl(v string)

SetPhotoUrl gets a reference to the given string and assigns it to the PhotoUrl field.

Type TeamMember
type TeamMember struct {
	// The member's email
	Email string `json:"email"`
	// The member's relationship to the team, an enum of `MEMBER`, `MANAGER`, `LEAD`, `POINT_OF_CONTACT`, `OTHER`
	Relationship *string `json:"relationship,omitempty"`
	// The member's start date
	JoinDate *string `json:"join_date,omitempty"`
}

TeamMember Information about a team's member

Functions
func NewTeamMember(email string) *TeamMember

NewTeamMember instantiates a new TeamMember 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

func NewTeamMemberWithDefaults() *TeamMember

NewTeamMemberWithDefaults instantiates a new TeamMember 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

Methods
func (o *TeamMember) GetEmail() string

GetEmail returns the Email field value

func (o *TeamMember) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (o *TeamMember) GetJoinDate() string

GetJoinDate returns the JoinDate field value if set, zero value otherwise.

func (o *TeamMember) GetJoinDateOk() (*string, bool)

GetJoinDateOk returns a tuple with the JoinDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamMember) GetRelationship() string

GetRelationship returns the Relationship field value if set, zero value otherwise.

func (o *TeamMember) GetRelationshipOk() (*string, bool)

GetRelationshipOk returns a tuple with the Relationship field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamMember) HasJoinDate() bool

HasJoinDate returns a boolean if a field has been set.

func (o *TeamMember) HasRelationship() bool

HasRelationship returns a boolean if a field has been set.

func (o TeamMember) MarshalJSON() ([]byte, error)
func (o *TeamMember) SetEmail(v string)

SetEmail sets field value

func (o *TeamMember) SetJoinDate(v string)

SetJoinDate gets a reference to the given string and assigns it to the JoinDate field.

func (o *TeamMember) SetRelationship(v string)

SetRelationship gets a reference to the given string and assigns it to the Relationship field.

Type UserReferenceDefinition
type UserReferenceDefinition struct {
	Email *string `json:"email,omitempty"`
	// some datasources refer to the user by the datasource user id in the document
	DatasourceUserId *string `json:"datasourceUserId,omitempty"`
	Name             *string `json:"name,omitempty"`
}

UserReferenceDefinition Describes how a user is referenced in a document. The user can be referenced by email or by a datasource specific id.

Functions
func NewUserReferenceDefinition() *UserReferenceDefinition

NewUserReferenceDefinition instantiates a new UserReferenceDefinition 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

func NewUserReferenceDefinitionWithDefaults() *UserReferenceDefinition

NewUserReferenceDefinitionWithDefaults instantiates a new UserReferenceDefinition 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

Methods
func (o *UserReferenceDefinition) GetDatasourceUserId() string

GetDatasourceUserId returns the DatasourceUserId field value if set, zero value otherwise.

func (o *UserReferenceDefinition) GetDatasourceUserIdOk() (*string, bool)

GetDatasourceUserIdOk returns a tuple with the DatasourceUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *UserReferenceDefinition) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (o *UserReferenceDefinition) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *UserReferenceDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (o *UserReferenceDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *UserReferenceDefinition) HasDatasourceUserId() bool

HasDatasourceUserId returns a boolean if a field has been set.

func (o *UserReferenceDefinition) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (o *UserReferenceDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (o UserReferenceDefinition) MarshalJSON() ([]byte, error)
func (o *UserReferenceDefinition) SetDatasourceUserId(v string)

SetDatasourceUserId gets a reference to the given string and assigns it to the DatasourceUserId field.

func (o *UserReferenceDefinition) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (o *UserReferenceDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedConnectorTypeEnumValues = []ConnectorType{
	"API_CRAWL",
	"BROWSER_CRAWL",
	"BROWSER_HISTORY",
	"BUILTIN",
	"FEDERATED_SEARCH",
	"PUSH_API",
	"WEB_CRAWL",
	"NATIVE_HISTORY",
}

All allowed values of ConnectorType enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DatasourcesApi *DatasourcesApiService

	DocumentsApi *DocumentsApiService

	PeopleApi *PeopleApiService

	PermissionsApi *PermissionsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Glean Indexing API API v0.9.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AdditionalFieldDefinition

type AdditionalFieldDefinition struct {
	// Key to reference this field, e.g. \"languages\".
	Key *string `json:"key,omitempty"`
	// List of type string or HypertextField.  HypertextField is defined as “` {   anchor: string,    // Anchor text for the hypertext field.   hyperlink: string, // URL for the hypertext field. } “` Example: “`{\"anchor\":\"Glean\",\"hyperlink\":\"https://glean.com\"}“`  When OpenAPI Generator supports oneOf, we will semantically enforce this in the docs.
	Value []map[string]interface{} `json:"value,omitempty"`
}

AdditionalFieldDefinition Additional information about the employee.

func NewAdditionalFieldDefinition

func NewAdditionalFieldDefinition() *AdditionalFieldDefinition

NewAdditionalFieldDefinition instantiates a new AdditionalFieldDefinition 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

func NewAdditionalFieldDefinitionWithDefaults

func NewAdditionalFieldDefinitionWithDefaults() *AdditionalFieldDefinition

NewAdditionalFieldDefinitionWithDefaults instantiates a new AdditionalFieldDefinition 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

func (*AdditionalFieldDefinition) GetKey

func (o *AdditionalFieldDefinition) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*AdditionalFieldDefinition) GetKeyOk

func (o *AdditionalFieldDefinition) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdditionalFieldDefinition) GetValue

func (o *AdditionalFieldDefinition) GetValue() []map[string]interface{}

GetValue returns the Value field value if set, zero value otherwise.

func (*AdditionalFieldDefinition) GetValueOk

func (o *AdditionalFieldDefinition) GetValueOk() ([]map[string]interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdditionalFieldDefinition) HasKey

func (o *AdditionalFieldDefinition) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*AdditionalFieldDefinition) HasValue

func (o *AdditionalFieldDefinition) HasValue() bool

HasValue returns a boolean if a field has been set.

func (AdditionalFieldDefinition) MarshalJSON

func (o AdditionalFieldDefinition) MarshalJSON() ([]byte, error)

func (*AdditionalFieldDefinition) SetKey

func (o *AdditionalFieldDefinition) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*AdditionalFieldDefinition) SetValue

func (o *AdditionalFieldDefinition) SetValue(v []map[string]interface{})

SetValue gets a reference to the given []map[string]interface{} and assigns it to the Value field.

type ApiAdddatasourcePostRequest

type ApiAdddatasourcePostRequest struct {
	ApiService *DatasourcesApiService
	// contains filtered or unexported fields
}

func (ApiAdddatasourcePostRequest) CustomDatasourceConfig

func (r ApiAdddatasourcePostRequest) CustomDatasourceConfig(customDatasourceConfig CustomDatasourceConfig) ApiAdddatasourcePostRequest

func (ApiAdddatasourcePostRequest) Execute

type ApiBetausersPostRequest

type ApiBetausersPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiBetausersPostRequest) Execute

func (r ApiBetausersPostRequest) Execute() (*http.Response, error)

func (ApiBetausersPostRequest) GreenlistUsersRequest

func (r ApiBetausersPostRequest) GreenlistUsersRequest(greenlistUsersRequest GreenlistUsersRequest) ApiBetausersPostRequest

type ApiBulkindexdocumentsPostRequest

type ApiBulkindexdocumentsPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}

func (ApiBulkindexdocumentsPostRequest) BulkIndexDocumentsRequest

func (r ApiBulkindexdocumentsPostRequest) BulkIndexDocumentsRequest(bulkIndexDocumentsRequest BulkIndexDocumentsRequest) ApiBulkindexdocumentsPostRequest

func (ApiBulkindexdocumentsPostRequest) Execute

type ApiBulkindexemployeesPostRequest

type ApiBulkindexemployeesPostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}

func (ApiBulkindexemployeesPostRequest) BulkIndexEmployeesRequest

func (r ApiBulkindexemployeesPostRequest) BulkIndexEmployeesRequest(bulkIndexEmployeesRequest BulkIndexEmployeesRequest) ApiBulkindexemployeesPostRequest

func (ApiBulkindexemployeesPostRequest) Execute

type ApiBulkindexgroupsPostRequest

type ApiBulkindexgroupsPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiBulkindexgroupsPostRequest) BulkIndexGroupsRequest

func (r ApiBulkindexgroupsPostRequest) BulkIndexGroupsRequest(bulkIndexGroupsRequest BulkIndexGroupsRequest) ApiBulkindexgroupsPostRequest

func (ApiBulkindexgroupsPostRequest) Execute

type ApiBulkindexmembershipsPostRequest

type ApiBulkindexmembershipsPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiBulkindexmembershipsPostRequest) BulkIndexMembershipsRequest

func (r ApiBulkindexmembershipsPostRequest) BulkIndexMembershipsRequest(bulkIndexMembershipsRequest BulkIndexMembershipsRequest) ApiBulkindexmembershipsPostRequest

func (ApiBulkindexmembershipsPostRequest) Execute

type ApiBulkindexteamsPostRequest

type ApiBulkindexteamsPostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}

func (ApiBulkindexteamsPostRequest) BulkIndexTeamsRequest

func (r ApiBulkindexteamsPostRequest) BulkIndexTeamsRequest(bulkIndexTeamsRequest BulkIndexTeamsRequest) ApiBulkindexteamsPostRequest

func (ApiBulkindexteamsPostRequest) Execute

type ApiBulkindexusersPostRequest

type ApiBulkindexusersPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiBulkindexusersPostRequest) BulkIndexUsersRequest

func (r ApiBulkindexusersPostRequest) BulkIndexUsersRequest(bulkIndexUsersRequest BulkIndexUsersRequest) ApiBulkindexusersPostRequest

func (ApiBulkindexusersPostRequest) Execute

type ApiCheckdocumentaccessPostRequest

type ApiCheckdocumentaccessPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiCheckdocumentaccessPostRequest) CheckDocumentAccessRequest

func (r ApiCheckdocumentaccessPostRequest) CheckDocumentAccessRequest(checkDocumentAccessRequest CheckDocumentAccessRequest) ApiCheckdocumentaccessPostRequest

func (ApiCheckdocumentaccessPostRequest) Execute

type ApiDeletedocumentPostRequest

type ApiDeletedocumentPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}

func (ApiDeletedocumentPostRequest) DeleteDocumentRequest

func (r ApiDeletedocumentPostRequest) DeleteDocumentRequest(deleteDocumentRequest DeleteDocumentRequest) ApiDeletedocumentPostRequest

func (ApiDeletedocumentPostRequest) Execute

type ApiDeleteemployeePostRequest

type ApiDeleteemployeePostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}

func (ApiDeleteemployeePostRequest) DeleteEmployeeRequest

func (r ApiDeleteemployeePostRequest) DeleteEmployeeRequest(deleteEmployeeRequest DeleteEmployeeRequest) ApiDeleteemployeePostRequest

func (ApiDeleteemployeePostRequest) Execute

type ApiDeletegroupPostRequest

type ApiDeletegroupPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiDeletegroupPostRequest) DeleteGroupRequest

func (r ApiDeletegroupPostRequest) DeleteGroupRequest(deleteGroupRequest DeleteGroupRequest) ApiDeletegroupPostRequest

func (ApiDeletegroupPostRequest) Execute

func (r ApiDeletegroupPostRequest) Execute() (*http.Response, error)

type ApiDeletemembershipPostRequest

type ApiDeletemembershipPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiDeletemembershipPostRequest) DeleteMembershipRequest

func (r ApiDeletemembershipPostRequest) DeleteMembershipRequest(deleteMembershipRequest DeleteMembershipRequest) ApiDeletemembershipPostRequest

func (ApiDeletemembershipPostRequest) Execute

type ApiDeleteuserPostRequest

type ApiDeleteuserPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteuserPostRequest) DeleteUserRequest

func (r ApiDeleteuserPostRequest) DeleteUserRequest(deleteUserRequest DeleteUserRequest) ApiDeleteuserPostRequest

func (ApiDeleteuserPostRequest) Execute

func (r ApiDeleteuserPostRequest) Execute() (*http.Response, error)

type ApiGetdatasourceconfigPostRequest

type ApiGetdatasourceconfigPostRequest struct {
	ApiService *DatasourcesApiService
	// contains filtered or unexported fields
}

func (ApiGetdatasourceconfigPostRequest) Execute

func (ApiGetdatasourceconfigPostRequest) GetDatasourceConfigRequest

func (r ApiGetdatasourceconfigPostRequest) GetDatasourceConfigRequest(getDatasourceConfigRequest GetDatasourceConfigRequest) ApiGetdatasourceconfigPostRequest

type ApiGetdocumentcountPostRequest

type ApiGetdocumentcountPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}

func (ApiGetdocumentcountPostRequest) Execute

func (ApiGetdocumentcountPostRequest) GetDocumentCountRequest

func (r ApiGetdocumentcountPostRequest) GetDocumentCountRequest(getDocumentCountRequest GetDocumentCountRequest) ApiGetdocumentcountPostRequest

type ApiGetdocumentstatusPostRequest

type ApiGetdocumentstatusPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}

func (ApiGetdocumentstatusPostRequest) Execute

func (ApiGetdocumentstatusPostRequest) GetDocumentStatusRequest

func (r ApiGetdocumentstatusPostRequest) GetDocumentStatusRequest(getDocumentStatusRequest GetDocumentStatusRequest) ApiGetdocumentstatusPostRequest

type ApiGetusercountPostRequest

type ApiGetusercountPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiGetusercountPostRequest) Execute

func (ApiGetusercountPostRequest) GetUserCountRequest

func (r ApiGetusercountPostRequest) GetUserCountRequest(getUserCountRequest GetUserCountRequest) ApiGetusercountPostRequest

type ApiIndexdocumentPostRequest

type ApiIndexdocumentPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}

func (ApiIndexdocumentPostRequest) Execute

func (ApiIndexdocumentPostRequest) IndexDocumentRequest

func (r ApiIndexdocumentPostRequest) IndexDocumentRequest(indexDocumentRequest IndexDocumentRequest) ApiIndexdocumentPostRequest

type ApiIndexemployeePostRequest

type ApiIndexemployeePostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}

func (ApiIndexemployeePostRequest) Execute

func (ApiIndexemployeePostRequest) IndexEmployeeRequest

func (r ApiIndexemployeePostRequest) IndexEmployeeRequest(indexEmployeeRequest IndexEmployeeRequest) ApiIndexemployeePostRequest

type ApiIndexemployeelistPostRequest

type ApiIndexemployeelistPostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}

func (ApiIndexemployeelistPostRequest) Execute

func (ApiIndexemployeelistPostRequest) IndexEmployeeListRequest

func (r ApiIndexemployeelistPostRequest) IndexEmployeeListRequest(indexEmployeeListRequest IndexEmployeeListRequest) ApiIndexemployeelistPostRequest

type ApiIndexgroupPostRequest

type ApiIndexgroupPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiIndexgroupPostRequest) Execute

func (r ApiIndexgroupPostRequest) Execute() (*http.Response, error)

func (ApiIndexgroupPostRequest) IndexGroupRequest

func (r ApiIndexgroupPostRequest) IndexGroupRequest(indexGroupRequest IndexGroupRequest) ApiIndexgroupPostRequest

type ApiIndexmembershipPostRequest

type ApiIndexmembershipPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiIndexmembershipPostRequest) Execute

func (ApiIndexmembershipPostRequest) IndexMembershipRequest

func (r ApiIndexmembershipPostRequest) IndexMembershipRequest(indexMembershipRequest IndexMembershipRequest) ApiIndexmembershipPostRequest

type ApiIndexteamPostRequest

type ApiIndexteamPostRequest struct {
	ApiService *PeopleApiService
	// contains filtered or unexported fields
}

func (ApiIndexteamPostRequest) Execute

func (r ApiIndexteamPostRequest) Execute() (*http.Response, error)

func (ApiIndexteamPostRequest) IndexTeamRequest

func (r ApiIndexteamPostRequest) IndexTeamRequest(indexTeamRequest IndexTeamRequest) ApiIndexteamPostRequest

type ApiIndexuserPostRequest

type ApiIndexuserPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiIndexuserPostRequest) Execute

func (r ApiIndexuserPostRequest) Execute() (*http.Response, error)

func (ApiIndexuserPostRequest) IndexUserRequest

func (r ApiIndexuserPostRequest) IndexUserRequest(indexUserRequest IndexUserRequest) ApiIndexuserPostRequest

type ApiProcessalldocumentsPostRequest

type ApiProcessalldocumentsPostRequest struct {
	ApiService *DocumentsApiService
	// contains filtered or unexported fields
}

func (ApiProcessalldocumentsPostRequest) Execute

func (ApiProcessalldocumentsPostRequest) ProcessAllDocumentsRequest

func (r ApiProcessalldocumentsPostRequest) ProcessAllDocumentsRequest(processAllDocumentsRequest ProcessAllDocumentsRequest) ApiProcessalldocumentsPostRequest

type ApiProcessallmembershipsPostRequest

type ApiProcessallmembershipsPostRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiProcessallmembershipsPostRequest) Execute

func (ApiProcessallmembershipsPostRequest) ProcessAllMembershipsRequest

func (r ApiProcessallmembershipsPostRequest) ProcessAllMembershipsRequest(processAllMembershipsRequest ProcessAllMembershipsRequest) ApiProcessallmembershipsPostRequest

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BulkIndexDocumentsRequest

type BulkIndexDocumentsRequest struct {
	// Unique id that must be used for this instance of datasource employees upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// Datasource of the documents
	Datasource string `json:"datasource"`
	// Batch of documents for the datasource
	Documents []DocumentDefinition `json:"documents"`
	// True if older documents need to be force deleted after the upload completes. Defaults to older documents being deleted asynchronously. This must only be set when `isLastPage = true`
	DisableStaleDocumentDeletionCheck *bool `json:"disableStaleDocumentDeletionCheck,omitempty"`
}

BulkIndexDocumentsRequest Describes the request body of the /bulkindexdocuments API call

func NewBulkIndexDocumentsRequest

func NewBulkIndexDocumentsRequest(uploadId string, datasource string, documents []DocumentDefinition) *BulkIndexDocumentsRequest

NewBulkIndexDocumentsRequest instantiates a new BulkIndexDocumentsRequest 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

func NewBulkIndexDocumentsRequestWithDefaults

func NewBulkIndexDocumentsRequestWithDefaults() *BulkIndexDocumentsRequest

NewBulkIndexDocumentsRequestWithDefaults instantiates a new BulkIndexDocumentsRequest 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

func (*BulkIndexDocumentsRequest) GetDatasource

func (o *BulkIndexDocumentsRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*BulkIndexDocumentsRequest) GetDatasourceOk

func (o *BulkIndexDocumentsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequest) GetDisableStaleDocumentDeletionCheck

func (o *BulkIndexDocumentsRequest) GetDisableStaleDocumentDeletionCheck() bool

GetDisableStaleDocumentDeletionCheck returns the DisableStaleDocumentDeletionCheck field value if set, zero value otherwise.

func (*BulkIndexDocumentsRequest) GetDisableStaleDocumentDeletionCheckOk

func (o *BulkIndexDocumentsRequest) GetDisableStaleDocumentDeletionCheckOk() (*bool, bool)

GetDisableStaleDocumentDeletionCheckOk returns a tuple with the DisableStaleDocumentDeletionCheck field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequest) GetDocuments

func (o *BulkIndexDocumentsRequest) GetDocuments() []DocumentDefinition

GetDocuments returns the Documents field value

func (*BulkIndexDocumentsRequest) GetDocumentsOk

func (o *BulkIndexDocumentsRequest) GetDocumentsOk() ([]DocumentDefinition, bool)

GetDocumentsOk returns a tuple with the Documents field value and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequest) GetForceRestartUpload

func (o *BulkIndexDocumentsRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (*BulkIndexDocumentsRequest) GetForceRestartUploadOk

func (o *BulkIndexDocumentsRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequest) GetIsFirstPage

func (o *BulkIndexDocumentsRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (*BulkIndexDocumentsRequest) GetIsFirstPageOk

func (o *BulkIndexDocumentsRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequest) GetIsLastPage

func (o *BulkIndexDocumentsRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (*BulkIndexDocumentsRequest) GetIsLastPageOk

func (o *BulkIndexDocumentsRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequest) GetUploadId

func (o *BulkIndexDocumentsRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (*BulkIndexDocumentsRequest) GetUploadIdOk

func (o *BulkIndexDocumentsRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequest) HasDisableStaleDocumentDeletionCheck

func (o *BulkIndexDocumentsRequest) HasDisableStaleDocumentDeletionCheck() bool

HasDisableStaleDocumentDeletionCheck returns a boolean if a field has been set.

func (*BulkIndexDocumentsRequest) HasForceRestartUpload

func (o *BulkIndexDocumentsRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (*BulkIndexDocumentsRequest) HasIsFirstPage

func (o *BulkIndexDocumentsRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (*BulkIndexDocumentsRequest) HasIsLastPage

func (o *BulkIndexDocumentsRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (BulkIndexDocumentsRequest) MarshalJSON

func (o BulkIndexDocumentsRequest) MarshalJSON() ([]byte, error)

func (*BulkIndexDocumentsRequest) SetDatasource

func (o *BulkIndexDocumentsRequest) SetDatasource(v string)

SetDatasource sets field value

func (*BulkIndexDocumentsRequest) SetDisableStaleDocumentDeletionCheck

func (o *BulkIndexDocumentsRequest) SetDisableStaleDocumentDeletionCheck(v bool)

SetDisableStaleDocumentDeletionCheck gets a reference to the given bool and assigns it to the DisableStaleDocumentDeletionCheck field.

func (*BulkIndexDocumentsRequest) SetDocuments

func (o *BulkIndexDocumentsRequest) SetDocuments(v []DocumentDefinition)

SetDocuments sets field value

func (*BulkIndexDocumentsRequest) SetForceRestartUpload

func (o *BulkIndexDocumentsRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (*BulkIndexDocumentsRequest) SetIsFirstPage

func (o *BulkIndexDocumentsRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (*BulkIndexDocumentsRequest) SetIsLastPage

func (o *BulkIndexDocumentsRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (*BulkIndexDocumentsRequest) SetUploadId

func (o *BulkIndexDocumentsRequest) SetUploadId(v string)

SetUploadId sets field value

type BulkIndexDocumentsRequestAllOf

type BulkIndexDocumentsRequestAllOf struct {
	// Datasource of the documents
	Datasource string `json:"datasource"`
	// Batch of documents for the datasource
	Documents []DocumentDefinition `json:"documents"`
	// True if older documents need to be force deleted after the upload completes. Defaults to older documents being deleted asynchronously. This must only be set when `isLastPage = true`
	DisableStaleDocumentDeletionCheck *bool `json:"disableStaleDocumentDeletionCheck,omitempty"`
}

BulkIndexDocumentsRequestAllOf struct for BulkIndexDocumentsRequestAllOf

func NewBulkIndexDocumentsRequestAllOf

func NewBulkIndexDocumentsRequestAllOf(datasource string, documents []DocumentDefinition) *BulkIndexDocumentsRequestAllOf

NewBulkIndexDocumentsRequestAllOf instantiates a new BulkIndexDocumentsRequestAllOf 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

func NewBulkIndexDocumentsRequestAllOfWithDefaults

func NewBulkIndexDocumentsRequestAllOfWithDefaults() *BulkIndexDocumentsRequestAllOf

NewBulkIndexDocumentsRequestAllOfWithDefaults instantiates a new BulkIndexDocumentsRequestAllOf 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

func (*BulkIndexDocumentsRequestAllOf) GetDatasource

func (o *BulkIndexDocumentsRequestAllOf) GetDatasource() string

GetDatasource returns the Datasource field value

func (*BulkIndexDocumentsRequestAllOf) GetDatasourceOk

func (o *BulkIndexDocumentsRequestAllOf) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequestAllOf) GetDisableStaleDocumentDeletionCheck

func (o *BulkIndexDocumentsRequestAllOf) GetDisableStaleDocumentDeletionCheck() bool

GetDisableStaleDocumentDeletionCheck returns the DisableStaleDocumentDeletionCheck field value if set, zero value otherwise.

func (*BulkIndexDocumentsRequestAllOf) GetDisableStaleDocumentDeletionCheckOk

func (o *BulkIndexDocumentsRequestAllOf) GetDisableStaleDocumentDeletionCheckOk() (*bool, bool)

GetDisableStaleDocumentDeletionCheckOk returns a tuple with the DisableStaleDocumentDeletionCheck field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequestAllOf) GetDocuments

GetDocuments returns the Documents field value

func (*BulkIndexDocumentsRequestAllOf) GetDocumentsOk

func (o *BulkIndexDocumentsRequestAllOf) GetDocumentsOk() ([]DocumentDefinition, bool)

GetDocumentsOk returns a tuple with the Documents field value and a boolean to check if the value has been set.

func (*BulkIndexDocumentsRequestAllOf) HasDisableStaleDocumentDeletionCheck

func (o *BulkIndexDocumentsRequestAllOf) HasDisableStaleDocumentDeletionCheck() bool

HasDisableStaleDocumentDeletionCheck returns a boolean if a field has been set.

func (BulkIndexDocumentsRequestAllOf) MarshalJSON

func (o BulkIndexDocumentsRequestAllOf) MarshalJSON() ([]byte, error)

func (*BulkIndexDocumentsRequestAllOf) SetDatasource

func (o *BulkIndexDocumentsRequestAllOf) SetDatasource(v string)

SetDatasource sets field value

func (*BulkIndexDocumentsRequestAllOf) SetDisableStaleDocumentDeletionCheck

func (o *BulkIndexDocumentsRequestAllOf) SetDisableStaleDocumentDeletionCheck(v bool)

SetDisableStaleDocumentDeletionCheck gets a reference to the given bool and assigns it to the DisableStaleDocumentDeletionCheck field.

func (*BulkIndexDocumentsRequestAllOf) SetDocuments

SetDocuments sets field value

type BulkIndexEmployeesRequest

type BulkIndexEmployeesRequest struct {
	// Unique id that must be used for this instance of datasource employees upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// Batch of employee information
	Employees []EmployeeInfoDefinition `json:"employees"`
}

BulkIndexEmployeesRequest Describes the request body of the /bulkindexemployees API call

func NewBulkIndexEmployeesRequest

func NewBulkIndexEmployeesRequest(uploadId string, employees []EmployeeInfoDefinition) *BulkIndexEmployeesRequest

NewBulkIndexEmployeesRequest instantiates a new BulkIndexEmployeesRequest 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

func NewBulkIndexEmployeesRequestWithDefaults

func NewBulkIndexEmployeesRequestWithDefaults() *BulkIndexEmployeesRequest

NewBulkIndexEmployeesRequestWithDefaults instantiates a new BulkIndexEmployeesRequest 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

func (*BulkIndexEmployeesRequest) GetEmployees

GetEmployees returns the Employees field value

func (*BulkIndexEmployeesRequest) GetEmployeesOk

func (o *BulkIndexEmployeesRequest) GetEmployeesOk() ([]EmployeeInfoDefinition, bool)

GetEmployeesOk returns a tuple with the Employees field value and a boolean to check if the value has been set.

func (*BulkIndexEmployeesRequest) GetForceRestartUpload

func (o *BulkIndexEmployeesRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (*BulkIndexEmployeesRequest) GetForceRestartUploadOk

func (o *BulkIndexEmployeesRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexEmployeesRequest) GetIsFirstPage

func (o *BulkIndexEmployeesRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (*BulkIndexEmployeesRequest) GetIsFirstPageOk

func (o *BulkIndexEmployeesRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexEmployeesRequest) GetIsLastPage

func (o *BulkIndexEmployeesRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (*BulkIndexEmployeesRequest) GetIsLastPageOk

func (o *BulkIndexEmployeesRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexEmployeesRequest) GetUploadId

func (o *BulkIndexEmployeesRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (*BulkIndexEmployeesRequest) GetUploadIdOk

func (o *BulkIndexEmployeesRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (*BulkIndexEmployeesRequest) HasForceRestartUpload

func (o *BulkIndexEmployeesRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (*BulkIndexEmployeesRequest) HasIsFirstPage

func (o *BulkIndexEmployeesRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (*BulkIndexEmployeesRequest) HasIsLastPage

func (o *BulkIndexEmployeesRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (BulkIndexEmployeesRequest) MarshalJSON

func (o BulkIndexEmployeesRequest) MarshalJSON() ([]byte, error)

func (*BulkIndexEmployeesRequest) SetEmployees

SetEmployees sets field value

func (*BulkIndexEmployeesRequest) SetForceRestartUpload

func (o *BulkIndexEmployeesRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (*BulkIndexEmployeesRequest) SetIsFirstPage

func (o *BulkIndexEmployeesRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (*BulkIndexEmployeesRequest) SetIsLastPage

func (o *BulkIndexEmployeesRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (*BulkIndexEmployeesRequest) SetUploadId

func (o *BulkIndexEmployeesRequest) SetUploadId(v string)

SetUploadId sets field value

type BulkIndexEmployeesRequestAllOf

type BulkIndexEmployeesRequestAllOf struct {
	// Batch of employee information
	Employees []EmployeeInfoDefinition `json:"employees"`
}

BulkIndexEmployeesRequestAllOf struct for BulkIndexEmployeesRequestAllOf

func NewBulkIndexEmployeesRequestAllOf

func NewBulkIndexEmployeesRequestAllOf(employees []EmployeeInfoDefinition) *BulkIndexEmployeesRequestAllOf

NewBulkIndexEmployeesRequestAllOf instantiates a new BulkIndexEmployeesRequestAllOf 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

func NewBulkIndexEmployeesRequestAllOfWithDefaults

func NewBulkIndexEmployeesRequestAllOfWithDefaults() *BulkIndexEmployeesRequestAllOf

NewBulkIndexEmployeesRequestAllOfWithDefaults instantiates a new BulkIndexEmployeesRequestAllOf 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

func (*BulkIndexEmployeesRequestAllOf) GetEmployees

GetEmployees returns the Employees field value

func (*BulkIndexEmployeesRequestAllOf) GetEmployeesOk

GetEmployeesOk returns a tuple with the Employees field value and a boolean to check if the value has been set.

func (BulkIndexEmployeesRequestAllOf) MarshalJSON

func (o BulkIndexEmployeesRequestAllOf) MarshalJSON() ([]byte, error)

func (*BulkIndexEmployeesRequestAllOf) SetEmployees

SetEmployees sets field value

type BulkIndexGroupsRequest

type BulkIndexGroupsRequest struct {
	// Unique id that must be used for this instance of datasource groups upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// datasource of the groups
	Datasource string `json:"datasource"`
	// batch of groups for the datasource
	Groups []DatasourceGroupDefinition `json:"groups"`
}

BulkIndexGroupsRequest Describes the request body for the /bulkindexgroups API call

func NewBulkIndexGroupsRequest

func NewBulkIndexGroupsRequest(uploadId string, datasource string, groups []DatasourceGroupDefinition) *BulkIndexGroupsRequest

NewBulkIndexGroupsRequest instantiates a new BulkIndexGroupsRequest 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

func NewBulkIndexGroupsRequestWithDefaults

func NewBulkIndexGroupsRequestWithDefaults() *BulkIndexGroupsRequest

NewBulkIndexGroupsRequestWithDefaults instantiates a new BulkIndexGroupsRequest 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

func (*BulkIndexGroupsRequest) GetDatasource

func (o *BulkIndexGroupsRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*BulkIndexGroupsRequest) GetDatasourceOk

func (o *BulkIndexGroupsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*BulkIndexGroupsRequest) GetForceRestartUpload

func (o *BulkIndexGroupsRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (*BulkIndexGroupsRequest) GetForceRestartUploadOk

func (o *BulkIndexGroupsRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexGroupsRequest) GetGroups

GetGroups returns the Groups field value

func (*BulkIndexGroupsRequest) GetGroupsOk

GetGroupsOk returns a tuple with the Groups field value and a boolean to check if the value has been set.

func (*BulkIndexGroupsRequest) GetIsFirstPage

func (o *BulkIndexGroupsRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (*BulkIndexGroupsRequest) GetIsFirstPageOk

func (o *BulkIndexGroupsRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexGroupsRequest) GetIsLastPage

func (o *BulkIndexGroupsRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (*BulkIndexGroupsRequest) GetIsLastPageOk

func (o *BulkIndexGroupsRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexGroupsRequest) GetUploadId

func (o *BulkIndexGroupsRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (*BulkIndexGroupsRequest) GetUploadIdOk

func (o *BulkIndexGroupsRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (*BulkIndexGroupsRequest) HasForceRestartUpload

func (o *BulkIndexGroupsRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (*BulkIndexGroupsRequest) HasIsFirstPage

func (o *BulkIndexGroupsRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (*BulkIndexGroupsRequest) HasIsLastPage

func (o *BulkIndexGroupsRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (BulkIndexGroupsRequest) MarshalJSON

func (o BulkIndexGroupsRequest) MarshalJSON() ([]byte, error)

func (*BulkIndexGroupsRequest) SetDatasource

func (o *BulkIndexGroupsRequest) SetDatasource(v string)

SetDatasource sets field value

func (*BulkIndexGroupsRequest) SetForceRestartUpload

func (o *BulkIndexGroupsRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (*BulkIndexGroupsRequest) SetGroups

SetGroups sets field value

func (*BulkIndexGroupsRequest) SetIsFirstPage

func (o *BulkIndexGroupsRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (*BulkIndexGroupsRequest) SetIsLastPage

func (o *BulkIndexGroupsRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (*BulkIndexGroupsRequest) SetUploadId

func (o *BulkIndexGroupsRequest) SetUploadId(v string)

SetUploadId sets field value

type BulkIndexMembershipsRequest

type BulkIndexMembershipsRequest struct {
	// Unique id that must be used for this instance of datasource group memberships upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// datasource of the memberships
	Datasource string `json:"datasource"`
	// group who's memberships are specified
	Group *string `json:"group,omitempty"`
	// batch of memberships for the group
	Memberships []DatasourceBulkMembershipDefinition `json:"memberships"`
}

BulkIndexMembershipsRequest Describes the request body for the /bulkindexmemberships API call

func NewBulkIndexMembershipsRequest

func NewBulkIndexMembershipsRequest(uploadId string, datasource string, memberships []DatasourceBulkMembershipDefinition) *BulkIndexMembershipsRequest

NewBulkIndexMembershipsRequest instantiates a new BulkIndexMembershipsRequest 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

func NewBulkIndexMembershipsRequestWithDefaults

func NewBulkIndexMembershipsRequestWithDefaults() *BulkIndexMembershipsRequest

NewBulkIndexMembershipsRequestWithDefaults instantiates a new BulkIndexMembershipsRequest 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

func (*BulkIndexMembershipsRequest) GetDatasource

func (o *BulkIndexMembershipsRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*BulkIndexMembershipsRequest) GetDatasourceOk

func (o *BulkIndexMembershipsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*BulkIndexMembershipsRequest) GetForceRestartUpload

func (o *BulkIndexMembershipsRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (*BulkIndexMembershipsRequest) GetForceRestartUploadOk

func (o *BulkIndexMembershipsRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexMembershipsRequest) GetGroup

func (o *BulkIndexMembershipsRequest) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*BulkIndexMembershipsRequest) GetGroupOk

func (o *BulkIndexMembershipsRequest) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexMembershipsRequest) GetIsFirstPage

func (o *BulkIndexMembershipsRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (*BulkIndexMembershipsRequest) GetIsFirstPageOk

func (o *BulkIndexMembershipsRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexMembershipsRequest) GetIsLastPage

func (o *BulkIndexMembershipsRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (*BulkIndexMembershipsRequest) GetIsLastPageOk

func (o *BulkIndexMembershipsRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexMembershipsRequest) GetMemberships

GetMemberships returns the Memberships field value

func (*BulkIndexMembershipsRequest) GetMembershipsOk

GetMembershipsOk returns a tuple with the Memberships field value and a boolean to check if the value has been set.

func (*BulkIndexMembershipsRequest) GetUploadId

func (o *BulkIndexMembershipsRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (*BulkIndexMembershipsRequest) GetUploadIdOk

func (o *BulkIndexMembershipsRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (*BulkIndexMembershipsRequest) HasForceRestartUpload

func (o *BulkIndexMembershipsRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (*BulkIndexMembershipsRequest) HasGroup

func (o *BulkIndexMembershipsRequest) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*BulkIndexMembershipsRequest) HasIsFirstPage

func (o *BulkIndexMembershipsRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (*BulkIndexMembershipsRequest) HasIsLastPage

func (o *BulkIndexMembershipsRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (BulkIndexMembershipsRequest) MarshalJSON

func (o BulkIndexMembershipsRequest) MarshalJSON() ([]byte, error)

func (*BulkIndexMembershipsRequest) SetDatasource

func (o *BulkIndexMembershipsRequest) SetDatasource(v string)

SetDatasource sets field value

func (*BulkIndexMembershipsRequest) SetForceRestartUpload

func (o *BulkIndexMembershipsRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (*BulkIndexMembershipsRequest) SetGroup

func (o *BulkIndexMembershipsRequest) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*BulkIndexMembershipsRequest) SetIsFirstPage

func (o *BulkIndexMembershipsRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (*BulkIndexMembershipsRequest) SetIsLastPage

func (o *BulkIndexMembershipsRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (*BulkIndexMembershipsRequest) SetMemberships

SetMemberships sets field value

func (*BulkIndexMembershipsRequest) SetUploadId

func (o *BulkIndexMembershipsRequest) SetUploadId(v string)

SetUploadId sets field value

type BulkIndexRequest

type BulkIndexRequest struct {
	// Unique id that must be used for this instance of datasource employees upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
}

BulkIndexRequest Describes the request body of the /bulkindexteams API call

func NewBulkIndexRequest

func NewBulkIndexRequest(uploadId string) *BulkIndexRequest

NewBulkIndexRequest instantiates a new BulkIndexRequest 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

func NewBulkIndexRequestWithDefaults

func NewBulkIndexRequestWithDefaults() *BulkIndexRequest

NewBulkIndexRequestWithDefaults instantiates a new BulkIndexRequest 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

func (*BulkIndexRequest) GetForceRestartUpload

func (o *BulkIndexRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (*BulkIndexRequest) GetForceRestartUploadOk

func (o *BulkIndexRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexRequest) GetIsFirstPage

func (o *BulkIndexRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (*BulkIndexRequest) GetIsFirstPageOk

func (o *BulkIndexRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexRequest) GetIsLastPage

func (o *BulkIndexRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (*BulkIndexRequest) GetIsLastPageOk

func (o *BulkIndexRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexRequest) GetUploadId

func (o *BulkIndexRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (*BulkIndexRequest) GetUploadIdOk

func (o *BulkIndexRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (*BulkIndexRequest) HasForceRestartUpload

func (o *BulkIndexRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (*BulkIndexRequest) HasIsFirstPage

func (o *BulkIndexRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (*BulkIndexRequest) HasIsLastPage

func (o *BulkIndexRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (BulkIndexRequest) MarshalJSON

func (o BulkIndexRequest) MarshalJSON() ([]byte, error)

func (*BulkIndexRequest) SetForceRestartUpload

func (o *BulkIndexRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (*BulkIndexRequest) SetIsFirstPage

func (o *BulkIndexRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (*BulkIndexRequest) SetIsLastPage

func (o *BulkIndexRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (*BulkIndexRequest) SetUploadId

func (o *BulkIndexRequest) SetUploadId(v string)

SetUploadId sets field value

type BulkIndexTeamsRequest

type BulkIndexTeamsRequest struct {
	// Unique id that must be used for this instance of datasource employees upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// Batch of team information
	Teams []TeamInfoDefinition `json:"teams"`
}

BulkIndexTeamsRequest Describes the request body of the /bulkindexteams API call

func NewBulkIndexTeamsRequest

func NewBulkIndexTeamsRequest(uploadId string, teams []TeamInfoDefinition) *BulkIndexTeamsRequest

NewBulkIndexTeamsRequest instantiates a new BulkIndexTeamsRequest 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

func NewBulkIndexTeamsRequestWithDefaults

func NewBulkIndexTeamsRequestWithDefaults() *BulkIndexTeamsRequest

NewBulkIndexTeamsRequestWithDefaults instantiates a new BulkIndexTeamsRequest 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

func (*BulkIndexTeamsRequest) GetForceRestartUpload

func (o *BulkIndexTeamsRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (*BulkIndexTeamsRequest) GetForceRestartUploadOk

func (o *BulkIndexTeamsRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexTeamsRequest) GetIsFirstPage

func (o *BulkIndexTeamsRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (*BulkIndexTeamsRequest) GetIsFirstPageOk

func (o *BulkIndexTeamsRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexTeamsRequest) GetIsLastPage

func (o *BulkIndexTeamsRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (*BulkIndexTeamsRequest) GetIsLastPageOk

func (o *BulkIndexTeamsRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexTeamsRequest) GetTeams

func (o *BulkIndexTeamsRequest) GetTeams() []TeamInfoDefinition

GetTeams returns the Teams field value

func (*BulkIndexTeamsRequest) GetTeamsOk

func (o *BulkIndexTeamsRequest) GetTeamsOk() ([]TeamInfoDefinition, bool)

GetTeamsOk returns a tuple with the Teams field value and a boolean to check if the value has been set.

func (*BulkIndexTeamsRequest) GetUploadId

func (o *BulkIndexTeamsRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (*BulkIndexTeamsRequest) GetUploadIdOk

func (o *BulkIndexTeamsRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (*BulkIndexTeamsRequest) HasForceRestartUpload

func (o *BulkIndexTeamsRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (*BulkIndexTeamsRequest) HasIsFirstPage

func (o *BulkIndexTeamsRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (*BulkIndexTeamsRequest) HasIsLastPage

func (o *BulkIndexTeamsRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (BulkIndexTeamsRequest) MarshalJSON

func (o BulkIndexTeamsRequest) MarshalJSON() ([]byte, error)

func (*BulkIndexTeamsRequest) SetForceRestartUpload

func (o *BulkIndexTeamsRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (*BulkIndexTeamsRequest) SetIsFirstPage

func (o *BulkIndexTeamsRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (*BulkIndexTeamsRequest) SetIsLastPage

func (o *BulkIndexTeamsRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (*BulkIndexTeamsRequest) SetTeams

func (o *BulkIndexTeamsRequest) SetTeams(v []TeamInfoDefinition)

SetTeams sets field value

func (*BulkIndexTeamsRequest) SetUploadId

func (o *BulkIndexTeamsRequest) SetUploadId(v string)

SetUploadId sets field value

type BulkIndexTeamsRequestAllOf

type BulkIndexTeamsRequestAllOf struct {
	// Batch of team information
	Teams []TeamInfoDefinition `json:"teams"`
}

BulkIndexTeamsRequestAllOf struct for BulkIndexTeamsRequestAllOf

func NewBulkIndexTeamsRequestAllOf

func NewBulkIndexTeamsRequestAllOf(teams []TeamInfoDefinition) *BulkIndexTeamsRequestAllOf

NewBulkIndexTeamsRequestAllOf instantiates a new BulkIndexTeamsRequestAllOf 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

func NewBulkIndexTeamsRequestAllOfWithDefaults

func NewBulkIndexTeamsRequestAllOfWithDefaults() *BulkIndexTeamsRequestAllOf

NewBulkIndexTeamsRequestAllOfWithDefaults instantiates a new BulkIndexTeamsRequestAllOf 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

func (*BulkIndexTeamsRequestAllOf) GetTeams

GetTeams returns the Teams field value

func (*BulkIndexTeamsRequestAllOf) GetTeamsOk

func (o *BulkIndexTeamsRequestAllOf) GetTeamsOk() ([]TeamInfoDefinition, bool)

GetTeamsOk returns a tuple with the Teams field value and a boolean to check if the value has been set.

func (BulkIndexTeamsRequestAllOf) MarshalJSON

func (o BulkIndexTeamsRequestAllOf) MarshalJSON() ([]byte, error)

func (*BulkIndexTeamsRequestAllOf) SetTeams

SetTeams sets field value

type BulkIndexUsersRequest

type BulkIndexUsersRequest struct {
	// Unique id that must be used for this instance of datasource users upload
	UploadId string `json:"uploadId"`
	// true if this is the first page of the upload. Defaults to false
	IsFirstPage *bool `json:"isFirstPage,omitempty"`
	// true if this is the last page of the upload. Defaults to false
	IsLastPage *bool `json:"isLastPage,omitempty"`
	// Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true
	ForceRestartUpload *bool `json:"forceRestartUpload,omitempty"`
	// datasource of the users
	Datasource string `json:"datasource"`
	// batch of users for the datasource
	Users []DatasourceUserDefinition `json:"users"`
}

BulkIndexUsersRequest Describes the request body for the /bulkindexusers API call

func NewBulkIndexUsersRequest

func NewBulkIndexUsersRequest(uploadId string, datasource string, users []DatasourceUserDefinition) *BulkIndexUsersRequest

NewBulkIndexUsersRequest instantiates a new BulkIndexUsersRequest 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

func NewBulkIndexUsersRequestWithDefaults

func NewBulkIndexUsersRequestWithDefaults() *BulkIndexUsersRequest

NewBulkIndexUsersRequestWithDefaults instantiates a new BulkIndexUsersRequest 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

func (*BulkIndexUsersRequest) GetDatasource

func (o *BulkIndexUsersRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*BulkIndexUsersRequest) GetDatasourceOk

func (o *BulkIndexUsersRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*BulkIndexUsersRequest) GetForceRestartUpload

func (o *BulkIndexUsersRequest) GetForceRestartUpload() bool

GetForceRestartUpload returns the ForceRestartUpload field value if set, zero value otherwise.

func (*BulkIndexUsersRequest) GetForceRestartUploadOk

func (o *BulkIndexUsersRequest) GetForceRestartUploadOk() (*bool, bool)

GetForceRestartUploadOk returns a tuple with the ForceRestartUpload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexUsersRequest) GetIsFirstPage

func (o *BulkIndexUsersRequest) GetIsFirstPage() bool

GetIsFirstPage returns the IsFirstPage field value if set, zero value otherwise.

func (*BulkIndexUsersRequest) GetIsFirstPageOk

func (o *BulkIndexUsersRequest) GetIsFirstPageOk() (*bool, bool)

GetIsFirstPageOk returns a tuple with the IsFirstPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexUsersRequest) GetIsLastPage

func (o *BulkIndexUsersRequest) GetIsLastPage() bool

GetIsLastPage returns the IsLastPage field value if set, zero value otherwise.

func (*BulkIndexUsersRequest) GetIsLastPageOk

func (o *BulkIndexUsersRequest) GetIsLastPageOk() (*bool, bool)

GetIsLastPageOk returns a tuple with the IsLastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BulkIndexUsersRequest) GetUploadId

func (o *BulkIndexUsersRequest) GetUploadId() string

GetUploadId returns the UploadId field value

func (*BulkIndexUsersRequest) GetUploadIdOk

func (o *BulkIndexUsersRequest) GetUploadIdOk() (*string, bool)

GetUploadIdOk returns a tuple with the UploadId field value and a boolean to check if the value has been set.

func (*BulkIndexUsersRequest) GetUsers

GetUsers returns the Users field value

func (*BulkIndexUsersRequest) GetUsersOk

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (*BulkIndexUsersRequest) HasForceRestartUpload

func (o *BulkIndexUsersRequest) HasForceRestartUpload() bool

HasForceRestartUpload returns a boolean if a field has been set.

func (*BulkIndexUsersRequest) HasIsFirstPage

func (o *BulkIndexUsersRequest) HasIsFirstPage() bool

HasIsFirstPage returns a boolean if a field has been set.

func (*BulkIndexUsersRequest) HasIsLastPage

func (o *BulkIndexUsersRequest) HasIsLastPage() bool

HasIsLastPage returns a boolean if a field has been set.

func (BulkIndexUsersRequest) MarshalJSON

func (o BulkIndexUsersRequest) MarshalJSON() ([]byte, error)

func (*BulkIndexUsersRequest) SetDatasource

func (o *BulkIndexUsersRequest) SetDatasource(v string)

SetDatasource sets field value

func (*BulkIndexUsersRequest) SetForceRestartUpload

func (o *BulkIndexUsersRequest) SetForceRestartUpload(v bool)

SetForceRestartUpload gets a reference to the given bool and assigns it to the ForceRestartUpload field.

func (*BulkIndexUsersRequest) SetIsFirstPage

func (o *BulkIndexUsersRequest) SetIsFirstPage(v bool)

SetIsFirstPage gets a reference to the given bool and assigns it to the IsFirstPage field.

func (*BulkIndexUsersRequest) SetIsLastPage

func (o *BulkIndexUsersRequest) SetIsLastPage(v bool)

SetIsLastPage gets a reference to the given bool and assigns it to the IsLastPage field.

func (*BulkIndexUsersRequest) SetUploadId

func (o *BulkIndexUsersRequest) SetUploadId(v string)

SetUploadId sets field value

func (*BulkIndexUsersRequest) SetUsers

SetUsers sets field value

type CanonicalizingRegexType

type CanonicalizingRegexType struct {
	// Regular expression to match to an arbitrary string.
	MatchRegex *string `json:"matchRegex,omitempty"`
	// Regular expression to transform into a canonical string.
	RewriteRegex *string `json:"rewriteRegex,omitempty"`
}

CanonicalizingRegexType Regular expression to apply to an arbitrary string to transform it into a canonical string.

func NewCanonicalizingRegexType

func NewCanonicalizingRegexType() *CanonicalizingRegexType

NewCanonicalizingRegexType instantiates a new CanonicalizingRegexType 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

func NewCanonicalizingRegexTypeWithDefaults

func NewCanonicalizingRegexTypeWithDefaults() *CanonicalizingRegexType

NewCanonicalizingRegexTypeWithDefaults instantiates a new CanonicalizingRegexType 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

func (*CanonicalizingRegexType) GetMatchRegex

func (o *CanonicalizingRegexType) GetMatchRegex() string

GetMatchRegex returns the MatchRegex field value if set, zero value otherwise.

func (*CanonicalizingRegexType) GetMatchRegexOk

func (o *CanonicalizingRegexType) GetMatchRegexOk() (*string, bool)

GetMatchRegexOk returns a tuple with the MatchRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CanonicalizingRegexType) GetRewriteRegex

func (o *CanonicalizingRegexType) GetRewriteRegex() string

GetRewriteRegex returns the RewriteRegex field value if set, zero value otherwise.

func (*CanonicalizingRegexType) GetRewriteRegexOk

func (o *CanonicalizingRegexType) GetRewriteRegexOk() (*string, bool)

GetRewriteRegexOk returns a tuple with the RewriteRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CanonicalizingRegexType) HasMatchRegex

func (o *CanonicalizingRegexType) HasMatchRegex() bool

HasMatchRegex returns a boolean if a field has been set.

func (*CanonicalizingRegexType) HasRewriteRegex

func (o *CanonicalizingRegexType) HasRewriteRegex() bool

HasRewriteRegex returns a boolean if a field has been set.

func (CanonicalizingRegexType) MarshalJSON

func (o CanonicalizingRegexType) MarshalJSON() ([]byte, error)

func (*CanonicalizingRegexType) SetMatchRegex

func (o *CanonicalizingRegexType) SetMatchRegex(v string)

SetMatchRegex gets a reference to the given string and assigns it to the MatchRegex field.

func (*CanonicalizingRegexType) SetRewriteRegex

func (o *CanonicalizingRegexType) SetRewriteRegex(v string)

SetRewriteRegex gets a reference to the given string and assigns it to the RewriteRegex field.

type CheckDocumentAccessRequest

type CheckDocumentAccessRequest struct {
	// Datasource of document to get check access for
	Datasource string `json:"datasource"`
	// Object type of document to get check access for
	ObjectType string `json:"objectType"`
	// ID of document to get check access for
	DocId string `json:"docId"`
	// Email of user to check access for
	UserEmail string `json:"userEmail"`
}

CheckDocumentAccessRequest Describes the request body of the /checkdocumentaccess API call

func NewCheckDocumentAccessRequest

func NewCheckDocumentAccessRequest(datasource string, objectType string, docId string, userEmail string) *CheckDocumentAccessRequest

NewCheckDocumentAccessRequest instantiates a new CheckDocumentAccessRequest 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

func NewCheckDocumentAccessRequestWithDefaults

func NewCheckDocumentAccessRequestWithDefaults() *CheckDocumentAccessRequest

NewCheckDocumentAccessRequestWithDefaults instantiates a new CheckDocumentAccessRequest 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

func (*CheckDocumentAccessRequest) GetDatasource

func (o *CheckDocumentAccessRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*CheckDocumentAccessRequest) GetDatasourceOk

func (o *CheckDocumentAccessRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*CheckDocumentAccessRequest) GetDocId

func (o *CheckDocumentAccessRequest) GetDocId() string

GetDocId returns the DocId field value

func (*CheckDocumentAccessRequest) GetDocIdOk

func (o *CheckDocumentAccessRequest) GetDocIdOk() (*string, bool)

GetDocIdOk returns a tuple with the DocId field value and a boolean to check if the value has been set.

func (*CheckDocumentAccessRequest) GetObjectType

func (o *CheckDocumentAccessRequest) GetObjectType() string

GetObjectType returns the ObjectType field value

func (*CheckDocumentAccessRequest) GetObjectTypeOk

func (o *CheckDocumentAccessRequest) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field value and a boolean to check if the value has been set.

func (*CheckDocumentAccessRequest) GetUserEmail

func (o *CheckDocumentAccessRequest) GetUserEmail() string

GetUserEmail returns the UserEmail field value

func (*CheckDocumentAccessRequest) GetUserEmailOk

func (o *CheckDocumentAccessRequest) GetUserEmailOk() (*string, bool)

GetUserEmailOk returns a tuple with the UserEmail field value and a boolean to check if the value has been set.

func (CheckDocumentAccessRequest) MarshalJSON

func (o CheckDocumentAccessRequest) MarshalJSON() ([]byte, error)

func (*CheckDocumentAccessRequest) SetDatasource

func (o *CheckDocumentAccessRequest) SetDatasource(v string)

SetDatasource sets field value

func (*CheckDocumentAccessRequest) SetDocId

func (o *CheckDocumentAccessRequest) SetDocId(v string)

SetDocId sets field value

func (*CheckDocumentAccessRequest) SetObjectType

func (o *CheckDocumentAccessRequest) SetObjectType(v string)

SetObjectType sets field value

func (*CheckDocumentAccessRequest) SetUserEmail

func (o *CheckDocumentAccessRequest) SetUserEmail(v string)

SetUserEmail sets field value

type CheckDocumentAccessResponse

type CheckDocumentAccessResponse struct {
	// If true, user has access to document for search
	HasAccess *bool `json:"hasAccess,omitempty"`
}

CheckDocumentAccessResponse Describes the response body of the /checkdocumentaccess API call

func NewCheckDocumentAccessResponse

func NewCheckDocumentAccessResponse() *CheckDocumentAccessResponse

NewCheckDocumentAccessResponse instantiates a new CheckDocumentAccessResponse 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

func NewCheckDocumentAccessResponseWithDefaults

func NewCheckDocumentAccessResponseWithDefaults() *CheckDocumentAccessResponse

NewCheckDocumentAccessResponseWithDefaults instantiates a new CheckDocumentAccessResponse 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

func (*CheckDocumentAccessResponse) GetHasAccess

func (o *CheckDocumentAccessResponse) GetHasAccess() bool

GetHasAccess returns the HasAccess field value if set, zero value otherwise.

func (*CheckDocumentAccessResponse) GetHasAccessOk

func (o *CheckDocumentAccessResponse) GetHasAccessOk() (*bool, bool)

GetHasAccessOk returns a tuple with the HasAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CheckDocumentAccessResponse) HasHasAccess

func (o *CheckDocumentAccessResponse) HasHasAccess() bool

HasHasAccess returns a boolean if a field has been set.

func (CheckDocumentAccessResponse) MarshalJSON

func (o CheckDocumentAccessResponse) MarshalJSON() ([]byte, error)

func (*CheckDocumentAccessResponse) SetHasAccess

func (o *CheckDocumentAccessResponse) SetHasAccess(v bool)

SetHasAccess gets a reference to the given bool and assigns it to the HasAccess field.

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ConnectorType

type ConnectorType string

ConnectorType The source from which document content was pulled, e.g. an API crawl or browser history

const (
	API_CRAWL        ConnectorType = "API_CRAWL"
	BROWSER_CRAWL    ConnectorType = "BROWSER_CRAWL"
	BROWSER_HISTORY  ConnectorType = "BROWSER_HISTORY"
	BUILTIN          ConnectorType = "BUILTIN"
	FEDERATED_SEARCH ConnectorType = "FEDERATED_SEARCH"
	PUSH_API         ConnectorType = "PUSH_API"
	WEB_CRAWL        ConnectorType = "WEB_CRAWL"
	NATIVE_HISTORY   ConnectorType = "NATIVE_HISTORY"
)

List of ConnectorType

func NewConnectorTypeFromValue

func NewConnectorTypeFromValue(v string) (*ConnectorType, error)

NewConnectorTypeFromValue returns a pointer to a valid ConnectorType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ConnectorType) IsValid

func (v ConnectorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ConnectorType) Ptr

func (v ConnectorType) Ptr() *ConnectorType

Ptr returns reference to ConnectorType value

func (*ConnectorType) UnmarshalJSON

func (v *ConnectorType) UnmarshalJSON(src []byte) error

type ContentDefinition

type ContentDefinition struct {
	MimeType string `json:"mimeType"`
	// text content. Only one of textContent or binary content can be specified
	TextContent *string `json:"textContent,omitempty"`
	// base64 encoded binary content. Only one of textContent or binary content can be specified
	BinaryContent *string `json:"binaryContent,omitempty"`
}

ContentDefinition Describes text content or base64 encoded binary content

func NewContentDefinition

func NewContentDefinition(mimeType string) *ContentDefinition

NewContentDefinition instantiates a new ContentDefinition 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

func NewContentDefinitionWithDefaults

func NewContentDefinitionWithDefaults() *ContentDefinition

NewContentDefinitionWithDefaults instantiates a new ContentDefinition 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

func (*ContentDefinition) GetBinaryContent

func (o *ContentDefinition) GetBinaryContent() string

GetBinaryContent returns the BinaryContent field value if set, zero value otherwise.

func (*ContentDefinition) GetBinaryContentOk

func (o *ContentDefinition) GetBinaryContentOk() (*string, bool)

GetBinaryContentOk returns a tuple with the BinaryContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentDefinition) GetMimeType

func (o *ContentDefinition) GetMimeType() string

GetMimeType returns the MimeType field value

func (*ContentDefinition) GetMimeTypeOk

func (o *ContentDefinition) GetMimeTypeOk() (*string, bool)

GetMimeTypeOk returns a tuple with the MimeType field value and a boolean to check if the value has been set.

func (*ContentDefinition) GetTextContent

func (o *ContentDefinition) GetTextContent() string

GetTextContent returns the TextContent field value if set, zero value otherwise.

func (*ContentDefinition) GetTextContentOk

func (o *ContentDefinition) GetTextContentOk() (*string, bool)

GetTextContentOk returns a tuple with the TextContent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentDefinition) HasBinaryContent

func (o *ContentDefinition) HasBinaryContent() bool

HasBinaryContent returns a boolean if a field has been set.

func (*ContentDefinition) HasTextContent

func (o *ContentDefinition) HasTextContent() bool

HasTextContent returns a boolean if a field has been set.

func (ContentDefinition) MarshalJSON

func (o ContentDefinition) MarshalJSON() ([]byte, error)

func (*ContentDefinition) SetBinaryContent

func (o *ContentDefinition) SetBinaryContent(v string)

SetBinaryContent gets a reference to the given string and assigns it to the BinaryContent field.

func (*ContentDefinition) SetMimeType

func (o *ContentDefinition) SetMimeType(v string)

SetMimeType sets field value

func (*ContentDefinition) SetTextContent

func (o *ContentDefinition) SetTextContent(v string)

SetTextContent gets a reference to the given string and assigns it to the TextContent field.

type CustomDatasourceConfig

type CustomDatasourceConfig struct {
	// Unique identifier of datasource instance to which this config applies.
	Name string `json:"name"`
	// Example text for what to search for in this datasource
	SuggestionText *string `json:"suggestionText,omitempty"`
	// The user-friendly instance label to display. If omitted, falls back to the title-cased `name`.
	DisplayName *string `json:"displayName,omitempty"`
	// The URL of the landing page for this datasource instance. Should point to the most useful page for users, not the company marketing page.
	HomeUrl *string `json:"homeUrl,omitempty"`
	// This only applies to WEB_CRAWL and BROWSER_CRAWL datasources. Defines the seed urls for crawling.
	CrawlerSeedUrls []string `json:"crawlerSeedUrls,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance in dark mode. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconDarkUrl *string `json:"iconDarkUrl,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconUrl *string `json:"iconUrl,omitempty"`
	// The list of top-level `objectType`s for the datasource.
	ObjectDefinitions []ObjectDefinition `json:"objectDefinitions,omitempty"`
	// List of built-in facet types that should be hidden for the datasource.
	HideBuiltInFacets []string `json:"hideBuiltInFacets,omitempty"`
	// Regular expression that matches URLs of documents of the datasource instance. The behavior for multiple matches is non-deterministic. **Note: urlRegex is a required field for non-entity datasources (ie. datasources where isEntityDatasource is false). Please add a regex as specific as possible to this datasource instance.**
	UrlRegex *string `json:"urlRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary URL to transform it into a canonical URL for this datasource instance. Regexes are to be applied in the order specified in this list.
	CanonicalizingURLRegex []CanonicalizingRegexType `json:"canonicalizingURLRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary title to transform it into a title that will be displayed in the search results
	CanonicalizingTitleRegex []CanonicalizingRegexType `json:"canonicalizingTitleRegex,omitempty"`
	// A regex that identifies titles that should not be indexed
	RedlistTitleRegex *string        `json:"redlistTitleRegex,omitempty"`
	ConnectorType     *ConnectorType `json:"connectorType,omitempty"`
	// List of actions for this datasource instance that will show up in autocomplete and app card, e.g. \"Create new issue\" for jira
	Quicklinks []Quicklink `json:"quicklinks,omitempty"`
	// The name of a render config to use for displaying results from this datasource. Any well known datasource name may be used to render the same as that source, e.g. `web` or `gdrive`.
	RenderConfigPreset *string `json:"renderConfigPreset,omitempty"`
	// Aliases that can be used as `app` operator-values.
	Aliases []string `json:"aliases,omitempty"`
	// The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED.
	DatasourceCategory *string `json:"datasourceCategory,omitempty"`
	// Whether or not this datasource is hosted on-premise.
	IsOnPrem *bool `json:"isOnPrem,omitempty"`
	// True if browser activity is able to report the correct URL for VIEW events. Set this to true if the URLs reported by Chrome are constant throughout each page load. Set this to false if the page has Javascript that modifies the URL during or after the load.
	TrustUrlRegexForViewActivity *bool `json:"trustUrlRegexForViewActivity,omitempty"`
	// If true, a utm_source query param will be added to outbound links to this datasource within Glean.
	IncludeUtmSource *bool `json:"includeUtmSource,omitempty"`
	// If the datasource uses another datasource for identity info, then the name of the datasource. The identity datasource must exist already.
	IdentityDatasourceName *string `json:"identityDatasourceName,omitempty"`
	// If the datasource uses a specific product access group, then the name of that group.
	ProductAccessGroup *string `json:"productAccessGroup,omitempty"`
	// whether email is used to reference users in document ACLs and in group memberships.
	IsUserReferencedByEmail *bool `json:"isUserReferencedByEmail,omitempty"`
	// True if this datasource is used to push custom entities.
	IsEntityDatasource *bool `json:"isEntityDatasource,omitempty"`
	// True if this datasource will be used for testing purpose only. Documents from such a datasource wouldn't have any effect on search rankings.
	IsTestDatasource *bool `json:"isTestDatasource,omitempty"`
}

CustomDatasourceConfig Structure describing config properties of a custom datasource

func NewCustomDatasourceConfig

func NewCustomDatasourceConfig(name string) *CustomDatasourceConfig

NewCustomDatasourceConfig instantiates a new CustomDatasourceConfig 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

func NewCustomDatasourceConfigWithDefaults

func NewCustomDatasourceConfigWithDefaults() *CustomDatasourceConfig

NewCustomDatasourceConfigWithDefaults instantiates a new CustomDatasourceConfig 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

func (*CustomDatasourceConfig) GetAliases

func (o *CustomDatasourceConfig) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetAliasesOk

func (o *CustomDatasourceConfig) GetAliasesOk() ([]string, bool)

GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetCanonicalizingTitleRegex

func (o *CustomDatasourceConfig) GetCanonicalizingTitleRegex() []CanonicalizingRegexType

GetCanonicalizingTitleRegex returns the CanonicalizingTitleRegex field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetCanonicalizingTitleRegexOk

func (o *CustomDatasourceConfig) GetCanonicalizingTitleRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingTitleRegexOk returns a tuple with the CanonicalizingTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetCanonicalizingURLRegex

func (o *CustomDatasourceConfig) GetCanonicalizingURLRegex() []CanonicalizingRegexType

GetCanonicalizingURLRegex returns the CanonicalizingURLRegex field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetCanonicalizingURLRegexOk

func (o *CustomDatasourceConfig) GetCanonicalizingURLRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingURLRegexOk returns a tuple with the CanonicalizingURLRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetConnectorType

func (o *CustomDatasourceConfig) GetConnectorType() ConnectorType

GetConnectorType returns the ConnectorType field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetConnectorTypeOk

func (o *CustomDatasourceConfig) GetConnectorTypeOk() (*ConnectorType, bool)

GetConnectorTypeOk returns a tuple with the ConnectorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetCrawlerSeedUrls

func (o *CustomDatasourceConfig) GetCrawlerSeedUrls() []string

GetCrawlerSeedUrls returns the CrawlerSeedUrls field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetCrawlerSeedUrlsOk

func (o *CustomDatasourceConfig) GetCrawlerSeedUrlsOk() ([]string, bool)

GetCrawlerSeedUrlsOk returns a tuple with the CrawlerSeedUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetDatasourceCategory

func (o *CustomDatasourceConfig) GetDatasourceCategory() string

GetDatasourceCategory returns the DatasourceCategory field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetDatasourceCategoryOk

func (o *CustomDatasourceConfig) GetDatasourceCategoryOk() (*string, bool)

GetDatasourceCategoryOk returns a tuple with the DatasourceCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetDisplayName

func (o *CustomDatasourceConfig) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetDisplayNameOk

func (o *CustomDatasourceConfig) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetHideBuiltInFacets

func (o *CustomDatasourceConfig) GetHideBuiltInFacets() []string

GetHideBuiltInFacets returns the HideBuiltInFacets field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetHideBuiltInFacetsOk

func (o *CustomDatasourceConfig) GetHideBuiltInFacetsOk() ([]string, bool)

GetHideBuiltInFacetsOk returns a tuple with the HideBuiltInFacets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetHomeUrl

func (o *CustomDatasourceConfig) GetHomeUrl() string

GetHomeUrl returns the HomeUrl field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetHomeUrlOk

func (o *CustomDatasourceConfig) GetHomeUrlOk() (*string, bool)

GetHomeUrlOk returns a tuple with the HomeUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetIconDarkUrl

func (o *CustomDatasourceConfig) GetIconDarkUrl() string

GetIconDarkUrl returns the IconDarkUrl field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetIconDarkUrlOk

func (o *CustomDatasourceConfig) GetIconDarkUrlOk() (*string, bool)

GetIconDarkUrlOk returns a tuple with the IconDarkUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetIconUrl

func (o *CustomDatasourceConfig) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetIconUrlOk

func (o *CustomDatasourceConfig) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetIdentityDatasourceName

func (o *CustomDatasourceConfig) GetIdentityDatasourceName() string

GetIdentityDatasourceName returns the IdentityDatasourceName field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetIdentityDatasourceNameOk

func (o *CustomDatasourceConfig) GetIdentityDatasourceNameOk() (*string, bool)

GetIdentityDatasourceNameOk returns a tuple with the IdentityDatasourceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetIncludeUtmSource

func (o *CustomDatasourceConfig) GetIncludeUtmSource() bool

GetIncludeUtmSource returns the IncludeUtmSource field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetIncludeUtmSourceOk

func (o *CustomDatasourceConfig) GetIncludeUtmSourceOk() (*bool, bool)

GetIncludeUtmSourceOk returns a tuple with the IncludeUtmSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetIsEntityDatasource

func (o *CustomDatasourceConfig) GetIsEntityDatasource() bool

GetIsEntityDatasource returns the IsEntityDatasource field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetIsEntityDatasourceOk

func (o *CustomDatasourceConfig) GetIsEntityDatasourceOk() (*bool, bool)

GetIsEntityDatasourceOk returns a tuple with the IsEntityDatasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetIsOnPrem

func (o *CustomDatasourceConfig) GetIsOnPrem() bool

GetIsOnPrem returns the IsOnPrem field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetIsOnPremOk

func (o *CustomDatasourceConfig) GetIsOnPremOk() (*bool, bool)

GetIsOnPremOk returns a tuple with the IsOnPrem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetIsTestDatasource

func (o *CustomDatasourceConfig) GetIsTestDatasource() bool

GetIsTestDatasource returns the IsTestDatasource field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetIsTestDatasourceOk

func (o *CustomDatasourceConfig) GetIsTestDatasourceOk() (*bool, bool)

GetIsTestDatasourceOk returns a tuple with the IsTestDatasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetIsUserReferencedByEmail

func (o *CustomDatasourceConfig) GetIsUserReferencedByEmail() bool

GetIsUserReferencedByEmail returns the IsUserReferencedByEmail field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetIsUserReferencedByEmailOk

func (o *CustomDatasourceConfig) GetIsUserReferencedByEmailOk() (*bool, bool)

GetIsUserReferencedByEmailOk returns a tuple with the IsUserReferencedByEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetName

func (o *CustomDatasourceConfig) GetName() string

GetName returns the Name field value

func (*CustomDatasourceConfig) GetNameOk

func (o *CustomDatasourceConfig) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetObjectDefinitions

func (o *CustomDatasourceConfig) GetObjectDefinitions() []ObjectDefinition

GetObjectDefinitions returns the ObjectDefinitions field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetObjectDefinitionsOk

func (o *CustomDatasourceConfig) GetObjectDefinitionsOk() ([]ObjectDefinition, bool)

GetObjectDefinitionsOk returns a tuple with the ObjectDefinitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetProductAccessGroup

func (o *CustomDatasourceConfig) GetProductAccessGroup() string

GetProductAccessGroup returns the ProductAccessGroup field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetProductAccessGroupOk

func (o *CustomDatasourceConfig) GetProductAccessGroupOk() (*string, bool)

GetProductAccessGroupOk returns a tuple with the ProductAccessGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CustomDatasourceConfig) GetQuicklinks() []Quicklink

GetQuicklinks returns the Quicklinks field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetQuicklinksOk

func (o *CustomDatasourceConfig) GetQuicklinksOk() ([]Quicklink, bool)

GetQuicklinksOk returns a tuple with the Quicklinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetRedlistTitleRegex

func (o *CustomDatasourceConfig) GetRedlistTitleRegex() string

GetRedlistTitleRegex returns the RedlistTitleRegex field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetRedlistTitleRegexOk

func (o *CustomDatasourceConfig) GetRedlistTitleRegexOk() (*string, bool)

GetRedlistTitleRegexOk returns a tuple with the RedlistTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetRenderConfigPreset

func (o *CustomDatasourceConfig) GetRenderConfigPreset() string

GetRenderConfigPreset returns the RenderConfigPreset field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetRenderConfigPresetOk

func (o *CustomDatasourceConfig) GetRenderConfigPresetOk() (*string, bool)

GetRenderConfigPresetOk returns a tuple with the RenderConfigPreset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetSuggestionText

func (o *CustomDatasourceConfig) GetSuggestionText() string

GetSuggestionText returns the SuggestionText field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetSuggestionTextOk

func (o *CustomDatasourceConfig) GetSuggestionTextOk() (*string, bool)

GetSuggestionTextOk returns a tuple with the SuggestionText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetTrustUrlRegexForViewActivity

func (o *CustomDatasourceConfig) GetTrustUrlRegexForViewActivity() bool

GetTrustUrlRegexForViewActivity returns the TrustUrlRegexForViewActivity field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetTrustUrlRegexForViewActivityOk

func (o *CustomDatasourceConfig) GetTrustUrlRegexForViewActivityOk() (*bool, bool)

GetTrustUrlRegexForViewActivityOk returns a tuple with the TrustUrlRegexForViewActivity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) GetUrlRegex

func (o *CustomDatasourceConfig) GetUrlRegex() string

GetUrlRegex returns the UrlRegex field value if set, zero value otherwise.

func (*CustomDatasourceConfig) GetUrlRegexOk

func (o *CustomDatasourceConfig) GetUrlRegexOk() (*string, bool)

GetUrlRegexOk returns a tuple with the UrlRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfig) HasAliases

func (o *CustomDatasourceConfig) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasCanonicalizingTitleRegex

func (o *CustomDatasourceConfig) HasCanonicalizingTitleRegex() bool

HasCanonicalizingTitleRegex returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasCanonicalizingURLRegex

func (o *CustomDatasourceConfig) HasCanonicalizingURLRegex() bool

HasCanonicalizingURLRegex returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasConnectorType

func (o *CustomDatasourceConfig) HasConnectorType() bool

HasConnectorType returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasCrawlerSeedUrls

func (o *CustomDatasourceConfig) HasCrawlerSeedUrls() bool

HasCrawlerSeedUrls returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasDatasourceCategory

func (o *CustomDatasourceConfig) HasDatasourceCategory() bool

HasDatasourceCategory returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasDisplayName

func (o *CustomDatasourceConfig) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasHideBuiltInFacets

func (o *CustomDatasourceConfig) HasHideBuiltInFacets() bool

HasHideBuiltInFacets returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasHomeUrl

func (o *CustomDatasourceConfig) HasHomeUrl() bool

HasHomeUrl returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasIconDarkUrl

func (o *CustomDatasourceConfig) HasIconDarkUrl() bool

HasIconDarkUrl returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasIconUrl

func (o *CustomDatasourceConfig) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasIdentityDatasourceName

func (o *CustomDatasourceConfig) HasIdentityDatasourceName() bool

HasIdentityDatasourceName returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasIncludeUtmSource

func (o *CustomDatasourceConfig) HasIncludeUtmSource() bool

HasIncludeUtmSource returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasIsEntityDatasource

func (o *CustomDatasourceConfig) HasIsEntityDatasource() bool

HasIsEntityDatasource returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasIsOnPrem

func (o *CustomDatasourceConfig) HasIsOnPrem() bool

HasIsOnPrem returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasIsTestDatasource

func (o *CustomDatasourceConfig) HasIsTestDatasource() bool

HasIsTestDatasource returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasIsUserReferencedByEmail

func (o *CustomDatasourceConfig) HasIsUserReferencedByEmail() bool

HasIsUserReferencedByEmail returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasObjectDefinitions

func (o *CustomDatasourceConfig) HasObjectDefinitions() bool

HasObjectDefinitions returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasProductAccessGroup

func (o *CustomDatasourceConfig) HasProductAccessGroup() bool

HasProductAccessGroup returns a boolean if a field has been set.

func (o *CustomDatasourceConfig) HasQuicklinks() bool

HasQuicklinks returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasRedlistTitleRegex

func (o *CustomDatasourceConfig) HasRedlistTitleRegex() bool

HasRedlistTitleRegex returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasRenderConfigPreset

func (o *CustomDatasourceConfig) HasRenderConfigPreset() bool

HasRenderConfigPreset returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasSuggestionText

func (o *CustomDatasourceConfig) HasSuggestionText() bool

HasSuggestionText returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasTrustUrlRegexForViewActivity

func (o *CustomDatasourceConfig) HasTrustUrlRegexForViewActivity() bool

HasTrustUrlRegexForViewActivity returns a boolean if a field has been set.

func (*CustomDatasourceConfig) HasUrlRegex

func (o *CustomDatasourceConfig) HasUrlRegex() bool

HasUrlRegex returns a boolean if a field has been set.

func (CustomDatasourceConfig) MarshalJSON

func (o CustomDatasourceConfig) MarshalJSON() ([]byte, error)

func (*CustomDatasourceConfig) SetAliases

func (o *CustomDatasourceConfig) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (*CustomDatasourceConfig) SetCanonicalizingTitleRegex

func (o *CustomDatasourceConfig) SetCanonicalizingTitleRegex(v []CanonicalizingRegexType)

SetCanonicalizingTitleRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingTitleRegex field.

func (*CustomDatasourceConfig) SetCanonicalizingURLRegex

func (o *CustomDatasourceConfig) SetCanonicalizingURLRegex(v []CanonicalizingRegexType)

SetCanonicalizingURLRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingURLRegex field.

func (*CustomDatasourceConfig) SetConnectorType

func (o *CustomDatasourceConfig) SetConnectorType(v ConnectorType)

SetConnectorType gets a reference to the given ConnectorType and assigns it to the ConnectorType field.

func (*CustomDatasourceConfig) SetCrawlerSeedUrls

func (o *CustomDatasourceConfig) SetCrawlerSeedUrls(v []string)

SetCrawlerSeedUrls gets a reference to the given []string and assigns it to the CrawlerSeedUrls field.

func (*CustomDatasourceConfig) SetDatasourceCategory

func (o *CustomDatasourceConfig) SetDatasourceCategory(v string)

SetDatasourceCategory gets a reference to the given string and assigns it to the DatasourceCategory field.

func (*CustomDatasourceConfig) SetDisplayName

func (o *CustomDatasourceConfig) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*CustomDatasourceConfig) SetHideBuiltInFacets

func (o *CustomDatasourceConfig) SetHideBuiltInFacets(v []string)

SetHideBuiltInFacets gets a reference to the given []string and assigns it to the HideBuiltInFacets field.

func (*CustomDatasourceConfig) SetHomeUrl

func (o *CustomDatasourceConfig) SetHomeUrl(v string)

SetHomeUrl gets a reference to the given string and assigns it to the HomeUrl field.

func (*CustomDatasourceConfig) SetIconDarkUrl

func (o *CustomDatasourceConfig) SetIconDarkUrl(v string)

SetIconDarkUrl gets a reference to the given string and assigns it to the IconDarkUrl field.

func (*CustomDatasourceConfig) SetIconUrl

func (o *CustomDatasourceConfig) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*CustomDatasourceConfig) SetIdentityDatasourceName

func (o *CustomDatasourceConfig) SetIdentityDatasourceName(v string)

SetIdentityDatasourceName gets a reference to the given string and assigns it to the IdentityDatasourceName field.

func (*CustomDatasourceConfig) SetIncludeUtmSource

func (o *CustomDatasourceConfig) SetIncludeUtmSource(v bool)

SetIncludeUtmSource gets a reference to the given bool and assigns it to the IncludeUtmSource field.

func (*CustomDatasourceConfig) SetIsEntityDatasource

func (o *CustomDatasourceConfig) SetIsEntityDatasource(v bool)

SetIsEntityDatasource gets a reference to the given bool and assigns it to the IsEntityDatasource field.

func (*CustomDatasourceConfig) SetIsOnPrem

func (o *CustomDatasourceConfig) SetIsOnPrem(v bool)

SetIsOnPrem gets a reference to the given bool and assigns it to the IsOnPrem field.

func (*CustomDatasourceConfig) SetIsTestDatasource

func (o *CustomDatasourceConfig) SetIsTestDatasource(v bool)

SetIsTestDatasource gets a reference to the given bool and assigns it to the IsTestDatasource field.

func (*CustomDatasourceConfig) SetIsUserReferencedByEmail

func (o *CustomDatasourceConfig) SetIsUserReferencedByEmail(v bool)

SetIsUserReferencedByEmail gets a reference to the given bool and assigns it to the IsUserReferencedByEmail field.

func (*CustomDatasourceConfig) SetName

func (o *CustomDatasourceConfig) SetName(v string)

SetName sets field value

func (*CustomDatasourceConfig) SetObjectDefinitions

func (o *CustomDatasourceConfig) SetObjectDefinitions(v []ObjectDefinition)

SetObjectDefinitions gets a reference to the given []ObjectDefinition and assigns it to the ObjectDefinitions field.

func (*CustomDatasourceConfig) SetProductAccessGroup

func (o *CustomDatasourceConfig) SetProductAccessGroup(v string)

SetProductAccessGroup gets a reference to the given string and assigns it to the ProductAccessGroup field.

func (o *CustomDatasourceConfig) SetQuicklinks(v []Quicklink)

SetQuicklinks gets a reference to the given []Quicklink and assigns it to the Quicklinks field.

func (*CustomDatasourceConfig) SetRedlistTitleRegex

func (o *CustomDatasourceConfig) SetRedlistTitleRegex(v string)

SetRedlistTitleRegex gets a reference to the given string and assigns it to the RedlistTitleRegex field.

func (*CustomDatasourceConfig) SetRenderConfigPreset

func (o *CustomDatasourceConfig) SetRenderConfigPreset(v string)

SetRenderConfigPreset gets a reference to the given string and assigns it to the RenderConfigPreset field.

func (*CustomDatasourceConfig) SetSuggestionText

func (o *CustomDatasourceConfig) SetSuggestionText(v string)

SetSuggestionText gets a reference to the given string and assigns it to the SuggestionText field.

func (*CustomDatasourceConfig) SetTrustUrlRegexForViewActivity

func (o *CustomDatasourceConfig) SetTrustUrlRegexForViewActivity(v bool)

SetTrustUrlRegexForViewActivity gets a reference to the given bool and assigns it to the TrustUrlRegexForViewActivity field.

func (*CustomDatasourceConfig) SetUrlRegex

func (o *CustomDatasourceConfig) SetUrlRegex(v string)

SetUrlRegex gets a reference to the given string and assigns it to the UrlRegex field.

type CustomDatasourceConfigAllOf

type CustomDatasourceConfigAllOf struct {
	// If the datasource uses another datasource for identity info, then the name of the datasource. The identity datasource must exist already.
	IdentityDatasourceName *string `json:"identityDatasourceName,omitempty"`
	// If the datasource uses a specific product access group, then the name of that group.
	ProductAccessGroup *string `json:"productAccessGroup,omitempty"`
	// whether email is used to reference users in document ACLs and in group memberships.
	IsUserReferencedByEmail *bool `json:"isUserReferencedByEmail,omitempty"`
	// True if this datasource is used to push custom entities.
	IsEntityDatasource *bool `json:"isEntityDatasource,omitempty"`
	// True if this datasource will be used for testing purpose only. Documents from such a datasource wouldn't have any effect on search rankings.
	IsTestDatasource *bool `json:"isTestDatasource,omitempty"`
}

CustomDatasourceConfigAllOf struct for CustomDatasourceConfigAllOf

func NewCustomDatasourceConfigAllOf

func NewCustomDatasourceConfigAllOf() *CustomDatasourceConfigAllOf

NewCustomDatasourceConfigAllOf instantiates a new CustomDatasourceConfigAllOf 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

func NewCustomDatasourceConfigAllOfWithDefaults

func NewCustomDatasourceConfigAllOfWithDefaults() *CustomDatasourceConfigAllOf

NewCustomDatasourceConfigAllOfWithDefaults instantiates a new CustomDatasourceConfigAllOf 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

func (*CustomDatasourceConfigAllOf) GetIdentityDatasourceName

func (o *CustomDatasourceConfigAllOf) GetIdentityDatasourceName() string

GetIdentityDatasourceName returns the IdentityDatasourceName field value if set, zero value otherwise.

func (*CustomDatasourceConfigAllOf) GetIdentityDatasourceNameOk

func (o *CustomDatasourceConfigAllOf) GetIdentityDatasourceNameOk() (*string, bool)

GetIdentityDatasourceNameOk returns a tuple with the IdentityDatasourceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfigAllOf) GetIsEntityDatasource

func (o *CustomDatasourceConfigAllOf) GetIsEntityDatasource() bool

GetIsEntityDatasource returns the IsEntityDatasource field value if set, zero value otherwise.

func (*CustomDatasourceConfigAllOf) GetIsEntityDatasourceOk

func (o *CustomDatasourceConfigAllOf) GetIsEntityDatasourceOk() (*bool, bool)

GetIsEntityDatasourceOk returns a tuple with the IsEntityDatasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfigAllOf) GetIsTestDatasource

func (o *CustomDatasourceConfigAllOf) GetIsTestDatasource() bool

GetIsTestDatasource returns the IsTestDatasource field value if set, zero value otherwise.

func (*CustomDatasourceConfigAllOf) GetIsTestDatasourceOk

func (o *CustomDatasourceConfigAllOf) GetIsTestDatasourceOk() (*bool, bool)

GetIsTestDatasourceOk returns a tuple with the IsTestDatasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfigAllOf) GetIsUserReferencedByEmail

func (o *CustomDatasourceConfigAllOf) GetIsUserReferencedByEmail() bool

GetIsUserReferencedByEmail returns the IsUserReferencedByEmail field value if set, zero value otherwise.

func (*CustomDatasourceConfigAllOf) GetIsUserReferencedByEmailOk

func (o *CustomDatasourceConfigAllOf) GetIsUserReferencedByEmailOk() (*bool, bool)

GetIsUserReferencedByEmailOk returns a tuple with the IsUserReferencedByEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfigAllOf) GetProductAccessGroup

func (o *CustomDatasourceConfigAllOf) GetProductAccessGroup() string

GetProductAccessGroup returns the ProductAccessGroup field value if set, zero value otherwise.

func (*CustomDatasourceConfigAllOf) GetProductAccessGroupOk

func (o *CustomDatasourceConfigAllOf) GetProductAccessGroupOk() (*string, bool)

GetProductAccessGroupOk returns a tuple with the ProductAccessGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomDatasourceConfigAllOf) HasIdentityDatasourceName

func (o *CustomDatasourceConfigAllOf) HasIdentityDatasourceName() bool

HasIdentityDatasourceName returns a boolean if a field has been set.

func (*CustomDatasourceConfigAllOf) HasIsEntityDatasource

func (o *CustomDatasourceConfigAllOf) HasIsEntityDatasource() bool

HasIsEntityDatasource returns a boolean if a field has been set.

func (*CustomDatasourceConfigAllOf) HasIsTestDatasource

func (o *CustomDatasourceConfigAllOf) HasIsTestDatasource() bool

HasIsTestDatasource returns a boolean if a field has been set.

func (*CustomDatasourceConfigAllOf) HasIsUserReferencedByEmail

func (o *CustomDatasourceConfigAllOf) HasIsUserReferencedByEmail() bool

HasIsUserReferencedByEmail returns a boolean if a field has been set.

func (*CustomDatasourceConfigAllOf) HasProductAccessGroup

func (o *CustomDatasourceConfigAllOf) HasProductAccessGroup() bool

HasProductAccessGroup returns a boolean if a field has been set.

func (CustomDatasourceConfigAllOf) MarshalJSON

func (o CustomDatasourceConfigAllOf) MarshalJSON() ([]byte, error)

func (*CustomDatasourceConfigAllOf) SetIdentityDatasourceName

func (o *CustomDatasourceConfigAllOf) SetIdentityDatasourceName(v string)

SetIdentityDatasourceName gets a reference to the given string and assigns it to the IdentityDatasourceName field.

func (*CustomDatasourceConfigAllOf) SetIsEntityDatasource

func (o *CustomDatasourceConfigAllOf) SetIsEntityDatasource(v bool)

SetIsEntityDatasource gets a reference to the given bool and assigns it to the IsEntityDatasource field.

func (*CustomDatasourceConfigAllOf) SetIsTestDatasource

func (o *CustomDatasourceConfigAllOf) SetIsTestDatasource(v bool)

SetIsTestDatasource gets a reference to the given bool and assigns it to the IsTestDatasource field.

func (*CustomDatasourceConfigAllOf) SetIsUserReferencedByEmail

func (o *CustomDatasourceConfigAllOf) SetIsUserReferencedByEmail(v bool)

SetIsUserReferencedByEmail gets a reference to the given bool and assigns it to the IsUserReferencedByEmail field.

func (*CustomDatasourceConfigAllOf) SetProductAccessGroup

func (o *CustomDatasourceConfigAllOf) SetProductAccessGroup(v string)

SetProductAccessGroup gets a reference to the given string and assigns it to the ProductAccessGroup field.

type CustomProperty

type CustomProperty struct {
	Name *string `json:"name,omitempty"`
	// Must either be a string or an array of strings. An integer, boolean, etc. is not valid. When OpenAPI Generator supports `oneOf`, we can semantically enforce this.
	Value interface{} `json:"value,omitempty"`
}

CustomProperty Describes the custom properties of the object.

func NewCustomProperty

func NewCustomProperty() *CustomProperty

NewCustomProperty instantiates a new CustomProperty 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

func NewCustomPropertyWithDefaults

func NewCustomPropertyWithDefaults() *CustomProperty

NewCustomPropertyWithDefaults instantiates a new CustomProperty 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

func (*CustomProperty) GetName

func (o *CustomProperty) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CustomProperty) GetNameOk

func (o *CustomProperty) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomProperty) GetValue

func (o *CustomProperty) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomProperty) GetValueOk

func (o *CustomProperty) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomProperty) HasName

func (o *CustomProperty) HasName() bool

HasName returns a boolean if a field has been set.

func (*CustomProperty) HasValue

func (o *CustomProperty) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CustomProperty) MarshalJSON

func (o CustomProperty) MarshalJSON() ([]byte, error)

func (*CustomProperty) SetName

func (o *CustomProperty) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CustomProperty) SetValue

func (o *CustomProperty) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

type DatasourceBulkMembershipDefinition

type DatasourceBulkMembershipDefinition struct {
	// If the member is a user, then the email or datasource id for the user
	MemberUserId *string `json:"memberUserId,omitempty"`
	// If the member is a group, then the name of the member group
	MemberGroupName *string `json:"memberGroupName,omitempty"`
}

DatasourceBulkMembershipDefinition describes the membership row of a group in the bulk uploaded. Only one of memberUserId and memberGroupName can be specified.

func NewDatasourceBulkMembershipDefinition

func NewDatasourceBulkMembershipDefinition() *DatasourceBulkMembershipDefinition

NewDatasourceBulkMembershipDefinition instantiates a new DatasourceBulkMembershipDefinition 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

func NewDatasourceBulkMembershipDefinitionWithDefaults

func NewDatasourceBulkMembershipDefinitionWithDefaults() *DatasourceBulkMembershipDefinition

NewDatasourceBulkMembershipDefinitionWithDefaults instantiates a new DatasourceBulkMembershipDefinition 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

func (*DatasourceBulkMembershipDefinition) GetMemberGroupName

func (o *DatasourceBulkMembershipDefinition) GetMemberGroupName() string

GetMemberGroupName returns the MemberGroupName field value if set, zero value otherwise.

func (*DatasourceBulkMembershipDefinition) GetMemberGroupNameOk

func (o *DatasourceBulkMembershipDefinition) GetMemberGroupNameOk() (*string, bool)

GetMemberGroupNameOk returns a tuple with the MemberGroupName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceBulkMembershipDefinition) GetMemberUserId

func (o *DatasourceBulkMembershipDefinition) GetMemberUserId() string

GetMemberUserId returns the MemberUserId field value if set, zero value otherwise.

func (*DatasourceBulkMembershipDefinition) GetMemberUserIdOk

func (o *DatasourceBulkMembershipDefinition) GetMemberUserIdOk() (*string, bool)

GetMemberUserIdOk returns a tuple with the MemberUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceBulkMembershipDefinition) HasMemberGroupName

func (o *DatasourceBulkMembershipDefinition) HasMemberGroupName() bool

HasMemberGroupName returns a boolean if a field has been set.

func (*DatasourceBulkMembershipDefinition) HasMemberUserId

func (o *DatasourceBulkMembershipDefinition) HasMemberUserId() bool

HasMemberUserId returns a boolean if a field has been set.

func (DatasourceBulkMembershipDefinition) MarshalJSON

func (o DatasourceBulkMembershipDefinition) MarshalJSON() ([]byte, error)

func (*DatasourceBulkMembershipDefinition) SetMemberGroupName

func (o *DatasourceBulkMembershipDefinition) SetMemberGroupName(v string)

SetMemberGroupName gets a reference to the given string and assigns it to the MemberGroupName field.

func (*DatasourceBulkMembershipDefinition) SetMemberUserId

func (o *DatasourceBulkMembershipDefinition) SetMemberUserId(v string)

SetMemberUserId gets a reference to the given string and assigns it to the MemberUserId field.

type DatasourceConfigList

type DatasourceConfigList struct {
	// Datasource configuration.
	DatasourceConfig []SharedDatasourceConfig `json:"datasourceConfig"`
}

DatasourceConfigList List of datasource configurations.

func NewDatasourceConfigList

func NewDatasourceConfigList(datasourceConfig []SharedDatasourceConfig) *DatasourceConfigList

NewDatasourceConfigList instantiates a new DatasourceConfigList 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

func NewDatasourceConfigListWithDefaults

func NewDatasourceConfigListWithDefaults() *DatasourceConfigList

NewDatasourceConfigListWithDefaults instantiates a new DatasourceConfigList 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

func (*DatasourceConfigList) GetDatasourceConfig

func (o *DatasourceConfigList) GetDatasourceConfig() []SharedDatasourceConfig

GetDatasourceConfig returns the DatasourceConfig field value

func (*DatasourceConfigList) GetDatasourceConfigOk

func (o *DatasourceConfigList) GetDatasourceConfigOk() ([]SharedDatasourceConfig, bool)

GetDatasourceConfigOk returns a tuple with the DatasourceConfig field value and a boolean to check if the value has been set.

func (DatasourceConfigList) MarshalJSON

func (o DatasourceConfigList) MarshalJSON() ([]byte, error)

func (*DatasourceConfigList) SetDatasourceConfig

func (o *DatasourceConfigList) SetDatasourceConfig(v []SharedDatasourceConfig)

SetDatasourceConfig sets field value

type DatasourceGroupDefinition

type DatasourceGroupDefinition struct {
	// name of the group. Should be unique among all groups for the datasource, and cannot have spaces.
	Name string `json:"name"`
}

DatasourceGroupDefinition describes a group in the datasource

func NewDatasourceGroupDefinition

func NewDatasourceGroupDefinition(name string) *DatasourceGroupDefinition

NewDatasourceGroupDefinition instantiates a new DatasourceGroupDefinition 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

func NewDatasourceGroupDefinitionWithDefaults

func NewDatasourceGroupDefinitionWithDefaults() *DatasourceGroupDefinition

NewDatasourceGroupDefinitionWithDefaults instantiates a new DatasourceGroupDefinition 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

func (*DatasourceGroupDefinition) GetName

func (o *DatasourceGroupDefinition) GetName() string

GetName returns the Name field value

func (*DatasourceGroupDefinition) GetNameOk

func (o *DatasourceGroupDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (DatasourceGroupDefinition) MarshalJSON

func (o DatasourceGroupDefinition) MarshalJSON() ([]byte, error)

func (*DatasourceGroupDefinition) SetName

func (o *DatasourceGroupDefinition) SetName(v string)

SetName sets field value

type DatasourceMembershipDefinition

type DatasourceMembershipDefinition struct {
	// The group for which the membership is specified
	GroupName string `json:"groupName"`
	// If the member is a user, then the email or datasource id for the user
	MemberUserId *string `json:"memberUserId,omitempty"`
	// If the member is a group, then the name of the member group
	MemberGroupName *string `json:"memberGroupName,omitempty"`
}

DatasourceMembershipDefinition describes the membership row of a group. Only one of memberUserId and memberGroupName can be specified.

func NewDatasourceMembershipDefinition

func NewDatasourceMembershipDefinition(groupName string) *DatasourceMembershipDefinition

NewDatasourceMembershipDefinition instantiates a new DatasourceMembershipDefinition 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

func NewDatasourceMembershipDefinitionWithDefaults

func NewDatasourceMembershipDefinitionWithDefaults() *DatasourceMembershipDefinition

NewDatasourceMembershipDefinitionWithDefaults instantiates a new DatasourceMembershipDefinition 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

func (*DatasourceMembershipDefinition) GetGroupName

func (o *DatasourceMembershipDefinition) GetGroupName() string

GetGroupName returns the GroupName field value

func (*DatasourceMembershipDefinition) GetGroupNameOk

func (o *DatasourceMembershipDefinition) GetGroupNameOk() (*string, bool)

GetGroupNameOk returns a tuple with the GroupName field value and a boolean to check if the value has been set.

func (*DatasourceMembershipDefinition) GetMemberGroupName

func (o *DatasourceMembershipDefinition) GetMemberGroupName() string

GetMemberGroupName returns the MemberGroupName field value if set, zero value otherwise.

func (*DatasourceMembershipDefinition) GetMemberGroupNameOk

func (o *DatasourceMembershipDefinition) GetMemberGroupNameOk() (*string, bool)

GetMemberGroupNameOk returns a tuple with the MemberGroupName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceMembershipDefinition) GetMemberUserId

func (o *DatasourceMembershipDefinition) GetMemberUserId() string

GetMemberUserId returns the MemberUserId field value if set, zero value otherwise.

func (*DatasourceMembershipDefinition) GetMemberUserIdOk

func (o *DatasourceMembershipDefinition) GetMemberUserIdOk() (*string, bool)

GetMemberUserIdOk returns a tuple with the MemberUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceMembershipDefinition) HasMemberGroupName

func (o *DatasourceMembershipDefinition) HasMemberGroupName() bool

HasMemberGroupName returns a boolean if a field has been set.

func (*DatasourceMembershipDefinition) HasMemberUserId

func (o *DatasourceMembershipDefinition) HasMemberUserId() bool

HasMemberUserId returns a boolean if a field has been set.

func (DatasourceMembershipDefinition) MarshalJSON

func (o DatasourceMembershipDefinition) MarshalJSON() ([]byte, error)

func (*DatasourceMembershipDefinition) SetGroupName

func (o *DatasourceMembershipDefinition) SetGroupName(v string)

SetGroupName sets field value

func (*DatasourceMembershipDefinition) SetMemberGroupName

func (o *DatasourceMembershipDefinition) SetMemberGroupName(v string)

SetMemberGroupName gets a reference to the given string and assigns it to the MemberGroupName field.

func (*DatasourceMembershipDefinition) SetMemberUserId

func (o *DatasourceMembershipDefinition) SetMemberUserId(v string)

SetMemberUserId gets a reference to the given string and assigns it to the MemberUserId field.

type DatasourceProfile

type DatasourceProfile struct {
	// The datasource the profile is of.
	Datasource string `json:"datasource"`
	// The display name of the person in the given datasource.
	Handle string `json:"handle"`
	// URL to view the user's profile.
	Url *string `json:"url,omitempty"`
	// A deep link, if available, into the datasource's native application for the user's platform (i.e. slack://...).
	NativeAppUrl *string `json:"nativeAppUrl,omitempty"`
	// For internal use only. True iff the data source profile was manually added by a user from within Glean (aka not from the original data source)
	IsUserGenerated *bool `json:"isUserGenerated,omitempty"`
}

DatasourceProfile struct for DatasourceProfile

func NewDatasourceProfile

func NewDatasourceProfile(datasource string, handle string) *DatasourceProfile

NewDatasourceProfile instantiates a new DatasourceProfile 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

func NewDatasourceProfileWithDefaults

func NewDatasourceProfileWithDefaults() *DatasourceProfile

NewDatasourceProfileWithDefaults instantiates a new DatasourceProfile 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

func (*DatasourceProfile) GetDatasource

func (o *DatasourceProfile) GetDatasource() string

GetDatasource returns the Datasource field value

func (*DatasourceProfile) GetDatasourceOk

func (o *DatasourceProfile) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*DatasourceProfile) GetHandle

func (o *DatasourceProfile) GetHandle() string

GetHandle returns the Handle field value

func (*DatasourceProfile) GetHandleOk

func (o *DatasourceProfile) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value and a boolean to check if the value has been set.

func (*DatasourceProfile) GetIsUserGenerated

func (o *DatasourceProfile) GetIsUserGenerated() bool

GetIsUserGenerated returns the IsUserGenerated field value if set, zero value otherwise.

func (*DatasourceProfile) GetIsUserGeneratedOk

func (o *DatasourceProfile) GetIsUserGeneratedOk() (*bool, bool)

GetIsUserGeneratedOk returns a tuple with the IsUserGenerated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceProfile) GetNativeAppUrl

func (o *DatasourceProfile) GetNativeAppUrl() string

GetNativeAppUrl returns the NativeAppUrl field value if set, zero value otherwise.

func (*DatasourceProfile) GetNativeAppUrlOk

func (o *DatasourceProfile) GetNativeAppUrlOk() (*string, bool)

GetNativeAppUrlOk returns a tuple with the NativeAppUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceProfile) GetUrl

func (o *DatasourceProfile) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*DatasourceProfile) GetUrlOk

func (o *DatasourceProfile) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceProfile) HasIsUserGenerated

func (o *DatasourceProfile) HasIsUserGenerated() bool

HasIsUserGenerated returns a boolean if a field has been set.

func (*DatasourceProfile) HasNativeAppUrl

func (o *DatasourceProfile) HasNativeAppUrl() bool

HasNativeAppUrl returns a boolean if a field has been set.

func (*DatasourceProfile) HasUrl

func (o *DatasourceProfile) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (DatasourceProfile) MarshalJSON

func (o DatasourceProfile) MarshalJSON() ([]byte, error)

func (*DatasourceProfile) SetDatasource

func (o *DatasourceProfile) SetDatasource(v string)

SetDatasource sets field value

func (*DatasourceProfile) SetHandle

func (o *DatasourceProfile) SetHandle(v string)

SetHandle sets field value

func (*DatasourceProfile) SetIsUserGenerated

func (o *DatasourceProfile) SetIsUserGenerated(v bool)

SetIsUserGenerated gets a reference to the given bool and assigns it to the IsUserGenerated field.

func (*DatasourceProfile) SetNativeAppUrl

func (o *DatasourceProfile) SetNativeAppUrl(v string)

SetNativeAppUrl gets a reference to the given string and assigns it to the NativeAppUrl field.

func (*DatasourceProfile) SetUrl

func (o *DatasourceProfile) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type DatasourceUserDefinition

type DatasourceUserDefinition struct {
	Email *string `json:"email,omitempty"`
	// To be supplied if the user id in the datasource is not the email
	UserId *string `json:"userId,omitempty"`
	Name   string  `json:"name"`
	// set to false if the user is a former employee or a bot
	IsActive *bool `json:"isActive,omitempty"`
}

DatasourceUserDefinition describes a user in the datasource

func NewDatasourceUserDefinition

func NewDatasourceUserDefinition(name string) *DatasourceUserDefinition

NewDatasourceUserDefinition instantiates a new DatasourceUserDefinition 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

func NewDatasourceUserDefinitionWithDefaults

func NewDatasourceUserDefinitionWithDefaults() *DatasourceUserDefinition

NewDatasourceUserDefinitionWithDefaults instantiates a new DatasourceUserDefinition 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

func (*DatasourceUserDefinition) GetEmail

func (o *DatasourceUserDefinition) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*DatasourceUserDefinition) GetEmailOk

func (o *DatasourceUserDefinition) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceUserDefinition) GetIsActive

func (o *DatasourceUserDefinition) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*DatasourceUserDefinition) GetIsActiveOk

func (o *DatasourceUserDefinition) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceUserDefinition) GetName

func (o *DatasourceUserDefinition) GetName() string

GetName returns the Name field value

func (*DatasourceUserDefinition) GetNameOk

func (o *DatasourceUserDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*DatasourceUserDefinition) GetUserId

func (o *DatasourceUserDefinition) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*DatasourceUserDefinition) GetUserIdOk

func (o *DatasourceUserDefinition) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DatasourceUserDefinition) HasEmail

func (o *DatasourceUserDefinition) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*DatasourceUserDefinition) HasIsActive

func (o *DatasourceUserDefinition) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*DatasourceUserDefinition) HasUserId

func (o *DatasourceUserDefinition) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (DatasourceUserDefinition) MarshalJSON

func (o DatasourceUserDefinition) MarshalJSON() ([]byte, error)

func (*DatasourceUserDefinition) SetEmail

func (o *DatasourceUserDefinition) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*DatasourceUserDefinition) SetIsActive

func (o *DatasourceUserDefinition) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*DatasourceUserDefinition) SetName

func (o *DatasourceUserDefinition) SetName(v string)

SetName sets field value

func (*DatasourceUserDefinition) SetUserId

func (o *DatasourceUserDefinition) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

type DatasourcesApiService

type DatasourcesApiService service

DatasourcesApiService DatasourcesApi service

func (*DatasourcesApiService) AdddatasourcePost

AdddatasourcePost Add datasource

API to register a custom datasource type and its schema.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAdddatasourcePostRequest

func (*DatasourcesApiService) AdddatasourcePostExecute

func (a *DatasourcesApiService) AdddatasourcePostExecute(r ApiAdddatasourcePostRequest) (*http.Response, error)

Execute executes the request

func (*DatasourcesApiService) GetdatasourceconfigPost

GetdatasourceconfigPost Get datasource config

Fetches the datasource config for the specified custom datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetdatasourceconfigPostRequest

func (*DatasourcesApiService) GetdatasourceconfigPostExecute

Execute executes the request

@return CustomDatasourceConfig

type DeleteDocumentRequest

type DeleteDocumentRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// datasource of the document
	Datasource string `json:"datasource"`
	// object type of the document
	ObjectType string `json:"objectType"`
	// The id of the document
	Id string `json:"id"`
}

DeleteDocumentRequest Describes the request body of the /deletedocument API call

func NewDeleteDocumentRequest

func NewDeleteDocumentRequest(datasource string, objectType string, id string) *DeleteDocumentRequest

NewDeleteDocumentRequest instantiates a new DeleteDocumentRequest 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

func NewDeleteDocumentRequestWithDefaults

func NewDeleteDocumentRequestWithDefaults() *DeleteDocumentRequest

NewDeleteDocumentRequestWithDefaults instantiates a new DeleteDocumentRequest 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

func (*DeleteDocumentRequest) GetDatasource

func (o *DeleteDocumentRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*DeleteDocumentRequest) GetDatasourceOk

func (o *DeleteDocumentRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*DeleteDocumentRequest) GetId

func (o *DeleteDocumentRequest) GetId() string

GetId returns the Id field value

func (*DeleteDocumentRequest) GetIdOk

func (o *DeleteDocumentRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*DeleteDocumentRequest) GetObjectType

func (o *DeleteDocumentRequest) GetObjectType() string

GetObjectType returns the ObjectType field value

func (*DeleteDocumentRequest) GetObjectTypeOk

func (o *DeleteDocumentRequest) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field value and a boolean to check if the value has been set.

func (*DeleteDocumentRequest) GetVersion

func (o *DeleteDocumentRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*DeleteDocumentRequest) GetVersionOk

func (o *DeleteDocumentRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeleteDocumentRequest) HasVersion

func (o *DeleteDocumentRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (DeleteDocumentRequest) MarshalJSON

func (o DeleteDocumentRequest) MarshalJSON() ([]byte, error)

func (*DeleteDocumentRequest) SetDatasource

func (o *DeleteDocumentRequest) SetDatasource(v string)

SetDatasource sets field value

func (*DeleteDocumentRequest) SetId

func (o *DeleteDocumentRequest) SetId(v string)

SetId sets field value

func (*DeleteDocumentRequest) SetObjectType

func (o *DeleteDocumentRequest) SetObjectType(v string)

SetObjectType sets field value

func (*DeleteDocumentRequest) SetVersion

func (o *DeleteDocumentRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type DeleteEmployeeRequest

type DeleteEmployeeRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The deleted employee's email
	EmployeeEmail string `json:"employeeEmail"`
}

DeleteEmployeeRequest Describes the request body of the /deleteemployee API call

func NewDeleteEmployeeRequest

func NewDeleteEmployeeRequest(employeeEmail string) *DeleteEmployeeRequest

NewDeleteEmployeeRequest instantiates a new DeleteEmployeeRequest 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

func NewDeleteEmployeeRequestWithDefaults

func NewDeleteEmployeeRequestWithDefaults() *DeleteEmployeeRequest

NewDeleteEmployeeRequestWithDefaults instantiates a new DeleteEmployeeRequest 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

func (*DeleteEmployeeRequest) GetEmployeeEmail

func (o *DeleteEmployeeRequest) GetEmployeeEmail() string

GetEmployeeEmail returns the EmployeeEmail field value

func (*DeleteEmployeeRequest) GetEmployeeEmailOk

func (o *DeleteEmployeeRequest) GetEmployeeEmailOk() (*string, bool)

GetEmployeeEmailOk returns a tuple with the EmployeeEmail field value and a boolean to check if the value has been set.

func (*DeleteEmployeeRequest) GetVersion

func (o *DeleteEmployeeRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*DeleteEmployeeRequest) GetVersionOk

func (o *DeleteEmployeeRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeleteEmployeeRequest) HasVersion

func (o *DeleteEmployeeRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (DeleteEmployeeRequest) MarshalJSON

func (o DeleteEmployeeRequest) MarshalJSON() ([]byte, error)

func (*DeleteEmployeeRequest) SetEmployeeEmail

func (o *DeleteEmployeeRequest) SetEmployeeEmail(v string)

SetEmployeeEmail sets field value

func (*DeleteEmployeeRequest) SetVersion

func (o *DeleteEmployeeRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type DeleteGroupRequest

type DeleteGroupRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the group is removed
	Datasource string `json:"datasource"`
	// the name of the group to be deleted
	GroupName string `json:"groupName"`
}

DeleteGroupRequest Describes the request body of the /deletegroup API call

func NewDeleteGroupRequest

func NewDeleteGroupRequest(datasource string, groupName string) *DeleteGroupRequest

NewDeleteGroupRequest instantiates a new DeleteGroupRequest 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

func NewDeleteGroupRequestWithDefaults

func NewDeleteGroupRequestWithDefaults() *DeleteGroupRequest

NewDeleteGroupRequestWithDefaults instantiates a new DeleteGroupRequest 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

func (*DeleteGroupRequest) GetDatasource

func (o *DeleteGroupRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*DeleteGroupRequest) GetDatasourceOk

func (o *DeleteGroupRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*DeleteGroupRequest) GetGroupName

func (o *DeleteGroupRequest) GetGroupName() string

GetGroupName returns the GroupName field value

func (*DeleteGroupRequest) GetGroupNameOk

func (o *DeleteGroupRequest) GetGroupNameOk() (*string, bool)

GetGroupNameOk returns a tuple with the GroupName field value and a boolean to check if the value has been set.

func (*DeleteGroupRequest) GetVersion

func (o *DeleteGroupRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*DeleteGroupRequest) GetVersionOk

func (o *DeleteGroupRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeleteGroupRequest) HasVersion

func (o *DeleteGroupRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (DeleteGroupRequest) MarshalJSON

func (o DeleteGroupRequest) MarshalJSON() ([]byte, error)

func (*DeleteGroupRequest) SetDatasource

func (o *DeleteGroupRequest) SetDatasource(v string)

SetDatasource sets field value

func (*DeleteGroupRequest) SetGroupName

func (o *DeleteGroupRequest) SetGroupName(v string)

SetGroupName sets field value

func (*DeleteGroupRequest) SetVersion

func (o *DeleteGroupRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type DeleteMembershipRequest

type DeleteMembershipRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the membership is removed
	Datasource string                         `json:"datasource"`
	Membership DatasourceMembershipDefinition `json:"membership"`
}

DeleteMembershipRequest Describes the request body of the /deletemembership API call

func NewDeleteMembershipRequest

func NewDeleteMembershipRequest(datasource string, membership DatasourceMembershipDefinition) *DeleteMembershipRequest

NewDeleteMembershipRequest instantiates a new DeleteMembershipRequest 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

func NewDeleteMembershipRequestWithDefaults

func NewDeleteMembershipRequestWithDefaults() *DeleteMembershipRequest

NewDeleteMembershipRequestWithDefaults instantiates a new DeleteMembershipRequest 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

func (*DeleteMembershipRequest) GetDatasource

func (o *DeleteMembershipRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*DeleteMembershipRequest) GetDatasourceOk

func (o *DeleteMembershipRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*DeleteMembershipRequest) GetMembership

GetMembership returns the Membership field value

func (*DeleteMembershipRequest) GetMembershipOk

GetMembershipOk returns a tuple with the Membership field value and a boolean to check if the value has been set.

func (*DeleteMembershipRequest) GetVersion

func (o *DeleteMembershipRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*DeleteMembershipRequest) GetVersionOk

func (o *DeleteMembershipRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeleteMembershipRequest) HasVersion

func (o *DeleteMembershipRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (DeleteMembershipRequest) MarshalJSON

func (o DeleteMembershipRequest) MarshalJSON() ([]byte, error)

func (*DeleteMembershipRequest) SetDatasource

func (o *DeleteMembershipRequest) SetDatasource(v string)

SetDatasource sets field value

func (*DeleteMembershipRequest) SetMembership

SetMembership sets field value

func (*DeleteMembershipRequest) SetVersion

func (o *DeleteMembershipRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type DeleteUserRequest

type DeleteUserRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the user is removed
	Datasource string `json:"datasource"`
	// The email of the user to be deleted
	Email string `json:"email"`
}

DeleteUserRequest Describes the request body of the /deleteuser API call

func NewDeleteUserRequest

func NewDeleteUserRequest(datasource string, email string) *DeleteUserRequest

NewDeleteUserRequest instantiates a new DeleteUserRequest 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

func NewDeleteUserRequestWithDefaults

func NewDeleteUserRequestWithDefaults() *DeleteUserRequest

NewDeleteUserRequestWithDefaults instantiates a new DeleteUserRequest 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

func (*DeleteUserRequest) GetDatasource

func (o *DeleteUserRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*DeleteUserRequest) GetDatasourceOk

func (o *DeleteUserRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*DeleteUserRequest) GetEmail

func (o *DeleteUserRequest) GetEmail() string

GetEmail returns the Email field value

func (*DeleteUserRequest) GetEmailOk

func (o *DeleteUserRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*DeleteUserRequest) GetVersion

func (o *DeleteUserRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*DeleteUserRequest) GetVersionOk

func (o *DeleteUserRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeleteUserRequest) HasVersion

func (o *DeleteUserRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (DeleteUserRequest) MarshalJSON

func (o DeleteUserRequest) MarshalJSON() ([]byte, error)

func (*DeleteUserRequest) SetDatasource

func (o *DeleteUserRequest) SetDatasource(v string)

SetDatasource sets field value

func (*DeleteUserRequest) SetEmail

func (o *DeleteUserRequest) SetEmail(v string)

SetEmail sets field value

func (*DeleteUserRequest) SetVersion

func (o *DeleteUserRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type DocumentDefinition

type DocumentDefinition struct {
	// Document title, in plain text, if present.
	Title *string `json:"title,omitempty"`
	// The container for the content (Folder for example for file content).
	Container  *string `json:"container,omitempty"`
	Datasource string  `json:"datasource"`
	// The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _
	ObjectType *string `json:"objectType,omitempty"`
	// The permalink for viewing the document.
	ViewURL *string `json:"viewURL,omitempty"`
	// The datasource specific id for the document. This should not be more than 200 characters in length.
	Id          *string                        `json:"id,omitempty"`
	Summary     *ContentDefinition             `json:"summary,omitempty"`
	Body        *ContentDefinition             `json:"body,omitempty"`
	Author      *UserReferenceDefinition       `json:"author,omitempty"`
	Owner       *UserReferenceDefinition       `json:"owner,omitempty"`
	Permissions *DocumentPermissionsDefinition `json:"permissions,omitempty"`
	// The creation time, in epoch seconds.
	CreatedAt *int64 `json:"createdAt,omitempty"`
	// The last update time, in epoch seconds.
	UpdatedAt *int64                   `json:"updatedAt,omitempty"`
	UpdatedBy *UserReferenceDefinition `json:"updatedBy,omitempty"`
	// Labels associated with the document.
	Tags         []string                        `json:"tags,omitempty"`
	Interactions *DocumentInteractionsDefinition `json:"interactions,omitempty"`
	Status       *string                         `json:"status,omitempty"`
	// Additional variations of the url that this document points to.
	AdditionalUrls []string `json:"additionalUrls,omitempty"`
	// Additional metadata properties of the document.
	CustomProperties []CustomProperty `json:"customProperties,omitempty"`
}

DocumentDefinition Indexable document structure

func NewDocumentDefinition

func NewDocumentDefinition(datasource string) *DocumentDefinition

NewDocumentDefinition instantiates a new DocumentDefinition 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

func NewDocumentDefinitionWithDefaults

func NewDocumentDefinitionWithDefaults() *DocumentDefinition

NewDocumentDefinitionWithDefaults instantiates a new DocumentDefinition 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

func (*DocumentDefinition) GetAdditionalUrls

func (o *DocumentDefinition) GetAdditionalUrls() []string

GetAdditionalUrls returns the AdditionalUrls field value if set, zero value otherwise.

func (*DocumentDefinition) GetAdditionalUrlsOk

func (o *DocumentDefinition) GetAdditionalUrlsOk() ([]string, bool)

GetAdditionalUrlsOk returns a tuple with the AdditionalUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetAuthor

GetAuthor returns the Author field value if set, zero value otherwise.

func (*DocumentDefinition) GetAuthorOk

func (o *DocumentDefinition) GetAuthorOk() (*UserReferenceDefinition, bool)

GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetBody

GetBody returns the Body field value if set, zero value otherwise.

func (*DocumentDefinition) GetBodyOk

func (o *DocumentDefinition) GetBodyOk() (*ContentDefinition, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetContainer

func (o *DocumentDefinition) GetContainer() string

GetContainer returns the Container field value if set, zero value otherwise.

func (*DocumentDefinition) GetContainerOk

func (o *DocumentDefinition) GetContainerOk() (*string, bool)

GetContainerOk returns a tuple with the Container field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetCreatedAt

func (o *DocumentDefinition) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DocumentDefinition) GetCreatedAtOk

func (o *DocumentDefinition) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetCustomProperties

func (o *DocumentDefinition) GetCustomProperties() []CustomProperty

GetCustomProperties returns the CustomProperties field value if set, zero value otherwise.

func (*DocumentDefinition) GetCustomPropertiesOk

func (o *DocumentDefinition) GetCustomPropertiesOk() ([]CustomProperty, bool)

GetCustomPropertiesOk returns a tuple with the CustomProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetDatasource

func (o *DocumentDefinition) GetDatasource() string

GetDatasource returns the Datasource field value

func (*DocumentDefinition) GetDatasourceOk

func (o *DocumentDefinition) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*DocumentDefinition) GetId

func (o *DocumentDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DocumentDefinition) GetIdOk

func (o *DocumentDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetInteractions

GetInteractions returns the Interactions field value if set, zero value otherwise.

func (*DocumentDefinition) GetInteractionsOk

func (o *DocumentDefinition) GetInteractionsOk() (*DocumentInteractionsDefinition, bool)

GetInteractionsOk returns a tuple with the Interactions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetObjectType

func (o *DocumentDefinition) GetObjectType() string

GetObjectType returns the ObjectType field value if set, zero value otherwise.

func (*DocumentDefinition) GetObjectTypeOk

func (o *DocumentDefinition) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetOwner

GetOwner returns the Owner field value if set, zero value otherwise.

func (*DocumentDefinition) GetOwnerOk

func (o *DocumentDefinition) GetOwnerOk() (*UserReferenceDefinition, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetPermissions

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*DocumentDefinition) GetPermissionsOk

func (o *DocumentDefinition) GetPermissionsOk() (*DocumentPermissionsDefinition, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetStatus

func (o *DocumentDefinition) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*DocumentDefinition) GetStatusOk

func (o *DocumentDefinition) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetSummary

func (o *DocumentDefinition) GetSummary() ContentDefinition

GetSummary returns the Summary field value if set, zero value otherwise.

func (*DocumentDefinition) GetSummaryOk

func (o *DocumentDefinition) GetSummaryOk() (*ContentDefinition, bool)

GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetTags

func (o *DocumentDefinition) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DocumentDefinition) GetTagsOk

func (o *DocumentDefinition) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetTitle

func (o *DocumentDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*DocumentDefinition) GetTitleOk

func (o *DocumentDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetUpdatedAt

func (o *DocumentDefinition) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*DocumentDefinition) GetUpdatedAtOk

func (o *DocumentDefinition) GetUpdatedAtOk() (*int64, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetUpdatedBy

func (o *DocumentDefinition) GetUpdatedBy() UserReferenceDefinition

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (*DocumentDefinition) GetUpdatedByOk

func (o *DocumentDefinition) GetUpdatedByOk() (*UserReferenceDefinition, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) GetViewURL

func (o *DocumentDefinition) GetViewURL() string

GetViewURL returns the ViewURL field value if set, zero value otherwise.

func (*DocumentDefinition) GetViewURLOk

func (o *DocumentDefinition) GetViewURLOk() (*string, bool)

GetViewURLOk returns a tuple with the ViewURL field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentDefinition) HasAdditionalUrls

func (o *DocumentDefinition) HasAdditionalUrls() bool

HasAdditionalUrls returns a boolean if a field has been set.

func (*DocumentDefinition) HasAuthor

func (o *DocumentDefinition) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*DocumentDefinition) HasBody

func (o *DocumentDefinition) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*DocumentDefinition) HasContainer

func (o *DocumentDefinition) HasContainer() bool

HasContainer returns a boolean if a field has been set.

func (*DocumentDefinition) HasCreatedAt

func (o *DocumentDefinition) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DocumentDefinition) HasCustomProperties

func (o *DocumentDefinition) HasCustomProperties() bool

HasCustomProperties returns a boolean if a field has been set.

func (*DocumentDefinition) HasId

func (o *DocumentDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (*DocumentDefinition) HasInteractions

func (o *DocumentDefinition) HasInteractions() bool

HasInteractions returns a boolean if a field has been set.

func (*DocumentDefinition) HasObjectType

func (o *DocumentDefinition) HasObjectType() bool

HasObjectType returns a boolean if a field has been set.

func (*DocumentDefinition) HasOwner

func (o *DocumentDefinition) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*DocumentDefinition) HasPermissions

func (o *DocumentDefinition) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*DocumentDefinition) HasStatus

func (o *DocumentDefinition) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*DocumentDefinition) HasSummary

func (o *DocumentDefinition) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (*DocumentDefinition) HasTags

func (o *DocumentDefinition) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DocumentDefinition) HasTitle

func (o *DocumentDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DocumentDefinition) HasUpdatedAt

func (o *DocumentDefinition) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*DocumentDefinition) HasUpdatedBy

func (o *DocumentDefinition) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (*DocumentDefinition) HasViewURL

func (o *DocumentDefinition) HasViewURL() bool

HasViewURL returns a boolean if a field has been set.

func (DocumentDefinition) MarshalJSON

func (o DocumentDefinition) MarshalJSON() ([]byte, error)

func (*DocumentDefinition) SetAdditionalUrls

func (o *DocumentDefinition) SetAdditionalUrls(v []string)

SetAdditionalUrls gets a reference to the given []string and assigns it to the AdditionalUrls field.

func (*DocumentDefinition) SetAuthor

SetAuthor gets a reference to the given UserReferenceDefinition and assigns it to the Author field.

func (*DocumentDefinition) SetBody

func (o *DocumentDefinition) SetBody(v ContentDefinition)

SetBody gets a reference to the given ContentDefinition and assigns it to the Body field.

func (*DocumentDefinition) SetContainer

func (o *DocumentDefinition) SetContainer(v string)

SetContainer gets a reference to the given string and assigns it to the Container field.

func (*DocumentDefinition) SetCreatedAt

func (o *DocumentDefinition) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*DocumentDefinition) SetCustomProperties

func (o *DocumentDefinition) SetCustomProperties(v []CustomProperty)

SetCustomProperties gets a reference to the given []CustomProperty and assigns it to the CustomProperties field.

func (*DocumentDefinition) SetDatasource

func (o *DocumentDefinition) SetDatasource(v string)

SetDatasource sets field value

func (*DocumentDefinition) SetId

func (o *DocumentDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*DocumentDefinition) SetInteractions

func (o *DocumentDefinition) SetInteractions(v DocumentInteractionsDefinition)

SetInteractions gets a reference to the given DocumentInteractionsDefinition and assigns it to the Interactions field.

func (*DocumentDefinition) SetObjectType

func (o *DocumentDefinition) SetObjectType(v string)

SetObjectType gets a reference to the given string and assigns it to the ObjectType field.

func (*DocumentDefinition) SetOwner

SetOwner gets a reference to the given UserReferenceDefinition and assigns it to the Owner field.

func (*DocumentDefinition) SetPermissions

SetPermissions gets a reference to the given DocumentPermissionsDefinition and assigns it to the Permissions field.

func (*DocumentDefinition) SetStatus

func (o *DocumentDefinition) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*DocumentDefinition) SetSummary

func (o *DocumentDefinition) SetSummary(v ContentDefinition)

SetSummary gets a reference to the given ContentDefinition and assigns it to the Summary field.

func (*DocumentDefinition) SetTags

func (o *DocumentDefinition) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*DocumentDefinition) SetTitle

func (o *DocumentDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*DocumentDefinition) SetUpdatedAt

func (o *DocumentDefinition) SetUpdatedAt(v int64)

SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.

func (*DocumentDefinition) SetUpdatedBy

func (o *DocumentDefinition) SetUpdatedBy(v UserReferenceDefinition)

SetUpdatedBy gets a reference to the given UserReferenceDefinition and assigns it to the UpdatedBy field.

func (*DocumentDefinition) SetViewURL

func (o *DocumentDefinition) SetViewURL(v string)

SetViewURL gets a reference to the given string and assigns it to the ViewURL field.

type DocumentInteractionsDefinition

type DocumentInteractionsDefinition struct {
	NumViews    *int32 `json:"numViews,omitempty"`
	NumLikes    *int32 `json:"numLikes,omitempty"`
	NumComments *int32 `json:"numComments,omitempty"`
}

DocumentInteractionsDefinition describes the interactions on the document

func NewDocumentInteractionsDefinition

func NewDocumentInteractionsDefinition() *DocumentInteractionsDefinition

NewDocumentInteractionsDefinition instantiates a new DocumentInteractionsDefinition 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

func NewDocumentInteractionsDefinitionWithDefaults

func NewDocumentInteractionsDefinitionWithDefaults() *DocumentInteractionsDefinition

NewDocumentInteractionsDefinitionWithDefaults instantiates a new DocumentInteractionsDefinition 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

func (*DocumentInteractionsDefinition) GetNumComments

func (o *DocumentInteractionsDefinition) GetNumComments() int32

GetNumComments returns the NumComments field value if set, zero value otherwise.

func (*DocumentInteractionsDefinition) GetNumCommentsOk

func (o *DocumentInteractionsDefinition) GetNumCommentsOk() (*int32, bool)

GetNumCommentsOk returns a tuple with the NumComments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentInteractionsDefinition) GetNumLikes

func (o *DocumentInteractionsDefinition) GetNumLikes() int32

GetNumLikes returns the NumLikes field value if set, zero value otherwise.

func (*DocumentInteractionsDefinition) GetNumLikesOk

func (o *DocumentInteractionsDefinition) GetNumLikesOk() (*int32, bool)

GetNumLikesOk returns a tuple with the NumLikes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentInteractionsDefinition) GetNumViews

func (o *DocumentInteractionsDefinition) GetNumViews() int32

GetNumViews returns the NumViews field value if set, zero value otherwise.

func (*DocumentInteractionsDefinition) GetNumViewsOk

func (o *DocumentInteractionsDefinition) GetNumViewsOk() (*int32, bool)

GetNumViewsOk returns a tuple with the NumViews field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentInteractionsDefinition) HasNumComments

func (o *DocumentInteractionsDefinition) HasNumComments() bool

HasNumComments returns a boolean if a field has been set.

func (*DocumentInteractionsDefinition) HasNumLikes

func (o *DocumentInteractionsDefinition) HasNumLikes() bool

HasNumLikes returns a boolean if a field has been set.

func (*DocumentInteractionsDefinition) HasNumViews

func (o *DocumentInteractionsDefinition) HasNumViews() bool

HasNumViews returns a boolean if a field has been set.

func (DocumentInteractionsDefinition) MarshalJSON

func (o DocumentInteractionsDefinition) MarshalJSON() ([]byte, error)

func (*DocumentInteractionsDefinition) SetNumComments

func (o *DocumentInteractionsDefinition) SetNumComments(v int32)

SetNumComments gets a reference to the given int32 and assigns it to the NumComments field.

func (*DocumentInteractionsDefinition) SetNumLikes

func (o *DocumentInteractionsDefinition) SetNumLikes(v int32)

SetNumLikes gets a reference to the given int32 and assigns it to the NumLikes field.

func (*DocumentInteractionsDefinition) SetNumViews

func (o *DocumentInteractionsDefinition) SetNumViews(v int32)

SetNumViews gets a reference to the given int32 and assigns it to the NumViews field.

type DocumentPermissionsDefinition

type DocumentPermissionsDefinition struct {
	// List of users who can view the document
	AllowedUsers []UserReferenceDefinition `json:"allowedUsers,omitempty"`
	// List of groups that can view the document
	AllowedGroups []string `json:"allowedGroups,omitempty"`
	// List of allowed group intersections. This describes a permissions constraint of the form ((GroupA AND GroupB AND GroupC) OR (GroupX AND GroupY) OR ...
	AllowedGroupIntersections []PermissionsGroupIntersectionDefinition `json:"allowedGroupIntersections,omitempty"`
	// If true, then any Glean user can view the document
	AllowAnonymousAccess *bool `json:"allowAnonymousAccess,omitempty"`
	// If true, then any user who has an account in the datasource can view the document.
	AllowAllDatasourceUsersAccess *bool `json:"allowAllDatasourceUsersAccess,omitempty"`
}

DocumentPermissionsDefinition describes the access control details of the document

func NewDocumentPermissionsDefinition

func NewDocumentPermissionsDefinition() *DocumentPermissionsDefinition

NewDocumentPermissionsDefinition instantiates a new DocumentPermissionsDefinition 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

func NewDocumentPermissionsDefinitionWithDefaults

func NewDocumentPermissionsDefinitionWithDefaults() *DocumentPermissionsDefinition

NewDocumentPermissionsDefinitionWithDefaults instantiates a new DocumentPermissionsDefinition 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

func (*DocumentPermissionsDefinition) GetAllowAllDatasourceUsersAccess

func (o *DocumentPermissionsDefinition) GetAllowAllDatasourceUsersAccess() bool

GetAllowAllDatasourceUsersAccess returns the AllowAllDatasourceUsersAccess field value if set, zero value otherwise.

func (*DocumentPermissionsDefinition) GetAllowAllDatasourceUsersAccessOk

func (o *DocumentPermissionsDefinition) GetAllowAllDatasourceUsersAccessOk() (*bool, bool)

GetAllowAllDatasourceUsersAccessOk returns a tuple with the AllowAllDatasourceUsersAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentPermissionsDefinition) GetAllowAnonymousAccess

func (o *DocumentPermissionsDefinition) GetAllowAnonymousAccess() bool

GetAllowAnonymousAccess returns the AllowAnonymousAccess field value if set, zero value otherwise.

func (*DocumentPermissionsDefinition) GetAllowAnonymousAccessOk

func (o *DocumentPermissionsDefinition) GetAllowAnonymousAccessOk() (*bool, bool)

GetAllowAnonymousAccessOk returns a tuple with the AllowAnonymousAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentPermissionsDefinition) GetAllowedGroupIntersections

func (o *DocumentPermissionsDefinition) GetAllowedGroupIntersections() []PermissionsGroupIntersectionDefinition

GetAllowedGroupIntersections returns the AllowedGroupIntersections field value if set, zero value otherwise.

func (*DocumentPermissionsDefinition) GetAllowedGroupIntersectionsOk

func (o *DocumentPermissionsDefinition) GetAllowedGroupIntersectionsOk() ([]PermissionsGroupIntersectionDefinition, bool)

GetAllowedGroupIntersectionsOk returns a tuple with the AllowedGroupIntersections field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentPermissionsDefinition) GetAllowedGroups

func (o *DocumentPermissionsDefinition) GetAllowedGroups() []string

GetAllowedGroups returns the AllowedGroups field value if set, zero value otherwise.

func (*DocumentPermissionsDefinition) GetAllowedGroupsOk

func (o *DocumentPermissionsDefinition) GetAllowedGroupsOk() ([]string, bool)

GetAllowedGroupsOk returns a tuple with the AllowedGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentPermissionsDefinition) GetAllowedUsers

GetAllowedUsers returns the AllowedUsers field value if set, zero value otherwise.

func (*DocumentPermissionsDefinition) GetAllowedUsersOk

func (o *DocumentPermissionsDefinition) GetAllowedUsersOk() ([]UserReferenceDefinition, bool)

GetAllowedUsersOk returns a tuple with the AllowedUsers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DocumentPermissionsDefinition) HasAllowAllDatasourceUsersAccess

func (o *DocumentPermissionsDefinition) HasAllowAllDatasourceUsersAccess() bool

HasAllowAllDatasourceUsersAccess returns a boolean if a field has been set.

func (*DocumentPermissionsDefinition) HasAllowAnonymousAccess

func (o *DocumentPermissionsDefinition) HasAllowAnonymousAccess() bool

HasAllowAnonymousAccess returns a boolean if a field has been set.

func (*DocumentPermissionsDefinition) HasAllowedGroupIntersections

func (o *DocumentPermissionsDefinition) HasAllowedGroupIntersections() bool

HasAllowedGroupIntersections returns a boolean if a field has been set.

func (*DocumentPermissionsDefinition) HasAllowedGroups

func (o *DocumentPermissionsDefinition) HasAllowedGroups() bool

HasAllowedGroups returns a boolean if a field has been set.

func (*DocumentPermissionsDefinition) HasAllowedUsers

func (o *DocumentPermissionsDefinition) HasAllowedUsers() bool

HasAllowedUsers returns a boolean if a field has been set.

func (DocumentPermissionsDefinition) MarshalJSON

func (o DocumentPermissionsDefinition) MarshalJSON() ([]byte, error)

func (*DocumentPermissionsDefinition) SetAllowAllDatasourceUsersAccess

func (o *DocumentPermissionsDefinition) SetAllowAllDatasourceUsersAccess(v bool)

SetAllowAllDatasourceUsersAccess gets a reference to the given bool and assigns it to the AllowAllDatasourceUsersAccess field.

func (*DocumentPermissionsDefinition) SetAllowAnonymousAccess

func (o *DocumentPermissionsDefinition) SetAllowAnonymousAccess(v bool)

SetAllowAnonymousAccess gets a reference to the given bool and assigns it to the AllowAnonymousAccess field.

func (*DocumentPermissionsDefinition) SetAllowedGroupIntersections

func (o *DocumentPermissionsDefinition) SetAllowedGroupIntersections(v []PermissionsGroupIntersectionDefinition)

SetAllowedGroupIntersections gets a reference to the given []PermissionsGroupIntersectionDefinition and assigns it to the AllowedGroupIntersections field.

func (*DocumentPermissionsDefinition) SetAllowedGroups

func (o *DocumentPermissionsDefinition) SetAllowedGroups(v []string)

SetAllowedGroups gets a reference to the given []string and assigns it to the AllowedGroups field.

func (*DocumentPermissionsDefinition) SetAllowedUsers

SetAllowedUsers gets a reference to the given []UserReferenceDefinition and assigns it to the AllowedUsers field.

type DocumentsApiService

type DocumentsApiService service

DocumentsApiService DocumentsApi service

func (*DocumentsApiService) BulkindexdocumentsPost

BulkindexdocumentsPost Bulk index documents

Replaces the documents in a datasource using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexdocumentsPostRequest

func (*DocumentsApiService) BulkindexdocumentsPostExecute

func (a *DocumentsApiService) BulkindexdocumentsPostExecute(r ApiBulkindexdocumentsPostRequest) (*http.Response, error)

Execute executes the request

func (*DocumentsApiService) DeletedocumentPost

DeletedocumentPost Delete document

Deletes the specified document from the index. Succeeds if document is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeletedocumentPostRequest

func (*DocumentsApiService) DeletedocumentPostExecute

func (a *DocumentsApiService) DeletedocumentPostExecute(r ApiDeletedocumentPostRequest) (*http.Response, error)

Execute executes the request

func (*DocumentsApiService) GetdocumentcountPost

GetdocumentcountPost Get document count

Fetches document count for the specified custom datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetdocumentcountPostRequest

func (*DocumentsApiService) GetdocumentcountPostExecute

Execute executes the request

@return GetDocumentCountResponse

func (*DocumentsApiService) GetdocumentstatusPost

GetdocumentstatusPost Get document upload and indexing status

Intended for debugging/validation. Fetches the current upload and indexing status of documents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetdocumentstatusPostRequest

func (*DocumentsApiService) GetdocumentstatusPostExecute

Execute executes the request

@return GetDocumentStatusResponse

func (*DocumentsApiService) IndexdocumentPost

IndexdocumentPost Index document

Adds a document to the index or updates an existing document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexdocumentPostRequest

func (*DocumentsApiService) IndexdocumentPostExecute

func (a *DocumentsApiService) IndexdocumentPostExecute(r ApiIndexdocumentPostRequest) (*http.Response, error)

Execute executes the request

func (*DocumentsApiService) ProcessalldocumentsPost

func (a *DocumentsApiService) ProcessalldocumentsPost(ctx context.Context) ApiProcessalldocumentsPostRequest

ProcessalldocumentsPost Schedules the processing of uploaded documents

Schedules the immediate processing of documents uploaded through the indexing API. By default the uploaded documents will be processed asynchronously but this API can be used to schedule processing of all documents on demand.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiProcessalldocumentsPostRequest

func (*DocumentsApiService) ProcessalldocumentsPostExecute

func (a *DocumentsApiService) ProcessalldocumentsPostExecute(r ApiProcessalldocumentsPostRequest) (*http.Response, error)

Execute executes the request

type EmployeeAndVersionDefinition

type EmployeeAndVersionDefinition struct {
	Employee *EmployeeInfoDefinition `json:"employee,omitempty"`
	// Version number for the employee object. If absent or 0 then no version checks are done
	Version *int64 `json:"version,omitempty"`
}

EmployeeAndVersionDefinition describes info about an employee and optional version for that info

func NewEmployeeAndVersionDefinition

func NewEmployeeAndVersionDefinition() *EmployeeAndVersionDefinition

NewEmployeeAndVersionDefinition instantiates a new EmployeeAndVersionDefinition 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

func NewEmployeeAndVersionDefinitionWithDefaults

func NewEmployeeAndVersionDefinitionWithDefaults() *EmployeeAndVersionDefinition

NewEmployeeAndVersionDefinitionWithDefaults instantiates a new EmployeeAndVersionDefinition 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

func (*EmployeeAndVersionDefinition) GetEmployee

GetEmployee returns the Employee field value if set, zero value otherwise.

func (*EmployeeAndVersionDefinition) GetEmployeeOk

GetEmployeeOk returns a tuple with the Employee field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeAndVersionDefinition) GetVersion

func (o *EmployeeAndVersionDefinition) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*EmployeeAndVersionDefinition) GetVersionOk

func (o *EmployeeAndVersionDefinition) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeAndVersionDefinition) HasEmployee

func (o *EmployeeAndVersionDefinition) HasEmployee() bool

HasEmployee returns a boolean if a field has been set.

func (*EmployeeAndVersionDefinition) HasVersion

func (o *EmployeeAndVersionDefinition) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (EmployeeAndVersionDefinition) MarshalJSON

func (o EmployeeAndVersionDefinition) MarshalJSON() ([]byte, error)

func (*EmployeeAndVersionDefinition) SetEmployee

SetEmployee gets a reference to the given EmployeeInfoDefinition and assigns it to the Employee field.

func (*EmployeeAndVersionDefinition) SetVersion

func (o *EmployeeAndVersionDefinition) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type EmployeeInfoDefinition

type EmployeeInfoDefinition struct {
	// The employee's email
	Email string `json:"email"`
	// The first name of the employee
	FirstName *string `json:"firstName,omitempty"`
	// The last name of the employee
	LastName *string `json:"lastName,omitempty"`
	// The preferred name or nickname of the employee
	PreferredName *string `json:"preferredName,omitempty"`
	// **[Advanced]** A unique universal internal identifier for the employee. This is solely used for understanding manager relationships along with `managerId`.
	Id *string `json:"id,omitempty"`
	// The employee's phone number.
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	// The employee's location (city/office name etc).
	// Deprecated
	Location           *string             `json:"location,omitempty"`
	StructuredLocation *StructuredLocation `json:"structuredLocation,omitempty"`
	// The employee's role title.
	Title *string `json:"title,omitempty"`
	// The employee's profile pic
	PhotoUrl *string `json:"photoUrl,omitempty"`
	// Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses.
	BusinessUnit *string `json:"businessUnit,omitempty"`
	// An organizational unit where everyone has a similar task, e.g. `Engineering`.
	Department string `json:"department"`
	// The datasource profiles of the employee, e.g. `Slack`,`Github`.
	DatasourceProfiles []DatasourceProfile `json:"datasourceProfiles,omitempty"`
	// Info about the employee's team(s)
	Teams []EmployeeTeamInfo `json:"teams,omitempty"`
	// The date when the employee started
	StartDate *string `json:"startDate,omitempty"`
	// If a former employee, the last date of employment.
	EndDate *string `json:"endDate,omitempty"`
	// Short biography or mission statement of the employee.
	Bio *string `json:"bio,omitempty"`
	// She/her, He/his or other pronoun.
	Pronoun *string `json:"pronoun,omitempty"`
	// Other names associated with the employee.
	AlsoKnownAs []string `json:"alsoKnownAs,omitempty"`
	// Link to internal company person profile.
	ProfileUrl *string `json:"profileUrl,omitempty"`
	// List of social network profiles.
	SocialNetworks []SocialNetworkDefinition `json:"socialNetworks,omitempty"`
	// The email of the employee's manager
	ManagerEmail *string `json:"managerEmail,omitempty"`
	// **[Advanced]** A unique universal internal identifier for the employee's manager. This is solely used in conjunction with `id`.
	ManagerId *string `json:"managerId,omitempty"`
	// The status of the employee, an enum of `CURRENT`, `FUTURE`, `EX`
	Status *string `json:"status,omitempty"`
	// List of additional fields with more information about the employee.
	AdditionalFields []AdditionalFieldDefinition `json:"additionalFields,omitempty"`
}

EmployeeInfoDefinition Describes employee info

func NewEmployeeInfoDefinition

func NewEmployeeInfoDefinition(email string, department string) *EmployeeInfoDefinition

NewEmployeeInfoDefinition instantiates a new EmployeeInfoDefinition 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

func NewEmployeeInfoDefinitionWithDefaults

func NewEmployeeInfoDefinitionWithDefaults() *EmployeeInfoDefinition

NewEmployeeInfoDefinitionWithDefaults instantiates a new EmployeeInfoDefinition 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

func (*EmployeeInfoDefinition) GetAdditionalFields

func (o *EmployeeInfoDefinition) GetAdditionalFields() []AdditionalFieldDefinition

GetAdditionalFields returns the AdditionalFields field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetAdditionalFieldsOk

func (o *EmployeeInfoDefinition) GetAdditionalFieldsOk() ([]AdditionalFieldDefinition, bool)

GetAdditionalFieldsOk returns a tuple with the AdditionalFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetAlsoKnownAs

func (o *EmployeeInfoDefinition) GetAlsoKnownAs() []string

GetAlsoKnownAs returns the AlsoKnownAs field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetAlsoKnownAsOk

func (o *EmployeeInfoDefinition) GetAlsoKnownAsOk() ([]string, bool)

GetAlsoKnownAsOk returns a tuple with the AlsoKnownAs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetBio

func (o *EmployeeInfoDefinition) GetBio() string

GetBio returns the Bio field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetBioOk

func (o *EmployeeInfoDefinition) GetBioOk() (*string, bool)

GetBioOk returns a tuple with the Bio field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetBusinessUnit

func (o *EmployeeInfoDefinition) GetBusinessUnit() string

GetBusinessUnit returns the BusinessUnit field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetBusinessUnitOk

func (o *EmployeeInfoDefinition) GetBusinessUnitOk() (*string, bool)

GetBusinessUnitOk returns a tuple with the BusinessUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetDatasourceProfiles

func (o *EmployeeInfoDefinition) GetDatasourceProfiles() []DatasourceProfile

GetDatasourceProfiles returns the DatasourceProfiles field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetDatasourceProfilesOk

func (o *EmployeeInfoDefinition) GetDatasourceProfilesOk() ([]DatasourceProfile, bool)

GetDatasourceProfilesOk returns a tuple with the DatasourceProfiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetDepartment

func (o *EmployeeInfoDefinition) GetDepartment() string

GetDepartment returns the Department field value

func (*EmployeeInfoDefinition) GetDepartmentOk

func (o *EmployeeInfoDefinition) GetDepartmentOk() (*string, bool)

GetDepartmentOk returns a tuple with the Department field value and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetEmail

func (o *EmployeeInfoDefinition) GetEmail() string

GetEmail returns the Email field value

func (*EmployeeInfoDefinition) GetEmailOk

func (o *EmployeeInfoDefinition) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetEndDate

func (o *EmployeeInfoDefinition) GetEndDate() string

GetEndDate returns the EndDate field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetEndDateOk

func (o *EmployeeInfoDefinition) GetEndDateOk() (*string, bool)

GetEndDateOk returns a tuple with the EndDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetFirstName

func (o *EmployeeInfoDefinition) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetFirstNameOk

func (o *EmployeeInfoDefinition) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetId

func (o *EmployeeInfoDefinition) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetIdOk

func (o *EmployeeInfoDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetLastName

func (o *EmployeeInfoDefinition) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetLastNameOk

func (o *EmployeeInfoDefinition) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetLocation

func (o *EmployeeInfoDefinition) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise. Deprecated

func (*EmployeeInfoDefinition) GetLocationOk

func (o *EmployeeInfoDefinition) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*EmployeeInfoDefinition) GetManagerEmail

func (o *EmployeeInfoDefinition) GetManagerEmail() string

GetManagerEmail returns the ManagerEmail field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetManagerEmailOk

func (o *EmployeeInfoDefinition) GetManagerEmailOk() (*string, bool)

GetManagerEmailOk returns a tuple with the ManagerEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetManagerId

func (o *EmployeeInfoDefinition) GetManagerId() string

GetManagerId returns the ManagerId field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetManagerIdOk

func (o *EmployeeInfoDefinition) GetManagerIdOk() (*string, bool)

GetManagerIdOk returns a tuple with the ManagerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetPhoneNumber

func (o *EmployeeInfoDefinition) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetPhoneNumberOk

func (o *EmployeeInfoDefinition) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetPhotoUrl

func (o *EmployeeInfoDefinition) GetPhotoUrl() string

GetPhotoUrl returns the PhotoUrl field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetPhotoUrlOk

func (o *EmployeeInfoDefinition) GetPhotoUrlOk() (*string, bool)

GetPhotoUrlOk returns a tuple with the PhotoUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetPreferredName

func (o *EmployeeInfoDefinition) GetPreferredName() string

GetPreferredName returns the PreferredName field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetPreferredNameOk

func (o *EmployeeInfoDefinition) GetPreferredNameOk() (*string, bool)

GetPreferredNameOk returns a tuple with the PreferredName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetProfileUrl

func (o *EmployeeInfoDefinition) GetProfileUrl() string

GetProfileUrl returns the ProfileUrl field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetProfileUrlOk

func (o *EmployeeInfoDefinition) GetProfileUrlOk() (*string, bool)

GetProfileUrlOk returns a tuple with the ProfileUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetPronoun

func (o *EmployeeInfoDefinition) GetPronoun() string

GetPronoun returns the Pronoun field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetPronounOk

func (o *EmployeeInfoDefinition) GetPronounOk() (*string, bool)

GetPronounOk returns a tuple with the Pronoun field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetSocialNetworks

func (o *EmployeeInfoDefinition) GetSocialNetworks() []SocialNetworkDefinition

GetSocialNetworks returns the SocialNetworks field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetSocialNetworksOk

func (o *EmployeeInfoDefinition) GetSocialNetworksOk() ([]SocialNetworkDefinition, bool)

GetSocialNetworksOk returns a tuple with the SocialNetworks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetStartDate

func (o *EmployeeInfoDefinition) GetStartDate() string

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetStartDateOk

func (o *EmployeeInfoDefinition) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetStatus

func (o *EmployeeInfoDefinition) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetStatusOk

func (o *EmployeeInfoDefinition) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetStructuredLocation

func (o *EmployeeInfoDefinition) GetStructuredLocation() StructuredLocation

GetStructuredLocation returns the StructuredLocation field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetStructuredLocationOk

func (o *EmployeeInfoDefinition) GetStructuredLocationOk() (*StructuredLocation, bool)

GetStructuredLocationOk returns a tuple with the StructuredLocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetTeams

func (o *EmployeeInfoDefinition) GetTeams() []EmployeeTeamInfo

GetTeams returns the Teams field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetTeamsOk

func (o *EmployeeInfoDefinition) GetTeamsOk() ([]EmployeeTeamInfo, bool)

GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) GetTitle

func (o *EmployeeInfoDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*EmployeeInfoDefinition) GetTitleOk

func (o *EmployeeInfoDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeInfoDefinition) HasAdditionalFields

func (o *EmployeeInfoDefinition) HasAdditionalFields() bool

HasAdditionalFields returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasAlsoKnownAs

func (o *EmployeeInfoDefinition) HasAlsoKnownAs() bool

HasAlsoKnownAs returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasBio

func (o *EmployeeInfoDefinition) HasBio() bool

HasBio returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasBusinessUnit

func (o *EmployeeInfoDefinition) HasBusinessUnit() bool

HasBusinessUnit returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasDatasourceProfiles

func (o *EmployeeInfoDefinition) HasDatasourceProfiles() bool

HasDatasourceProfiles returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasEndDate

func (o *EmployeeInfoDefinition) HasEndDate() bool

HasEndDate returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasFirstName

func (o *EmployeeInfoDefinition) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasId

func (o *EmployeeInfoDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasLastName

func (o *EmployeeInfoDefinition) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasLocation

func (o *EmployeeInfoDefinition) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasManagerEmail

func (o *EmployeeInfoDefinition) HasManagerEmail() bool

HasManagerEmail returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasManagerId

func (o *EmployeeInfoDefinition) HasManagerId() bool

HasManagerId returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasPhoneNumber

func (o *EmployeeInfoDefinition) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasPhotoUrl

func (o *EmployeeInfoDefinition) HasPhotoUrl() bool

HasPhotoUrl returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasPreferredName

func (o *EmployeeInfoDefinition) HasPreferredName() bool

HasPreferredName returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasProfileUrl

func (o *EmployeeInfoDefinition) HasProfileUrl() bool

HasProfileUrl returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasPronoun

func (o *EmployeeInfoDefinition) HasPronoun() bool

HasPronoun returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasSocialNetworks

func (o *EmployeeInfoDefinition) HasSocialNetworks() bool

HasSocialNetworks returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasStartDate

func (o *EmployeeInfoDefinition) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasStatus

func (o *EmployeeInfoDefinition) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasStructuredLocation

func (o *EmployeeInfoDefinition) HasStructuredLocation() bool

HasStructuredLocation returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasTeams

func (o *EmployeeInfoDefinition) HasTeams() bool

HasTeams returns a boolean if a field has been set.

func (*EmployeeInfoDefinition) HasTitle

func (o *EmployeeInfoDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (EmployeeInfoDefinition) MarshalJSON

func (o EmployeeInfoDefinition) MarshalJSON() ([]byte, error)

func (*EmployeeInfoDefinition) SetAdditionalFields

func (o *EmployeeInfoDefinition) SetAdditionalFields(v []AdditionalFieldDefinition)

SetAdditionalFields gets a reference to the given []AdditionalFieldDefinition and assigns it to the AdditionalFields field.

func (*EmployeeInfoDefinition) SetAlsoKnownAs

func (o *EmployeeInfoDefinition) SetAlsoKnownAs(v []string)

SetAlsoKnownAs gets a reference to the given []string and assigns it to the AlsoKnownAs field.

func (*EmployeeInfoDefinition) SetBio

func (o *EmployeeInfoDefinition) SetBio(v string)

SetBio gets a reference to the given string and assigns it to the Bio field.

func (*EmployeeInfoDefinition) SetBusinessUnit

func (o *EmployeeInfoDefinition) SetBusinessUnit(v string)

SetBusinessUnit gets a reference to the given string and assigns it to the BusinessUnit field.

func (*EmployeeInfoDefinition) SetDatasourceProfiles

func (o *EmployeeInfoDefinition) SetDatasourceProfiles(v []DatasourceProfile)

SetDatasourceProfiles gets a reference to the given []DatasourceProfile and assigns it to the DatasourceProfiles field.

func (*EmployeeInfoDefinition) SetDepartment

func (o *EmployeeInfoDefinition) SetDepartment(v string)

SetDepartment sets field value

func (*EmployeeInfoDefinition) SetEmail

func (o *EmployeeInfoDefinition) SetEmail(v string)

SetEmail sets field value

func (*EmployeeInfoDefinition) SetEndDate

func (o *EmployeeInfoDefinition) SetEndDate(v string)

SetEndDate gets a reference to the given string and assigns it to the EndDate field.

func (*EmployeeInfoDefinition) SetFirstName

func (o *EmployeeInfoDefinition) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*EmployeeInfoDefinition) SetId

func (o *EmployeeInfoDefinition) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*EmployeeInfoDefinition) SetLastName

func (o *EmployeeInfoDefinition) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*EmployeeInfoDefinition) SetLocation

func (o *EmployeeInfoDefinition) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field. Deprecated

func (*EmployeeInfoDefinition) SetManagerEmail

func (o *EmployeeInfoDefinition) SetManagerEmail(v string)

SetManagerEmail gets a reference to the given string and assigns it to the ManagerEmail field.

func (*EmployeeInfoDefinition) SetManagerId

func (o *EmployeeInfoDefinition) SetManagerId(v string)

SetManagerId gets a reference to the given string and assigns it to the ManagerId field.

func (*EmployeeInfoDefinition) SetPhoneNumber

func (o *EmployeeInfoDefinition) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*EmployeeInfoDefinition) SetPhotoUrl

func (o *EmployeeInfoDefinition) SetPhotoUrl(v string)

SetPhotoUrl gets a reference to the given string and assigns it to the PhotoUrl field.

func (*EmployeeInfoDefinition) SetPreferredName

func (o *EmployeeInfoDefinition) SetPreferredName(v string)

SetPreferredName gets a reference to the given string and assigns it to the PreferredName field.

func (*EmployeeInfoDefinition) SetProfileUrl

func (o *EmployeeInfoDefinition) SetProfileUrl(v string)

SetProfileUrl gets a reference to the given string and assigns it to the ProfileUrl field.

func (*EmployeeInfoDefinition) SetPronoun

func (o *EmployeeInfoDefinition) SetPronoun(v string)

SetPronoun gets a reference to the given string and assigns it to the Pronoun field.

func (*EmployeeInfoDefinition) SetSocialNetworks

func (o *EmployeeInfoDefinition) SetSocialNetworks(v []SocialNetworkDefinition)

SetSocialNetworks gets a reference to the given []SocialNetworkDefinition and assigns it to the SocialNetworks field.

func (*EmployeeInfoDefinition) SetStartDate

func (o *EmployeeInfoDefinition) SetStartDate(v string)

SetStartDate gets a reference to the given string and assigns it to the StartDate field.

func (*EmployeeInfoDefinition) SetStatus

func (o *EmployeeInfoDefinition) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*EmployeeInfoDefinition) SetStructuredLocation

func (o *EmployeeInfoDefinition) SetStructuredLocation(v StructuredLocation)

SetStructuredLocation gets a reference to the given StructuredLocation and assigns it to the StructuredLocation field.

func (*EmployeeInfoDefinition) SetTeams

func (o *EmployeeInfoDefinition) SetTeams(v []EmployeeTeamInfo)

SetTeams gets a reference to the given []EmployeeTeamInfo and assigns it to the Teams field.

func (*EmployeeInfoDefinition) SetTitle

func (o *EmployeeInfoDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

type EmployeeTeamInfo

type EmployeeTeamInfo struct {
	// unique identifier for this team
	Id *string `json:"id,omitempty"`
	// Team name
	Name *string `json:"name,omitempty"`
	// Link to internal company team page
	Url *string `json:"url,omitempty"`
}

EmployeeTeamInfo Information about which team an employee belongs to

func NewEmployeeTeamInfo

func NewEmployeeTeamInfo() *EmployeeTeamInfo

NewEmployeeTeamInfo instantiates a new EmployeeTeamInfo 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

func NewEmployeeTeamInfoWithDefaults

func NewEmployeeTeamInfoWithDefaults() *EmployeeTeamInfo

NewEmployeeTeamInfoWithDefaults instantiates a new EmployeeTeamInfo 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

func (*EmployeeTeamInfo) GetId

func (o *EmployeeTeamInfo) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*EmployeeTeamInfo) GetIdOk

func (o *EmployeeTeamInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeTeamInfo) GetName

func (o *EmployeeTeamInfo) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*EmployeeTeamInfo) GetNameOk

func (o *EmployeeTeamInfo) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeTeamInfo) GetUrl

func (o *EmployeeTeamInfo) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*EmployeeTeamInfo) GetUrlOk

func (o *EmployeeTeamInfo) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmployeeTeamInfo) HasId

func (o *EmployeeTeamInfo) HasId() bool

HasId returns a boolean if a field has been set.

func (*EmployeeTeamInfo) HasName

func (o *EmployeeTeamInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*EmployeeTeamInfo) HasUrl

func (o *EmployeeTeamInfo) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (EmployeeTeamInfo) MarshalJSON

func (o EmployeeTeamInfo) MarshalJSON() ([]byte, error)

func (*EmployeeTeamInfo) SetId

func (o *EmployeeTeamInfo) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*EmployeeTeamInfo) SetName

func (o *EmployeeTeamInfo) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*EmployeeTeamInfo) SetUrl

func (o *EmployeeTeamInfo) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetDatasourceConfigRequest

type GetDatasourceConfigRequest struct {
	// Datasource name for which config is needed.
	Name *string `json:"name,omitempty"`
}

GetDatasourceConfigRequest Describes the request body of the /getdatasourceconfig API call

func NewGetDatasourceConfigRequest

func NewGetDatasourceConfigRequest() *GetDatasourceConfigRequest

NewGetDatasourceConfigRequest instantiates a new GetDatasourceConfigRequest 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

func NewGetDatasourceConfigRequestWithDefaults

func NewGetDatasourceConfigRequestWithDefaults() *GetDatasourceConfigRequest

NewGetDatasourceConfigRequestWithDefaults instantiates a new GetDatasourceConfigRequest 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

func (*GetDatasourceConfigRequest) GetName

func (o *GetDatasourceConfigRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*GetDatasourceConfigRequest) GetNameOk

func (o *GetDatasourceConfigRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetDatasourceConfigRequest) HasName

func (o *GetDatasourceConfigRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (GetDatasourceConfigRequest) MarshalJSON

func (o GetDatasourceConfigRequest) MarshalJSON() ([]byte, error)

func (*GetDatasourceConfigRequest) SetName

func (o *GetDatasourceConfigRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type GetDocumentCountRequest

type GetDocumentCountRequest struct {
	// Datasource name for which document count is needed.
	Name string `json:"name"`
}

GetDocumentCountRequest Describes the request body of the /getdocumentcount API call

func NewGetDocumentCountRequest

func NewGetDocumentCountRequest(name string) *GetDocumentCountRequest

NewGetDocumentCountRequest instantiates a new GetDocumentCountRequest 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

func NewGetDocumentCountRequestWithDefaults

func NewGetDocumentCountRequestWithDefaults() *GetDocumentCountRequest

NewGetDocumentCountRequestWithDefaults instantiates a new GetDocumentCountRequest 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

func (*GetDocumentCountRequest) GetName

func (o *GetDocumentCountRequest) GetName() string

GetName returns the Name field value

func (*GetDocumentCountRequest) GetNameOk

func (o *GetDocumentCountRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (GetDocumentCountRequest) MarshalJSON

func (o GetDocumentCountRequest) MarshalJSON() ([]byte, error)

func (*GetDocumentCountRequest) SetName

func (o *GetDocumentCountRequest) SetName(v string)

SetName sets field value

type GetDocumentCountResponse

type GetDocumentCountResponse struct {
	// Number of documents corresponding to the specified custom datasource.
	DocumentCount *int32 `json:"documentCount,omitempty"`
}

GetDocumentCountResponse Describes the response body of the /getdocumentcount API call

func NewGetDocumentCountResponse

func NewGetDocumentCountResponse() *GetDocumentCountResponse

NewGetDocumentCountResponse instantiates a new GetDocumentCountResponse 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

func NewGetDocumentCountResponseWithDefaults

func NewGetDocumentCountResponseWithDefaults() *GetDocumentCountResponse

NewGetDocumentCountResponseWithDefaults instantiates a new GetDocumentCountResponse 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

func (*GetDocumentCountResponse) GetDocumentCount

func (o *GetDocumentCountResponse) GetDocumentCount() int32

GetDocumentCount returns the DocumentCount field value if set, zero value otherwise.

func (*GetDocumentCountResponse) GetDocumentCountOk

func (o *GetDocumentCountResponse) GetDocumentCountOk() (*int32, bool)

GetDocumentCountOk returns a tuple with the DocumentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetDocumentCountResponse) HasDocumentCount

func (o *GetDocumentCountResponse) HasDocumentCount() bool

HasDocumentCount returns a boolean if a field has been set.

func (GetDocumentCountResponse) MarshalJSON

func (o GetDocumentCountResponse) MarshalJSON() ([]byte, error)

func (*GetDocumentCountResponse) SetDocumentCount

func (o *GetDocumentCountResponse) SetDocumentCount(v int32)

SetDocumentCount gets a reference to the given int32 and assigns it to the DocumentCount field.

type GetDocumentStatusRequest

type GetDocumentStatusRequest struct {
	// Datasource to get fetch document status for
	Datasource string `json:"datasource"`
	// Object type of the document to get the status for
	ObjectType string `json:"objectType"`
	// Document ID within the datasource to get the status for
	DocId string `json:"docId"`
}

GetDocumentStatusRequest Describes the request body for /getdocumentstatus API call

func NewGetDocumentStatusRequest

func NewGetDocumentStatusRequest(datasource string, objectType string, docId string) *GetDocumentStatusRequest

NewGetDocumentStatusRequest instantiates a new GetDocumentStatusRequest 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

func NewGetDocumentStatusRequestWithDefaults

func NewGetDocumentStatusRequestWithDefaults() *GetDocumentStatusRequest

NewGetDocumentStatusRequestWithDefaults instantiates a new GetDocumentStatusRequest 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

func (*GetDocumentStatusRequest) GetDatasource

func (o *GetDocumentStatusRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*GetDocumentStatusRequest) GetDatasourceOk

func (o *GetDocumentStatusRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*GetDocumentStatusRequest) GetDocId

func (o *GetDocumentStatusRequest) GetDocId() string

GetDocId returns the DocId field value

func (*GetDocumentStatusRequest) GetDocIdOk

func (o *GetDocumentStatusRequest) GetDocIdOk() (*string, bool)

GetDocIdOk returns a tuple with the DocId field value and a boolean to check if the value has been set.

func (*GetDocumentStatusRequest) GetObjectType

func (o *GetDocumentStatusRequest) GetObjectType() string

GetObjectType returns the ObjectType field value

func (*GetDocumentStatusRequest) GetObjectTypeOk

func (o *GetDocumentStatusRequest) GetObjectTypeOk() (*string, bool)

GetObjectTypeOk returns a tuple with the ObjectType field value and a boolean to check if the value has been set.

func (GetDocumentStatusRequest) MarshalJSON

func (o GetDocumentStatusRequest) MarshalJSON() ([]byte, error)

func (*GetDocumentStatusRequest) SetDatasource

func (o *GetDocumentStatusRequest) SetDatasource(v string)

SetDatasource sets field value

func (*GetDocumentStatusRequest) SetDocId

func (o *GetDocumentStatusRequest) SetDocId(v string)

SetDocId sets field value

func (*GetDocumentStatusRequest) SetObjectType

func (o *GetDocumentStatusRequest) SetObjectType(v string)

SetObjectType sets field value

type GetDocumentStatusResponse

type GetDocumentStatusResponse struct {
	// Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN
	UploadStatus *string `json:"uploadStatus,omitempty"`
	// Time of last successful upload, in epoch seconds
	LastUploadedAt *int64 `json:"lastUploadedAt,omitempty"`
	// Indexing status, enum of NOT_INDEXED, INDEXED, STATUS_UNKNOWN
	IndexingStatus *string `json:"indexingStatus,omitempty"`
	// Time of last successful indexing, in epoch seconds
	LastIndexedAt *int64 `json:"lastIndexedAt,omitempty"`
}

GetDocumentStatusResponse Describes the response body of the /getdocumentstatus API call

func NewGetDocumentStatusResponse

func NewGetDocumentStatusResponse() *GetDocumentStatusResponse

NewGetDocumentStatusResponse instantiates a new GetDocumentStatusResponse 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

func NewGetDocumentStatusResponseWithDefaults

func NewGetDocumentStatusResponseWithDefaults() *GetDocumentStatusResponse

NewGetDocumentStatusResponseWithDefaults instantiates a new GetDocumentStatusResponse 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

func (*GetDocumentStatusResponse) GetIndexingStatus

func (o *GetDocumentStatusResponse) GetIndexingStatus() string

GetIndexingStatus returns the IndexingStatus field value if set, zero value otherwise.

func (*GetDocumentStatusResponse) GetIndexingStatusOk

func (o *GetDocumentStatusResponse) GetIndexingStatusOk() (*string, bool)

GetIndexingStatusOk returns a tuple with the IndexingStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetDocumentStatusResponse) GetLastIndexedAt

func (o *GetDocumentStatusResponse) GetLastIndexedAt() int64

GetLastIndexedAt returns the LastIndexedAt field value if set, zero value otherwise.

func (*GetDocumentStatusResponse) GetLastIndexedAtOk

func (o *GetDocumentStatusResponse) GetLastIndexedAtOk() (*int64, bool)

GetLastIndexedAtOk returns a tuple with the LastIndexedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetDocumentStatusResponse) GetLastUploadedAt

func (o *GetDocumentStatusResponse) GetLastUploadedAt() int64

GetLastUploadedAt returns the LastUploadedAt field value if set, zero value otherwise.

func (*GetDocumentStatusResponse) GetLastUploadedAtOk

func (o *GetDocumentStatusResponse) GetLastUploadedAtOk() (*int64, bool)

GetLastUploadedAtOk returns a tuple with the LastUploadedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetDocumentStatusResponse) GetUploadStatus

func (o *GetDocumentStatusResponse) GetUploadStatus() string

GetUploadStatus returns the UploadStatus field value if set, zero value otherwise.

func (*GetDocumentStatusResponse) GetUploadStatusOk

func (o *GetDocumentStatusResponse) GetUploadStatusOk() (*string, bool)

GetUploadStatusOk returns a tuple with the UploadStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetDocumentStatusResponse) HasIndexingStatus

func (o *GetDocumentStatusResponse) HasIndexingStatus() bool

HasIndexingStatus returns a boolean if a field has been set.

func (*GetDocumentStatusResponse) HasLastIndexedAt

func (o *GetDocumentStatusResponse) HasLastIndexedAt() bool

HasLastIndexedAt returns a boolean if a field has been set.

func (*GetDocumentStatusResponse) HasLastUploadedAt

func (o *GetDocumentStatusResponse) HasLastUploadedAt() bool

HasLastUploadedAt returns a boolean if a field has been set.

func (*GetDocumentStatusResponse) HasUploadStatus

func (o *GetDocumentStatusResponse) HasUploadStatus() bool

HasUploadStatus returns a boolean if a field has been set.

func (GetDocumentStatusResponse) MarshalJSON

func (o GetDocumentStatusResponse) MarshalJSON() ([]byte, error)

func (*GetDocumentStatusResponse) SetIndexingStatus

func (o *GetDocumentStatusResponse) SetIndexingStatus(v string)

SetIndexingStatus gets a reference to the given string and assigns it to the IndexingStatus field.

func (*GetDocumentStatusResponse) SetLastIndexedAt

func (o *GetDocumentStatusResponse) SetLastIndexedAt(v int64)

SetLastIndexedAt gets a reference to the given int64 and assigns it to the LastIndexedAt field.

func (*GetDocumentStatusResponse) SetLastUploadedAt

func (o *GetDocumentStatusResponse) SetLastUploadedAt(v int64)

SetLastUploadedAt gets a reference to the given int64 and assigns it to the LastUploadedAt field.

func (*GetDocumentStatusResponse) SetUploadStatus

func (o *GetDocumentStatusResponse) SetUploadStatus(v string)

SetUploadStatus gets a reference to the given string and assigns it to the UploadStatus field.

type GetUserCountRequest

type GetUserCountRequest struct {
	// Datasource name for which user count is needed.
	Name *string `json:"name,omitempty"`
}

GetUserCountRequest Describes the request body of the /getusercount API call

func NewGetUserCountRequest

func NewGetUserCountRequest() *GetUserCountRequest

NewGetUserCountRequest instantiates a new GetUserCountRequest 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

func NewGetUserCountRequestWithDefaults

func NewGetUserCountRequestWithDefaults() *GetUserCountRequest

NewGetUserCountRequestWithDefaults instantiates a new GetUserCountRequest 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

func (*GetUserCountRequest) GetName

func (o *GetUserCountRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*GetUserCountRequest) GetNameOk

func (o *GetUserCountRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetUserCountRequest) HasName

func (o *GetUserCountRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (GetUserCountRequest) MarshalJSON

func (o GetUserCountRequest) MarshalJSON() ([]byte, error)

func (*GetUserCountRequest) SetName

func (o *GetUserCountRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type GetUserCountResponse

type GetUserCountResponse struct {
	// Number of users corresponding to the specified custom datasource.
	UserCount *int32 `json:"userCount,omitempty"`
}

GetUserCountResponse Describes the response body of the /getusercount API call

func NewGetUserCountResponse

func NewGetUserCountResponse() *GetUserCountResponse

NewGetUserCountResponse instantiates a new GetUserCountResponse 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

func NewGetUserCountResponseWithDefaults

func NewGetUserCountResponseWithDefaults() *GetUserCountResponse

NewGetUserCountResponseWithDefaults instantiates a new GetUserCountResponse 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

func (*GetUserCountResponse) GetUserCount

func (o *GetUserCountResponse) GetUserCount() int32

GetUserCount returns the UserCount field value if set, zero value otherwise.

func (*GetUserCountResponse) GetUserCountOk

func (o *GetUserCountResponse) GetUserCountOk() (*int32, bool)

GetUserCountOk returns a tuple with the UserCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetUserCountResponse) HasUserCount

func (o *GetUserCountResponse) HasUserCount() bool

HasUserCount returns a boolean if a field has been set.

func (GetUserCountResponse) MarshalJSON

func (o GetUserCountResponse) MarshalJSON() ([]byte, error)

func (*GetUserCountResponse) SetUserCount

func (o *GetUserCountResponse) SetUserCount(v int32)

SetUserCount gets a reference to the given int32 and assigns it to the UserCount field.

type GreenlistUsersRequest

type GreenlistUsersRequest struct {
	// Datasource which needs to be made visible to users specified in the `emails` field.
	Datasource string `json:"datasource"`
	// The emails of the beta users
	Emails []string `json:"emails"`
}

GreenlistUsersRequest Describes the request body of the /betausers API call

func NewGreenlistUsersRequest

func NewGreenlistUsersRequest(datasource string, emails []string) *GreenlistUsersRequest

NewGreenlistUsersRequest instantiates a new GreenlistUsersRequest 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

func NewGreenlistUsersRequestWithDefaults

func NewGreenlistUsersRequestWithDefaults() *GreenlistUsersRequest

NewGreenlistUsersRequestWithDefaults instantiates a new GreenlistUsersRequest 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

func (*GreenlistUsersRequest) GetDatasource

func (o *GreenlistUsersRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*GreenlistUsersRequest) GetDatasourceOk

func (o *GreenlistUsersRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*GreenlistUsersRequest) GetEmails

func (o *GreenlistUsersRequest) GetEmails() []string

GetEmails returns the Emails field value

func (*GreenlistUsersRequest) GetEmailsOk

func (o *GreenlistUsersRequest) GetEmailsOk() ([]string, bool)

GetEmailsOk returns a tuple with the Emails field value and a boolean to check if the value has been set.

func (GreenlistUsersRequest) MarshalJSON

func (o GreenlistUsersRequest) MarshalJSON() ([]byte, error)

func (*GreenlistUsersRequest) SetDatasource

func (o *GreenlistUsersRequest) SetDatasource(v string)

SetDatasource sets field value

func (*GreenlistUsersRequest) SetEmails

func (o *GreenlistUsersRequest) SetEmails(v []string)

SetEmails sets field value

type HypertextField

type HypertextField struct {
	// Anchor text for the hypertext field.
	Anchor *string `json:"anchor,omitempty"`
	// URL for the hypertext field.
	Hyperlink *string `json:"hyperlink,omitempty"`
}

HypertextField struct for HypertextField

func NewHypertextField

func NewHypertextField() *HypertextField

NewHypertextField instantiates a new HypertextField 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

func NewHypertextFieldWithDefaults

func NewHypertextFieldWithDefaults() *HypertextField

NewHypertextFieldWithDefaults instantiates a new HypertextField 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

func (*HypertextField) GetAnchor

func (o *HypertextField) GetAnchor() string

GetAnchor returns the Anchor field value if set, zero value otherwise.

func (*HypertextField) GetAnchorOk

func (o *HypertextField) GetAnchorOk() (*string, bool)

GetAnchorOk returns a tuple with the Anchor field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *HypertextField) GetHyperlink() string

GetHyperlink returns the Hyperlink field value if set, zero value otherwise.

func (*HypertextField) GetHyperlinkOk

func (o *HypertextField) GetHyperlinkOk() (*string, bool)

GetHyperlinkOk returns a tuple with the Hyperlink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HypertextField) HasAnchor

func (o *HypertextField) HasAnchor() bool

HasAnchor returns a boolean if a field has been set.

func (o *HypertextField) HasHyperlink() bool

HasHyperlink returns a boolean if a field has been set.

func (HypertextField) MarshalJSON

func (o HypertextField) MarshalJSON() ([]byte, error)

func (*HypertextField) SetAnchor

func (o *HypertextField) SetAnchor(v string)

SetAnchor gets a reference to the given string and assigns it to the Anchor field.

func (o *HypertextField) SetHyperlink(v string)

SetHyperlink gets a reference to the given string and assigns it to the Hyperlink field.

type IconConfig

type IconConfig struct {
	Color    *string `json:"color,omitempty"`
	Key      *string `json:"key,omitempty"`
	IconType *string `json:"iconType,omitempty"`
	// The filename for iconType.GLYPH icons
	Name *string `json:"name,omitempty"`
	// The URL to an image to be displayed for iconType.URL icons
	Url *string `json:"url,omitempty"`
}

IconConfig Defines how to render an icon

func NewIconConfig

func NewIconConfig() *IconConfig

NewIconConfig instantiates a new IconConfig 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

func NewIconConfigWithDefaults

func NewIconConfigWithDefaults() *IconConfig

NewIconConfigWithDefaults instantiates a new IconConfig 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

func (*IconConfig) GetColor

func (o *IconConfig) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*IconConfig) GetColorOk

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

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IconConfig) GetIconType

func (o *IconConfig) GetIconType() string

GetIconType returns the IconType field value if set, zero value otherwise.

func (*IconConfig) GetIconTypeOk

func (o *IconConfig) GetIconTypeOk() (*string, bool)

GetIconTypeOk returns a tuple with the IconType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IconConfig) GetKey

func (o *IconConfig) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*IconConfig) GetKeyOk

func (o *IconConfig) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IconConfig) GetName

func (o *IconConfig) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*IconConfig) GetNameOk

func (o *IconConfig) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IconConfig) GetUrl

func (o *IconConfig) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*IconConfig) GetUrlOk

func (o *IconConfig) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IconConfig) HasColor

func (o *IconConfig) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*IconConfig) HasIconType

func (o *IconConfig) HasIconType() bool

HasIconType returns a boolean if a field has been set.

func (*IconConfig) HasKey

func (o *IconConfig) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*IconConfig) HasName

func (o *IconConfig) HasName() bool

HasName returns a boolean if a field has been set.

func (*IconConfig) HasUrl

func (o *IconConfig) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (IconConfig) MarshalJSON

func (o IconConfig) MarshalJSON() ([]byte, error)

func (*IconConfig) SetColor

func (o *IconConfig) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (*IconConfig) SetIconType

func (o *IconConfig) SetIconType(v string)

SetIconType gets a reference to the given string and assigns it to the IconType field.

func (*IconConfig) SetKey

func (o *IconConfig) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*IconConfig) SetName

func (o *IconConfig) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*IconConfig) SetUrl

func (o *IconConfig) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type IndexDocumentRequest

type IndexDocumentRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version  *int64             `json:"version,omitempty"`
	Document DocumentDefinition `json:"document"`
}

IndexDocumentRequest Describes the request body of the /indexdocument API call

func NewIndexDocumentRequest

func NewIndexDocumentRequest(document DocumentDefinition) *IndexDocumentRequest

NewIndexDocumentRequest instantiates a new IndexDocumentRequest 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

func NewIndexDocumentRequestWithDefaults

func NewIndexDocumentRequestWithDefaults() *IndexDocumentRequest

NewIndexDocumentRequestWithDefaults instantiates a new IndexDocumentRequest 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

func (*IndexDocumentRequest) GetDocument

func (o *IndexDocumentRequest) GetDocument() DocumentDefinition

GetDocument returns the Document field value

func (*IndexDocumentRequest) GetDocumentOk

func (o *IndexDocumentRequest) GetDocumentOk() (*DocumentDefinition, bool)

GetDocumentOk returns a tuple with the Document field value and a boolean to check if the value has been set.

func (*IndexDocumentRequest) GetVersion

func (o *IndexDocumentRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*IndexDocumentRequest) GetVersionOk

func (o *IndexDocumentRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IndexDocumentRequest) HasVersion

func (o *IndexDocumentRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IndexDocumentRequest) MarshalJSON

func (o IndexDocumentRequest) MarshalJSON() ([]byte, error)

func (*IndexDocumentRequest) SetDocument

func (o *IndexDocumentRequest) SetDocument(v DocumentDefinition)

SetDocument sets field value

func (*IndexDocumentRequest) SetVersion

func (o *IndexDocumentRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type IndexEmployeeListRequest

type IndexEmployeeListRequest struct {
	// List of employee info and version.
	Employees []IndexEmployeeRequest `json:"employees,omitempty"`
}

IndexEmployeeListRequest Describes the request body of the /indexemployeelist API call

func NewIndexEmployeeListRequest

func NewIndexEmployeeListRequest() *IndexEmployeeListRequest

NewIndexEmployeeListRequest instantiates a new IndexEmployeeListRequest 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

func NewIndexEmployeeListRequestWithDefaults

func NewIndexEmployeeListRequestWithDefaults() *IndexEmployeeListRequest

NewIndexEmployeeListRequestWithDefaults instantiates a new IndexEmployeeListRequest 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

func (*IndexEmployeeListRequest) GetEmployees

func (o *IndexEmployeeListRequest) GetEmployees() []IndexEmployeeRequest

GetEmployees returns the Employees field value if set, zero value otherwise.

func (*IndexEmployeeListRequest) GetEmployeesOk

func (o *IndexEmployeeListRequest) GetEmployeesOk() ([]IndexEmployeeRequest, bool)

GetEmployeesOk returns a tuple with the Employees field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IndexEmployeeListRequest) HasEmployees

func (o *IndexEmployeeListRequest) HasEmployees() bool

HasEmployees returns a boolean if a field has been set.

func (IndexEmployeeListRequest) MarshalJSON

func (o IndexEmployeeListRequest) MarshalJSON() ([]byte, error)

func (*IndexEmployeeListRequest) SetEmployees

func (o *IndexEmployeeListRequest) SetEmployees(v []IndexEmployeeRequest)

SetEmployees gets a reference to the given []IndexEmployeeRequest and assigns it to the Employees field.

type IndexEmployeeRequest

type IndexEmployeeRequest struct {
	Employee EmployeeInfoDefinition `json:"employee"`
	// Version number for the employee object. If absent or 0 then no version checks are done
	Version *int64 `json:"version,omitempty"`
}

IndexEmployeeRequest Info about an employee and optional version for that info

func NewIndexEmployeeRequest

func NewIndexEmployeeRequest(employee EmployeeInfoDefinition) *IndexEmployeeRequest

NewIndexEmployeeRequest instantiates a new IndexEmployeeRequest 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

func NewIndexEmployeeRequestWithDefaults

func NewIndexEmployeeRequestWithDefaults() *IndexEmployeeRequest

NewIndexEmployeeRequestWithDefaults instantiates a new IndexEmployeeRequest 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

func (*IndexEmployeeRequest) GetEmployee

GetEmployee returns the Employee field value

func (*IndexEmployeeRequest) GetEmployeeOk

func (o *IndexEmployeeRequest) GetEmployeeOk() (*EmployeeInfoDefinition, bool)

GetEmployeeOk returns a tuple with the Employee field value and a boolean to check if the value has been set.

func (*IndexEmployeeRequest) GetVersion

func (o *IndexEmployeeRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*IndexEmployeeRequest) GetVersionOk

func (o *IndexEmployeeRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IndexEmployeeRequest) HasVersion

func (o *IndexEmployeeRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IndexEmployeeRequest) MarshalJSON

func (o IndexEmployeeRequest) MarshalJSON() ([]byte, error)

func (*IndexEmployeeRequest) SetEmployee

func (o *IndexEmployeeRequest) SetEmployee(v EmployeeInfoDefinition)

SetEmployee sets field value

func (*IndexEmployeeRequest) SetVersion

func (o *IndexEmployeeRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type IndexGroupRequest

type IndexGroupRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the group is added
	Datasource string                    `json:"datasource"`
	Group      DatasourceGroupDefinition `json:"group"`
}

IndexGroupRequest Describes the request body of the /indexgroup API call

func NewIndexGroupRequest

func NewIndexGroupRequest(datasource string, group DatasourceGroupDefinition) *IndexGroupRequest

NewIndexGroupRequest instantiates a new IndexGroupRequest 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

func NewIndexGroupRequestWithDefaults

func NewIndexGroupRequestWithDefaults() *IndexGroupRequest

NewIndexGroupRequestWithDefaults instantiates a new IndexGroupRequest 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

func (*IndexGroupRequest) GetDatasource

func (o *IndexGroupRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*IndexGroupRequest) GetDatasourceOk

func (o *IndexGroupRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*IndexGroupRequest) GetGroup

GetGroup returns the Group field value

func (*IndexGroupRequest) GetGroupOk

func (o *IndexGroupRequest) GetGroupOk() (*DatasourceGroupDefinition, bool)

GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.

func (*IndexGroupRequest) GetVersion

func (o *IndexGroupRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*IndexGroupRequest) GetVersionOk

func (o *IndexGroupRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IndexGroupRequest) HasVersion

func (o *IndexGroupRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IndexGroupRequest) MarshalJSON

func (o IndexGroupRequest) MarshalJSON() ([]byte, error)

func (*IndexGroupRequest) SetDatasource

func (o *IndexGroupRequest) SetDatasource(v string)

SetDatasource sets field value

func (*IndexGroupRequest) SetGroup

SetGroup sets field value

func (*IndexGroupRequest) SetVersion

func (o *IndexGroupRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type IndexMembershipRequest

type IndexMembershipRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the membership is added
	Datasource string                         `json:"datasource"`
	Membership DatasourceMembershipDefinition `json:"membership"`
}

IndexMembershipRequest Describes the request body of the /indexmembership API call

func NewIndexMembershipRequest

func NewIndexMembershipRequest(datasource string, membership DatasourceMembershipDefinition) *IndexMembershipRequest

NewIndexMembershipRequest instantiates a new IndexMembershipRequest 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

func NewIndexMembershipRequestWithDefaults

func NewIndexMembershipRequestWithDefaults() *IndexMembershipRequest

NewIndexMembershipRequestWithDefaults instantiates a new IndexMembershipRequest 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

func (*IndexMembershipRequest) GetDatasource

func (o *IndexMembershipRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*IndexMembershipRequest) GetDatasourceOk

func (o *IndexMembershipRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*IndexMembershipRequest) GetMembership

GetMembership returns the Membership field value

func (*IndexMembershipRequest) GetMembershipOk

GetMembershipOk returns a tuple with the Membership field value and a boolean to check if the value has been set.

func (*IndexMembershipRequest) GetVersion

func (o *IndexMembershipRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*IndexMembershipRequest) GetVersionOk

func (o *IndexMembershipRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IndexMembershipRequest) HasVersion

func (o *IndexMembershipRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IndexMembershipRequest) MarshalJSON

func (o IndexMembershipRequest) MarshalJSON() ([]byte, error)

func (*IndexMembershipRequest) SetDatasource

func (o *IndexMembershipRequest) SetDatasource(v string)

SetDatasource sets field value

func (*IndexMembershipRequest) SetMembership

SetMembership sets field value

func (*IndexMembershipRequest) SetVersion

func (o *IndexMembershipRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type IndexTeamRequest

type IndexTeamRequest struct {
	Team TeamInfoDefinition `json:"team"`
	// Version number for the team object. If absent or 0 then no version checks are done
	Version *int64 `json:"version,omitempty"`
}

IndexTeamRequest Info about a team and optional version for that info

func NewIndexTeamRequest

func NewIndexTeamRequest(team TeamInfoDefinition) *IndexTeamRequest

NewIndexTeamRequest instantiates a new IndexTeamRequest 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

func NewIndexTeamRequestWithDefaults

func NewIndexTeamRequestWithDefaults() *IndexTeamRequest

NewIndexTeamRequestWithDefaults instantiates a new IndexTeamRequest 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

func (*IndexTeamRequest) GetTeam

func (o *IndexTeamRequest) GetTeam() TeamInfoDefinition

GetTeam returns the Team field value

func (*IndexTeamRequest) GetTeamOk

func (o *IndexTeamRequest) GetTeamOk() (*TeamInfoDefinition, bool)

GetTeamOk returns a tuple with the Team field value and a boolean to check if the value has been set.

func (*IndexTeamRequest) GetVersion

func (o *IndexTeamRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*IndexTeamRequest) GetVersionOk

func (o *IndexTeamRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IndexTeamRequest) HasVersion

func (o *IndexTeamRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IndexTeamRequest) MarshalJSON

func (o IndexTeamRequest) MarshalJSON() ([]byte, error)

func (*IndexTeamRequest) SetTeam

func (o *IndexTeamRequest) SetTeam(v TeamInfoDefinition)

SetTeam sets field value

func (*IndexTeamRequest) SetVersion

func (o *IndexTeamRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type IndexUserRequest

type IndexUserRequest struct {
	// Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
	Version *int64 `json:"version,omitempty"`
	// The datasource for which the user is added
	Datasource string                   `json:"datasource"`
	User       DatasourceUserDefinition `json:"user"`
}

IndexUserRequest Describes the request body of the /indexuser API call

func NewIndexUserRequest

func NewIndexUserRequest(datasource string, user DatasourceUserDefinition) *IndexUserRequest

NewIndexUserRequest instantiates a new IndexUserRequest 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

func NewIndexUserRequestWithDefaults

func NewIndexUserRequestWithDefaults() *IndexUserRequest

NewIndexUserRequestWithDefaults instantiates a new IndexUserRequest 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

func (*IndexUserRequest) GetDatasource

func (o *IndexUserRequest) GetDatasource() string

GetDatasource returns the Datasource field value

func (*IndexUserRequest) GetDatasourceOk

func (o *IndexUserRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value and a boolean to check if the value has been set.

func (*IndexUserRequest) GetUser

GetUser returns the User field value

func (*IndexUserRequest) GetUserOk

func (o *IndexUserRequest) GetUserOk() (*DatasourceUserDefinition, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (*IndexUserRequest) GetVersion

func (o *IndexUserRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*IndexUserRequest) GetVersionOk

func (o *IndexUserRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IndexUserRequest) HasVersion

func (o *IndexUserRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IndexUserRequest) MarshalJSON

func (o IndexUserRequest) MarshalJSON() ([]byte, error)

func (*IndexUserRequest) SetDatasource

func (o *IndexUserRequest) SetDatasource(v string)

SetDatasource sets field value

func (*IndexUserRequest) SetUser

SetUser sets field value

func (*IndexUserRequest) SetVersion

func (o *IndexUserRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type NullableAdditionalFieldDefinition

type NullableAdditionalFieldDefinition struct {
	// contains filtered or unexported fields
}

func (NullableAdditionalFieldDefinition) Get

func (NullableAdditionalFieldDefinition) IsSet

func (NullableAdditionalFieldDefinition) MarshalJSON

func (v NullableAdditionalFieldDefinition) MarshalJSON() ([]byte, error)

func (*NullableAdditionalFieldDefinition) Set

func (*NullableAdditionalFieldDefinition) UnmarshalJSON

func (v *NullableAdditionalFieldDefinition) UnmarshalJSON(src []byte) error

func (*NullableAdditionalFieldDefinition) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBulkIndexDocumentsRequest

type NullableBulkIndexDocumentsRequest struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexDocumentsRequest) Get

func (NullableBulkIndexDocumentsRequest) IsSet

func (NullableBulkIndexDocumentsRequest) MarshalJSON

func (v NullableBulkIndexDocumentsRequest) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexDocumentsRequest) Set

func (*NullableBulkIndexDocumentsRequest) UnmarshalJSON

func (v *NullableBulkIndexDocumentsRequest) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexDocumentsRequest) Unset

type NullableBulkIndexDocumentsRequestAllOf

type NullableBulkIndexDocumentsRequestAllOf struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexDocumentsRequestAllOf) Get

func (NullableBulkIndexDocumentsRequestAllOf) IsSet

func (NullableBulkIndexDocumentsRequestAllOf) MarshalJSON

func (v NullableBulkIndexDocumentsRequestAllOf) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexDocumentsRequestAllOf) Set

func (*NullableBulkIndexDocumentsRequestAllOf) UnmarshalJSON

func (v *NullableBulkIndexDocumentsRequestAllOf) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexDocumentsRequestAllOf) Unset

type NullableBulkIndexEmployeesRequest

type NullableBulkIndexEmployeesRequest struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexEmployeesRequest) Get

func (NullableBulkIndexEmployeesRequest) IsSet

func (NullableBulkIndexEmployeesRequest) MarshalJSON

func (v NullableBulkIndexEmployeesRequest) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexEmployeesRequest) Set

func (*NullableBulkIndexEmployeesRequest) UnmarshalJSON

func (v *NullableBulkIndexEmployeesRequest) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexEmployeesRequest) Unset

type NullableBulkIndexEmployeesRequestAllOf

type NullableBulkIndexEmployeesRequestAllOf struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexEmployeesRequestAllOf) Get

func (NullableBulkIndexEmployeesRequestAllOf) IsSet

func (NullableBulkIndexEmployeesRequestAllOf) MarshalJSON

func (v NullableBulkIndexEmployeesRequestAllOf) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexEmployeesRequestAllOf) Set

func (*NullableBulkIndexEmployeesRequestAllOf) UnmarshalJSON

func (v *NullableBulkIndexEmployeesRequestAllOf) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexEmployeesRequestAllOf) Unset

type NullableBulkIndexGroupsRequest

type NullableBulkIndexGroupsRequest struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexGroupsRequest) Get

func (NullableBulkIndexGroupsRequest) IsSet

func (NullableBulkIndexGroupsRequest) MarshalJSON

func (v NullableBulkIndexGroupsRequest) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexGroupsRequest) Set

func (*NullableBulkIndexGroupsRequest) UnmarshalJSON

func (v *NullableBulkIndexGroupsRequest) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexGroupsRequest) Unset

func (v *NullableBulkIndexGroupsRequest) Unset()

type NullableBulkIndexMembershipsRequest

type NullableBulkIndexMembershipsRequest struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexMembershipsRequest) Get

func (NullableBulkIndexMembershipsRequest) IsSet

func (NullableBulkIndexMembershipsRequest) MarshalJSON

func (v NullableBulkIndexMembershipsRequest) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexMembershipsRequest) Set

func (*NullableBulkIndexMembershipsRequest) UnmarshalJSON

func (v *NullableBulkIndexMembershipsRequest) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexMembershipsRequest) Unset

type NullableBulkIndexRequest

type NullableBulkIndexRequest struct {
	// contains filtered or unexported fields
}

func NewNullableBulkIndexRequest

func NewNullableBulkIndexRequest(val *BulkIndexRequest) *NullableBulkIndexRequest

func (NullableBulkIndexRequest) Get

func (NullableBulkIndexRequest) IsSet

func (v NullableBulkIndexRequest) IsSet() bool

func (NullableBulkIndexRequest) MarshalJSON

func (v NullableBulkIndexRequest) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexRequest) Set

func (*NullableBulkIndexRequest) UnmarshalJSON

func (v *NullableBulkIndexRequest) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexRequest) Unset

func (v *NullableBulkIndexRequest) Unset()

type NullableBulkIndexTeamsRequest

type NullableBulkIndexTeamsRequest struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexTeamsRequest) Get

func (NullableBulkIndexTeamsRequest) IsSet

func (NullableBulkIndexTeamsRequest) MarshalJSON

func (v NullableBulkIndexTeamsRequest) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexTeamsRequest) Set

func (*NullableBulkIndexTeamsRequest) UnmarshalJSON

func (v *NullableBulkIndexTeamsRequest) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexTeamsRequest) Unset

func (v *NullableBulkIndexTeamsRequest) Unset()

type NullableBulkIndexTeamsRequestAllOf

type NullableBulkIndexTeamsRequestAllOf struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexTeamsRequestAllOf) Get

func (NullableBulkIndexTeamsRequestAllOf) IsSet

func (NullableBulkIndexTeamsRequestAllOf) MarshalJSON

func (v NullableBulkIndexTeamsRequestAllOf) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexTeamsRequestAllOf) Set

func (*NullableBulkIndexTeamsRequestAllOf) UnmarshalJSON

func (v *NullableBulkIndexTeamsRequestAllOf) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexTeamsRequestAllOf) Unset

type NullableBulkIndexUsersRequest

type NullableBulkIndexUsersRequest struct {
	// contains filtered or unexported fields
}

func (NullableBulkIndexUsersRequest) Get

func (NullableBulkIndexUsersRequest) IsSet

func (NullableBulkIndexUsersRequest) MarshalJSON

func (v NullableBulkIndexUsersRequest) MarshalJSON() ([]byte, error)

func (*NullableBulkIndexUsersRequest) Set

func (*NullableBulkIndexUsersRequest) UnmarshalJSON

func (v *NullableBulkIndexUsersRequest) UnmarshalJSON(src []byte) error

func (*NullableBulkIndexUsersRequest) Unset

func (v *NullableBulkIndexUsersRequest) Unset()

type NullableCanonicalizingRegexType

type NullableCanonicalizingRegexType struct {
	// contains filtered or unexported fields
}

func (NullableCanonicalizingRegexType) Get

func (NullableCanonicalizingRegexType) IsSet

func (NullableCanonicalizingRegexType) MarshalJSON

func (v NullableCanonicalizingRegexType) MarshalJSON() ([]byte, error)

func (*NullableCanonicalizingRegexType) Set

func (*NullableCanonicalizingRegexType) UnmarshalJSON

func (v *NullableCanonicalizingRegexType) UnmarshalJSON(src []byte) error

func (*NullableCanonicalizingRegexType) Unset

type NullableCheckDocumentAccessRequest

type NullableCheckDocumentAccessRequest struct {
	// contains filtered or unexported fields
}

func (NullableCheckDocumentAccessRequest) Get

func (NullableCheckDocumentAccessRequest) IsSet

func (NullableCheckDocumentAccessRequest) MarshalJSON

func (v NullableCheckDocumentAccessRequest) MarshalJSON() ([]byte, error)

func (*NullableCheckDocumentAccessRequest) Set

func (*NullableCheckDocumentAccessRequest) UnmarshalJSON

func (v *NullableCheckDocumentAccessRequest) UnmarshalJSON(src []byte) error

func (*NullableCheckDocumentAccessRequest) Unset

type NullableCheckDocumentAccessResponse

type NullableCheckDocumentAccessResponse struct {
	// contains filtered or unexported fields
}

func (NullableCheckDocumentAccessResponse) Get

func (NullableCheckDocumentAccessResponse) IsSet

func (NullableCheckDocumentAccessResponse) MarshalJSON

func (v NullableCheckDocumentAccessResponse) MarshalJSON() ([]byte, error)

func (*NullableCheckDocumentAccessResponse) Set

func (*NullableCheckDocumentAccessResponse) UnmarshalJSON

func (v *NullableCheckDocumentAccessResponse) UnmarshalJSON(src []byte) error

func (*NullableCheckDocumentAccessResponse) Unset

type NullableConnectorType

type NullableConnectorType struct {
	// contains filtered or unexported fields
}

func NewNullableConnectorType

func NewNullableConnectorType(val *ConnectorType) *NullableConnectorType

func (NullableConnectorType) Get

func (NullableConnectorType) IsSet

func (v NullableConnectorType) IsSet() bool

func (NullableConnectorType) MarshalJSON

func (v NullableConnectorType) MarshalJSON() ([]byte, error)

func (*NullableConnectorType) Set

func (v *NullableConnectorType) Set(val *ConnectorType)

func (*NullableConnectorType) UnmarshalJSON

func (v *NullableConnectorType) UnmarshalJSON(src []byte) error

func (*NullableConnectorType) Unset

func (v *NullableConnectorType) Unset()

type NullableContentDefinition

type NullableContentDefinition struct {
	// contains filtered or unexported fields
}

func NewNullableContentDefinition

func NewNullableContentDefinition(val *ContentDefinition) *NullableContentDefinition

func (NullableContentDefinition) Get

func (NullableContentDefinition) IsSet

func (v NullableContentDefinition) IsSet() bool

func (NullableContentDefinition) MarshalJSON

func (v NullableContentDefinition) MarshalJSON() ([]byte, error)

func (*NullableContentDefinition) Set

func (*NullableContentDefinition) UnmarshalJSON

func (v *NullableContentDefinition) UnmarshalJSON(src []byte) error

func (*NullableContentDefinition) Unset

func (v *NullableContentDefinition) Unset()

type NullableCustomDatasourceConfig

type NullableCustomDatasourceConfig struct {
	// contains filtered or unexported fields
}

func (NullableCustomDatasourceConfig) Get

func (NullableCustomDatasourceConfig) IsSet

func (NullableCustomDatasourceConfig) MarshalJSON

func (v NullableCustomDatasourceConfig) MarshalJSON() ([]byte, error)

func (*NullableCustomDatasourceConfig) Set

func (*NullableCustomDatasourceConfig) UnmarshalJSON

func (v *NullableCustomDatasourceConfig) UnmarshalJSON(src []byte) error

func (*NullableCustomDatasourceConfig) Unset

func (v *NullableCustomDatasourceConfig) Unset()

type NullableCustomDatasourceConfigAllOf

type NullableCustomDatasourceConfigAllOf struct {
	// contains filtered or unexported fields
}

func (NullableCustomDatasourceConfigAllOf) Get

func (NullableCustomDatasourceConfigAllOf) IsSet

func (NullableCustomDatasourceConfigAllOf) MarshalJSON

func (v NullableCustomDatasourceConfigAllOf) MarshalJSON() ([]byte, error)

func (*NullableCustomDatasourceConfigAllOf) Set

func (*NullableCustomDatasourceConfigAllOf) UnmarshalJSON

func (v *NullableCustomDatasourceConfigAllOf) UnmarshalJSON(src []byte) error

func (*NullableCustomDatasourceConfigAllOf) Unset

type NullableCustomProperty

type NullableCustomProperty struct {
	// contains filtered or unexported fields
}

func NewNullableCustomProperty

func NewNullableCustomProperty(val *CustomProperty) *NullableCustomProperty

func (NullableCustomProperty) Get

func (NullableCustomProperty) IsSet

func (v NullableCustomProperty) IsSet() bool

func (NullableCustomProperty) MarshalJSON

func (v NullableCustomProperty) MarshalJSON() ([]byte, error)

func (*NullableCustomProperty) Set

func (*NullableCustomProperty) UnmarshalJSON

func (v *NullableCustomProperty) UnmarshalJSON(src []byte) error

func (*NullableCustomProperty) Unset

func (v *NullableCustomProperty) Unset()

type NullableDatasourceBulkMembershipDefinition

type NullableDatasourceBulkMembershipDefinition struct {
	// contains filtered or unexported fields
}

func (NullableDatasourceBulkMembershipDefinition) Get

func (NullableDatasourceBulkMembershipDefinition) IsSet

func (NullableDatasourceBulkMembershipDefinition) MarshalJSON

func (*NullableDatasourceBulkMembershipDefinition) Set

func (*NullableDatasourceBulkMembershipDefinition) UnmarshalJSON

func (v *NullableDatasourceBulkMembershipDefinition) UnmarshalJSON(src []byte) error

func (*NullableDatasourceBulkMembershipDefinition) Unset

type NullableDatasourceConfigList

type NullableDatasourceConfigList struct {
	// contains filtered or unexported fields
}

func NewNullableDatasourceConfigList

func NewNullableDatasourceConfigList(val *DatasourceConfigList) *NullableDatasourceConfigList

func (NullableDatasourceConfigList) Get

func (NullableDatasourceConfigList) IsSet

func (NullableDatasourceConfigList) MarshalJSON

func (v NullableDatasourceConfigList) MarshalJSON() ([]byte, error)

func (*NullableDatasourceConfigList) Set

func (*NullableDatasourceConfigList) UnmarshalJSON

func (v *NullableDatasourceConfigList) UnmarshalJSON(src []byte) error

func (*NullableDatasourceConfigList) Unset

func (v *NullableDatasourceConfigList) Unset()

type NullableDatasourceGroupDefinition

type NullableDatasourceGroupDefinition struct {
	// contains filtered or unexported fields
}

func (NullableDatasourceGroupDefinition) Get

func (NullableDatasourceGroupDefinition) IsSet

func (NullableDatasourceGroupDefinition) MarshalJSON

func (v NullableDatasourceGroupDefinition) MarshalJSON() ([]byte, error)

func (*NullableDatasourceGroupDefinition) Set

func (*NullableDatasourceGroupDefinition) UnmarshalJSON

func (v *NullableDatasourceGroupDefinition) UnmarshalJSON(src []byte) error

func (*NullableDatasourceGroupDefinition) Unset

type NullableDatasourceMembershipDefinition

type NullableDatasourceMembershipDefinition struct {
	// contains filtered or unexported fields
}

func (NullableDatasourceMembershipDefinition) Get

func (NullableDatasourceMembershipDefinition) IsSet

func (NullableDatasourceMembershipDefinition) MarshalJSON

func (v NullableDatasourceMembershipDefinition) MarshalJSON() ([]byte, error)

func (*NullableDatasourceMembershipDefinition) Set

func (*NullableDatasourceMembershipDefinition) UnmarshalJSON

func (v *NullableDatasourceMembershipDefinition) UnmarshalJSON(src []byte) error

func (*NullableDatasourceMembershipDefinition) Unset

type NullableDatasourceProfile

type NullableDatasourceProfile struct {
	// contains filtered or unexported fields
}

func NewNullableDatasourceProfile

func NewNullableDatasourceProfile(val *DatasourceProfile) *NullableDatasourceProfile

func (NullableDatasourceProfile) Get

func (NullableDatasourceProfile) IsSet

func (v NullableDatasourceProfile) IsSet() bool

func (NullableDatasourceProfile) MarshalJSON

func (v NullableDatasourceProfile) MarshalJSON() ([]byte, error)

func (*NullableDatasourceProfile) Set

func (*NullableDatasourceProfile) UnmarshalJSON

func (v *NullableDatasourceProfile) UnmarshalJSON(src []byte) error

func (*NullableDatasourceProfile) Unset

func (v *NullableDatasourceProfile) Unset()

type NullableDatasourceUserDefinition

type NullableDatasourceUserDefinition struct {
	// contains filtered or unexported fields
}

func (NullableDatasourceUserDefinition) Get

func (NullableDatasourceUserDefinition) IsSet

func (NullableDatasourceUserDefinition) MarshalJSON

func (v NullableDatasourceUserDefinition) MarshalJSON() ([]byte, error)

func (*NullableDatasourceUserDefinition) Set

func (*NullableDatasourceUserDefinition) UnmarshalJSON

func (v *NullableDatasourceUserDefinition) UnmarshalJSON(src []byte) error

func (*NullableDatasourceUserDefinition) Unset

type NullableDeleteDocumentRequest

type NullableDeleteDocumentRequest struct {
	// contains filtered or unexported fields
}

func (NullableDeleteDocumentRequest) Get

func (NullableDeleteDocumentRequest) IsSet

func (NullableDeleteDocumentRequest) MarshalJSON

func (v NullableDeleteDocumentRequest) MarshalJSON() ([]byte, error)

func (*NullableDeleteDocumentRequest) Set

func (*NullableDeleteDocumentRequest) UnmarshalJSON

func (v *NullableDeleteDocumentRequest) UnmarshalJSON(src []byte) error

func (*NullableDeleteDocumentRequest) Unset

func (v *NullableDeleteDocumentRequest) Unset()

type NullableDeleteEmployeeRequest

type NullableDeleteEmployeeRequest struct {
	// contains filtered or unexported fields
}

func (NullableDeleteEmployeeRequest) Get

func (NullableDeleteEmployeeRequest) IsSet

func (NullableDeleteEmployeeRequest) MarshalJSON

func (v NullableDeleteEmployeeRequest) MarshalJSON() ([]byte, error)

func (*NullableDeleteEmployeeRequest) Set

func (*NullableDeleteEmployeeRequest) UnmarshalJSON

func (v *NullableDeleteEmployeeRequest) UnmarshalJSON(src []byte) error

func (*NullableDeleteEmployeeRequest) Unset

func (v *NullableDeleteEmployeeRequest) Unset()

type NullableDeleteGroupRequest

type NullableDeleteGroupRequest struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteGroupRequest

func NewNullableDeleteGroupRequest(val *DeleteGroupRequest) *NullableDeleteGroupRequest

func (NullableDeleteGroupRequest) Get

func (NullableDeleteGroupRequest) IsSet

func (v NullableDeleteGroupRequest) IsSet() bool

func (NullableDeleteGroupRequest) MarshalJSON

func (v NullableDeleteGroupRequest) MarshalJSON() ([]byte, error)

func (*NullableDeleteGroupRequest) Set

func (*NullableDeleteGroupRequest) UnmarshalJSON

func (v *NullableDeleteGroupRequest) UnmarshalJSON(src []byte) error

func (*NullableDeleteGroupRequest) Unset

func (v *NullableDeleteGroupRequest) Unset()

type NullableDeleteMembershipRequest

type NullableDeleteMembershipRequest struct {
	// contains filtered or unexported fields
}

func (NullableDeleteMembershipRequest) Get

func (NullableDeleteMembershipRequest) IsSet

func (NullableDeleteMembershipRequest) MarshalJSON

func (v NullableDeleteMembershipRequest) MarshalJSON() ([]byte, error)

func (*NullableDeleteMembershipRequest) Set

func (*NullableDeleteMembershipRequest) UnmarshalJSON

func (v *NullableDeleteMembershipRequest) UnmarshalJSON(src []byte) error

func (*NullableDeleteMembershipRequest) Unset

type NullableDeleteUserRequest

type NullableDeleteUserRequest struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteUserRequest

func NewNullableDeleteUserRequest(val *DeleteUserRequest) *NullableDeleteUserRequest

func (NullableDeleteUserRequest) Get

func (NullableDeleteUserRequest) IsSet

func (v NullableDeleteUserRequest) IsSet() bool

func (NullableDeleteUserRequest) MarshalJSON

func (v NullableDeleteUserRequest) MarshalJSON() ([]byte, error)

func (*NullableDeleteUserRequest) Set

func (*NullableDeleteUserRequest) UnmarshalJSON

func (v *NullableDeleteUserRequest) UnmarshalJSON(src []byte) error

func (*NullableDeleteUserRequest) Unset

func (v *NullableDeleteUserRequest) Unset()

type NullableDocumentDefinition

type NullableDocumentDefinition struct {
	// contains filtered or unexported fields
}

func NewNullableDocumentDefinition

func NewNullableDocumentDefinition(val *DocumentDefinition) *NullableDocumentDefinition

func (NullableDocumentDefinition) Get

func (NullableDocumentDefinition) IsSet

func (v NullableDocumentDefinition) IsSet() bool

func (NullableDocumentDefinition) MarshalJSON

func (v NullableDocumentDefinition) MarshalJSON() ([]byte, error)

func (*NullableDocumentDefinition) Set

func (*NullableDocumentDefinition) UnmarshalJSON

func (v *NullableDocumentDefinition) UnmarshalJSON(src []byte) error

func (*NullableDocumentDefinition) Unset

func (v *NullableDocumentDefinition) Unset()

type NullableDocumentInteractionsDefinition

type NullableDocumentInteractionsDefinition struct {
	// contains filtered or unexported fields
}

func (NullableDocumentInteractionsDefinition) Get

func (NullableDocumentInteractionsDefinition) IsSet

func (NullableDocumentInteractionsDefinition) MarshalJSON

func (v NullableDocumentInteractionsDefinition) MarshalJSON() ([]byte, error)

func (*NullableDocumentInteractionsDefinition) Set

func (*NullableDocumentInteractionsDefinition) UnmarshalJSON

func (v *NullableDocumentInteractionsDefinition) UnmarshalJSON(src []byte) error

func (*NullableDocumentInteractionsDefinition) Unset

type NullableDocumentPermissionsDefinition

type NullableDocumentPermissionsDefinition struct {
	// contains filtered or unexported fields
}

func (NullableDocumentPermissionsDefinition) Get

func (NullableDocumentPermissionsDefinition) IsSet

func (NullableDocumentPermissionsDefinition) MarshalJSON

func (v NullableDocumentPermissionsDefinition) MarshalJSON() ([]byte, error)

func (*NullableDocumentPermissionsDefinition) Set

func (*NullableDocumentPermissionsDefinition) UnmarshalJSON

func (v *NullableDocumentPermissionsDefinition) UnmarshalJSON(src []byte) error

func (*NullableDocumentPermissionsDefinition) Unset

type NullableEmployeeAndVersionDefinition

type NullableEmployeeAndVersionDefinition struct {
	// contains filtered or unexported fields
}

func (NullableEmployeeAndVersionDefinition) Get

func (NullableEmployeeAndVersionDefinition) IsSet

func (NullableEmployeeAndVersionDefinition) MarshalJSON

func (v NullableEmployeeAndVersionDefinition) MarshalJSON() ([]byte, error)

func (*NullableEmployeeAndVersionDefinition) Set

func (*NullableEmployeeAndVersionDefinition) UnmarshalJSON

func (v *NullableEmployeeAndVersionDefinition) UnmarshalJSON(src []byte) error

func (*NullableEmployeeAndVersionDefinition) Unset

type NullableEmployeeInfoDefinition

type NullableEmployeeInfoDefinition struct {
	// contains filtered or unexported fields
}

func (NullableEmployeeInfoDefinition) Get

func (NullableEmployeeInfoDefinition) IsSet

func (NullableEmployeeInfoDefinition) MarshalJSON

func (v NullableEmployeeInfoDefinition) MarshalJSON() ([]byte, error)

func (*NullableEmployeeInfoDefinition) Set

func (*NullableEmployeeInfoDefinition) UnmarshalJSON

func (v *NullableEmployeeInfoDefinition) UnmarshalJSON(src []byte) error

func (*NullableEmployeeInfoDefinition) Unset

func (v *NullableEmployeeInfoDefinition) Unset()

type NullableEmployeeTeamInfo

type NullableEmployeeTeamInfo struct {
	// contains filtered or unexported fields
}

func NewNullableEmployeeTeamInfo

func NewNullableEmployeeTeamInfo(val *EmployeeTeamInfo) *NullableEmployeeTeamInfo

func (NullableEmployeeTeamInfo) Get

func (NullableEmployeeTeamInfo) IsSet

func (v NullableEmployeeTeamInfo) IsSet() bool

func (NullableEmployeeTeamInfo) MarshalJSON

func (v NullableEmployeeTeamInfo) MarshalJSON() ([]byte, error)

func (*NullableEmployeeTeamInfo) Set

func (*NullableEmployeeTeamInfo) UnmarshalJSON

func (v *NullableEmployeeTeamInfo) UnmarshalJSON(src []byte) error

func (*NullableEmployeeTeamInfo) Unset

func (v *NullableEmployeeTeamInfo) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetDatasourceConfigRequest

type NullableGetDatasourceConfigRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetDatasourceConfigRequest) Get

func (NullableGetDatasourceConfigRequest) IsSet

func (NullableGetDatasourceConfigRequest) MarshalJSON

func (v NullableGetDatasourceConfigRequest) MarshalJSON() ([]byte, error)

func (*NullableGetDatasourceConfigRequest) Set

func (*NullableGetDatasourceConfigRequest) UnmarshalJSON

func (v *NullableGetDatasourceConfigRequest) UnmarshalJSON(src []byte) error

func (*NullableGetDatasourceConfigRequest) Unset

type NullableGetDocumentCountRequest

type NullableGetDocumentCountRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetDocumentCountRequest) Get

func (NullableGetDocumentCountRequest) IsSet

func (NullableGetDocumentCountRequest) MarshalJSON

func (v NullableGetDocumentCountRequest) MarshalJSON() ([]byte, error)

func (*NullableGetDocumentCountRequest) Set

func (*NullableGetDocumentCountRequest) UnmarshalJSON

func (v *NullableGetDocumentCountRequest) UnmarshalJSON(src []byte) error

func (*NullableGetDocumentCountRequest) Unset

type NullableGetDocumentCountResponse

type NullableGetDocumentCountResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetDocumentCountResponse) Get

func (NullableGetDocumentCountResponse) IsSet

func (NullableGetDocumentCountResponse) MarshalJSON

func (v NullableGetDocumentCountResponse) MarshalJSON() ([]byte, error)

func (*NullableGetDocumentCountResponse) Set

func (*NullableGetDocumentCountResponse) UnmarshalJSON

func (v *NullableGetDocumentCountResponse) UnmarshalJSON(src []byte) error

func (*NullableGetDocumentCountResponse) Unset

type NullableGetDocumentStatusRequest

type NullableGetDocumentStatusRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetDocumentStatusRequest) Get

func (NullableGetDocumentStatusRequest) IsSet

func (NullableGetDocumentStatusRequest) MarshalJSON

func (v NullableGetDocumentStatusRequest) MarshalJSON() ([]byte, error)

func (*NullableGetDocumentStatusRequest) Set

func (*NullableGetDocumentStatusRequest) UnmarshalJSON

func (v *NullableGetDocumentStatusRequest) UnmarshalJSON(src []byte) error

func (*NullableGetDocumentStatusRequest) Unset

type NullableGetDocumentStatusResponse

type NullableGetDocumentStatusResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetDocumentStatusResponse) Get

func (NullableGetDocumentStatusResponse) IsSet

func (NullableGetDocumentStatusResponse) MarshalJSON

func (v NullableGetDocumentStatusResponse) MarshalJSON() ([]byte, error)

func (*NullableGetDocumentStatusResponse) Set

func (*NullableGetDocumentStatusResponse) UnmarshalJSON

func (v *NullableGetDocumentStatusResponse) UnmarshalJSON(src []byte) error

func (*NullableGetDocumentStatusResponse) Unset

type NullableGetUserCountRequest

type NullableGetUserCountRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGetUserCountRequest

func NewNullableGetUserCountRequest(val *GetUserCountRequest) *NullableGetUserCountRequest

func (NullableGetUserCountRequest) Get

func (NullableGetUserCountRequest) IsSet

func (NullableGetUserCountRequest) MarshalJSON

func (v NullableGetUserCountRequest) MarshalJSON() ([]byte, error)

func (*NullableGetUserCountRequest) Set

func (*NullableGetUserCountRequest) UnmarshalJSON

func (v *NullableGetUserCountRequest) UnmarshalJSON(src []byte) error

func (*NullableGetUserCountRequest) Unset

func (v *NullableGetUserCountRequest) Unset()

type NullableGetUserCountResponse

type NullableGetUserCountResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetUserCountResponse

func NewNullableGetUserCountResponse(val *GetUserCountResponse) *NullableGetUserCountResponse

func (NullableGetUserCountResponse) Get

func (NullableGetUserCountResponse) IsSet

func (NullableGetUserCountResponse) MarshalJSON

func (v NullableGetUserCountResponse) MarshalJSON() ([]byte, error)

func (*NullableGetUserCountResponse) Set

func (*NullableGetUserCountResponse) UnmarshalJSON

func (v *NullableGetUserCountResponse) UnmarshalJSON(src []byte) error

func (*NullableGetUserCountResponse) Unset

func (v *NullableGetUserCountResponse) Unset()

type NullableGreenlistUsersRequest

type NullableGreenlistUsersRequest struct {
	// contains filtered or unexported fields
}

func (NullableGreenlistUsersRequest) Get

func (NullableGreenlistUsersRequest) IsSet

func (NullableGreenlistUsersRequest) MarshalJSON

func (v NullableGreenlistUsersRequest) MarshalJSON() ([]byte, error)

func (*NullableGreenlistUsersRequest) Set

func (*NullableGreenlistUsersRequest) UnmarshalJSON

func (v *NullableGreenlistUsersRequest) UnmarshalJSON(src []byte) error

func (*NullableGreenlistUsersRequest) Unset

func (v *NullableGreenlistUsersRequest) Unset()

type NullableHypertextField

type NullableHypertextField struct {
	// contains filtered or unexported fields
}

func NewNullableHypertextField

func NewNullableHypertextField(val *HypertextField) *NullableHypertextField

func (NullableHypertextField) Get

func (NullableHypertextField) IsSet

func (v NullableHypertextField) IsSet() bool

func (NullableHypertextField) MarshalJSON

func (v NullableHypertextField) MarshalJSON() ([]byte, error)

func (*NullableHypertextField) Set

func (*NullableHypertextField) UnmarshalJSON

func (v *NullableHypertextField) UnmarshalJSON(src []byte) error

func (*NullableHypertextField) Unset

func (v *NullableHypertextField) Unset()

type NullableIconConfig

type NullableIconConfig struct {
	// contains filtered or unexported fields
}

func NewNullableIconConfig

func NewNullableIconConfig(val *IconConfig) *NullableIconConfig

func (NullableIconConfig) Get

func (v NullableIconConfig) Get() *IconConfig

func (NullableIconConfig) IsSet

func (v NullableIconConfig) IsSet() bool

func (NullableIconConfig) MarshalJSON

func (v NullableIconConfig) MarshalJSON() ([]byte, error)

func (*NullableIconConfig) Set

func (v *NullableIconConfig) Set(val *IconConfig)

func (*NullableIconConfig) UnmarshalJSON

func (v *NullableIconConfig) UnmarshalJSON(src []byte) error

func (*NullableIconConfig) Unset

func (v *NullableIconConfig) Unset()

type NullableIndexDocumentRequest

type NullableIndexDocumentRequest struct {
	// contains filtered or unexported fields
}

func NewNullableIndexDocumentRequest

func NewNullableIndexDocumentRequest(val *IndexDocumentRequest) *NullableIndexDocumentRequest

func (NullableIndexDocumentRequest) Get

func (NullableIndexDocumentRequest) IsSet

func (NullableIndexDocumentRequest) MarshalJSON

func (v NullableIndexDocumentRequest) MarshalJSON() ([]byte, error)

func (*NullableIndexDocumentRequest) Set

func (*NullableIndexDocumentRequest) UnmarshalJSON

func (v *NullableIndexDocumentRequest) UnmarshalJSON(src []byte) error

func (*NullableIndexDocumentRequest) Unset

func (v *NullableIndexDocumentRequest) Unset()

type NullableIndexEmployeeListRequest

type NullableIndexEmployeeListRequest struct {
	// contains filtered or unexported fields
}

func (NullableIndexEmployeeListRequest) Get

func (NullableIndexEmployeeListRequest) IsSet

func (NullableIndexEmployeeListRequest) MarshalJSON

func (v NullableIndexEmployeeListRequest) MarshalJSON() ([]byte, error)

func (*NullableIndexEmployeeListRequest) Set

func (*NullableIndexEmployeeListRequest) UnmarshalJSON

func (v *NullableIndexEmployeeListRequest) UnmarshalJSON(src []byte) error

func (*NullableIndexEmployeeListRequest) Unset

type NullableIndexEmployeeRequest

type NullableIndexEmployeeRequest struct {
	// contains filtered or unexported fields
}

func NewNullableIndexEmployeeRequest

func NewNullableIndexEmployeeRequest(val *IndexEmployeeRequest) *NullableIndexEmployeeRequest

func (NullableIndexEmployeeRequest) Get

func (NullableIndexEmployeeRequest) IsSet

func (NullableIndexEmployeeRequest) MarshalJSON

func (v NullableIndexEmployeeRequest) MarshalJSON() ([]byte, error)

func (*NullableIndexEmployeeRequest) Set

func (*NullableIndexEmployeeRequest) UnmarshalJSON

func (v *NullableIndexEmployeeRequest) UnmarshalJSON(src []byte) error

func (*NullableIndexEmployeeRequest) Unset

func (v *NullableIndexEmployeeRequest) Unset()

type NullableIndexGroupRequest

type NullableIndexGroupRequest struct {
	// contains filtered or unexported fields
}

func NewNullableIndexGroupRequest

func NewNullableIndexGroupRequest(val *IndexGroupRequest) *NullableIndexGroupRequest

func (NullableIndexGroupRequest) Get

func (NullableIndexGroupRequest) IsSet

func (v NullableIndexGroupRequest) IsSet() bool

func (NullableIndexGroupRequest) MarshalJSON

func (v NullableIndexGroupRequest) MarshalJSON() ([]byte, error)

func (*NullableIndexGroupRequest) Set

func (*NullableIndexGroupRequest) UnmarshalJSON

func (v *NullableIndexGroupRequest) UnmarshalJSON(src []byte) error

func (*NullableIndexGroupRequest) Unset

func (v *NullableIndexGroupRequest) Unset()

type NullableIndexMembershipRequest

type NullableIndexMembershipRequest struct {
	// contains filtered or unexported fields
}

func (NullableIndexMembershipRequest) Get

func (NullableIndexMembershipRequest) IsSet

func (NullableIndexMembershipRequest) MarshalJSON

func (v NullableIndexMembershipRequest) MarshalJSON() ([]byte, error)

func (*NullableIndexMembershipRequest) Set

func (*NullableIndexMembershipRequest) UnmarshalJSON

func (v *NullableIndexMembershipRequest) UnmarshalJSON(src []byte) error

func (*NullableIndexMembershipRequest) Unset

func (v *NullableIndexMembershipRequest) Unset()

type NullableIndexTeamRequest

type NullableIndexTeamRequest struct {
	// contains filtered or unexported fields
}

func NewNullableIndexTeamRequest

func NewNullableIndexTeamRequest(val *IndexTeamRequest) *NullableIndexTeamRequest

func (NullableIndexTeamRequest) Get

func (NullableIndexTeamRequest) IsSet

func (v NullableIndexTeamRequest) IsSet() bool

func (NullableIndexTeamRequest) MarshalJSON

func (v NullableIndexTeamRequest) MarshalJSON() ([]byte, error)

func (*NullableIndexTeamRequest) Set

func (*NullableIndexTeamRequest) UnmarshalJSON

func (v *NullableIndexTeamRequest) UnmarshalJSON(src []byte) error

func (*NullableIndexTeamRequest) Unset

func (v *NullableIndexTeamRequest) Unset()

type NullableIndexUserRequest

type NullableIndexUserRequest struct {
	// contains filtered or unexported fields
}

func NewNullableIndexUserRequest

func NewNullableIndexUserRequest(val *IndexUserRequest) *NullableIndexUserRequest

func (NullableIndexUserRequest) Get

func (NullableIndexUserRequest) IsSet

func (v NullableIndexUserRequest) IsSet() bool

func (NullableIndexUserRequest) MarshalJSON

func (v NullableIndexUserRequest) MarshalJSON() ([]byte, error)

func (*NullableIndexUserRequest) Set

func (*NullableIndexUserRequest) UnmarshalJSON

func (v *NullableIndexUserRequest) UnmarshalJSON(src []byte) error

func (*NullableIndexUserRequest) Unset

func (v *NullableIndexUserRequest) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableObjectDefinition

type NullableObjectDefinition struct {
	// contains filtered or unexported fields
}

func NewNullableObjectDefinition

func NewNullableObjectDefinition(val *ObjectDefinition) *NullableObjectDefinition

func (NullableObjectDefinition) Get

func (NullableObjectDefinition) IsSet

func (v NullableObjectDefinition) IsSet() bool

func (NullableObjectDefinition) MarshalJSON

func (v NullableObjectDefinition) MarshalJSON() ([]byte, error)

func (*NullableObjectDefinition) Set

func (*NullableObjectDefinition) UnmarshalJSON

func (v *NullableObjectDefinition) UnmarshalJSON(src []byte) error

func (*NullableObjectDefinition) Unset

func (v *NullableObjectDefinition) Unset()

type NullableObjectPropertyOptions

type NullableObjectPropertyOptions struct {
	// contains filtered or unexported fields
}

func (NullableObjectPropertyOptions) Get

func (NullableObjectPropertyOptions) IsSet

func (NullableObjectPropertyOptions) MarshalJSON

func (v NullableObjectPropertyOptions) MarshalJSON() ([]byte, error)

func (*NullableObjectPropertyOptions) Set

func (*NullableObjectPropertyOptions) UnmarshalJSON

func (v *NullableObjectPropertyOptions) UnmarshalJSON(src []byte) error

func (*NullableObjectPropertyOptions) Unset

func (v *NullableObjectPropertyOptions) Unset()

type NullablePermissionsGroupIntersectionDefinition

type NullablePermissionsGroupIntersectionDefinition struct {
	// contains filtered or unexported fields
}

func (NullablePermissionsGroupIntersectionDefinition) Get

func (NullablePermissionsGroupIntersectionDefinition) IsSet

func (NullablePermissionsGroupIntersectionDefinition) MarshalJSON

func (*NullablePermissionsGroupIntersectionDefinition) Set

func (*NullablePermissionsGroupIntersectionDefinition) UnmarshalJSON

func (*NullablePermissionsGroupIntersectionDefinition) Unset

type NullableProcessAllDocumentsRequest

type NullableProcessAllDocumentsRequest struct {
	// contains filtered or unexported fields
}

func (NullableProcessAllDocumentsRequest) Get

func (NullableProcessAllDocumentsRequest) IsSet

func (NullableProcessAllDocumentsRequest) MarshalJSON

func (v NullableProcessAllDocumentsRequest) MarshalJSON() ([]byte, error)

func (*NullableProcessAllDocumentsRequest) Set

func (*NullableProcessAllDocumentsRequest) UnmarshalJSON

func (v *NullableProcessAllDocumentsRequest) UnmarshalJSON(src []byte) error

func (*NullableProcessAllDocumentsRequest) Unset

type NullableProcessAllMembershipsRequest

type NullableProcessAllMembershipsRequest struct {
	// contains filtered or unexported fields
}

func (NullableProcessAllMembershipsRequest) Get

func (NullableProcessAllMembershipsRequest) IsSet

func (NullableProcessAllMembershipsRequest) MarshalJSON

func (v NullableProcessAllMembershipsRequest) MarshalJSON() ([]byte, error)

func (*NullableProcessAllMembershipsRequest) Set

func (*NullableProcessAllMembershipsRequest) UnmarshalJSON

func (v *NullableProcessAllMembershipsRequest) UnmarshalJSON(src []byte) error

func (*NullableProcessAllMembershipsRequest) Unset

type NullablePropertyDefinition

type NullablePropertyDefinition struct {
	// contains filtered or unexported fields
}

func NewNullablePropertyDefinition

func NewNullablePropertyDefinition(val *PropertyDefinition) *NullablePropertyDefinition

func (NullablePropertyDefinition) Get

func (NullablePropertyDefinition) IsSet

func (v NullablePropertyDefinition) IsSet() bool

func (NullablePropertyDefinition) MarshalJSON

func (v NullablePropertyDefinition) MarshalJSON() ([]byte, error)

func (*NullablePropertyDefinition) Set

func (*NullablePropertyDefinition) UnmarshalJSON

func (v *NullablePropertyDefinition) UnmarshalJSON(src []byte) error

func (*NullablePropertyDefinition) Unset

func (v *NullablePropertyDefinition) Unset()

type NullablePropertyGroup

type NullablePropertyGroup struct {
	// contains filtered or unexported fields
}

func NewNullablePropertyGroup

func NewNullablePropertyGroup(val *PropertyGroup) *NullablePropertyGroup

func (NullablePropertyGroup) Get

func (NullablePropertyGroup) IsSet

func (v NullablePropertyGroup) IsSet() bool

func (NullablePropertyGroup) MarshalJSON

func (v NullablePropertyGroup) MarshalJSON() ([]byte, error)

func (*NullablePropertyGroup) Set

func (v *NullablePropertyGroup) Set(val *PropertyGroup)

func (*NullablePropertyGroup) UnmarshalJSON

func (v *NullablePropertyGroup) UnmarshalJSON(src []byte) error

func (*NullablePropertyGroup) Unset

func (v *NullablePropertyGroup) Unset()
type NullableQuicklink struct {
	// contains filtered or unexported fields
}
func NewNullableQuicklink(val *Quicklink) *NullableQuicklink

func (NullableQuicklink) Get

func (v NullableQuicklink) Get() *Quicklink

func (NullableQuicklink) IsSet

func (v NullableQuicklink) IsSet() bool

func (NullableQuicklink) MarshalJSON

func (v NullableQuicklink) MarshalJSON() ([]byte, error)

func (*NullableQuicklink) Set

func (v *NullableQuicklink) Set(val *Quicklink)

func (*NullableQuicklink) UnmarshalJSON

func (v *NullableQuicklink) UnmarshalJSON(src []byte) error

func (*NullableQuicklink) Unset

func (v *NullableQuicklink) Unset()

type NullableSharedDatasourceConfig

type NullableSharedDatasourceConfig struct {
	// contains filtered or unexported fields
}

func (NullableSharedDatasourceConfig) Get

func (NullableSharedDatasourceConfig) IsSet

func (NullableSharedDatasourceConfig) MarshalJSON

func (v NullableSharedDatasourceConfig) MarshalJSON() ([]byte, error)

func (*NullableSharedDatasourceConfig) Set

func (*NullableSharedDatasourceConfig) UnmarshalJSON

func (v *NullableSharedDatasourceConfig) UnmarshalJSON(src []byte) error

func (*NullableSharedDatasourceConfig) Unset

func (v *NullableSharedDatasourceConfig) Unset()

type NullableSharedDatasourceConfigAllOf

type NullableSharedDatasourceConfigAllOf struct {
	// contains filtered or unexported fields
}

func (NullableSharedDatasourceConfigAllOf) Get

func (NullableSharedDatasourceConfigAllOf) IsSet

func (NullableSharedDatasourceConfigAllOf) MarshalJSON

func (v NullableSharedDatasourceConfigAllOf) MarshalJSON() ([]byte, error)

func (*NullableSharedDatasourceConfigAllOf) Set

func (*NullableSharedDatasourceConfigAllOf) UnmarshalJSON

func (v *NullableSharedDatasourceConfigAllOf) UnmarshalJSON(src []byte) error

func (*NullableSharedDatasourceConfigAllOf) Unset

type NullableSharedDatasourceConfigNoInstance

type NullableSharedDatasourceConfigNoInstance struct {
	// contains filtered or unexported fields
}

func (NullableSharedDatasourceConfigNoInstance) Get

func (NullableSharedDatasourceConfigNoInstance) IsSet

func (NullableSharedDatasourceConfigNoInstance) MarshalJSON

func (*NullableSharedDatasourceConfigNoInstance) Set

func (*NullableSharedDatasourceConfigNoInstance) UnmarshalJSON

func (v *NullableSharedDatasourceConfigNoInstance) UnmarshalJSON(src []byte) error

func (*NullableSharedDatasourceConfigNoInstance) Unset

type NullableSocialNetworkDefinition

type NullableSocialNetworkDefinition struct {
	// contains filtered or unexported fields
}

func (NullableSocialNetworkDefinition) Get

func (NullableSocialNetworkDefinition) IsSet

func (NullableSocialNetworkDefinition) MarshalJSON

func (v NullableSocialNetworkDefinition) MarshalJSON() ([]byte, error)

func (*NullableSocialNetworkDefinition) Set

func (*NullableSocialNetworkDefinition) UnmarshalJSON

func (v *NullableSocialNetworkDefinition) UnmarshalJSON(src []byte) error

func (*NullableSocialNetworkDefinition) Unset

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableStructuredLocation

type NullableStructuredLocation struct {
	// contains filtered or unexported fields
}

func NewNullableStructuredLocation

func NewNullableStructuredLocation(val *StructuredLocation) *NullableStructuredLocation

func (NullableStructuredLocation) Get

func (NullableStructuredLocation) IsSet

func (v NullableStructuredLocation) IsSet() bool

func (NullableStructuredLocation) MarshalJSON

func (v NullableStructuredLocation) MarshalJSON() ([]byte, error)

func (*NullableStructuredLocation) Set

func (*NullableStructuredLocation) UnmarshalJSON

func (v *NullableStructuredLocation) UnmarshalJSON(src []byte) error

func (*NullableStructuredLocation) Unset

func (v *NullableStructuredLocation) Unset()

type NullableTeamEmail

type NullableTeamEmail struct {
	// contains filtered or unexported fields
}

func NewNullableTeamEmail

func NewNullableTeamEmail(val *TeamEmail) *NullableTeamEmail

func (NullableTeamEmail) Get

func (v NullableTeamEmail) Get() *TeamEmail

func (NullableTeamEmail) IsSet

func (v NullableTeamEmail) IsSet() bool

func (NullableTeamEmail) MarshalJSON

func (v NullableTeamEmail) MarshalJSON() ([]byte, error)

func (*NullableTeamEmail) Set

func (v *NullableTeamEmail) Set(val *TeamEmail)

func (*NullableTeamEmail) UnmarshalJSON

func (v *NullableTeamEmail) UnmarshalJSON(src []byte) error

func (*NullableTeamEmail) Unset

func (v *NullableTeamEmail) Unset()

type NullableTeamInfoDefinition

type NullableTeamInfoDefinition struct {
	// contains filtered or unexported fields
}

func NewNullableTeamInfoDefinition

func NewNullableTeamInfoDefinition(val *TeamInfoDefinition) *NullableTeamInfoDefinition

func (NullableTeamInfoDefinition) Get

func (NullableTeamInfoDefinition) IsSet

func (v NullableTeamInfoDefinition) IsSet() bool

func (NullableTeamInfoDefinition) MarshalJSON

func (v NullableTeamInfoDefinition) MarshalJSON() ([]byte, error)

func (*NullableTeamInfoDefinition) Set

func (*NullableTeamInfoDefinition) UnmarshalJSON

func (v *NullableTeamInfoDefinition) UnmarshalJSON(src []byte) error

func (*NullableTeamInfoDefinition) Unset

func (v *NullableTeamInfoDefinition) Unset()

type NullableTeamMember

type NullableTeamMember struct {
	// contains filtered or unexported fields
}

func NewNullableTeamMember

func NewNullableTeamMember(val *TeamMember) *NullableTeamMember

func (NullableTeamMember) Get

func (v NullableTeamMember) Get() *TeamMember

func (NullableTeamMember) IsSet

func (v NullableTeamMember) IsSet() bool

func (NullableTeamMember) MarshalJSON

func (v NullableTeamMember) MarshalJSON() ([]byte, error)

func (*NullableTeamMember) Set

func (v *NullableTeamMember) Set(val *TeamMember)

func (*NullableTeamMember) UnmarshalJSON

func (v *NullableTeamMember) UnmarshalJSON(src []byte) error

func (*NullableTeamMember) Unset

func (v *NullableTeamMember) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUserReferenceDefinition

type NullableUserReferenceDefinition struct {
	// contains filtered or unexported fields
}

func (NullableUserReferenceDefinition) Get

func (NullableUserReferenceDefinition) IsSet

func (NullableUserReferenceDefinition) MarshalJSON

func (v NullableUserReferenceDefinition) MarshalJSON() ([]byte, error)

func (*NullableUserReferenceDefinition) Set

func (*NullableUserReferenceDefinition) UnmarshalJSON

func (v *NullableUserReferenceDefinition) UnmarshalJSON(src []byte) error

func (*NullableUserReferenceDefinition) Unset

type ObjectDefinition

type ObjectDefinition struct {
	// Unique identifier for this `DocumentMetadata.objectType`. If omitted, this definition is used as a default for all unmatched `DocumentMetadata.objectType`s in this datasource.
	Name *string `json:"name,omitempty"`
	// The user-friendly name of the object for display.
	DisplayLabel *string `json:"displayLabel,omitempty"`
	// The document category of this object type.
	DocCategory         *string              `json:"docCategory,omitempty"`
	PropertyDefinitions []PropertyDefinition `json:"propertyDefinitions,omitempty"`
	// A list of `PropertyGroup`s belonging to this object type, which will group properties to be displayed together in the UI.
	PropertyGroups []PropertyGroup `json:"propertyGroups,omitempty"`
}

ObjectDefinition The definition for an `DocumentMetadata.objectType` within a datasource.

func NewObjectDefinition

func NewObjectDefinition() *ObjectDefinition

NewObjectDefinition instantiates a new ObjectDefinition 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

func NewObjectDefinitionWithDefaults

func NewObjectDefinitionWithDefaults() *ObjectDefinition

NewObjectDefinitionWithDefaults instantiates a new ObjectDefinition 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

func (*ObjectDefinition) GetDisplayLabel

func (o *ObjectDefinition) GetDisplayLabel() string

GetDisplayLabel returns the DisplayLabel field value if set, zero value otherwise.

func (*ObjectDefinition) GetDisplayLabelOk

func (o *ObjectDefinition) GetDisplayLabelOk() (*string, bool)

GetDisplayLabelOk returns a tuple with the DisplayLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectDefinition) GetDocCategory

func (o *ObjectDefinition) GetDocCategory() string

GetDocCategory returns the DocCategory field value if set, zero value otherwise.

func (*ObjectDefinition) GetDocCategoryOk

func (o *ObjectDefinition) GetDocCategoryOk() (*string, bool)

GetDocCategoryOk returns a tuple with the DocCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectDefinition) GetName

func (o *ObjectDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ObjectDefinition) GetNameOk

func (o *ObjectDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectDefinition) GetPropertyDefinitions

func (o *ObjectDefinition) GetPropertyDefinitions() []PropertyDefinition

GetPropertyDefinitions returns the PropertyDefinitions field value if set, zero value otherwise.

func (*ObjectDefinition) GetPropertyDefinitionsOk

func (o *ObjectDefinition) GetPropertyDefinitionsOk() ([]PropertyDefinition, bool)

GetPropertyDefinitionsOk returns a tuple with the PropertyDefinitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectDefinition) GetPropertyGroups

func (o *ObjectDefinition) GetPropertyGroups() []PropertyGroup

GetPropertyGroups returns the PropertyGroups field value if set, zero value otherwise.

func (*ObjectDefinition) GetPropertyGroupsOk

func (o *ObjectDefinition) GetPropertyGroupsOk() ([]PropertyGroup, bool)

GetPropertyGroupsOk returns a tuple with the PropertyGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectDefinition) HasDisplayLabel

func (o *ObjectDefinition) HasDisplayLabel() bool

HasDisplayLabel returns a boolean if a field has been set.

func (*ObjectDefinition) HasDocCategory

func (o *ObjectDefinition) HasDocCategory() bool

HasDocCategory returns a boolean if a field has been set.

func (*ObjectDefinition) HasName

func (o *ObjectDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (*ObjectDefinition) HasPropertyDefinitions

func (o *ObjectDefinition) HasPropertyDefinitions() bool

HasPropertyDefinitions returns a boolean if a field has been set.

func (*ObjectDefinition) HasPropertyGroups

func (o *ObjectDefinition) HasPropertyGroups() bool

HasPropertyGroups returns a boolean if a field has been set.

func (ObjectDefinition) MarshalJSON

func (o ObjectDefinition) MarshalJSON() ([]byte, error)

func (*ObjectDefinition) SetDisplayLabel

func (o *ObjectDefinition) SetDisplayLabel(v string)

SetDisplayLabel gets a reference to the given string and assigns it to the DisplayLabel field.

func (*ObjectDefinition) SetDocCategory

func (o *ObjectDefinition) SetDocCategory(v string)

SetDocCategory gets a reference to the given string and assigns it to the DocCategory field.

func (*ObjectDefinition) SetName

func (o *ObjectDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ObjectDefinition) SetPropertyDefinitions

func (o *ObjectDefinition) SetPropertyDefinitions(v []PropertyDefinition)

SetPropertyDefinitions gets a reference to the given []PropertyDefinition and assigns it to the PropertyDefinitions field.

func (*ObjectDefinition) SetPropertyGroups

func (o *ObjectDefinition) SetPropertyGroups(v []PropertyGroup)

SetPropertyGroups gets a reference to the given []PropertyGroup and assigns it to the PropertyGroups field.

type ObjectPropertyOptions

type ObjectPropertyOptions struct {
	// The properties of the sub-object. These properties represent a nested object. For example, if this property represents a postal address, the subobjectProperties might be named street, city, and state.
	SubobjectProperties []PropertyDefinition `json:"subobjectProperties,omitempty"`
}

ObjectPropertyOptions Options for object properties.

func NewObjectPropertyOptions

func NewObjectPropertyOptions() *ObjectPropertyOptions

NewObjectPropertyOptions instantiates a new ObjectPropertyOptions 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

func NewObjectPropertyOptionsWithDefaults

func NewObjectPropertyOptionsWithDefaults() *ObjectPropertyOptions

NewObjectPropertyOptionsWithDefaults instantiates a new ObjectPropertyOptions 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

func (*ObjectPropertyOptions) GetSubobjectProperties

func (o *ObjectPropertyOptions) GetSubobjectProperties() []PropertyDefinition

GetSubobjectProperties returns the SubobjectProperties field value if set, zero value otherwise.

func (*ObjectPropertyOptions) GetSubobjectPropertiesOk

func (o *ObjectPropertyOptions) GetSubobjectPropertiesOk() ([]PropertyDefinition, bool)

GetSubobjectPropertiesOk returns a tuple with the SubobjectProperties field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectPropertyOptions) HasSubobjectProperties

func (o *ObjectPropertyOptions) HasSubobjectProperties() bool

HasSubobjectProperties returns a boolean if a field has been set.

func (ObjectPropertyOptions) MarshalJSON

func (o ObjectPropertyOptions) MarshalJSON() ([]byte, error)

func (*ObjectPropertyOptions) SetSubobjectProperties

func (o *ObjectPropertyOptions) SetSubobjectProperties(v []PropertyDefinition)

SetSubobjectProperties gets a reference to the given []PropertyDefinition and assigns it to the SubobjectProperties field.

type PeopleApiService

type PeopleApiService service

PeopleApiService PeopleApi service

func (*PeopleApiService) BulkindexemployeesPost

func (a *PeopleApiService) BulkindexemployeesPost(ctx context.Context) ApiBulkindexemployeesPostRequest

BulkindexemployeesPost Bulk index employees

Replaces all the currently indexed employees using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexemployeesPostRequest

func (*PeopleApiService) BulkindexemployeesPostExecute

func (a *PeopleApiService) BulkindexemployeesPostExecute(r ApiBulkindexemployeesPostRequest) (*http.Response, error)

Execute executes the request

func (*PeopleApiService) BulkindexteamsPost

func (a *PeopleApiService) BulkindexteamsPost(ctx context.Context) ApiBulkindexteamsPostRequest

BulkindexteamsPost Bulk index teams

Replaces all the currently indexed teams using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexteamsPostRequest

func (*PeopleApiService) BulkindexteamsPostExecute

func (a *PeopleApiService) BulkindexteamsPostExecute(r ApiBulkindexteamsPostRequest) (*http.Response, error)

Execute executes the request

func (*PeopleApiService) DeleteemployeePost

func (a *PeopleApiService) DeleteemployeePost(ctx context.Context) ApiDeleteemployeePostRequest

DeleteemployeePost Delete employee

Delete an employee. Silently succeeds if employee is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteemployeePostRequest

func (*PeopleApiService) DeleteemployeePostExecute

func (a *PeopleApiService) DeleteemployeePostExecute(r ApiDeleteemployeePostRequest) (*http.Response, error)

Execute executes the request

func (*PeopleApiService) IndexemployeePost

func (a *PeopleApiService) IndexemployeePost(ctx context.Context) ApiIndexemployeePostRequest

IndexemployeePost Index employee

Adds an employee or updates information about an employee

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexemployeePostRequest

func (*PeopleApiService) IndexemployeePostExecute

func (a *PeopleApiService) IndexemployeePostExecute(r ApiIndexemployeePostRequest) (*http.Response, error)

Execute executes the request

func (*PeopleApiService) IndexemployeelistPost

func (a *PeopleApiService) IndexemployeelistPost(ctx context.Context) ApiIndexemployeelistPostRequest

IndexemployeelistPost Bulk index employees

Bulk upload details of all the employees. This deletes all employees uploaded in the prior batch. SOON TO BE DEPRECATED in favor of /bulkindexemployees.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexemployeelistPostRequest

Deprecated

func (*PeopleApiService) IndexemployeelistPostExecute

func (a *PeopleApiService) IndexemployeelistPostExecute(r ApiIndexemployeelistPostRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*PeopleApiService) IndexteamPost

IndexteamPost Index team

Adds a team or updates information about a team

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexteamPostRequest

func (*PeopleApiService) IndexteamPostExecute

func (a *PeopleApiService) IndexteamPostExecute(r ApiIndexteamPostRequest) (*http.Response, error)

Execute executes the request

type PermissionsApiService

type PermissionsApiService service

PermissionsApiService PermissionsApi service

func (*PermissionsApiService) BetausersPost

BetausersPost Beta users

Allow the datasource be visible to the specified beta users. The default behaviour is datasource being visible to all users if it is enabled and not visible to any user if it is not enabled.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBetausersPostRequest

func (*PermissionsApiService) BetausersPostExecute

func (a *PermissionsApiService) BetausersPostExecute(r ApiBetausersPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) BulkindexgroupsPost

BulkindexgroupsPost Bulk index groups

Replaces the groups in a datasource using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexgroupsPostRequest

func (*PermissionsApiService) BulkindexgroupsPostExecute

func (a *PermissionsApiService) BulkindexgroupsPostExecute(r ApiBulkindexgroupsPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) BulkindexmembershipsPost

BulkindexmembershipsPost Bulk index memberships for a group

Replaces the memberships for a group in a datasource using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexmembershipsPostRequest

func (*PermissionsApiService) BulkindexmembershipsPostExecute

func (a *PermissionsApiService) BulkindexmembershipsPostExecute(r ApiBulkindexmembershipsPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) BulkindexusersPost

BulkindexusersPost Bulk index users

Replaces the users in a datasource using paginated batch API calls.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiBulkindexusersPostRequest

func (*PermissionsApiService) BulkindexusersPostExecute

func (a *PermissionsApiService) BulkindexusersPostExecute(r ApiBulkindexusersPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) CheckdocumentaccessPost

CheckdocumentaccessPost Check document access

Check if a given user has access to access a document in a custom datasource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCheckdocumentaccessPostRequest

func (*PermissionsApiService) CheckdocumentaccessPostExecute

Execute executes the request

@return CheckDocumentAccessResponse

func (*PermissionsApiService) DeletegroupPost

DeletegroupPost Delete group

Delete group from the datasource. Silently succeeds if group is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeletegroupPostRequest

func (*PermissionsApiService) DeletegroupPostExecute

func (a *PermissionsApiService) DeletegroupPostExecute(r ApiDeletegroupPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) DeletemembershipPost

DeletemembershipPost Delete membership

Delete membership to a group in the specified datasource. Silently succeeds if membership is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeletemembershipPostRequest

func (*PermissionsApiService) DeletemembershipPostExecute

func (a *PermissionsApiService) DeletemembershipPostExecute(r ApiDeletemembershipPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) DeleteuserPost

DeleteuserPost Delete user

Delete the user from the datasource. Silently succeeds if user is not present.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteuserPostRequest

func (*PermissionsApiService) DeleteuserPostExecute

func (a *PermissionsApiService) DeleteuserPostExecute(r ApiDeleteuserPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) GetusercountPost

GetusercountPost Get user count

Fetches user count for the specified custom datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetusercountPostRequest

func (*PermissionsApiService) GetusercountPostExecute

Execute executes the request

@return GetUserCountResponse

func (*PermissionsApiService) IndexgroupPost

IndexgroupPost Index group

Add or update a group in the datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexgroupPostRequest

func (*PermissionsApiService) IndexgroupPostExecute

func (a *PermissionsApiService) IndexgroupPostExecute(r ApiIndexgroupPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) IndexmembershipPost

IndexmembershipPost Index membership

Add the memberships of a group in the datasource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexmembershipPostRequest

func (*PermissionsApiService) IndexmembershipPostExecute

func (a *PermissionsApiService) IndexmembershipPostExecute(r ApiIndexmembershipPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) IndexuserPost

IndexuserPost Index user

Adds a datasource user or updates an existing user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIndexuserPostRequest

func (*PermissionsApiService) IndexuserPostExecute

func (a *PermissionsApiService) IndexuserPostExecute(r ApiIndexuserPostRequest) (*http.Response, error)

Execute executes the request

func (*PermissionsApiService) ProcessallmembershipsPost

ProcessallmembershipsPost Schedules the processing of group memberships

Schedules the immediate processing of all group memberships uploaded through the indexing API. By default the uploaded group memberships will be processed asynchronously but this API can be used to schedule processing of all memberships on demand.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiProcessallmembershipsPostRequest

func (*PermissionsApiService) ProcessallmembershipsPostExecute

func (a *PermissionsApiService) ProcessallmembershipsPostExecute(r ApiProcessallmembershipsPostRequest) (*http.Response, error)

Execute executes the request

type PermissionsGroupIntersectionDefinition

type PermissionsGroupIntersectionDefinition struct {
	RequiredGroups []string `json:"requiredGroups,omitempty"`
}

PermissionsGroupIntersectionDefinition describes a list of groups that are all required in a permissions constraint

func NewPermissionsGroupIntersectionDefinition

func NewPermissionsGroupIntersectionDefinition() *PermissionsGroupIntersectionDefinition

NewPermissionsGroupIntersectionDefinition instantiates a new PermissionsGroupIntersectionDefinition 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

func NewPermissionsGroupIntersectionDefinitionWithDefaults

func NewPermissionsGroupIntersectionDefinitionWithDefaults() *PermissionsGroupIntersectionDefinition

NewPermissionsGroupIntersectionDefinitionWithDefaults instantiates a new PermissionsGroupIntersectionDefinition 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

func (*PermissionsGroupIntersectionDefinition) GetRequiredGroups

func (o *PermissionsGroupIntersectionDefinition) GetRequiredGroups() []string

GetRequiredGroups returns the RequiredGroups field value if set, zero value otherwise.

func (*PermissionsGroupIntersectionDefinition) GetRequiredGroupsOk

func (o *PermissionsGroupIntersectionDefinition) GetRequiredGroupsOk() ([]string, bool)

GetRequiredGroupsOk returns a tuple with the RequiredGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PermissionsGroupIntersectionDefinition) HasRequiredGroups

func (o *PermissionsGroupIntersectionDefinition) HasRequiredGroups() bool

HasRequiredGroups returns a boolean if a field has been set.

func (PermissionsGroupIntersectionDefinition) MarshalJSON

func (o PermissionsGroupIntersectionDefinition) MarshalJSON() ([]byte, error)

func (*PermissionsGroupIntersectionDefinition) SetRequiredGroups

func (o *PermissionsGroupIntersectionDefinition) SetRequiredGroups(v []string)

SetRequiredGroups gets a reference to the given []string and assigns it to the RequiredGroups field.

type ProcessAllDocumentsRequest

type ProcessAllDocumentsRequest struct {
	// If provided, process documents only for this custom datasource. Otherwise all uploaded documents are processed.
	Datasource *string `json:"datasource,omitempty"`
}

ProcessAllDocumentsRequest Describes the request body of the /processalldocuments API call

func NewProcessAllDocumentsRequest

func NewProcessAllDocumentsRequest() *ProcessAllDocumentsRequest

NewProcessAllDocumentsRequest instantiates a new ProcessAllDocumentsRequest 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

func NewProcessAllDocumentsRequestWithDefaults

func NewProcessAllDocumentsRequestWithDefaults() *ProcessAllDocumentsRequest

NewProcessAllDocumentsRequestWithDefaults instantiates a new ProcessAllDocumentsRequest 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

func (*ProcessAllDocumentsRequest) GetDatasource

func (o *ProcessAllDocumentsRequest) GetDatasource() string

GetDatasource returns the Datasource field value if set, zero value otherwise.

func (*ProcessAllDocumentsRequest) GetDatasourceOk

func (o *ProcessAllDocumentsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessAllDocumentsRequest) HasDatasource

func (o *ProcessAllDocumentsRequest) HasDatasource() bool

HasDatasource returns a boolean if a field has been set.

func (ProcessAllDocumentsRequest) MarshalJSON

func (o ProcessAllDocumentsRequest) MarshalJSON() ([]byte, error)

func (*ProcessAllDocumentsRequest) SetDatasource

func (o *ProcessAllDocumentsRequest) SetDatasource(v string)

SetDatasource gets a reference to the given string and assigns it to the Datasource field.

type ProcessAllMembershipsRequest

type ProcessAllMembershipsRequest struct {
	// If provided, process group memberships only for this custom datasource. Otherwise all uploaded memberships are processed.
	Datasource *string `json:"datasource,omitempty"`
}

ProcessAllMembershipsRequest Describes the request body of the /processallmemberships API call

func NewProcessAllMembershipsRequest

func NewProcessAllMembershipsRequest() *ProcessAllMembershipsRequest

NewProcessAllMembershipsRequest instantiates a new ProcessAllMembershipsRequest 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

func NewProcessAllMembershipsRequestWithDefaults

func NewProcessAllMembershipsRequestWithDefaults() *ProcessAllMembershipsRequest

NewProcessAllMembershipsRequestWithDefaults instantiates a new ProcessAllMembershipsRequest 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

func (*ProcessAllMembershipsRequest) GetDatasource

func (o *ProcessAllMembershipsRequest) GetDatasource() string

GetDatasource returns the Datasource field value if set, zero value otherwise.

func (*ProcessAllMembershipsRequest) GetDatasourceOk

func (o *ProcessAllMembershipsRequest) GetDatasourceOk() (*string, bool)

GetDatasourceOk returns a tuple with the Datasource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessAllMembershipsRequest) HasDatasource

func (o *ProcessAllMembershipsRequest) HasDatasource() bool

HasDatasource returns a boolean if a field has been set.

func (ProcessAllMembershipsRequest) MarshalJSON

func (o ProcessAllMembershipsRequest) MarshalJSON() ([]byte, error)

func (*ProcessAllMembershipsRequest) SetDatasource

func (o *ProcessAllMembershipsRequest) SetDatasource(v string)

SetDatasource gets a reference to the given string and assigns it to the Datasource field.

type PropertyDefinition

type PropertyDefinition struct {
	// The name of the property in the `DocumentMetadata` (e.g. 'createTime', 'updateTime', 'author', 'container'). In the future, this will support custom properties too.
	Name *string `json:"name,omitempty"`
	// The user friendly label for the property.
	DisplayLabel *string `json:"displayLabel,omitempty"`
	// The user friendly label for the property that will be used if a plural context.
	DisplayLabelPlural *string `json:"displayLabelPlural,omitempty"`
	// The type of custom property - this governs the search and faceting behavior
	PropertyType *string `json:"propertyType,omitempty"`
	UiOptions    *string `json:"uiOptions,omitempty"`
	// If true then the property will not show up as a facet in the UI.
	HideUiFacet *bool `json:"hideUiFacet,omitempty"`
	// Will be used to set the order of facets in the UI, if present. If set for one facet, must be set for all non-hidden UI facets. Must take on an integer value from 1 (shown at the top) to N (shown last), where N is the number of non-hidden UI facets. These facets will be ordered below the built-in \"Type\" and \"Tag\" operators.
	UiFacetOrder          *int32                  `json:"uiFacetOrder,omitempty"`
	ObjectPropertyOptions []ObjectPropertyOptions `json:"objectPropertyOptions,omitempty"`
	// The unique identifier of the `PropertyGroup` to which this property belongs.
	Group *string `json:"group,omitempty"`
}

PropertyDefinition struct for PropertyDefinition

func NewPropertyDefinition

func NewPropertyDefinition() *PropertyDefinition

NewPropertyDefinition instantiates a new PropertyDefinition 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

func NewPropertyDefinitionWithDefaults

func NewPropertyDefinitionWithDefaults() *PropertyDefinition

NewPropertyDefinitionWithDefaults instantiates a new PropertyDefinition 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

func (*PropertyDefinition) GetDisplayLabel

func (o *PropertyDefinition) GetDisplayLabel() string

GetDisplayLabel returns the DisplayLabel field value if set, zero value otherwise.

func (*PropertyDefinition) GetDisplayLabelOk

func (o *PropertyDefinition) GetDisplayLabelOk() (*string, bool)

GetDisplayLabelOk returns a tuple with the DisplayLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) GetDisplayLabelPlural

func (o *PropertyDefinition) GetDisplayLabelPlural() string

GetDisplayLabelPlural returns the DisplayLabelPlural field value if set, zero value otherwise.

func (*PropertyDefinition) GetDisplayLabelPluralOk

func (o *PropertyDefinition) GetDisplayLabelPluralOk() (*string, bool)

GetDisplayLabelPluralOk returns a tuple with the DisplayLabelPlural field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) GetGroup

func (o *PropertyDefinition) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*PropertyDefinition) GetGroupOk

func (o *PropertyDefinition) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) GetHideUiFacet

func (o *PropertyDefinition) GetHideUiFacet() bool

GetHideUiFacet returns the HideUiFacet field value if set, zero value otherwise.

func (*PropertyDefinition) GetHideUiFacetOk

func (o *PropertyDefinition) GetHideUiFacetOk() (*bool, bool)

GetHideUiFacetOk returns a tuple with the HideUiFacet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) GetName

func (o *PropertyDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PropertyDefinition) GetNameOk

func (o *PropertyDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) GetObjectPropertyOptions

func (o *PropertyDefinition) GetObjectPropertyOptions() []ObjectPropertyOptions

GetObjectPropertyOptions returns the ObjectPropertyOptions field value if set, zero value otherwise.

func (*PropertyDefinition) GetObjectPropertyOptionsOk

func (o *PropertyDefinition) GetObjectPropertyOptionsOk() ([]ObjectPropertyOptions, bool)

GetObjectPropertyOptionsOk returns a tuple with the ObjectPropertyOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) GetPropertyType

func (o *PropertyDefinition) GetPropertyType() string

GetPropertyType returns the PropertyType field value if set, zero value otherwise.

func (*PropertyDefinition) GetPropertyTypeOk

func (o *PropertyDefinition) GetPropertyTypeOk() (*string, bool)

GetPropertyTypeOk returns a tuple with the PropertyType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) GetUiFacetOrder

func (o *PropertyDefinition) GetUiFacetOrder() int32

GetUiFacetOrder returns the UiFacetOrder field value if set, zero value otherwise.

func (*PropertyDefinition) GetUiFacetOrderOk

func (o *PropertyDefinition) GetUiFacetOrderOk() (*int32, bool)

GetUiFacetOrderOk returns a tuple with the UiFacetOrder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) GetUiOptions

func (o *PropertyDefinition) GetUiOptions() string

GetUiOptions returns the UiOptions field value if set, zero value otherwise.

func (*PropertyDefinition) GetUiOptionsOk

func (o *PropertyDefinition) GetUiOptionsOk() (*string, bool)

GetUiOptionsOk returns a tuple with the UiOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyDefinition) HasDisplayLabel

func (o *PropertyDefinition) HasDisplayLabel() bool

HasDisplayLabel returns a boolean if a field has been set.

func (*PropertyDefinition) HasDisplayLabelPlural

func (o *PropertyDefinition) HasDisplayLabelPlural() bool

HasDisplayLabelPlural returns a boolean if a field has been set.

func (*PropertyDefinition) HasGroup

func (o *PropertyDefinition) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*PropertyDefinition) HasHideUiFacet

func (o *PropertyDefinition) HasHideUiFacet() bool

HasHideUiFacet returns a boolean if a field has been set.

func (*PropertyDefinition) HasName

func (o *PropertyDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (*PropertyDefinition) HasObjectPropertyOptions

func (o *PropertyDefinition) HasObjectPropertyOptions() bool

HasObjectPropertyOptions returns a boolean if a field has been set.

func (*PropertyDefinition) HasPropertyType

func (o *PropertyDefinition) HasPropertyType() bool

HasPropertyType returns a boolean if a field has been set.

func (*PropertyDefinition) HasUiFacetOrder

func (o *PropertyDefinition) HasUiFacetOrder() bool

HasUiFacetOrder returns a boolean if a field has been set.

func (*PropertyDefinition) HasUiOptions

func (o *PropertyDefinition) HasUiOptions() bool

HasUiOptions returns a boolean if a field has been set.

func (PropertyDefinition) MarshalJSON

func (o PropertyDefinition) MarshalJSON() ([]byte, error)

func (*PropertyDefinition) SetDisplayLabel

func (o *PropertyDefinition) SetDisplayLabel(v string)

SetDisplayLabel gets a reference to the given string and assigns it to the DisplayLabel field.

func (*PropertyDefinition) SetDisplayLabelPlural

func (o *PropertyDefinition) SetDisplayLabelPlural(v string)

SetDisplayLabelPlural gets a reference to the given string and assigns it to the DisplayLabelPlural field.

func (*PropertyDefinition) SetGroup

func (o *PropertyDefinition) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*PropertyDefinition) SetHideUiFacet

func (o *PropertyDefinition) SetHideUiFacet(v bool)

SetHideUiFacet gets a reference to the given bool and assigns it to the HideUiFacet field.

func (*PropertyDefinition) SetName

func (o *PropertyDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PropertyDefinition) SetObjectPropertyOptions

func (o *PropertyDefinition) SetObjectPropertyOptions(v []ObjectPropertyOptions)

SetObjectPropertyOptions gets a reference to the given []ObjectPropertyOptions and assigns it to the ObjectPropertyOptions field.

func (*PropertyDefinition) SetPropertyType

func (o *PropertyDefinition) SetPropertyType(v string)

SetPropertyType gets a reference to the given string and assigns it to the PropertyType field.

func (*PropertyDefinition) SetUiFacetOrder

func (o *PropertyDefinition) SetUiFacetOrder(v int32)

SetUiFacetOrder gets a reference to the given int32 and assigns it to the UiFacetOrder field.

func (*PropertyDefinition) SetUiOptions

func (o *PropertyDefinition) SetUiOptions(v string)

SetUiOptions gets a reference to the given string and assigns it to the UiOptions field.

type PropertyGroup

type PropertyGroup struct {
	// The unique identifier of the group.
	Name *string `json:"name,omitempty"`
	// The user-friendly group label to display.
	DisplayLabel *string `json:"displayLabel,omitempty"`
}

PropertyGroup A grouping for multiple PropertyDefinition. Grouped properties will be displayed together in the UI.

func NewPropertyGroup

func NewPropertyGroup() *PropertyGroup

NewPropertyGroup instantiates a new PropertyGroup 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

func NewPropertyGroupWithDefaults

func NewPropertyGroupWithDefaults() *PropertyGroup

NewPropertyGroupWithDefaults instantiates a new PropertyGroup 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

func (*PropertyGroup) GetDisplayLabel

func (o *PropertyGroup) GetDisplayLabel() string

GetDisplayLabel returns the DisplayLabel field value if set, zero value otherwise.

func (*PropertyGroup) GetDisplayLabelOk

func (o *PropertyGroup) GetDisplayLabelOk() (*string, bool)

GetDisplayLabelOk returns a tuple with the DisplayLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyGroup) GetName

func (o *PropertyGroup) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PropertyGroup) GetNameOk

func (o *PropertyGroup) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyGroup) HasDisplayLabel

func (o *PropertyGroup) HasDisplayLabel() bool

HasDisplayLabel returns a boolean if a field has been set.

func (*PropertyGroup) HasName

func (o *PropertyGroup) HasName() bool

HasName returns a boolean if a field has been set.

func (PropertyGroup) MarshalJSON

func (o PropertyGroup) MarshalJSON() ([]byte, error)

func (*PropertyGroup) SetDisplayLabel

func (o *PropertyGroup) SetDisplayLabel(v string)

SetDisplayLabel gets a reference to the given string and assigns it to the DisplayLabel field.

func (*PropertyGroup) SetName

func (o *PropertyGroup) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type Quicklink struct {
	// Full action name. Used in autocomplete
	Name *string `json:"name,omitempty"`
	// Shortened name. Used in app card
	ShortName *string `json:"shortName,omitempty"`
	// The URL for the action
	Url        *string     `json:"url,omitempty"`
	IconConfig *IconConfig `json:"iconConfig,omitempty"`
	// Unique identifier of this quicklink
	Id *string `json:"id,omitempty"`
	// The scopes for which this quicklink is applicable
	Scopes []string `json:"scopes,omitempty"`
}

Quicklink An action for a specific datasource that will show up in autocomplete and app card, e.g. \"Create new issue\" for jira

func NewQuicklink() *Quicklink

NewQuicklink instantiates a new Quicklink 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

func NewQuicklinkWithDefaults

func NewQuicklinkWithDefaults() *Quicklink

NewQuicklinkWithDefaults instantiates a new Quicklink 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

func (*Quicklink) GetIconConfig

func (o *Quicklink) GetIconConfig() IconConfig

GetIconConfig returns the IconConfig field value if set, zero value otherwise.

func (*Quicklink) GetIconConfigOk

func (o *Quicklink) GetIconConfigOk() (*IconConfig, bool)

GetIconConfigOk returns a tuple with the IconConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quicklink) GetId

func (o *Quicklink) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Quicklink) GetIdOk

func (o *Quicklink) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quicklink) GetName

func (o *Quicklink) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Quicklink) GetNameOk

func (o *Quicklink) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quicklink) GetScopes

func (o *Quicklink) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*Quicklink) GetScopesOk

func (o *Quicklink) GetScopesOk() ([]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quicklink) GetShortName

func (o *Quicklink) GetShortName() string

GetShortName returns the ShortName field value if set, zero value otherwise.

func (*Quicklink) GetShortNameOk

func (o *Quicklink) GetShortNameOk() (*string, bool)

GetShortNameOk returns a tuple with the ShortName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quicklink) GetUrl

func (o *Quicklink) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Quicklink) GetUrlOk

func (o *Quicklink) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quicklink) HasIconConfig

func (o *Quicklink) HasIconConfig() bool

HasIconConfig returns a boolean if a field has been set.

func (*Quicklink) HasId

func (o *Quicklink) HasId() bool

HasId returns a boolean if a field has been set.

func (*Quicklink) HasName

func (o *Quicklink) HasName() bool

HasName returns a boolean if a field has been set.

func (*Quicklink) HasScopes

func (o *Quicklink) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*Quicklink) HasShortName

func (o *Quicklink) HasShortName() bool

HasShortName returns a boolean if a field has been set.

func (*Quicklink) HasUrl

func (o *Quicklink) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Quicklink) MarshalJSON

func (o Quicklink) MarshalJSON() ([]byte, error)

func (*Quicklink) SetIconConfig

func (o *Quicklink) SetIconConfig(v IconConfig)

SetIconConfig gets a reference to the given IconConfig and assigns it to the IconConfig field.

func (*Quicklink) SetId

func (o *Quicklink) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Quicklink) SetName

func (o *Quicklink) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Quicklink) SetScopes

func (o *Quicklink) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*Quicklink) SetShortName

func (o *Quicklink) SetShortName(v string)

SetShortName gets a reference to the given string and assigns it to the ShortName field.

func (*Quicklink) SetUrl

func (o *Quicklink) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SharedDatasourceConfig

type SharedDatasourceConfig struct {
	// Unique identifier of datasource instance to which this config applies.
	Name string `json:"name"`
	// Example text for what to search for in this datasource
	SuggestionText *string `json:"suggestionText,omitempty"`
	// The user-friendly instance label to display. If omitted, falls back to the title-cased `name`.
	DisplayName *string `json:"displayName,omitempty"`
	// The URL of the landing page for this datasource instance. Should point to the most useful page for users, not the company marketing page.
	HomeUrl *string `json:"homeUrl,omitempty"`
	// This only applies to WEB_CRAWL and BROWSER_CRAWL datasources. Defines the seed urls for crawling.
	CrawlerSeedUrls []string `json:"crawlerSeedUrls,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance in dark mode. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconDarkUrl *string `json:"iconDarkUrl,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconUrl *string `json:"iconUrl,omitempty"`
	// The list of top-level `objectType`s for the datasource.
	ObjectDefinitions []ObjectDefinition `json:"objectDefinitions,omitempty"`
	// List of built-in facet types that should be hidden for the datasource.
	HideBuiltInFacets []string `json:"hideBuiltInFacets,omitempty"`
	// Regular expression that matches URLs of documents of the datasource instance. The behavior for multiple matches is non-deterministic. **Note: urlRegex is a required field for non-entity datasources (ie. datasources where isEntityDatasource is false). Please add a regex as specific as possible to this datasource instance.**
	UrlRegex *string `json:"urlRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary URL to transform it into a canonical URL for this datasource instance. Regexes are to be applied in the order specified in this list.
	CanonicalizingURLRegex []CanonicalizingRegexType `json:"canonicalizingURLRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary title to transform it into a title that will be displayed in the search results
	CanonicalizingTitleRegex []CanonicalizingRegexType `json:"canonicalizingTitleRegex,omitempty"`
	// A regex that identifies titles that should not be indexed
	RedlistTitleRegex *string        `json:"redlistTitleRegex,omitempty"`
	ConnectorType     *ConnectorType `json:"connectorType,omitempty"`
	// List of actions for this datasource instance that will show up in autocomplete and app card, e.g. \"Create new issue\" for jira
	Quicklinks []Quicklink `json:"quicklinks,omitempty"`
	// The name of a render config to use for displaying results from this datasource. Any well known datasource name may be used to render the same as that source, e.g. `web` or `gdrive`.
	RenderConfigPreset *string `json:"renderConfigPreset,omitempty"`
	// Aliases that can be used as `app` operator-values.
	Aliases []string `json:"aliases,omitempty"`
	// The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED.
	DatasourceCategory *string `json:"datasourceCategory,omitempty"`
	// Whether or not this datasource is hosted on-premise.
	IsOnPrem *bool `json:"isOnPrem,omitempty"`
	// True if browser activity is able to report the correct URL for VIEW events. Set this to true if the URLs reported by Chrome are constant throughout each page load. Set this to false if the page has Javascript that modifies the URL during or after the load.
	TrustUrlRegexForViewActivity *bool `json:"trustUrlRegexForViewActivity,omitempty"`
	// If true, a utm_source query param will be added to outbound links to this datasource within Glean.
	IncludeUtmSource *bool `json:"includeUtmSource,omitempty"`
	// The (non-unique) name of the datasource of which this config is an instance, e.g. \"jira\".
	DatasourceName *string `json:"datasourceName,omitempty"`
	// The instance of the datasource for this particular config, e.g. \"onprem\".
	InstanceOnlyName *string `json:"instanceOnlyName,omitempty"`
	// A human readable string identifying this instance as compared to its peers, e.g. \"github.com/askscio\" or \"github.askscio.com\"
	InstanceDescription *string `json:"instanceDescription,omitempty"`
}

SharedDatasourceConfig Structure describing shared config properties of the datasource (including multi-instance support)

func NewSharedDatasourceConfig

func NewSharedDatasourceConfig(name string) *SharedDatasourceConfig

NewSharedDatasourceConfig instantiates a new SharedDatasourceConfig 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

func NewSharedDatasourceConfigWithDefaults

func NewSharedDatasourceConfigWithDefaults() *SharedDatasourceConfig

NewSharedDatasourceConfigWithDefaults instantiates a new SharedDatasourceConfig 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

func (*SharedDatasourceConfig) GetAliases

func (o *SharedDatasourceConfig) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetAliasesOk

func (o *SharedDatasourceConfig) GetAliasesOk() ([]string, bool)

GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetCanonicalizingTitleRegex

func (o *SharedDatasourceConfig) GetCanonicalizingTitleRegex() []CanonicalizingRegexType

GetCanonicalizingTitleRegex returns the CanonicalizingTitleRegex field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetCanonicalizingTitleRegexOk

func (o *SharedDatasourceConfig) GetCanonicalizingTitleRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingTitleRegexOk returns a tuple with the CanonicalizingTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetCanonicalizingURLRegex

func (o *SharedDatasourceConfig) GetCanonicalizingURLRegex() []CanonicalizingRegexType

GetCanonicalizingURLRegex returns the CanonicalizingURLRegex field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetCanonicalizingURLRegexOk

func (o *SharedDatasourceConfig) GetCanonicalizingURLRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingURLRegexOk returns a tuple with the CanonicalizingURLRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetConnectorType

func (o *SharedDatasourceConfig) GetConnectorType() ConnectorType

GetConnectorType returns the ConnectorType field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetConnectorTypeOk

func (o *SharedDatasourceConfig) GetConnectorTypeOk() (*ConnectorType, bool)

GetConnectorTypeOk returns a tuple with the ConnectorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetCrawlerSeedUrls

func (o *SharedDatasourceConfig) GetCrawlerSeedUrls() []string

GetCrawlerSeedUrls returns the CrawlerSeedUrls field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetCrawlerSeedUrlsOk

func (o *SharedDatasourceConfig) GetCrawlerSeedUrlsOk() ([]string, bool)

GetCrawlerSeedUrlsOk returns a tuple with the CrawlerSeedUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetDatasourceCategory

func (o *SharedDatasourceConfig) GetDatasourceCategory() string

GetDatasourceCategory returns the DatasourceCategory field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetDatasourceCategoryOk

func (o *SharedDatasourceConfig) GetDatasourceCategoryOk() (*string, bool)

GetDatasourceCategoryOk returns a tuple with the DatasourceCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetDatasourceName

func (o *SharedDatasourceConfig) GetDatasourceName() string

GetDatasourceName returns the DatasourceName field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetDatasourceNameOk

func (o *SharedDatasourceConfig) GetDatasourceNameOk() (*string, bool)

GetDatasourceNameOk returns a tuple with the DatasourceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetDisplayName

func (o *SharedDatasourceConfig) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetDisplayNameOk

func (o *SharedDatasourceConfig) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetHideBuiltInFacets

func (o *SharedDatasourceConfig) GetHideBuiltInFacets() []string

GetHideBuiltInFacets returns the HideBuiltInFacets field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetHideBuiltInFacetsOk

func (o *SharedDatasourceConfig) GetHideBuiltInFacetsOk() ([]string, bool)

GetHideBuiltInFacetsOk returns a tuple with the HideBuiltInFacets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetHomeUrl

func (o *SharedDatasourceConfig) GetHomeUrl() string

GetHomeUrl returns the HomeUrl field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetHomeUrlOk

func (o *SharedDatasourceConfig) GetHomeUrlOk() (*string, bool)

GetHomeUrlOk returns a tuple with the HomeUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetIconDarkUrl

func (o *SharedDatasourceConfig) GetIconDarkUrl() string

GetIconDarkUrl returns the IconDarkUrl field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetIconDarkUrlOk

func (o *SharedDatasourceConfig) GetIconDarkUrlOk() (*string, bool)

GetIconDarkUrlOk returns a tuple with the IconDarkUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetIconUrl

func (o *SharedDatasourceConfig) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetIconUrlOk

func (o *SharedDatasourceConfig) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetIncludeUtmSource

func (o *SharedDatasourceConfig) GetIncludeUtmSource() bool

GetIncludeUtmSource returns the IncludeUtmSource field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetIncludeUtmSourceOk

func (o *SharedDatasourceConfig) GetIncludeUtmSourceOk() (*bool, bool)

GetIncludeUtmSourceOk returns a tuple with the IncludeUtmSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetInstanceDescription

func (o *SharedDatasourceConfig) GetInstanceDescription() string

GetInstanceDescription returns the InstanceDescription field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetInstanceDescriptionOk

func (o *SharedDatasourceConfig) GetInstanceDescriptionOk() (*string, bool)

GetInstanceDescriptionOk returns a tuple with the InstanceDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetInstanceOnlyName

func (o *SharedDatasourceConfig) GetInstanceOnlyName() string

GetInstanceOnlyName returns the InstanceOnlyName field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetInstanceOnlyNameOk

func (o *SharedDatasourceConfig) GetInstanceOnlyNameOk() (*string, bool)

GetInstanceOnlyNameOk returns a tuple with the InstanceOnlyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetIsOnPrem

func (o *SharedDatasourceConfig) GetIsOnPrem() bool

GetIsOnPrem returns the IsOnPrem field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetIsOnPremOk

func (o *SharedDatasourceConfig) GetIsOnPremOk() (*bool, bool)

GetIsOnPremOk returns a tuple with the IsOnPrem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetName

func (o *SharedDatasourceConfig) GetName() string

GetName returns the Name field value

func (*SharedDatasourceConfig) GetNameOk

func (o *SharedDatasourceConfig) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetObjectDefinitions

func (o *SharedDatasourceConfig) GetObjectDefinitions() []ObjectDefinition

GetObjectDefinitions returns the ObjectDefinitions field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetObjectDefinitionsOk

func (o *SharedDatasourceConfig) GetObjectDefinitionsOk() ([]ObjectDefinition, bool)

GetObjectDefinitionsOk returns a tuple with the ObjectDefinitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfig) GetQuicklinks() []Quicklink

GetQuicklinks returns the Quicklinks field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetQuicklinksOk

func (o *SharedDatasourceConfig) GetQuicklinksOk() ([]Quicklink, bool)

GetQuicklinksOk returns a tuple with the Quicklinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetRedlistTitleRegex

func (o *SharedDatasourceConfig) GetRedlistTitleRegex() string

GetRedlistTitleRegex returns the RedlistTitleRegex field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetRedlistTitleRegexOk

func (o *SharedDatasourceConfig) GetRedlistTitleRegexOk() (*string, bool)

GetRedlistTitleRegexOk returns a tuple with the RedlistTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetRenderConfigPreset

func (o *SharedDatasourceConfig) GetRenderConfigPreset() string

GetRenderConfigPreset returns the RenderConfigPreset field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetRenderConfigPresetOk

func (o *SharedDatasourceConfig) GetRenderConfigPresetOk() (*string, bool)

GetRenderConfigPresetOk returns a tuple with the RenderConfigPreset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetSuggestionText

func (o *SharedDatasourceConfig) GetSuggestionText() string

GetSuggestionText returns the SuggestionText field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetSuggestionTextOk

func (o *SharedDatasourceConfig) GetSuggestionTextOk() (*string, bool)

GetSuggestionTextOk returns a tuple with the SuggestionText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetTrustUrlRegexForViewActivity

func (o *SharedDatasourceConfig) GetTrustUrlRegexForViewActivity() bool

GetTrustUrlRegexForViewActivity returns the TrustUrlRegexForViewActivity field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetTrustUrlRegexForViewActivityOk

func (o *SharedDatasourceConfig) GetTrustUrlRegexForViewActivityOk() (*bool, bool)

GetTrustUrlRegexForViewActivityOk returns a tuple with the TrustUrlRegexForViewActivity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) GetUrlRegex

func (o *SharedDatasourceConfig) GetUrlRegex() string

GetUrlRegex returns the UrlRegex field value if set, zero value otherwise.

func (*SharedDatasourceConfig) GetUrlRegexOk

func (o *SharedDatasourceConfig) GetUrlRegexOk() (*string, bool)

GetUrlRegexOk returns a tuple with the UrlRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfig) HasAliases

func (o *SharedDatasourceConfig) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasCanonicalizingTitleRegex

func (o *SharedDatasourceConfig) HasCanonicalizingTitleRegex() bool

HasCanonicalizingTitleRegex returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasCanonicalizingURLRegex

func (o *SharedDatasourceConfig) HasCanonicalizingURLRegex() bool

HasCanonicalizingURLRegex returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasConnectorType

func (o *SharedDatasourceConfig) HasConnectorType() bool

HasConnectorType returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasCrawlerSeedUrls

func (o *SharedDatasourceConfig) HasCrawlerSeedUrls() bool

HasCrawlerSeedUrls returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasDatasourceCategory

func (o *SharedDatasourceConfig) HasDatasourceCategory() bool

HasDatasourceCategory returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasDatasourceName

func (o *SharedDatasourceConfig) HasDatasourceName() bool

HasDatasourceName returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasDisplayName

func (o *SharedDatasourceConfig) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasHideBuiltInFacets

func (o *SharedDatasourceConfig) HasHideBuiltInFacets() bool

HasHideBuiltInFacets returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasHomeUrl

func (o *SharedDatasourceConfig) HasHomeUrl() bool

HasHomeUrl returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasIconDarkUrl

func (o *SharedDatasourceConfig) HasIconDarkUrl() bool

HasIconDarkUrl returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasIconUrl

func (o *SharedDatasourceConfig) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasIncludeUtmSource

func (o *SharedDatasourceConfig) HasIncludeUtmSource() bool

HasIncludeUtmSource returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasInstanceDescription

func (o *SharedDatasourceConfig) HasInstanceDescription() bool

HasInstanceDescription returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasInstanceOnlyName

func (o *SharedDatasourceConfig) HasInstanceOnlyName() bool

HasInstanceOnlyName returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasIsOnPrem

func (o *SharedDatasourceConfig) HasIsOnPrem() bool

HasIsOnPrem returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasObjectDefinitions

func (o *SharedDatasourceConfig) HasObjectDefinitions() bool

HasObjectDefinitions returns a boolean if a field has been set.

func (o *SharedDatasourceConfig) HasQuicklinks() bool

HasQuicklinks returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasRedlistTitleRegex

func (o *SharedDatasourceConfig) HasRedlistTitleRegex() bool

HasRedlistTitleRegex returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasRenderConfigPreset

func (o *SharedDatasourceConfig) HasRenderConfigPreset() bool

HasRenderConfigPreset returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasSuggestionText

func (o *SharedDatasourceConfig) HasSuggestionText() bool

HasSuggestionText returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasTrustUrlRegexForViewActivity

func (o *SharedDatasourceConfig) HasTrustUrlRegexForViewActivity() bool

HasTrustUrlRegexForViewActivity returns a boolean if a field has been set.

func (*SharedDatasourceConfig) HasUrlRegex

func (o *SharedDatasourceConfig) HasUrlRegex() bool

HasUrlRegex returns a boolean if a field has been set.

func (SharedDatasourceConfig) MarshalJSON

func (o SharedDatasourceConfig) MarshalJSON() ([]byte, error)

func (*SharedDatasourceConfig) SetAliases

func (o *SharedDatasourceConfig) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (*SharedDatasourceConfig) SetCanonicalizingTitleRegex

func (o *SharedDatasourceConfig) SetCanonicalizingTitleRegex(v []CanonicalizingRegexType)

SetCanonicalizingTitleRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingTitleRegex field.

func (*SharedDatasourceConfig) SetCanonicalizingURLRegex

func (o *SharedDatasourceConfig) SetCanonicalizingURLRegex(v []CanonicalizingRegexType)

SetCanonicalizingURLRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingURLRegex field.

func (*SharedDatasourceConfig) SetConnectorType

func (o *SharedDatasourceConfig) SetConnectorType(v ConnectorType)

SetConnectorType gets a reference to the given ConnectorType and assigns it to the ConnectorType field.

func (*SharedDatasourceConfig) SetCrawlerSeedUrls

func (o *SharedDatasourceConfig) SetCrawlerSeedUrls(v []string)

SetCrawlerSeedUrls gets a reference to the given []string and assigns it to the CrawlerSeedUrls field.

func (*SharedDatasourceConfig) SetDatasourceCategory

func (o *SharedDatasourceConfig) SetDatasourceCategory(v string)

SetDatasourceCategory gets a reference to the given string and assigns it to the DatasourceCategory field.

func (*SharedDatasourceConfig) SetDatasourceName

func (o *SharedDatasourceConfig) SetDatasourceName(v string)

SetDatasourceName gets a reference to the given string and assigns it to the DatasourceName field.

func (*SharedDatasourceConfig) SetDisplayName

func (o *SharedDatasourceConfig) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*SharedDatasourceConfig) SetHideBuiltInFacets

func (o *SharedDatasourceConfig) SetHideBuiltInFacets(v []string)

SetHideBuiltInFacets gets a reference to the given []string and assigns it to the HideBuiltInFacets field.

func (*SharedDatasourceConfig) SetHomeUrl

func (o *SharedDatasourceConfig) SetHomeUrl(v string)

SetHomeUrl gets a reference to the given string and assigns it to the HomeUrl field.

func (*SharedDatasourceConfig) SetIconDarkUrl

func (o *SharedDatasourceConfig) SetIconDarkUrl(v string)

SetIconDarkUrl gets a reference to the given string and assigns it to the IconDarkUrl field.

func (*SharedDatasourceConfig) SetIconUrl

func (o *SharedDatasourceConfig) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*SharedDatasourceConfig) SetIncludeUtmSource

func (o *SharedDatasourceConfig) SetIncludeUtmSource(v bool)

SetIncludeUtmSource gets a reference to the given bool and assigns it to the IncludeUtmSource field.

func (*SharedDatasourceConfig) SetInstanceDescription

func (o *SharedDatasourceConfig) SetInstanceDescription(v string)

SetInstanceDescription gets a reference to the given string and assigns it to the InstanceDescription field.

func (*SharedDatasourceConfig) SetInstanceOnlyName

func (o *SharedDatasourceConfig) SetInstanceOnlyName(v string)

SetInstanceOnlyName gets a reference to the given string and assigns it to the InstanceOnlyName field.

func (*SharedDatasourceConfig) SetIsOnPrem

func (o *SharedDatasourceConfig) SetIsOnPrem(v bool)

SetIsOnPrem gets a reference to the given bool and assigns it to the IsOnPrem field.

func (*SharedDatasourceConfig) SetName

func (o *SharedDatasourceConfig) SetName(v string)

SetName sets field value

func (*SharedDatasourceConfig) SetObjectDefinitions

func (o *SharedDatasourceConfig) SetObjectDefinitions(v []ObjectDefinition)

SetObjectDefinitions gets a reference to the given []ObjectDefinition and assigns it to the ObjectDefinitions field.

func (o *SharedDatasourceConfig) SetQuicklinks(v []Quicklink)

SetQuicklinks gets a reference to the given []Quicklink and assigns it to the Quicklinks field.

func (*SharedDatasourceConfig) SetRedlistTitleRegex

func (o *SharedDatasourceConfig) SetRedlistTitleRegex(v string)

SetRedlistTitleRegex gets a reference to the given string and assigns it to the RedlistTitleRegex field.

func (*SharedDatasourceConfig) SetRenderConfigPreset

func (o *SharedDatasourceConfig) SetRenderConfigPreset(v string)

SetRenderConfigPreset gets a reference to the given string and assigns it to the RenderConfigPreset field.

func (*SharedDatasourceConfig) SetSuggestionText

func (o *SharedDatasourceConfig) SetSuggestionText(v string)

SetSuggestionText gets a reference to the given string and assigns it to the SuggestionText field.

func (*SharedDatasourceConfig) SetTrustUrlRegexForViewActivity

func (o *SharedDatasourceConfig) SetTrustUrlRegexForViewActivity(v bool)

SetTrustUrlRegexForViewActivity gets a reference to the given bool and assigns it to the TrustUrlRegexForViewActivity field.

func (*SharedDatasourceConfig) SetUrlRegex

func (o *SharedDatasourceConfig) SetUrlRegex(v string)

SetUrlRegex gets a reference to the given string and assigns it to the UrlRegex field.

type SharedDatasourceConfigAllOf

type SharedDatasourceConfigAllOf struct {
	// The (non-unique) name of the datasource of which this config is an instance, e.g. \"jira\".
	DatasourceName *string `json:"datasourceName,omitempty"`
	// The instance of the datasource for this particular config, e.g. \"onprem\".
	InstanceOnlyName *string `json:"instanceOnlyName,omitempty"`
	// A human readable string identifying this instance as compared to its peers, e.g. \"github.com/askscio\" or \"github.askscio.com\"
	InstanceDescription *string `json:"instanceDescription,omitempty"`
}

SharedDatasourceConfigAllOf struct for SharedDatasourceConfigAllOf

func NewSharedDatasourceConfigAllOf

func NewSharedDatasourceConfigAllOf() *SharedDatasourceConfigAllOf

NewSharedDatasourceConfigAllOf instantiates a new SharedDatasourceConfigAllOf 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

func NewSharedDatasourceConfigAllOfWithDefaults

func NewSharedDatasourceConfigAllOfWithDefaults() *SharedDatasourceConfigAllOf

NewSharedDatasourceConfigAllOfWithDefaults instantiates a new SharedDatasourceConfigAllOf 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

func (*SharedDatasourceConfigAllOf) GetDatasourceName

func (o *SharedDatasourceConfigAllOf) GetDatasourceName() string

GetDatasourceName returns the DatasourceName field value if set, zero value otherwise.

func (*SharedDatasourceConfigAllOf) GetDatasourceNameOk

func (o *SharedDatasourceConfigAllOf) GetDatasourceNameOk() (*string, bool)

GetDatasourceNameOk returns a tuple with the DatasourceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigAllOf) GetInstanceDescription

func (o *SharedDatasourceConfigAllOf) GetInstanceDescription() string

GetInstanceDescription returns the InstanceDescription field value if set, zero value otherwise.

func (*SharedDatasourceConfigAllOf) GetInstanceDescriptionOk

func (o *SharedDatasourceConfigAllOf) GetInstanceDescriptionOk() (*string, bool)

GetInstanceDescriptionOk returns a tuple with the InstanceDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigAllOf) GetInstanceOnlyName

func (o *SharedDatasourceConfigAllOf) GetInstanceOnlyName() string

GetInstanceOnlyName returns the InstanceOnlyName field value if set, zero value otherwise.

func (*SharedDatasourceConfigAllOf) GetInstanceOnlyNameOk

func (o *SharedDatasourceConfigAllOf) GetInstanceOnlyNameOk() (*string, bool)

GetInstanceOnlyNameOk returns a tuple with the InstanceOnlyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigAllOf) HasDatasourceName

func (o *SharedDatasourceConfigAllOf) HasDatasourceName() bool

HasDatasourceName returns a boolean if a field has been set.

func (*SharedDatasourceConfigAllOf) HasInstanceDescription

func (o *SharedDatasourceConfigAllOf) HasInstanceDescription() bool

HasInstanceDescription returns a boolean if a field has been set.

func (*SharedDatasourceConfigAllOf) HasInstanceOnlyName

func (o *SharedDatasourceConfigAllOf) HasInstanceOnlyName() bool

HasInstanceOnlyName returns a boolean if a field has been set.

func (SharedDatasourceConfigAllOf) MarshalJSON

func (o SharedDatasourceConfigAllOf) MarshalJSON() ([]byte, error)

func (*SharedDatasourceConfigAllOf) SetDatasourceName

func (o *SharedDatasourceConfigAllOf) SetDatasourceName(v string)

SetDatasourceName gets a reference to the given string and assigns it to the DatasourceName field.

func (*SharedDatasourceConfigAllOf) SetInstanceDescription

func (o *SharedDatasourceConfigAllOf) SetInstanceDescription(v string)

SetInstanceDescription gets a reference to the given string and assigns it to the InstanceDescription field.

func (*SharedDatasourceConfigAllOf) SetInstanceOnlyName

func (o *SharedDatasourceConfigAllOf) SetInstanceOnlyName(v string)

SetInstanceOnlyName gets a reference to the given string and assigns it to the InstanceOnlyName field.

type SharedDatasourceConfigNoInstance

type SharedDatasourceConfigNoInstance struct {
	// Unique identifier of datasource instance to which this config applies.
	Name string `json:"name"`
	// Example text for what to search for in this datasource
	SuggestionText *string `json:"suggestionText,omitempty"`
	// The user-friendly instance label to display. If omitted, falls back to the title-cased `name`.
	DisplayName *string `json:"displayName,omitempty"`
	// The URL of the landing page for this datasource instance. Should point to the most useful page for users, not the company marketing page.
	HomeUrl *string `json:"homeUrl,omitempty"`
	// This only applies to WEB_CRAWL and BROWSER_CRAWL datasources. Defines the seed urls for crawling.
	CrawlerSeedUrls []string `json:"crawlerSeedUrls,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance in dark mode. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconDarkUrl *string `json:"iconDarkUrl,omitempty"`
	// The URL to an image to be displayed as an icon for this datasource instance. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs).
	IconUrl *string `json:"iconUrl,omitempty"`
	// The list of top-level `objectType`s for the datasource.
	ObjectDefinitions []ObjectDefinition `json:"objectDefinitions,omitempty"`
	// List of built-in facet types that should be hidden for the datasource.
	HideBuiltInFacets []string `json:"hideBuiltInFacets,omitempty"`
	// Regular expression that matches URLs of documents of the datasource instance. The behavior for multiple matches is non-deterministic. **Note: urlRegex is a required field for non-entity datasources (ie. datasources where isEntityDatasource is false). Please add a regex as specific as possible to this datasource instance.**
	UrlRegex *string `json:"urlRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary URL to transform it into a canonical URL for this datasource instance. Regexes are to be applied in the order specified in this list.
	CanonicalizingURLRegex []CanonicalizingRegexType `json:"canonicalizingURLRegex,omitempty"`
	// A list of regular expressions to apply to an arbitrary title to transform it into a title that will be displayed in the search results
	CanonicalizingTitleRegex []CanonicalizingRegexType `json:"canonicalizingTitleRegex,omitempty"`
	// A regex that identifies titles that should not be indexed
	RedlistTitleRegex *string        `json:"redlistTitleRegex,omitempty"`
	ConnectorType     *ConnectorType `json:"connectorType,omitempty"`
	// List of actions for this datasource instance that will show up in autocomplete and app card, e.g. \"Create new issue\" for jira
	Quicklinks []Quicklink `json:"quicklinks,omitempty"`
	// The name of a render config to use for displaying results from this datasource. Any well known datasource name may be used to render the same as that source, e.g. `web` or `gdrive`.
	RenderConfigPreset *string `json:"renderConfigPreset,omitempty"`
	// Aliases that can be used as `app` operator-values.
	Aliases []string `json:"aliases,omitempty"`
	// The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED.
	DatasourceCategory *string `json:"datasourceCategory,omitempty"`
	// Whether or not this datasource is hosted on-premise.
	IsOnPrem *bool `json:"isOnPrem,omitempty"`
	// True if browser activity is able to report the correct URL for VIEW events. Set this to true if the URLs reported by Chrome are constant throughout each page load. Set this to false if the page has Javascript that modifies the URL during or after the load.
	TrustUrlRegexForViewActivity *bool `json:"trustUrlRegexForViewActivity,omitempty"`
	// If true, a utm_source query param will be added to outbound links to this datasource within Glean.
	IncludeUtmSource *bool `json:"includeUtmSource,omitempty"`
}

SharedDatasourceConfigNoInstance Structure describing shared config properties of a datasource with no multi-instance support.

func NewSharedDatasourceConfigNoInstance

func NewSharedDatasourceConfigNoInstance(name string) *SharedDatasourceConfigNoInstance

NewSharedDatasourceConfigNoInstance instantiates a new SharedDatasourceConfigNoInstance 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

func NewSharedDatasourceConfigNoInstanceWithDefaults

func NewSharedDatasourceConfigNoInstanceWithDefaults() *SharedDatasourceConfigNoInstance

NewSharedDatasourceConfigNoInstanceWithDefaults instantiates a new SharedDatasourceConfigNoInstance 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

func (*SharedDatasourceConfigNoInstance) GetAliases

func (o *SharedDatasourceConfigNoInstance) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetAliasesOk

func (o *SharedDatasourceConfigNoInstance) GetAliasesOk() ([]string, bool)

GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetCanonicalizingTitleRegex

func (o *SharedDatasourceConfigNoInstance) GetCanonicalizingTitleRegex() []CanonicalizingRegexType

GetCanonicalizingTitleRegex returns the CanonicalizingTitleRegex field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetCanonicalizingTitleRegexOk

func (o *SharedDatasourceConfigNoInstance) GetCanonicalizingTitleRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingTitleRegexOk returns a tuple with the CanonicalizingTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetCanonicalizingURLRegex

func (o *SharedDatasourceConfigNoInstance) GetCanonicalizingURLRegex() []CanonicalizingRegexType

GetCanonicalizingURLRegex returns the CanonicalizingURLRegex field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetCanonicalizingURLRegexOk

func (o *SharedDatasourceConfigNoInstance) GetCanonicalizingURLRegexOk() ([]CanonicalizingRegexType, bool)

GetCanonicalizingURLRegexOk returns a tuple with the CanonicalizingURLRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetConnectorType

func (o *SharedDatasourceConfigNoInstance) GetConnectorType() ConnectorType

GetConnectorType returns the ConnectorType field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetConnectorTypeOk

func (o *SharedDatasourceConfigNoInstance) GetConnectorTypeOk() (*ConnectorType, bool)

GetConnectorTypeOk returns a tuple with the ConnectorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetCrawlerSeedUrls

func (o *SharedDatasourceConfigNoInstance) GetCrawlerSeedUrls() []string

GetCrawlerSeedUrls returns the CrawlerSeedUrls field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetCrawlerSeedUrlsOk

func (o *SharedDatasourceConfigNoInstance) GetCrawlerSeedUrlsOk() ([]string, bool)

GetCrawlerSeedUrlsOk returns a tuple with the CrawlerSeedUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetDatasourceCategory

func (o *SharedDatasourceConfigNoInstance) GetDatasourceCategory() string

GetDatasourceCategory returns the DatasourceCategory field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetDatasourceCategoryOk

func (o *SharedDatasourceConfigNoInstance) GetDatasourceCategoryOk() (*string, bool)

GetDatasourceCategoryOk returns a tuple with the DatasourceCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetDisplayName

func (o *SharedDatasourceConfigNoInstance) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetDisplayNameOk

func (o *SharedDatasourceConfigNoInstance) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetHideBuiltInFacets

func (o *SharedDatasourceConfigNoInstance) GetHideBuiltInFacets() []string

GetHideBuiltInFacets returns the HideBuiltInFacets field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetHideBuiltInFacetsOk

func (o *SharedDatasourceConfigNoInstance) GetHideBuiltInFacetsOk() ([]string, bool)

GetHideBuiltInFacetsOk returns a tuple with the HideBuiltInFacets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetHomeUrl

func (o *SharedDatasourceConfigNoInstance) GetHomeUrl() string

GetHomeUrl returns the HomeUrl field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetHomeUrlOk

func (o *SharedDatasourceConfigNoInstance) GetHomeUrlOk() (*string, bool)

GetHomeUrlOk returns a tuple with the HomeUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetIconDarkUrl

func (o *SharedDatasourceConfigNoInstance) GetIconDarkUrl() string

GetIconDarkUrl returns the IconDarkUrl field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetIconDarkUrlOk

func (o *SharedDatasourceConfigNoInstance) GetIconDarkUrlOk() (*string, bool)

GetIconDarkUrlOk returns a tuple with the IconDarkUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetIconUrl

func (o *SharedDatasourceConfigNoInstance) GetIconUrl() string

GetIconUrl returns the IconUrl field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetIconUrlOk

func (o *SharedDatasourceConfigNoInstance) GetIconUrlOk() (*string, bool)

GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetIncludeUtmSource

func (o *SharedDatasourceConfigNoInstance) GetIncludeUtmSource() bool

GetIncludeUtmSource returns the IncludeUtmSource field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetIncludeUtmSourceOk

func (o *SharedDatasourceConfigNoInstance) GetIncludeUtmSourceOk() (*bool, bool)

GetIncludeUtmSourceOk returns a tuple with the IncludeUtmSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetIsOnPrem

func (o *SharedDatasourceConfigNoInstance) GetIsOnPrem() bool

GetIsOnPrem returns the IsOnPrem field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetIsOnPremOk

func (o *SharedDatasourceConfigNoInstance) GetIsOnPremOk() (*bool, bool)

GetIsOnPremOk returns a tuple with the IsOnPrem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetName

GetName returns the Name field value

func (*SharedDatasourceConfigNoInstance) GetNameOk

func (o *SharedDatasourceConfigNoInstance) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetObjectDefinitions

func (o *SharedDatasourceConfigNoInstance) GetObjectDefinitions() []ObjectDefinition

GetObjectDefinitions returns the ObjectDefinitions field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetObjectDefinitionsOk

func (o *SharedDatasourceConfigNoInstance) GetObjectDefinitionsOk() ([]ObjectDefinition, bool)

GetObjectDefinitionsOk returns a tuple with the ObjectDefinitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SharedDatasourceConfigNoInstance) GetQuicklinks() []Quicklink

GetQuicklinks returns the Quicklinks field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetQuicklinksOk

func (o *SharedDatasourceConfigNoInstance) GetQuicklinksOk() ([]Quicklink, bool)

GetQuicklinksOk returns a tuple with the Quicklinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetRedlistTitleRegex

func (o *SharedDatasourceConfigNoInstance) GetRedlistTitleRegex() string

GetRedlistTitleRegex returns the RedlistTitleRegex field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetRedlistTitleRegexOk

func (o *SharedDatasourceConfigNoInstance) GetRedlistTitleRegexOk() (*string, bool)

GetRedlistTitleRegexOk returns a tuple with the RedlistTitleRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetRenderConfigPreset

func (o *SharedDatasourceConfigNoInstance) GetRenderConfigPreset() string

GetRenderConfigPreset returns the RenderConfigPreset field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetRenderConfigPresetOk

func (o *SharedDatasourceConfigNoInstance) GetRenderConfigPresetOk() (*string, bool)

GetRenderConfigPresetOk returns a tuple with the RenderConfigPreset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetSuggestionText

func (o *SharedDatasourceConfigNoInstance) GetSuggestionText() string

GetSuggestionText returns the SuggestionText field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetSuggestionTextOk

func (o *SharedDatasourceConfigNoInstance) GetSuggestionTextOk() (*string, bool)

GetSuggestionTextOk returns a tuple with the SuggestionText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetTrustUrlRegexForViewActivity

func (o *SharedDatasourceConfigNoInstance) GetTrustUrlRegexForViewActivity() bool

GetTrustUrlRegexForViewActivity returns the TrustUrlRegexForViewActivity field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetTrustUrlRegexForViewActivityOk

func (o *SharedDatasourceConfigNoInstance) GetTrustUrlRegexForViewActivityOk() (*bool, bool)

GetTrustUrlRegexForViewActivityOk returns a tuple with the TrustUrlRegexForViewActivity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) GetUrlRegex

func (o *SharedDatasourceConfigNoInstance) GetUrlRegex() string

GetUrlRegex returns the UrlRegex field value if set, zero value otherwise.

func (*SharedDatasourceConfigNoInstance) GetUrlRegexOk

func (o *SharedDatasourceConfigNoInstance) GetUrlRegexOk() (*string, bool)

GetUrlRegexOk returns a tuple with the UrlRegex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SharedDatasourceConfigNoInstance) HasAliases

func (o *SharedDatasourceConfigNoInstance) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasCanonicalizingTitleRegex

func (o *SharedDatasourceConfigNoInstance) HasCanonicalizingTitleRegex() bool

HasCanonicalizingTitleRegex returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasCanonicalizingURLRegex

func (o *SharedDatasourceConfigNoInstance) HasCanonicalizingURLRegex() bool

HasCanonicalizingURLRegex returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasConnectorType

func (o *SharedDatasourceConfigNoInstance) HasConnectorType() bool

HasConnectorType returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasCrawlerSeedUrls

func (o *SharedDatasourceConfigNoInstance) HasCrawlerSeedUrls() bool

HasCrawlerSeedUrls returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasDatasourceCategory

func (o *SharedDatasourceConfigNoInstance) HasDatasourceCategory() bool

HasDatasourceCategory returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasDisplayName

func (o *SharedDatasourceConfigNoInstance) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasHideBuiltInFacets

func (o *SharedDatasourceConfigNoInstance) HasHideBuiltInFacets() bool

HasHideBuiltInFacets returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasHomeUrl

func (o *SharedDatasourceConfigNoInstance) HasHomeUrl() bool

HasHomeUrl returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasIconDarkUrl

func (o *SharedDatasourceConfigNoInstance) HasIconDarkUrl() bool

HasIconDarkUrl returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasIconUrl

func (o *SharedDatasourceConfigNoInstance) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasIncludeUtmSource

func (o *SharedDatasourceConfigNoInstance) HasIncludeUtmSource() bool

HasIncludeUtmSource returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasIsOnPrem

func (o *SharedDatasourceConfigNoInstance) HasIsOnPrem() bool

HasIsOnPrem returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasObjectDefinitions

func (o *SharedDatasourceConfigNoInstance) HasObjectDefinitions() bool

HasObjectDefinitions returns a boolean if a field has been set.

func (o *SharedDatasourceConfigNoInstance) HasQuicklinks() bool

HasQuicklinks returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasRedlistTitleRegex

func (o *SharedDatasourceConfigNoInstance) HasRedlistTitleRegex() bool

HasRedlistTitleRegex returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasRenderConfigPreset

func (o *SharedDatasourceConfigNoInstance) HasRenderConfigPreset() bool

HasRenderConfigPreset returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasSuggestionText

func (o *SharedDatasourceConfigNoInstance) HasSuggestionText() bool

HasSuggestionText returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasTrustUrlRegexForViewActivity

func (o *SharedDatasourceConfigNoInstance) HasTrustUrlRegexForViewActivity() bool

HasTrustUrlRegexForViewActivity returns a boolean if a field has been set.

func (*SharedDatasourceConfigNoInstance) HasUrlRegex

func (o *SharedDatasourceConfigNoInstance) HasUrlRegex() bool

HasUrlRegex returns a boolean if a field has been set.

func (SharedDatasourceConfigNoInstance) MarshalJSON

func (o SharedDatasourceConfigNoInstance) MarshalJSON() ([]byte, error)

func (*SharedDatasourceConfigNoInstance) SetAliases

func (o *SharedDatasourceConfigNoInstance) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (*SharedDatasourceConfigNoInstance) SetCanonicalizingTitleRegex

func (o *SharedDatasourceConfigNoInstance) SetCanonicalizingTitleRegex(v []CanonicalizingRegexType)

SetCanonicalizingTitleRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingTitleRegex field.

func (*SharedDatasourceConfigNoInstance) SetCanonicalizingURLRegex

func (o *SharedDatasourceConfigNoInstance) SetCanonicalizingURLRegex(v []CanonicalizingRegexType)

SetCanonicalizingURLRegex gets a reference to the given []CanonicalizingRegexType and assigns it to the CanonicalizingURLRegex field.

func (*SharedDatasourceConfigNoInstance) SetConnectorType

func (o *SharedDatasourceConfigNoInstance) SetConnectorType(v ConnectorType)

SetConnectorType gets a reference to the given ConnectorType and assigns it to the ConnectorType field.

func (*SharedDatasourceConfigNoInstance) SetCrawlerSeedUrls

func (o *SharedDatasourceConfigNoInstance) SetCrawlerSeedUrls(v []string)

SetCrawlerSeedUrls gets a reference to the given []string and assigns it to the CrawlerSeedUrls field.

func (*SharedDatasourceConfigNoInstance) SetDatasourceCategory

func (o *SharedDatasourceConfigNoInstance) SetDatasourceCategory(v string)

SetDatasourceCategory gets a reference to the given string and assigns it to the DatasourceCategory field.

func (*SharedDatasourceConfigNoInstance) SetDisplayName

func (o *SharedDatasourceConfigNoInstance) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*SharedDatasourceConfigNoInstance) SetHideBuiltInFacets

func (o *SharedDatasourceConfigNoInstance) SetHideBuiltInFacets(v []string)

SetHideBuiltInFacets gets a reference to the given []string and assigns it to the HideBuiltInFacets field.

func (*SharedDatasourceConfigNoInstance) SetHomeUrl

func (o *SharedDatasourceConfigNoInstance) SetHomeUrl(v string)

SetHomeUrl gets a reference to the given string and assigns it to the HomeUrl field.

func (*SharedDatasourceConfigNoInstance) SetIconDarkUrl

func (o *SharedDatasourceConfigNoInstance) SetIconDarkUrl(v string)

SetIconDarkUrl gets a reference to the given string and assigns it to the IconDarkUrl field.

func (*SharedDatasourceConfigNoInstance) SetIconUrl

func (o *SharedDatasourceConfigNoInstance) SetIconUrl(v string)

SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.

func (*SharedDatasourceConfigNoInstance) SetIncludeUtmSource

func (o *SharedDatasourceConfigNoInstance) SetIncludeUtmSource(v bool)

SetIncludeUtmSource gets a reference to the given bool and assigns it to the IncludeUtmSource field.

func (*SharedDatasourceConfigNoInstance) SetIsOnPrem

func (o *SharedDatasourceConfigNoInstance) SetIsOnPrem(v bool)

SetIsOnPrem gets a reference to the given bool and assigns it to the IsOnPrem field.

func (*SharedDatasourceConfigNoInstance) SetName

SetName sets field value

func (*SharedDatasourceConfigNoInstance) SetObjectDefinitions

func (o *SharedDatasourceConfigNoInstance) SetObjectDefinitions(v []ObjectDefinition)

SetObjectDefinitions gets a reference to the given []ObjectDefinition and assigns it to the ObjectDefinitions field.

func (o *SharedDatasourceConfigNoInstance) SetQuicklinks(v []Quicklink)

SetQuicklinks gets a reference to the given []Quicklink and assigns it to the Quicklinks field.

func (*SharedDatasourceConfigNoInstance) SetRedlistTitleRegex

func (o *SharedDatasourceConfigNoInstance) SetRedlistTitleRegex(v string)

SetRedlistTitleRegex gets a reference to the given string and assigns it to the RedlistTitleRegex field.

func (*SharedDatasourceConfigNoInstance) SetRenderConfigPreset

func (o *SharedDatasourceConfigNoInstance) SetRenderConfigPreset(v string)

SetRenderConfigPreset gets a reference to the given string and assigns it to the RenderConfigPreset field.

func (*SharedDatasourceConfigNoInstance) SetSuggestionText

func (o *SharedDatasourceConfigNoInstance) SetSuggestionText(v string)

SetSuggestionText gets a reference to the given string and assigns it to the SuggestionText field.

func (*SharedDatasourceConfigNoInstance) SetTrustUrlRegexForViewActivity

func (o *SharedDatasourceConfigNoInstance) SetTrustUrlRegexForViewActivity(v bool)

SetTrustUrlRegexForViewActivity gets a reference to the given bool and assigns it to the TrustUrlRegexForViewActivity field.

func (*SharedDatasourceConfigNoInstance) SetUrlRegex

func (o *SharedDatasourceConfigNoInstance) SetUrlRegex(v string)

SetUrlRegex gets a reference to the given string and assigns it to the UrlRegex field.

type SocialNetworkDefinition

type SocialNetworkDefinition struct {
	// Possible values are \"twitter\", \"linkedin\".
	Name *string `json:"name,omitempty"`
	// Human-readable profile name.
	ProfileName *string `json:"profileName,omitempty"`
	// Link to profile.
	ProfileUrl *string `json:"profileUrl,omitempty"`
}

SocialNetworkDefinition Employee's social network profile

func NewSocialNetworkDefinition

func NewSocialNetworkDefinition() *SocialNetworkDefinition

NewSocialNetworkDefinition instantiates a new SocialNetworkDefinition 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

func NewSocialNetworkDefinitionWithDefaults

func NewSocialNetworkDefinitionWithDefaults() *SocialNetworkDefinition

NewSocialNetworkDefinitionWithDefaults instantiates a new SocialNetworkDefinition 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

func (*SocialNetworkDefinition) GetName

func (o *SocialNetworkDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SocialNetworkDefinition) GetNameOk

func (o *SocialNetworkDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocialNetworkDefinition) GetProfileName

func (o *SocialNetworkDefinition) GetProfileName() string

GetProfileName returns the ProfileName field value if set, zero value otherwise.

func (*SocialNetworkDefinition) GetProfileNameOk

func (o *SocialNetworkDefinition) GetProfileNameOk() (*string, bool)

GetProfileNameOk returns a tuple with the ProfileName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocialNetworkDefinition) GetProfileUrl

func (o *SocialNetworkDefinition) GetProfileUrl() string

GetProfileUrl returns the ProfileUrl field value if set, zero value otherwise.

func (*SocialNetworkDefinition) GetProfileUrlOk

func (o *SocialNetworkDefinition) GetProfileUrlOk() (*string, bool)

GetProfileUrlOk returns a tuple with the ProfileUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocialNetworkDefinition) HasName

func (o *SocialNetworkDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (*SocialNetworkDefinition) HasProfileName

func (o *SocialNetworkDefinition) HasProfileName() bool

HasProfileName returns a boolean if a field has been set.

func (*SocialNetworkDefinition) HasProfileUrl

func (o *SocialNetworkDefinition) HasProfileUrl() bool

HasProfileUrl returns a boolean if a field has been set.

func (SocialNetworkDefinition) MarshalJSON

func (o SocialNetworkDefinition) MarshalJSON() ([]byte, error)

func (*SocialNetworkDefinition) SetName

func (o *SocialNetworkDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SocialNetworkDefinition) SetProfileName

func (o *SocialNetworkDefinition) SetProfileName(v string)

SetProfileName gets a reference to the given string and assigns it to the ProfileName field.

func (*SocialNetworkDefinition) SetProfileUrl

func (o *SocialNetworkDefinition) SetProfileUrl(v string)

SetProfileUrl gets a reference to the given string and assigns it to the ProfileUrl field.

type StructuredLocation

type StructuredLocation struct {
	// Desk number.
	DeskLocation *string `json:"deskLocation,omitempty"`
	// Location's timezone, e.g. UTC, PST.
	Timezone *string `json:"timezone,omitempty"`
	// Office address or name.
	Address *string `json:"address,omitempty"`
	// Name of the city.
	City *string `json:"city,omitempty"`
	// State code.
	State *string `json:"state,omitempty"`
	// Region information, e.g. NORAM, APAC.
	Region *string `json:"region,omitempty"`
	// ZIP Code for the address.
	ZipCode *string `json:"zipCode,omitempty"`
	// Country name.
	Country *string `json:"country,omitempty"`
	// Alpha-2 or Alpha-3 ISO 3166 country code, e.g. US or USA.
	CountryCode *string `json:"countryCode,omitempty"`
}

StructuredLocation Detailed location with information about country, state, city etc.

func NewStructuredLocation

func NewStructuredLocation() *StructuredLocation

NewStructuredLocation instantiates a new StructuredLocation 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

func NewStructuredLocationWithDefaults

func NewStructuredLocationWithDefaults() *StructuredLocation

NewStructuredLocationWithDefaults instantiates a new StructuredLocation 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

func (*StructuredLocation) GetAddress

func (o *StructuredLocation) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*StructuredLocation) GetAddressOk

func (o *StructuredLocation) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) GetCity

func (o *StructuredLocation) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*StructuredLocation) GetCityOk

func (o *StructuredLocation) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) GetCountry

func (o *StructuredLocation) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*StructuredLocation) GetCountryCode

func (o *StructuredLocation) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*StructuredLocation) GetCountryCodeOk

func (o *StructuredLocation) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) GetCountryOk

func (o *StructuredLocation) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) GetDeskLocation

func (o *StructuredLocation) GetDeskLocation() string

GetDeskLocation returns the DeskLocation field value if set, zero value otherwise.

func (*StructuredLocation) GetDeskLocationOk

func (o *StructuredLocation) GetDeskLocationOk() (*string, bool)

GetDeskLocationOk returns a tuple with the DeskLocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) GetRegion

func (o *StructuredLocation) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*StructuredLocation) GetRegionOk

func (o *StructuredLocation) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) GetState

func (o *StructuredLocation) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*StructuredLocation) GetStateOk

func (o *StructuredLocation) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) GetTimezone

func (o *StructuredLocation) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*StructuredLocation) GetTimezoneOk

func (o *StructuredLocation) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) GetZipCode

func (o *StructuredLocation) GetZipCode() string

GetZipCode returns the ZipCode field value if set, zero value otherwise.

func (*StructuredLocation) GetZipCodeOk

func (o *StructuredLocation) GetZipCodeOk() (*string, bool)

GetZipCodeOk returns a tuple with the ZipCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StructuredLocation) HasAddress

func (o *StructuredLocation) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*StructuredLocation) HasCity

func (o *StructuredLocation) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*StructuredLocation) HasCountry

func (o *StructuredLocation) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*StructuredLocation) HasCountryCode

func (o *StructuredLocation) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*StructuredLocation) HasDeskLocation

func (o *StructuredLocation) HasDeskLocation() bool

HasDeskLocation returns a boolean if a field has been set.

func (*StructuredLocation) HasRegion

func (o *StructuredLocation) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*StructuredLocation) HasState

func (o *StructuredLocation) HasState() bool

HasState returns a boolean if a field has been set.

func (*StructuredLocation) HasTimezone

func (o *StructuredLocation) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*StructuredLocation) HasZipCode

func (o *StructuredLocation) HasZipCode() bool

HasZipCode returns a boolean if a field has been set.

func (StructuredLocation) MarshalJSON

func (o StructuredLocation) MarshalJSON() ([]byte, error)

func (*StructuredLocation) SetAddress

func (o *StructuredLocation) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*StructuredLocation) SetCity

func (o *StructuredLocation) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*StructuredLocation) SetCountry

func (o *StructuredLocation) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*StructuredLocation) SetCountryCode

func (o *StructuredLocation) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*StructuredLocation) SetDeskLocation

func (o *StructuredLocation) SetDeskLocation(v string)

SetDeskLocation gets a reference to the given string and assigns it to the DeskLocation field.

func (*StructuredLocation) SetRegion

func (o *StructuredLocation) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*StructuredLocation) SetState

func (o *StructuredLocation) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*StructuredLocation) SetTimezone

func (o *StructuredLocation) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*StructuredLocation) SetZipCode

func (o *StructuredLocation) SetZipCode(v string)

SetZipCode gets a reference to the given string and assigns it to the ZipCode field.

type TeamEmail

type TeamEmail struct {
	// An email address
	Email string `json:"email"`
	// An enum of `PRIMARY`, `SECONDARY`, `ONCALL`, `OTHER`
	Type string `json:"type"`
}

TeamEmail Information about a team's email

func NewTeamEmail

func NewTeamEmail(email string, type_ string) *TeamEmail

NewTeamEmail instantiates a new TeamEmail 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

func NewTeamEmailWithDefaults

func NewTeamEmailWithDefaults() *TeamEmail

NewTeamEmailWithDefaults instantiates a new TeamEmail 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

func (*TeamEmail) GetEmail

func (o *TeamEmail) GetEmail() string

GetEmail returns the Email field value

func (*TeamEmail) GetEmailOk

func (o *TeamEmail) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*TeamEmail) GetType

func (o *TeamEmail) GetType() string

GetType returns the Type field value

func (*TeamEmail) GetTypeOk

func (o *TeamEmail) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (TeamEmail) MarshalJSON

func (o TeamEmail) MarshalJSON() ([]byte, error)

func (*TeamEmail) SetEmail

func (o *TeamEmail) SetEmail(v string)

SetEmail sets field value

func (*TeamEmail) SetType

func (o *TeamEmail) SetType(v string)

SetType sets field value

type TeamInfoDefinition

type TeamInfoDefinition struct {
	// The unique ID of the team
	Id string `json:"id"`
	// Human-readable team name
	Name string `json:"name"`
	// The description of this team
	Description *string `json:"description,omitempty"`
	// Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses.
	BusinessUnit *string `json:"businessUnit,omitempty"`
	// An organizational unit where everyone has a similar task, e.g. `Engineering`.
	Department *string `json:"department,omitempty"`
	// A link to the team's photo
	PhotoUrl *string `json:"photoUrl,omitempty"`
	// A link to an external team page. If set, team results will link to it.
	ExternalLink *string `json:"externalLink,omitempty"`
	// The emails of the team
	Emails []TeamEmail `json:"emails,omitempty"`
	// The datasource profiles of the team
	DatasourceProfiles []DatasourceProfile `json:"datasourceProfiles,omitempty"`
	// The members of the team
	Members []TeamMember `json:"members"`
}

TeamInfoDefinition Information about an employee's team

func NewTeamInfoDefinition

func NewTeamInfoDefinition(id string, name string, members []TeamMember) *TeamInfoDefinition

NewTeamInfoDefinition instantiates a new TeamInfoDefinition 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

func NewTeamInfoDefinitionWithDefaults

func NewTeamInfoDefinitionWithDefaults() *TeamInfoDefinition

NewTeamInfoDefinitionWithDefaults instantiates a new TeamInfoDefinition 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

func (*TeamInfoDefinition) GetBusinessUnit

func (o *TeamInfoDefinition) GetBusinessUnit() string

GetBusinessUnit returns the BusinessUnit field value if set, zero value otherwise.

func (*TeamInfoDefinition) GetBusinessUnitOk

func (o *TeamInfoDefinition) GetBusinessUnitOk() (*string, bool)

GetBusinessUnitOk returns a tuple with the BusinessUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamInfoDefinition) GetDatasourceProfiles

func (o *TeamInfoDefinition) GetDatasourceProfiles() []DatasourceProfile

GetDatasourceProfiles returns the DatasourceProfiles field value if set, zero value otherwise.

func (*TeamInfoDefinition) GetDatasourceProfilesOk

func (o *TeamInfoDefinition) GetDatasourceProfilesOk() ([]DatasourceProfile, bool)

GetDatasourceProfilesOk returns a tuple with the DatasourceProfiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamInfoDefinition) GetDepartment

func (o *TeamInfoDefinition) GetDepartment() string

GetDepartment returns the Department field value if set, zero value otherwise.

func (*TeamInfoDefinition) GetDepartmentOk

func (o *TeamInfoDefinition) GetDepartmentOk() (*string, bool)

GetDepartmentOk returns a tuple with the Department field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamInfoDefinition) GetDescription

func (o *TeamInfoDefinition) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TeamInfoDefinition) GetDescriptionOk

func (o *TeamInfoDefinition) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamInfoDefinition) GetEmails

func (o *TeamInfoDefinition) GetEmails() []TeamEmail

GetEmails returns the Emails field value if set, zero value otherwise.

func (*TeamInfoDefinition) GetEmailsOk

func (o *TeamInfoDefinition) GetEmailsOk() ([]TeamEmail, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TeamInfoDefinition) GetExternalLink() string

GetExternalLink returns the ExternalLink field value if set, zero value otherwise.

func (*TeamInfoDefinition) GetExternalLinkOk

func (o *TeamInfoDefinition) GetExternalLinkOk() (*string, bool)

GetExternalLinkOk returns a tuple with the ExternalLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamInfoDefinition) GetId

func (o *TeamInfoDefinition) GetId() string

GetId returns the Id field value

func (*TeamInfoDefinition) GetIdOk

func (o *TeamInfoDefinition) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TeamInfoDefinition) GetMembers

func (o *TeamInfoDefinition) GetMembers() []TeamMember

GetMembers returns the Members field value

func (*TeamInfoDefinition) GetMembersOk

func (o *TeamInfoDefinition) GetMembersOk() ([]TeamMember, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*TeamInfoDefinition) GetName

func (o *TeamInfoDefinition) GetName() string

GetName returns the Name field value

func (*TeamInfoDefinition) GetNameOk

func (o *TeamInfoDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TeamInfoDefinition) GetPhotoUrl

func (o *TeamInfoDefinition) GetPhotoUrl() string

GetPhotoUrl returns the PhotoUrl field value if set, zero value otherwise.

func (*TeamInfoDefinition) GetPhotoUrlOk

func (o *TeamInfoDefinition) GetPhotoUrlOk() (*string, bool)

GetPhotoUrlOk returns a tuple with the PhotoUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamInfoDefinition) HasBusinessUnit

func (o *TeamInfoDefinition) HasBusinessUnit() bool

HasBusinessUnit returns a boolean if a field has been set.

func (*TeamInfoDefinition) HasDatasourceProfiles

func (o *TeamInfoDefinition) HasDatasourceProfiles() bool

HasDatasourceProfiles returns a boolean if a field has been set.

func (*TeamInfoDefinition) HasDepartment

func (o *TeamInfoDefinition) HasDepartment() bool

HasDepartment returns a boolean if a field has been set.

func (*TeamInfoDefinition) HasDescription

func (o *TeamInfoDefinition) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TeamInfoDefinition) HasEmails

func (o *TeamInfoDefinition) HasEmails() bool

HasEmails returns a boolean if a field has been set.

func (o *TeamInfoDefinition) HasExternalLink() bool

HasExternalLink returns a boolean if a field has been set.

func (*TeamInfoDefinition) HasPhotoUrl

func (o *TeamInfoDefinition) HasPhotoUrl() bool

HasPhotoUrl returns a boolean if a field has been set.

func (TeamInfoDefinition) MarshalJSON

func (o TeamInfoDefinition) MarshalJSON() ([]byte, error)

func (*TeamInfoDefinition) SetBusinessUnit

func (o *TeamInfoDefinition) SetBusinessUnit(v string)

SetBusinessUnit gets a reference to the given string and assigns it to the BusinessUnit field.

func (*TeamInfoDefinition) SetDatasourceProfiles

func (o *TeamInfoDefinition) SetDatasourceProfiles(v []DatasourceProfile)

SetDatasourceProfiles gets a reference to the given []DatasourceProfile and assigns it to the DatasourceProfiles field.

func (*TeamInfoDefinition) SetDepartment

func (o *TeamInfoDefinition) SetDepartment(v string)

SetDepartment gets a reference to the given string and assigns it to the Department field.

func (*TeamInfoDefinition) SetDescription

func (o *TeamInfoDefinition) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TeamInfoDefinition) SetEmails

func (o *TeamInfoDefinition) SetEmails(v []TeamEmail)

SetEmails gets a reference to the given []TeamEmail and assigns it to the Emails field.

func (o *TeamInfoDefinition) SetExternalLink(v string)

SetExternalLink gets a reference to the given string and assigns it to the ExternalLink field.

func (*TeamInfoDefinition) SetId

func (o *TeamInfoDefinition) SetId(v string)

SetId sets field value

func (*TeamInfoDefinition) SetMembers

func (o *TeamInfoDefinition) SetMembers(v []TeamMember)

SetMembers sets field value

func (*TeamInfoDefinition) SetName

func (o *TeamInfoDefinition) SetName(v string)

SetName sets field value

func (*TeamInfoDefinition) SetPhotoUrl

func (o *TeamInfoDefinition) SetPhotoUrl(v string)

SetPhotoUrl gets a reference to the given string and assigns it to the PhotoUrl field.

type TeamMember

type TeamMember struct {
	// The member's email
	Email string `json:"email"`
	// The member's relationship to the team, an enum of `MEMBER`, `MANAGER`, `LEAD`, `POINT_OF_CONTACT`, `OTHER`
	Relationship *string `json:"relationship,omitempty"`
	// The member's start date
	JoinDate *string `json:"join_date,omitempty"`
}

TeamMember Information about a team's member

func NewTeamMember

func NewTeamMember(email string) *TeamMember

NewTeamMember instantiates a new TeamMember 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

func NewTeamMemberWithDefaults

func NewTeamMemberWithDefaults() *TeamMember

NewTeamMemberWithDefaults instantiates a new TeamMember 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

func (*TeamMember) GetEmail

func (o *TeamMember) GetEmail() string

GetEmail returns the Email field value

func (*TeamMember) GetEmailOk

func (o *TeamMember) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*TeamMember) GetJoinDate

func (o *TeamMember) GetJoinDate() string

GetJoinDate returns the JoinDate field value if set, zero value otherwise.

func (*TeamMember) GetJoinDateOk

func (o *TeamMember) GetJoinDateOk() (*string, bool)

GetJoinDateOk returns a tuple with the JoinDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamMember) GetRelationship

func (o *TeamMember) GetRelationship() string

GetRelationship returns the Relationship field value if set, zero value otherwise.

func (*TeamMember) GetRelationshipOk

func (o *TeamMember) GetRelationshipOk() (*string, bool)

GetRelationshipOk returns a tuple with the Relationship field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamMember) HasJoinDate

func (o *TeamMember) HasJoinDate() bool

HasJoinDate returns a boolean if a field has been set.

func (*TeamMember) HasRelationship

func (o *TeamMember) HasRelationship() bool

HasRelationship returns a boolean if a field has been set.

func (TeamMember) MarshalJSON

func (o TeamMember) MarshalJSON() ([]byte, error)

func (*TeamMember) SetEmail

func (o *TeamMember) SetEmail(v string)

SetEmail sets field value

func (*TeamMember) SetJoinDate

func (o *TeamMember) SetJoinDate(v string)

SetJoinDate gets a reference to the given string and assigns it to the JoinDate field.

func (*TeamMember) SetRelationship

func (o *TeamMember) SetRelationship(v string)

SetRelationship gets a reference to the given string and assigns it to the Relationship field.

type UserReferenceDefinition

type UserReferenceDefinition struct {
	Email *string `json:"email,omitempty"`
	// some datasources refer to the user by the datasource user id in the document
	DatasourceUserId *string `json:"datasourceUserId,omitempty"`
	Name             *string `json:"name,omitempty"`
}

UserReferenceDefinition Describes how a user is referenced in a document. The user can be referenced by email or by a datasource specific id.

func NewUserReferenceDefinition

func NewUserReferenceDefinition() *UserReferenceDefinition

NewUserReferenceDefinition instantiates a new UserReferenceDefinition 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

func NewUserReferenceDefinitionWithDefaults

func NewUserReferenceDefinitionWithDefaults() *UserReferenceDefinition

NewUserReferenceDefinitionWithDefaults instantiates a new UserReferenceDefinition 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

func (*UserReferenceDefinition) GetDatasourceUserId

func (o *UserReferenceDefinition) GetDatasourceUserId() string

GetDatasourceUserId returns the DatasourceUserId field value if set, zero value otherwise.

func (*UserReferenceDefinition) GetDatasourceUserIdOk

func (o *UserReferenceDefinition) GetDatasourceUserIdOk() (*string, bool)

GetDatasourceUserIdOk returns a tuple with the DatasourceUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserReferenceDefinition) GetEmail

func (o *UserReferenceDefinition) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserReferenceDefinition) GetEmailOk

func (o *UserReferenceDefinition) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserReferenceDefinition) GetName

func (o *UserReferenceDefinition) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserReferenceDefinition) GetNameOk

func (o *UserReferenceDefinition) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserReferenceDefinition) HasDatasourceUserId

func (o *UserReferenceDefinition) HasDatasourceUserId() bool

HasDatasourceUserId returns a boolean if a field has been set.

func (*UserReferenceDefinition) HasEmail

func (o *UserReferenceDefinition) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserReferenceDefinition) HasName

func (o *UserReferenceDefinition) HasName() bool

HasName returns a boolean if a field has been set.

func (UserReferenceDefinition) MarshalJSON

func (o UserReferenceDefinition) MarshalJSON() ([]byte, error)

func (*UserReferenceDefinition) SetDatasourceUserId

func (o *UserReferenceDefinition) SetDatasourceUserId(v string)

SetDatasourceUserId gets a reference to the given string and assigns it to the DatasourceUserId field.

func (*UserReferenceDefinition) SetEmail

func (o *UserReferenceDefinition) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserReferenceDefinition) SetName

func (o *UserReferenceDefinition) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL