metabase

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 20 Imported by: 1

README

Go API client for metabase

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import metabase "github.com/grokify/go-metabase"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), metabase.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), metabase.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), metabase.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), metabase.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://example.com/api

Class Method HTTP request Description
DatabaseApi DatabaseMetadata Get /api/database/{databaseId}/metadata Get metadata about a Database.
DatabaseApi GetDatabase Get /api/database/{databaseId} List Databases
DatabaseApi ListDatabases Get /api/database List Databases
DatasetApi QueryDatabase Post /api/dataset Execute a query
PermissionsApi GetPermissionsGraph Get /api/permissions/graph Fetch a graph of execution permissions.
PermissionsApi GetPermissionsGroup Get /api/permissions/group Fetch all permissions group.

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// 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")
)

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	DatabaseApi *DatabaseApiService

	DatasetApi *DatasetApiService

	PermissionsApi *PermissionsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Metabase API v1.0.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

func (*APIClient) HTTPClient

func (apiClient *APIClient) HTTPClient() *http.Client

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 ApiDatabaseMetadataRequest

type ApiDatabaseMetadataRequest struct {
	ApiService *DatabaseApiService
	// contains filtered or unexported fields
}

func (ApiDatabaseMetadataRequest) Execute

func (ApiDatabaseMetadataRequest) IncludeEditableDataModel

func (r ApiDatabaseMetadataRequest) IncludeEditableDataModel(includeEditableDataModel bool) ApiDatabaseMetadataRequest

return tables for which the current user has data model editing permissions.

func (ApiDatabaseMetadataRequest) IncludeHidden

func (r ApiDatabaseMetadataRequest) IncludeHidden(includeHidden bool) ApiDatabaseMetadataRequest

show hidden tables and fields.

type ApiGetDatabaseRequest added in v1.1.0

type ApiGetDatabaseRequest struct {
	ApiService *DatabaseApiService
	// contains filtered or unexported fields
}

func (ApiGetDatabaseRequest) ExcludeUneditableDetails added in v1.1.0

func (r ApiGetDatabaseRequest) ExcludeUneditableDetails(excludeUneditableDetails bool) ApiGetDatabaseRequest

will only include DBs for which the current user can edit the DB details. Has no effect unless Enterprise Edition code is available and the advanced-permissions feature is enabled.

func (ApiGetDatabaseRequest) Execute added in v1.1.0

func (r ApiGetDatabaseRequest) Execute() (*Database, *http.Response, error)

func (ApiGetDatabaseRequest) Include added in v1.1.0

value may be nil, or if non-nil, value must be a valid boolean string ('true' or 'false').

func (ApiGetDatabaseRequest) IncludeEditableDataModel added in v1.1.0

func (r ApiGetDatabaseRequest) IncludeEditableDataModel(includeEditableDataModel bool) ApiGetDatabaseRequest

will only include DBs for which the current user has data model editing permissions. (If include=tables, this also applies to the list of tables in each DB). Should only be used if Enterprise Edition code is available the advanced-permissions feature is enabled.

type ApiGetPermissionsGraphRequest

type ApiGetPermissionsGraphRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiGetPermissionsGraphRequest) Execute

type ApiGetPermissionsGroupRequest

type ApiGetPermissionsGroupRequest struct {
	ApiService *PermissionsApiService
	// contains filtered or unexported fields
}

func (ApiGetPermissionsGroupRequest) Execute

type ApiListDatabasesRequest

type ApiListDatabasesRequest struct {
	ApiService *DatabaseApiService
	// contains filtered or unexported fields
}

func (ApiListDatabasesRequest) ExcludeUneditableDetails added in v1.1.0

func (r ApiListDatabasesRequest) ExcludeUneditableDetails(excludeUneditableDetails bool) ApiListDatabasesRequest

will only include DBs for which the current user can edit the DB details. Has no effect unless Enterprise Edition code is available and the advanced-permissions feature is enabled.

func (ApiListDatabasesRequest) Execute

func (ApiListDatabasesRequest) Include added in v1.1.0

value may be nil, or if non-nil, value must be a valid boolean string ('true' or 'false').

func (ApiListDatabasesRequest) IncludeEditableDataModel added in v1.1.0

func (r ApiListDatabasesRequest) IncludeEditableDataModel(includeEditableDataModel bool) ApiListDatabasesRequest

will only include DBs for which the current user has data model editing permissions. (If include=tables, this also applies to the list of tables in each DB). Should only be used if Enterprise Edition code is available the advanced-permissions feature is enabled.

func (ApiListDatabasesRequest) Saved added in v1.1.0

value may be nil, or if non-nil, value must be a valid boolean string ('true' or 'false').

type ApiQueryDatabaseRequest

type ApiQueryDatabaseRequest struct {
	ApiService *DatasetApiService
	// contains filtered or unexported fields
}

func (ApiQueryDatabaseRequest) DatasetQueryJsonQuery

func (r ApiQueryDatabaseRequest) DatasetQueryJsonQuery(datasetQueryJsonQuery DatasetQueryJsonQuery) ApiQueryDatabaseRequest

func (ApiQueryDatabaseRequest) Execute

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 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 Database

type Database struct {
	Id                       int64    `json:"id"`
	Name                     *string  `json:"name,omitempty"`
	Description              *string  `json:"description,omitempty"`
	Features                 []string `json:"features,omitempty"`
	IsFullSync               *bool    `json:"is_full_sync,omitempty"`
	IsSample                 *bool    `json:"is_sample,omitempty"`
	CacheFieldValuesSchedule *string  `json:"cache_field_values_schedule,omitempty"`
	MetadataSyncSchedule     *string  `json:"metadata_sync_schedule,omitempty"`
	// type unknown
	Caveats           *string    `json:"caveats,omitempty"`
	Engine            *string    `json:"engine,omitempty"`
	CreatedAt         *time.Time `json:"created_at,omitempty"`
	UpdatedAt         *time.Time `json:"updated_at,omitempty"`
	NativePermissions *string    `json:"native_permissions,omitempty"`
	// type unknown
	PointsOfInterest *string                `json:"points_of_interest,omitempty"`
	Details          map[string]interface{} `json:"details,omitempty"`
	Tables           []DatabaseTable        `json:"tables,omitempty"`
}

Database struct for Database

func NewDatabase

func NewDatabase(id int64) *Database

NewDatabase instantiates a new Database 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 NewDatabaseWithDefaults

func NewDatabaseWithDefaults() *Database

NewDatabaseWithDefaults instantiates a new Database 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 (*Database) GetCacheFieldValuesSchedule

func (o *Database) GetCacheFieldValuesSchedule() string

GetCacheFieldValuesSchedule returns the CacheFieldValuesSchedule field value if set, zero value otherwise.

func (*Database) GetCacheFieldValuesScheduleOk

func (o *Database) GetCacheFieldValuesScheduleOk() (*string, bool)

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

func (*Database) GetCaveats

func (o *Database) GetCaveats() string

GetCaveats returns the Caveats field value if set, zero value otherwise.

func (*Database) GetCaveatsOk

func (o *Database) GetCaveatsOk() (*string, bool)

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

func (*Database) GetCreatedAt

func (o *Database) GetCreatedAt() time.Time

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

func (*Database) GetCreatedAtOk

func (o *Database) GetCreatedAtOk() (*time.Time, 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 (*Database) GetDescription

func (o *Database) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Database) GetDescriptionOk

func (o *Database) 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 (*Database) GetDetails

func (o *Database) GetDetails() map[string]interface{}

GetDetails returns the Details field value if set, zero value otherwise.

func (*Database) GetDetailsOk

func (o *Database) GetDetailsOk() (map[string]interface{}, bool)

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

func (*Database) GetEngine

func (o *Database) GetEngine() string

GetEngine returns the Engine field value if set, zero value otherwise.

func (*Database) GetEngineOk

func (o *Database) GetEngineOk() (*string, bool)

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

func (*Database) GetFeatures

func (o *Database) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*Database) GetFeaturesOk

func (o *Database) GetFeaturesOk() ([]string, bool)

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

func (*Database) GetId

func (o *Database) GetId() int64

GetId returns the Id field value

func (*Database) GetIdOk

func (o *Database) GetIdOk() (*int64, bool)

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

func (*Database) GetIsFullSync

func (o *Database) GetIsFullSync() bool

GetIsFullSync returns the IsFullSync field value if set, zero value otherwise.

func (*Database) GetIsFullSyncOk

func (o *Database) GetIsFullSyncOk() (*bool, bool)

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

func (*Database) GetIsSample

func (o *Database) GetIsSample() bool

GetIsSample returns the IsSample field value if set, zero value otherwise.

func (*Database) GetIsSampleOk

func (o *Database) GetIsSampleOk() (*bool, bool)

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

func (*Database) GetMetadataSyncSchedule

func (o *Database) GetMetadataSyncSchedule() string

GetMetadataSyncSchedule returns the MetadataSyncSchedule field value if set, zero value otherwise.

func (*Database) GetMetadataSyncScheduleOk

func (o *Database) GetMetadataSyncScheduleOk() (*string, bool)

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

func (*Database) GetName

func (o *Database) GetName() string

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

func (*Database) GetNameOk

func (o *Database) 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 (*Database) GetNativePermissions

func (o *Database) GetNativePermissions() string

GetNativePermissions returns the NativePermissions field value if set, zero value otherwise.

func (*Database) GetNativePermissionsOk

func (o *Database) GetNativePermissionsOk() (*string, bool)

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

func (*Database) GetPointsOfInterest

func (o *Database) GetPointsOfInterest() string

GetPointsOfInterest returns the PointsOfInterest field value if set, zero value otherwise.

func (*Database) GetPointsOfInterestOk

func (o *Database) GetPointsOfInterestOk() (*string, bool)

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

func (*Database) GetTables

func (o *Database) GetTables() []DatabaseTable

GetTables returns the Tables field value if set, zero value otherwise.

func (*Database) GetTablesOk

func (o *Database) GetTablesOk() ([]DatabaseTable, bool)

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

func (*Database) GetUpdatedAt

func (o *Database) GetUpdatedAt() time.Time

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

func (*Database) GetUpdatedAtOk

func (o *Database) GetUpdatedAtOk() (*time.Time, 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 (*Database) HasCacheFieldValuesSchedule

func (o *Database) HasCacheFieldValuesSchedule() bool

HasCacheFieldValuesSchedule returns a boolean if a field has been set.

func (*Database) HasCaveats

func (o *Database) HasCaveats() bool

HasCaveats returns a boolean if a field has been set.

func (*Database) HasCreatedAt

func (o *Database) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Database) HasDescription

func (o *Database) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Database) HasDetails

func (o *Database) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Database) HasEngine

func (o *Database) HasEngine() bool

HasEngine returns a boolean if a field has been set.

func (*Database) HasFeatures

func (o *Database) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*Database) HasIsFullSync

func (o *Database) HasIsFullSync() bool

HasIsFullSync returns a boolean if a field has been set.

func (*Database) HasIsSample

func (o *Database) HasIsSample() bool

HasIsSample returns a boolean if a field has been set.

func (*Database) HasMetadataSyncSchedule

func (o *Database) HasMetadataSyncSchedule() bool

HasMetadataSyncSchedule returns a boolean if a field has been set.

func (*Database) HasName

func (o *Database) HasName() bool

HasName returns a boolean if a field has been set.

func (*Database) HasNativePermissions

func (o *Database) HasNativePermissions() bool

HasNativePermissions returns a boolean if a field has been set.

func (*Database) HasPointsOfInterest

func (o *Database) HasPointsOfInterest() bool

HasPointsOfInterest returns a boolean if a field has been set.

func (*Database) HasTables

func (o *Database) HasTables() bool

HasTables returns a boolean if a field has been set.

func (*Database) HasUpdatedAt

func (o *Database) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Database) MarshalJSON

func (o Database) MarshalJSON() ([]byte, error)

func (*Database) SetCacheFieldValuesSchedule

func (o *Database) SetCacheFieldValuesSchedule(v string)

SetCacheFieldValuesSchedule gets a reference to the given string and assigns it to the CacheFieldValuesSchedule field.

func (*Database) SetCaveats

func (o *Database) SetCaveats(v string)

SetCaveats gets a reference to the given string and assigns it to the Caveats field.

func (*Database) SetCreatedAt

func (o *Database) SetCreatedAt(v time.Time)

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

func (*Database) SetDescription

func (o *Database) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Database) SetDetails

func (o *Database) SetDetails(v map[string]interface{})

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

func (*Database) SetEngine

func (o *Database) SetEngine(v string)

SetEngine gets a reference to the given string and assigns it to the Engine field.

func (*Database) SetFeatures

func (o *Database) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*Database) SetId

func (o *Database) SetId(v int64)

SetId sets field value

func (*Database) SetIsFullSync

func (o *Database) SetIsFullSync(v bool)

SetIsFullSync gets a reference to the given bool and assigns it to the IsFullSync field.

func (*Database) SetIsSample

func (o *Database) SetIsSample(v bool)

SetIsSample gets a reference to the given bool and assigns it to the IsSample field.

func (*Database) SetMetadataSyncSchedule

func (o *Database) SetMetadataSyncSchedule(v string)

SetMetadataSyncSchedule gets a reference to the given string and assigns it to the MetadataSyncSchedule field.

func (*Database) SetName

func (o *Database) SetName(v string)

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

func (*Database) SetNativePermissions

func (o *Database) SetNativePermissions(v string)

SetNativePermissions gets a reference to the given string and assigns it to the NativePermissions field.

func (*Database) SetPointsOfInterest

func (o *Database) SetPointsOfInterest(v string)

SetPointsOfInterest gets a reference to the given string and assigns it to the PointsOfInterest field.

func (*Database) SetTables

func (o *Database) SetTables(v []DatabaseTable)

SetTables gets a reference to the given []DatabaseTable and assigns it to the Tables field.

func (*Database) SetUpdatedAt

func (o *Database) SetUpdatedAt(v time.Time)

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

func (Database) ToMap

func (o Database) ToMap() (map[string]interface{}, error)

type DatabaseApiService

type DatabaseApiService service

DatabaseApiService DatabaseApi service

func (*DatabaseApiService) DatabaseMetadata

func (a *DatabaseApiService) DatabaseMetadata(ctx context.Context, databaseId int32) ApiDatabaseMetadataRequest

DatabaseMetadata Get metadata about a Database.

Get metadata about a Database, including all of its Tables and Fields. Returns DB, fields, and field values. By default only non-hidden tables and fields are returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param databaseId The database ID
@return ApiDatabaseMetadataRequest

func (*DatabaseApiService) DatabaseMetadataExecute

func (a *DatabaseApiService) DatabaseMetadataExecute(r ApiDatabaseMetadataRequest) (*Database, *http.Response, error)

Execute executes the request

@return Database

func (*DatabaseApiService) GetDatabase added in v1.1.0

func (a *DatabaseApiService) GetDatabase(ctx context.Context, databaseId int32) ApiGetDatabaseRequest

GetDatabase List Databases

Fetch one Databases. include_tables means we should hydrate the Tables belonging to each DB. include_cards here means we should also include virtual Table entries for saved Questions, e.g. so we can easily use them as source Tables in queries. Default for both is false.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param databaseId The database ID
@return ApiGetDatabaseRequest

func (*DatabaseApiService) GetDatabaseExecute added in v1.1.0

func (a *DatabaseApiService) GetDatabaseExecute(r ApiGetDatabaseRequest) (*Database, *http.Response, error)

Execute executes the request

@return Database

func (*DatabaseApiService) ListDatabases

ListDatabases List Databases

Fetch all Databases. include_tables means we should hydrate the Tables belonging to each DB. include_cards here means we should also include virtual Table entries for saved Questions, e.g. so we can easily use them as source Tables in queries. Default for both is false.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListDatabasesRequest

func (*DatabaseApiService) ListDatabasesExecute

func (a *DatabaseApiService) ListDatabasesExecute(r ApiListDatabasesRequest) (*DatabaseList, *http.Response, error)

Execute executes the request

@return DatabaseList

type DatabaseList

type DatabaseList struct {
	Data  []Database `json:"data,omitempty"`
	Total *int32     `json:"total,omitempty"`
}

DatabaseList struct for DatabaseList

func NewDatabaseList

func NewDatabaseList() *DatabaseList

NewDatabaseList instantiates a new DatabaseList 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 NewDatabaseListWithDefaults

func NewDatabaseListWithDefaults() *DatabaseList

NewDatabaseListWithDefaults instantiates a new DatabaseList 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 (*DatabaseList) GetData

func (o *DatabaseList) GetData() []Database

GetData returns the Data field value if set, zero value otherwise.

func (*DatabaseList) GetDataOk

func (o *DatabaseList) GetDataOk() ([]Database, bool)

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

func (*DatabaseList) GetTotal

func (o *DatabaseList) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*DatabaseList) GetTotalOk

func (o *DatabaseList) GetTotalOk() (*int32, bool)

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

func (*DatabaseList) HasData

func (o *DatabaseList) HasData() bool

HasData returns a boolean if a field has been set.

func (*DatabaseList) HasTotal

func (o *DatabaseList) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (DatabaseList) MarshalJSON

func (o DatabaseList) MarshalJSON() ([]byte, error)

func (*DatabaseList) SetData

func (o *DatabaseList) SetData(v []Database)

SetData gets a reference to the given []Database and assigns it to the Data field.

func (*DatabaseList) SetTotal

func (o *DatabaseList) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (DatabaseList) ToMap

func (o DatabaseList) ToMap() (map[string]interface{}, error)

type DatabaseTable

type DatabaseTable struct {
	Description *string `json:"description,omitempty"`
	// unknown type
	EntityType *string `json:"entity_type,omitempty"`
	Schema     *string `json:"schema,omitempty"`
	// unknown type
	RawTableId           *string `json:"raw_table_id,omitempty"`
	ShowInGettingStarted *bool   `json:"show_in_getting_started,omitempty"`
	Name                 *string `json:"name,omitempty"`
	// unknown type
	Caveats   *string    `json:"caveats,omitempty"`
	Rows      *int64     `json:"rows,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// unknown type
	EntityName *string `json:"entity_name,omitempty"`
	Active     *bool   `json:"active,omitempty"`
	Id         *int64  `json:"id,omitempty"`
	DbId       *int64  `json:"db_id,omitempty"`
	// unknown type
	VisibilityType *string    `json:"visibility_type,omitempty"`
	DisplayName    *string    `json:"display_name,omitempty"`
	CreatedAt      *time.Time `json:"created_at,omitempty"`
	// unknown type
	PointsOfInterest *string `json:"points_of_interest,omitempty"`
}

DatabaseTable struct for DatabaseTable

func NewDatabaseTable

func NewDatabaseTable() *DatabaseTable

NewDatabaseTable instantiates a new DatabaseTable 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 NewDatabaseTableWithDefaults

func NewDatabaseTableWithDefaults() *DatabaseTable

NewDatabaseTableWithDefaults instantiates a new DatabaseTable 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 (*DatabaseTable) GetActive

func (o *DatabaseTable) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*DatabaseTable) GetActiveOk

func (o *DatabaseTable) GetActiveOk() (*bool, bool)

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

func (*DatabaseTable) GetCaveats

func (o *DatabaseTable) GetCaveats() string

GetCaveats returns the Caveats field value if set, zero value otherwise.

func (*DatabaseTable) GetCaveatsOk

func (o *DatabaseTable) GetCaveatsOk() (*string, bool)

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

func (*DatabaseTable) GetCreatedAt

func (o *DatabaseTable) GetCreatedAt() time.Time

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

func (*DatabaseTable) GetCreatedAtOk

func (o *DatabaseTable) GetCreatedAtOk() (*time.Time, 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 (*DatabaseTable) GetDbId

func (o *DatabaseTable) GetDbId() int64

GetDbId returns the DbId field value if set, zero value otherwise.

func (*DatabaseTable) GetDbIdOk

func (o *DatabaseTable) GetDbIdOk() (*int64, bool)

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

func (*DatabaseTable) GetDescription

func (o *DatabaseTable) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DatabaseTable) GetDescriptionOk

func (o *DatabaseTable) 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 (*DatabaseTable) GetDisplayName

func (o *DatabaseTable) GetDisplayName() string

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

func (*DatabaseTable) GetDisplayNameOk

func (o *DatabaseTable) 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 (*DatabaseTable) GetEntityName

func (o *DatabaseTable) GetEntityName() string

GetEntityName returns the EntityName field value if set, zero value otherwise.

func (*DatabaseTable) GetEntityNameOk

func (o *DatabaseTable) GetEntityNameOk() (*string, bool)

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

func (*DatabaseTable) GetEntityType

func (o *DatabaseTable) GetEntityType() string

GetEntityType returns the EntityType field value if set, zero value otherwise.

func (*DatabaseTable) GetEntityTypeOk

func (o *DatabaseTable) GetEntityTypeOk() (*string, bool)

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

func (*DatabaseTable) GetId

func (o *DatabaseTable) GetId() int64

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

func (*DatabaseTable) GetIdOk

func (o *DatabaseTable) GetIdOk() (*int64, 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 (*DatabaseTable) GetName

func (o *DatabaseTable) GetName() string

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

func (*DatabaseTable) GetNameOk

func (o *DatabaseTable) 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 (*DatabaseTable) GetPointsOfInterest

func (o *DatabaseTable) GetPointsOfInterest() string

GetPointsOfInterest returns the PointsOfInterest field value if set, zero value otherwise.

func (*DatabaseTable) GetPointsOfInterestOk

func (o *DatabaseTable) GetPointsOfInterestOk() (*string, bool)

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

func (*DatabaseTable) GetRawTableId

func (o *DatabaseTable) GetRawTableId() string

GetRawTableId returns the RawTableId field value if set, zero value otherwise.

func (*DatabaseTable) GetRawTableIdOk

func (o *DatabaseTable) GetRawTableIdOk() (*string, bool)

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

func (*DatabaseTable) GetRows

func (o *DatabaseTable) GetRows() int64

GetRows returns the Rows field value if set, zero value otherwise.

func (*DatabaseTable) GetRowsOk

func (o *DatabaseTable) GetRowsOk() (*int64, bool)

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

func (*DatabaseTable) GetSchema

func (o *DatabaseTable) GetSchema() string

GetSchema returns the Schema field value if set, zero value otherwise.

func (*DatabaseTable) GetSchemaOk

func (o *DatabaseTable) GetSchemaOk() (*string, bool)

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

func (*DatabaseTable) GetShowInGettingStarted

func (o *DatabaseTable) GetShowInGettingStarted() bool

GetShowInGettingStarted returns the ShowInGettingStarted field value if set, zero value otherwise.

func (*DatabaseTable) GetShowInGettingStartedOk

func (o *DatabaseTable) GetShowInGettingStartedOk() (*bool, bool)

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

func (*DatabaseTable) GetUpdatedAt

func (o *DatabaseTable) GetUpdatedAt() time.Time

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

func (*DatabaseTable) GetUpdatedAtOk

func (o *DatabaseTable) GetUpdatedAtOk() (*time.Time, 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 (*DatabaseTable) GetVisibilityType

func (o *DatabaseTable) GetVisibilityType() string

GetVisibilityType returns the VisibilityType field value if set, zero value otherwise.

func (*DatabaseTable) GetVisibilityTypeOk

func (o *DatabaseTable) GetVisibilityTypeOk() (*string, bool)

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

func (*DatabaseTable) HasActive

func (o *DatabaseTable) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*DatabaseTable) HasCaveats

func (o *DatabaseTable) HasCaveats() bool

HasCaveats returns a boolean if a field has been set.

func (*DatabaseTable) HasCreatedAt

func (o *DatabaseTable) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DatabaseTable) HasDbId

func (o *DatabaseTable) HasDbId() bool

HasDbId returns a boolean if a field has been set.

func (*DatabaseTable) HasDescription

func (o *DatabaseTable) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DatabaseTable) HasDisplayName

func (o *DatabaseTable) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*DatabaseTable) HasEntityName

func (o *DatabaseTable) HasEntityName() bool

HasEntityName returns a boolean if a field has been set.

func (*DatabaseTable) HasEntityType

func (o *DatabaseTable) HasEntityType() bool

HasEntityType returns a boolean if a field has been set.

func (*DatabaseTable) HasId

func (o *DatabaseTable) HasId() bool

HasId returns a boolean if a field has been set.

func (*DatabaseTable) HasName

func (o *DatabaseTable) HasName() bool

HasName returns a boolean if a field has been set.

func (*DatabaseTable) HasPointsOfInterest

func (o *DatabaseTable) HasPointsOfInterest() bool

HasPointsOfInterest returns a boolean if a field has been set.

func (*DatabaseTable) HasRawTableId

func (o *DatabaseTable) HasRawTableId() bool

HasRawTableId returns a boolean if a field has been set.

func (*DatabaseTable) HasRows

func (o *DatabaseTable) HasRows() bool

HasRows returns a boolean if a field has been set.

func (*DatabaseTable) HasSchema

func (o *DatabaseTable) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (*DatabaseTable) HasShowInGettingStarted

func (o *DatabaseTable) HasShowInGettingStarted() bool

HasShowInGettingStarted returns a boolean if a field has been set.

func (*DatabaseTable) HasUpdatedAt

func (o *DatabaseTable) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*DatabaseTable) HasVisibilityType

func (o *DatabaseTable) HasVisibilityType() bool

HasVisibilityType returns a boolean if a field has been set.

func (DatabaseTable) MarshalJSON

func (o DatabaseTable) MarshalJSON() ([]byte, error)

func (*DatabaseTable) SetActive

func (o *DatabaseTable) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*DatabaseTable) SetCaveats

func (o *DatabaseTable) SetCaveats(v string)

SetCaveats gets a reference to the given string and assigns it to the Caveats field.

func (*DatabaseTable) SetCreatedAt

func (o *DatabaseTable) SetCreatedAt(v time.Time)

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

func (*DatabaseTable) SetDbId

func (o *DatabaseTable) SetDbId(v int64)

SetDbId gets a reference to the given int64 and assigns it to the DbId field.

func (*DatabaseTable) SetDescription

func (o *DatabaseTable) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DatabaseTable) SetDisplayName

func (o *DatabaseTable) SetDisplayName(v string)

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

func (*DatabaseTable) SetEntityName

func (o *DatabaseTable) SetEntityName(v string)

SetEntityName gets a reference to the given string and assigns it to the EntityName field.

func (*DatabaseTable) SetEntityType

func (o *DatabaseTable) SetEntityType(v string)

SetEntityType gets a reference to the given string and assigns it to the EntityType field.

func (*DatabaseTable) SetId

func (o *DatabaseTable) SetId(v int64)

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

func (*DatabaseTable) SetName

func (o *DatabaseTable) SetName(v string)

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

func (*DatabaseTable) SetPointsOfInterest

func (o *DatabaseTable) SetPointsOfInterest(v string)

SetPointsOfInterest gets a reference to the given string and assigns it to the PointsOfInterest field.

func (*DatabaseTable) SetRawTableId

func (o *DatabaseTable) SetRawTableId(v string)

SetRawTableId gets a reference to the given string and assigns it to the RawTableId field.

func (*DatabaseTable) SetRows

func (o *DatabaseTable) SetRows(v int64)

SetRows gets a reference to the given int64 and assigns it to the Rows field.

func (*DatabaseTable) SetSchema

func (o *DatabaseTable) SetSchema(v string)

SetSchema gets a reference to the given string and assigns it to the Schema field.

func (*DatabaseTable) SetShowInGettingStarted

func (o *DatabaseTable) SetShowInGettingStarted(v bool)

SetShowInGettingStarted gets a reference to the given bool and assigns it to the ShowInGettingStarted field.

func (*DatabaseTable) SetUpdatedAt

func (o *DatabaseTable) SetUpdatedAt(v time.Time)

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

func (*DatabaseTable) SetVisibilityType

func (o *DatabaseTable) SetVisibilityType(v string)

SetVisibilityType gets a reference to the given string and assigns it to the VisibilityType field.

func (DatabaseTable) ToMap

func (o DatabaseTable) ToMap() (map[string]interface{}, error)

type DatasetApiService

type DatasetApiService service

DatasetApiService DatasetApi service

func (*DatasetApiService) QueryDatabase

QueryDatabase Execute a query

Execute a query and retrieve the results in the usual format.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiQueryDatabaseRequest

func (*DatasetApiService) QueryDatabaseExecute

Execute executes the request

@return DatasetQueryResults

type DatasetQueryConstraints

type DatasetQueryConstraints struct {
	MaxResults         *int64 `json:"max-results,omitempty"`
	MaxResultsBareRows *int64 `json:"max-results-bare-rows,omitempty"`
}

DatasetQueryConstraints struct for DatasetQueryConstraints

func NewDatasetQueryConstraints

func NewDatasetQueryConstraints() *DatasetQueryConstraints

NewDatasetQueryConstraints instantiates a new DatasetQueryConstraints 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 NewDatasetQueryConstraintsWithDefaults

func NewDatasetQueryConstraintsWithDefaults() *DatasetQueryConstraints

NewDatasetQueryConstraintsWithDefaults instantiates a new DatasetQueryConstraints 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 (*DatasetQueryConstraints) GetMaxResults

func (o *DatasetQueryConstraints) GetMaxResults() int64

GetMaxResults returns the MaxResults field value if set, zero value otherwise.

func (*DatasetQueryConstraints) GetMaxResultsBareRows

func (o *DatasetQueryConstraints) GetMaxResultsBareRows() int64

GetMaxResultsBareRows returns the MaxResultsBareRows field value if set, zero value otherwise.

func (*DatasetQueryConstraints) GetMaxResultsBareRowsOk

func (o *DatasetQueryConstraints) GetMaxResultsBareRowsOk() (*int64, bool)

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

func (*DatasetQueryConstraints) GetMaxResultsOk

func (o *DatasetQueryConstraints) GetMaxResultsOk() (*int64, bool)

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

func (*DatasetQueryConstraints) HasMaxResults

func (o *DatasetQueryConstraints) HasMaxResults() bool

HasMaxResults returns a boolean if a field has been set.

func (*DatasetQueryConstraints) HasMaxResultsBareRows

func (o *DatasetQueryConstraints) HasMaxResultsBareRows() bool

HasMaxResultsBareRows returns a boolean if a field has been set.

func (DatasetQueryConstraints) MarshalJSON

func (o DatasetQueryConstraints) MarshalJSON() ([]byte, error)

func (*DatasetQueryConstraints) SetMaxResults

func (o *DatasetQueryConstraints) SetMaxResults(v int64)

SetMaxResults gets a reference to the given int64 and assigns it to the MaxResults field.

func (*DatasetQueryConstraints) SetMaxResultsBareRows

func (o *DatasetQueryConstraints) SetMaxResultsBareRows(v int64)

SetMaxResultsBareRows gets a reference to the given int64 and assigns it to the MaxResultsBareRows field.

func (DatasetQueryConstraints) ToMap

func (o DatasetQueryConstraints) ToMap() (map[string]interface{}, error)

type DatasetQueryDsl

type DatasetQueryDsl struct {
	SourceTable *int64               `json:"source_table,omitempty"`
	Limit       *int64               `json:"limit,omitempty"`
	Page        *DatasetQueryDslPage `json:"page,omitempty"`
}

DatasetQueryDsl Dataset query request and response object

func NewDatasetQueryDsl

func NewDatasetQueryDsl() *DatasetQueryDsl

NewDatasetQueryDsl instantiates a new DatasetQueryDsl 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 NewDatasetQueryDslWithDefaults

func NewDatasetQueryDslWithDefaults() *DatasetQueryDsl

NewDatasetQueryDslWithDefaults instantiates a new DatasetQueryDsl 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 (*DatasetQueryDsl) GetLimit

func (o *DatasetQueryDsl) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*DatasetQueryDsl) GetLimitOk

func (o *DatasetQueryDsl) GetLimitOk() (*int64, bool)

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

func (*DatasetQueryDsl) GetPage

func (o *DatasetQueryDsl) GetPage() DatasetQueryDslPage

GetPage returns the Page field value if set, zero value otherwise.

func (*DatasetQueryDsl) GetPageOk

func (o *DatasetQueryDsl) GetPageOk() (*DatasetQueryDslPage, bool)

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

func (*DatasetQueryDsl) GetSourceTable

func (o *DatasetQueryDsl) GetSourceTable() int64

GetSourceTable returns the SourceTable field value if set, zero value otherwise.

func (*DatasetQueryDsl) GetSourceTableOk

func (o *DatasetQueryDsl) GetSourceTableOk() (*int64, bool)

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

func (*DatasetQueryDsl) HasLimit

func (o *DatasetQueryDsl) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*DatasetQueryDsl) HasPage

func (o *DatasetQueryDsl) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*DatasetQueryDsl) HasSourceTable

func (o *DatasetQueryDsl) HasSourceTable() bool

HasSourceTable returns a boolean if a field has been set.

func (DatasetQueryDsl) MarshalJSON

func (o DatasetQueryDsl) MarshalJSON() ([]byte, error)

func (*DatasetQueryDsl) SetLimit

func (o *DatasetQueryDsl) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*DatasetQueryDsl) SetPage

func (o *DatasetQueryDsl) SetPage(v DatasetQueryDslPage)

SetPage gets a reference to the given DatasetQueryDslPage and assigns it to the Page field.

func (*DatasetQueryDsl) SetSourceTable

func (o *DatasetQueryDsl) SetSourceTable(v int64)

SetSourceTable gets a reference to the given int64 and assigns it to the SourceTable field.

func (DatasetQueryDsl) ToMap

func (o DatasetQueryDsl) ToMap() (map[string]interface{}, error)

type DatasetQueryDslPage

type DatasetQueryDslPage struct {
	Page  *int64 `json:"page,omitempty"`
	Items *int64 `json:"items,omitempty"`
}

DatasetQueryDslPage struct for DatasetQueryDslPage

func NewDatasetQueryDslPage

func NewDatasetQueryDslPage() *DatasetQueryDslPage

NewDatasetQueryDslPage instantiates a new DatasetQueryDslPage 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 NewDatasetQueryDslPageWithDefaults

func NewDatasetQueryDslPageWithDefaults() *DatasetQueryDslPage

NewDatasetQueryDslPageWithDefaults instantiates a new DatasetQueryDslPage 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 (*DatasetQueryDslPage) GetItems

func (o *DatasetQueryDslPage) GetItems() int64

GetItems returns the Items field value if set, zero value otherwise.

func (*DatasetQueryDslPage) GetItemsOk

func (o *DatasetQueryDslPage) GetItemsOk() (*int64, bool)

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

func (*DatasetQueryDslPage) GetPage

func (o *DatasetQueryDslPage) GetPage() int64

GetPage returns the Page field value if set, zero value otherwise.

func (*DatasetQueryDslPage) GetPageOk

func (o *DatasetQueryDslPage) GetPageOk() (*int64, bool)

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

func (*DatasetQueryDslPage) HasItems

func (o *DatasetQueryDslPage) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*DatasetQueryDslPage) HasPage

func (o *DatasetQueryDslPage) HasPage() bool

HasPage returns a boolean if a field has been set.

func (DatasetQueryDslPage) MarshalJSON

func (o DatasetQueryDslPage) MarshalJSON() ([]byte, error)

func (*DatasetQueryDslPage) SetItems

func (o *DatasetQueryDslPage) SetItems(v int64)

SetItems gets a reference to the given int64 and assigns it to the Items field.

func (*DatasetQueryDslPage) SetPage

func (o *DatasetQueryDslPage) SetPage(v int64)

SetPage gets a reference to the given int64 and assigns it to the Page field.

func (DatasetQueryDslPage) ToMap

func (o DatasetQueryDslPage) ToMap() (map[string]interface{}, error)

type DatasetQueryJsonQuery

type DatasetQueryJsonQuery struct {
	Database    *int64                   `json:"database,omitempty"`
	Type        *string                  `json:"type,omitempty"`
	Native      *DatasetQueryNative      `json:"native,omitempty"`
	Query       *DatasetQueryDsl         `json:"query,omitempty"`
	Constraints *DatasetQueryConstraints `json:"constraints,omitempty"`
}

DatasetQueryJsonQuery struct for DatasetQueryJsonQuery

func NewDatasetQueryJsonQuery

func NewDatasetQueryJsonQuery() *DatasetQueryJsonQuery

NewDatasetQueryJsonQuery instantiates a new DatasetQueryJsonQuery 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 NewDatasetQueryJsonQueryWithDefaults

func NewDatasetQueryJsonQueryWithDefaults() *DatasetQueryJsonQuery

NewDatasetQueryJsonQueryWithDefaults instantiates a new DatasetQueryJsonQuery 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 (*DatasetQueryJsonQuery) GetConstraints

func (o *DatasetQueryJsonQuery) GetConstraints() DatasetQueryConstraints

GetConstraints returns the Constraints field value if set, zero value otherwise.

func (*DatasetQueryJsonQuery) GetConstraintsOk

func (o *DatasetQueryJsonQuery) GetConstraintsOk() (*DatasetQueryConstraints, bool)

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

func (*DatasetQueryJsonQuery) GetDatabase

func (o *DatasetQueryJsonQuery) GetDatabase() int64

GetDatabase returns the Database field value if set, zero value otherwise.

func (*DatasetQueryJsonQuery) GetDatabaseOk

func (o *DatasetQueryJsonQuery) GetDatabaseOk() (*int64, bool)

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

func (*DatasetQueryJsonQuery) GetNative

GetNative returns the Native field value if set, zero value otherwise.

func (*DatasetQueryJsonQuery) GetNativeOk

func (o *DatasetQueryJsonQuery) GetNativeOk() (*DatasetQueryNative, bool)

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

func (*DatasetQueryJsonQuery) GetQuery

func (o *DatasetQueryJsonQuery) GetQuery() DatasetQueryDsl

GetQuery returns the Query field value if set, zero value otherwise.

func (*DatasetQueryJsonQuery) GetQueryOk

func (o *DatasetQueryJsonQuery) GetQueryOk() (*DatasetQueryDsl, bool)

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

func (*DatasetQueryJsonQuery) GetType

func (o *DatasetQueryJsonQuery) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DatasetQueryJsonQuery) GetTypeOk

func (o *DatasetQueryJsonQuery) GetTypeOk() (*string, bool)

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

func (*DatasetQueryJsonQuery) HasConstraints

func (o *DatasetQueryJsonQuery) HasConstraints() bool

HasConstraints returns a boolean if a field has been set.

func (*DatasetQueryJsonQuery) HasDatabase

func (o *DatasetQueryJsonQuery) HasDatabase() bool

HasDatabase returns a boolean if a field has been set.

func (*DatasetQueryJsonQuery) HasNative

func (o *DatasetQueryJsonQuery) HasNative() bool

HasNative returns a boolean if a field has been set.

func (*DatasetQueryJsonQuery) HasQuery

func (o *DatasetQueryJsonQuery) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*DatasetQueryJsonQuery) HasType

func (o *DatasetQueryJsonQuery) HasType() bool

HasType returns a boolean if a field has been set.

func (DatasetQueryJsonQuery) MarshalJSON

func (o DatasetQueryJsonQuery) MarshalJSON() ([]byte, error)

func (*DatasetQueryJsonQuery) SetConstraints

func (o *DatasetQueryJsonQuery) SetConstraints(v DatasetQueryConstraints)

SetConstraints gets a reference to the given DatasetQueryConstraints and assigns it to the Constraints field.

func (*DatasetQueryJsonQuery) SetDatabase

func (o *DatasetQueryJsonQuery) SetDatabase(v int64)

SetDatabase gets a reference to the given int64 and assigns it to the Database field.

func (*DatasetQueryJsonQuery) SetNative

func (o *DatasetQueryJsonQuery) SetNative(v DatasetQueryNative)

SetNative gets a reference to the given DatasetQueryNative and assigns it to the Native field.

func (*DatasetQueryJsonQuery) SetQuery

func (o *DatasetQueryJsonQuery) SetQuery(v DatasetQueryDsl)

SetQuery gets a reference to the given DatasetQueryDsl and assigns it to the Query field.

func (*DatasetQueryJsonQuery) SetType

func (o *DatasetQueryJsonQuery) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (DatasetQueryJsonQuery) ToMap

func (o DatasetQueryJsonQuery) ToMap() (map[string]interface{}, error)

type DatasetQueryNative

type DatasetQueryNative struct {
	Query *string `json:"query,omitempty"`
}

DatasetQueryNative struct for DatasetQueryNative

func NewDatasetQueryNative

func NewDatasetQueryNative() *DatasetQueryNative

NewDatasetQueryNative instantiates a new DatasetQueryNative 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 NewDatasetQueryNativeWithDefaults

func NewDatasetQueryNativeWithDefaults() *DatasetQueryNative

NewDatasetQueryNativeWithDefaults instantiates a new DatasetQueryNative 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 (*DatasetQueryNative) GetQuery

func (o *DatasetQueryNative) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*DatasetQueryNative) GetQueryOk

func (o *DatasetQueryNative) GetQueryOk() (*string, bool)

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

func (*DatasetQueryNative) HasQuery

func (o *DatasetQueryNative) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (DatasetQueryNative) MarshalJSON

func (o DatasetQueryNative) MarshalJSON() ([]byte, error)

func (*DatasetQueryNative) SetQuery

func (o *DatasetQueryNative) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (DatasetQueryNative) ToMap

func (o DatasetQueryNative) ToMap() (map[string]interface{}, error)

type DatasetQueryOpts

type DatasetQueryOpts struct {
	Description *string `json:"description,omitempty"`
	// unknown type
	EntityType interface{} `json:"entity_type,omitempty"`
}

DatasetQueryOpts struct for DatasetQueryOpts

func NewDatasetQueryOpts

func NewDatasetQueryOpts() *DatasetQueryOpts

NewDatasetQueryOpts instantiates a new DatasetQueryOpts 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 NewDatasetQueryOptsWithDefaults

func NewDatasetQueryOptsWithDefaults() *DatasetQueryOpts

NewDatasetQueryOptsWithDefaults instantiates a new DatasetQueryOpts 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 (*DatasetQueryOpts) GetDescription

func (o *DatasetQueryOpts) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DatasetQueryOpts) GetDescriptionOk

func (o *DatasetQueryOpts) 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 (*DatasetQueryOpts) GetEntityType

func (o *DatasetQueryOpts) GetEntityType() interface{}

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

func (*DatasetQueryOpts) GetEntityTypeOk

func (o *DatasetQueryOpts) GetEntityTypeOk() (*interface{}, bool)

GetEntityTypeOk returns a tuple with the EntityType 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 (*DatasetQueryOpts) HasDescription

func (o *DatasetQueryOpts) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DatasetQueryOpts) HasEntityType

func (o *DatasetQueryOpts) HasEntityType() bool

HasEntityType returns a boolean if a field has been set.

func (DatasetQueryOpts) MarshalJSON

func (o DatasetQueryOpts) MarshalJSON() ([]byte, error)

func (*DatasetQueryOpts) SetDescription

func (o *DatasetQueryOpts) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DatasetQueryOpts) SetEntityType

func (o *DatasetQueryOpts) SetEntityType(v interface{})

SetEntityType gets a reference to the given interface{} and assigns it to the EntityType field.

func (DatasetQueryOpts) ToMap

func (o DatasetQueryOpts) ToMap() (map[string]interface{}, error)

type DatasetQueryResults

type DatasetQueryResults struct {
	StartedAt *time.Time             `json:"started_at,omitempty"`
	JsonQuery *DatasetQueryJsonQuery `json:"json_query,omitempty"`
	// type unknown
	AverageExecutionTime *string                  `json:"average_execution_time,omitempty"`
	Status               *string                  `json:"status,omitempty"`
	Context              *string                  `json:"context,omitempty"`
	RowCount             *int64                   `json:"row_count,omitempty"`
	RunningTime          *int64                   `json:"running_time,omitempty"`
	Data                 *DatasetQueryResultsData `json:"data,omitempty"`
}

DatasetQueryResults struct for DatasetQueryResults

func NewDatasetQueryResults

func NewDatasetQueryResults() *DatasetQueryResults

NewDatasetQueryResults instantiates a new DatasetQueryResults 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 NewDatasetQueryResultsWithDefaults

func NewDatasetQueryResultsWithDefaults() *DatasetQueryResults

NewDatasetQueryResultsWithDefaults instantiates a new DatasetQueryResults 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 (*DatasetQueryResults) GetAverageExecutionTime

func (o *DatasetQueryResults) GetAverageExecutionTime() string

GetAverageExecutionTime returns the AverageExecutionTime field value if set, zero value otherwise.

func (*DatasetQueryResults) GetAverageExecutionTimeOk

func (o *DatasetQueryResults) GetAverageExecutionTimeOk() (*string, bool)

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

func (*DatasetQueryResults) GetContext

func (o *DatasetQueryResults) GetContext() string

GetContext returns the Context field value if set, zero value otherwise.

func (*DatasetQueryResults) GetContextOk

func (o *DatasetQueryResults) GetContextOk() (*string, bool)

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

func (*DatasetQueryResults) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*DatasetQueryResults) GetDataOk

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

func (*DatasetQueryResults) GetJsonQuery

func (o *DatasetQueryResults) GetJsonQuery() DatasetQueryJsonQuery

GetJsonQuery returns the JsonQuery field value if set, zero value otherwise.

func (*DatasetQueryResults) GetJsonQueryOk

func (o *DatasetQueryResults) GetJsonQueryOk() (*DatasetQueryJsonQuery, bool)

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

func (*DatasetQueryResults) GetRowCount

func (o *DatasetQueryResults) GetRowCount() int64

GetRowCount returns the RowCount field value if set, zero value otherwise.

func (*DatasetQueryResults) GetRowCountOk

func (o *DatasetQueryResults) GetRowCountOk() (*int64, bool)

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

func (*DatasetQueryResults) GetRunningTime

func (o *DatasetQueryResults) GetRunningTime() int64

GetRunningTime returns the RunningTime field value if set, zero value otherwise.

func (*DatasetQueryResults) GetRunningTimeOk

func (o *DatasetQueryResults) GetRunningTimeOk() (*int64, bool)

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

func (*DatasetQueryResults) GetStartedAt

func (o *DatasetQueryResults) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value if set, zero value otherwise.

func (*DatasetQueryResults) GetStartedAtOk

func (o *DatasetQueryResults) GetStartedAtOk() (*time.Time, bool)

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

func (*DatasetQueryResults) GetStatus

func (o *DatasetQueryResults) GetStatus() string

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

func (*DatasetQueryResults) GetStatusOk

func (o *DatasetQueryResults) 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 (*DatasetQueryResults) HasAverageExecutionTime

func (o *DatasetQueryResults) HasAverageExecutionTime() bool

HasAverageExecutionTime returns a boolean if a field has been set.

func (*DatasetQueryResults) HasContext

func (o *DatasetQueryResults) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*DatasetQueryResults) HasData

func (o *DatasetQueryResults) HasData() bool

HasData returns a boolean if a field has been set.

func (*DatasetQueryResults) HasJsonQuery

func (o *DatasetQueryResults) HasJsonQuery() bool

HasJsonQuery returns a boolean if a field has been set.

func (*DatasetQueryResults) HasRowCount

func (o *DatasetQueryResults) HasRowCount() bool

HasRowCount returns a boolean if a field has been set.

func (*DatasetQueryResults) HasRunningTime

func (o *DatasetQueryResults) HasRunningTime() bool

HasRunningTime returns a boolean if a field has been set.

func (*DatasetQueryResults) HasStartedAt

func (o *DatasetQueryResults) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

func (*DatasetQueryResults) HasStatus

func (o *DatasetQueryResults) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (DatasetQueryResults) MarshalJSON

func (o DatasetQueryResults) MarshalJSON() ([]byte, error)

func (*DatasetQueryResults) SetAverageExecutionTime

func (o *DatasetQueryResults) SetAverageExecutionTime(v string)

SetAverageExecutionTime gets a reference to the given string and assigns it to the AverageExecutionTime field.

func (*DatasetQueryResults) SetContext

func (o *DatasetQueryResults) SetContext(v string)

SetContext gets a reference to the given string and assigns it to the Context field.

func (*DatasetQueryResults) SetData

SetData gets a reference to the given DatasetQueryResultsData and assigns it to the Data field.

func (*DatasetQueryResults) SetJsonQuery

func (o *DatasetQueryResults) SetJsonQuery(v DatasetQueryJsonQuery)

SetJsonQuery gets a reference to the given DatasetQueryJsonQuery and assigns it to the JsonQuery field.

func (*DatasetQueryResults) SetRowCount

func (o *DatasetQueryResults) SetRowCount(v int64)

SetRowCount gets a reference to the given int64 and assigns it to the RowCount field.

func (*DatasetQueryResults) SetRunningTime

func (o *DatasetQueryResults) SetRunningTime(v int64)

SetRunningTime gets a reference to the given int64 and assigns it to the RunningTime field.

func (*DatasetQueryResults) SetStartedAt

func (o *DatasetQueryResults) SetStartedAt(v time.Time)

SetStartedAt gets a reference to the given time.Time and assigns it to the StartedAt field.

func (*DatasetQueryResults) SetStatus

func (o *DatasetQueryResults) SetStatus(v string)

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

func (DatasetQueryResults) ToMap

func (o DatasetQueryResults) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsCol

type DatasetQueryResultsCol struct {
	Description *string `json:"description,omitempty"`
	TableId     *int64  `json:"table_id,omitempty"`
	SchemaName  *string `json:"schema_name,omitempty"`
	SpecialType *string `json:"special_type,omitempty"`
	Name        *string `json:"name,omitempty"`
	Source      *string `json:"source,omitempty"`
	// unknown type
	RemappedFrom *string `json:"remapped_from,omitempty"`
	// can be '{\"target_table_id\":517}'
	ExtraInfo map[string]interface{} `json:"extra_info,omitempty"`
	// unknown type
	FkFieldId *string `json:"fk_field_id,omitempty"`
	// unknown type
	RemappedTo     *string                            `json:"remapped_to,omitempty"`
	Id             *int64                             `json:"id,omitempty"`
	VisibilityType *string                            `json:"visibility_type,omitempty"`
	Target         *DatasetQueryResultsColTarget      `json:"target,omitempty"`
	DisplayName    *string                            `json:"display_name,omitempty"`
	Fingerprint    *DatasetQueryResultsColFingerprint `json:"fingerprint,omitempty"`
	BaseType       *string                            `json:"base_type,omitempty"`
}

DatasetQueryResultsCol struct for DatasetQueryResultsCol

func NewDatasetQueryResultsCol

func NewDatasetQueryResultsCol() *DatasetQueryResultsCol

NewDatasetQueryResultsCol instantiates a new DatasetQueryResultsCol 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 NewDatasetQueryResultsColWithDefaults

func NewDatasetQueryResultsColWithDefaults() *DatasetQueryResultsCol

NewDatasetQueryResultsColWithDefaults instantiates a new DatasetQueryResultsCol 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 (*DatasetQueryResultsCol) GetBaseType

func (o *DatasetQueryResultsCol) GetBaseType() string

GetBaseType returns the BaseType field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetBaseTypeOk

func (o *DatasetQueryResultsCol) GetBaseTypeOk() (*string, bool)

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

func (*DatasetQueryResultsCol) GetDescription

func (o *DatasetQueryResultsCol) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetDescriptionOk

func (o *DatasetQueryResultsCol) 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 (*DatasetQueryResultsCol) GetDisplayName

func (o *DatasetQueryResultsCol) GetDisplayName() string

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

func (*DatasetQueryResultsCol) GetDisplayNameOk

func (o *DatasetQueryResultsCol) 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 (*DatasetQueryResultsCol) GetExtraInfo

func (o *DatasetQueryResultsCol) GetExtraInfo() map[string]interface{}

GetExtraInfo returns the ExtraInfo field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetExtraInfoOk

func (o *DatasetQueryResultsCol) GetExtraInfoOk() (map[string]interface{}, bool)

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

func (*DatasetQueryResultsCol) GetFingerprint

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetFingerprintOk

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

func (*DatasetQueryResultsCol) GetFkFieldId

func (o *DatasetQueryResultsCol) GetFkFieldId() string

GetFkFieldId returns the FkFieldId field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetFkFieldIdOk

func (o *DatasetQueryResultsCol) GetFkFieldIdOk() (*string, bool)

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

func (*DatasetQueryResultsCol) GetId

func (o *DatasetQueryResultsCol) GetId() int64

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

func (*DatasetQueryResultsCol) GetIdOk

func (o *DatasetQueryResultsCol) GetIdOk() (*int64, 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 (*DatasetQueryResultsCol) GetName

func (o *DatasetQueryResultsCol) GetName() string

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

func (*DatasetQueryResultsCol) GetNameOk

func (o *DatasetQueryResultsCol) 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 (*DatasetQueryResultsCol) GetRemappedFrom

func (o *DatasetQueryResultsCol) GetRemappedFrom() string

GetRemappedFrom returns the RemappedFrom field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetRemappedFromOk

func (o *DatasetQueryResultsCol) GetRemappedFromOk() (*string, bool)

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

func (*DatasetQueryResultsCol) GetRemappedTo

func (o *DatasetQueryResultsCol) GetRemappedTo() string

GetRemappedTo returns the RemappedTo field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetRemappedToOk

func (o *DatasetQueryResultsCol) GetRemappedToOk() (*string, bool)

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

func (*DatasetQueryResultsCol) GetSchemaName

func (o *DatasetQueryResultsCol) GetSchemaName() string

GetSchemaName returns the SchemaName field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetSchemaNameOk

func (o *DatasetQueryResultsCol) GetSchemaNameOk() (*string, bool)

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

func (*DatasetQueryResultsCol) GetSource

func (o *DatasetQueryResultsCol) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetSourceOk

func (o *DatasetQueryResultsCol) GetSourceOk() (*string, bool)

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

func (*DatasetQueryResultsCol) GetSpecialType

func (o *DatasetQueryResultsCol) GetSpecialType() string

GetSpecialType returns the SpecialType field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetSpecialTypeOk

func (o *DatasetQueryResultsCol) GetSpecialTypeOk() (*string, bool)

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

func (*DatasetQueryResultsCol) GetTableId

func (o *DatasetQueryResultsCol) GetTableId() int64

GetTableId returns the TableId field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetTableIdOk

func (o *DatasetQueryResultsCol) GetTableIdOk() (*int64, bool)

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

func (*DatasetQueryResultsCol) GetTarget

GetTarget returns the Target field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetTargetOk

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

func (*DatasetQueryResultsCol) GetVisibilityType

func (o *DatasetQueryResultsCol) GetVisibilityType() string

GetVisibilityType returns the VisibilityType field value if set, zero value otherwise.

func (*DatasetQueryResultsCol) GetVisibilityTypeOk

func (o *DatasetQueryResultsCol) GetVisibilityTypeOk() (*string, bool)

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

func (*DatasetQueryResultsCol) HasBaseType

func (o *DatasetQueryResultsCol) HasBaseType() bool

HasBaseType returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasDescription

func (o *DatasetQueryResultsCol) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasDisplayName

func (o *DatasetQueryResultsCol) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasExtraInfo

func (o *DatasetQueryResultsCol) HasExtraInfo() bool

HasExtraInfo returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasFingerprint

func (o *DatasetQueryResultsCol) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasFkFieldId

func (o *DatasetQueryResultsCol) HasFkFieldId() bool

HasFkFieldId returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasId

func (o *DatasetQueryResultsCol) HasId() bool

HasId returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasName

func (o *DatasetQueryResultsCol) HasName() bool

HasName returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasRemappedFrom

func (o *DatasetQueryResultsCol) HasRemappedFrom() bool

HasRemappedFrom returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasRemappedTo

func (o *DatasetQueryResultsCol) HasRemappedTo() bool

HasRemappedTo returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasSchemaName

func (o *DatasetQueryResultsCol) HasSchemaName() bool

HasSchemaName returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasSource

func (o *DatasetQueryResultsCol) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasSpecialType

func (o *DatasetQueryResultsCol) HasSpecialType() bool

HasSpecialType returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasTableId

func (o *DatasetQueryResultsCol) HasTableId() bool

HasTableId returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasTarget

func (o *DatasetQueryResultsCol) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*DatasetQueryResultsCol) HasVisibilityType

func (o *DatasetQueryResultsCol) HasVisibilityType() bool

HasVisibilityType returns a boolean if a field has been set.

func (DatasetQueryResultsCol) MarshalJSON

func (o DatasetQueryResultsCol) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsCol) SetBaseType

func (o *DatasetQueryResultsCol) SetBaseType(v string)

SetBaseType gets a reference to the given string and assigns it to the BaseType field.

func (*DatasetQueryResultsCol) SetDescription

func (o *DatasetQueryResultsCol) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DatasetQueryResultsCol) SetDisplayName

func (o *DatasetQueryResultsCol) SetDisplayName(v string)

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

func (*DatasetQueryResultsCol) SetExtraInfo

func (o *DatasetQueryResultsCol) SetExtraInfo(v map[string]interface{})

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

func (*DatasetQueryResultsCol) SetFingerprint

SetFingerprint gets a reference to the given DatasetQueryResultsColFingerprint and assigns it to the Fingerprint field.

func (*DatasetQueryResultsCol) SetFkFieldId

func (o *DatasetQueryResultsCol) SetFkFieldId(v string)

SetFkFieldId gets a reference to the given string and assigns it to the FkFieldId field.

func (*DatasetQueryResultsCol) SetId

func (o *DatasetQueryResultsCol) SetId(v int64)

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

func (*DatasetQueryResultsCol) SetName

func (o *DatasetQueryResultsCol) SetName(v string)

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

func (*DatasetQueryResultsCol) SetRemappedFrom

func (o *DatasetQueryResultsCol) SetRemappedFrom(v string)

SetRemappedFrom gets a reference to the given string and assigns it to the RemappedFrom field.

func (*DatasetQueryResultsCol) SetRemappedTo

func (o *DatasetQueryResultsCol) SetRemappedTo(v string)

SetRemappedTo gets a reference to the given string and assigns it to the RemappedTo field.

func (*DatasetQueryResultsCol) SetSchemaName

func (o *DatasetQueryResultsCol) SetSchemaName(v string)

SetSchemaName gets a reference to the given string and assigns it to the SchemaName field.

func (*DatasetQueryResultsCol) SetSource

func (o *DatasetQueryResultsCol) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*DatasetQueryResultsCol) SetSpecialType

func (o *DatasetQueryResultsCol) SetSpecialType(v string)

SetSpecialType gets a reference to the given string and assigns it to the SpecialType field.

func (*DatasetQueryResultsCol) SetTableId

func (o *DatasetQueryResultsCol) SetTableId(v int64)

SetTableId gets a reference to the given int64 and assigns it to the TableId field.

func (*DatasetQueryResultsCol) SetTarget

SetTarget gets a reference to the given DatasetQueryResultsColTarget and assigns it to the Target field.

func (*DatasetQueryResultsCol) SetVisibilityType

func (o *DatasetQueryResultsCol) SetVisibilityType(v string)

SetVisibilityType gets a reference to the given string and assigns it to the VisibilityType field.

func (DatasetQueryResultsCol) ToMap

func (o DatasetQueryResultsCol) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsColFingerprint

type DatasetQueryResultsColFingerprint struct {
	Global *DatasetQueryResultsColFingerprintGlobal `json:"global,omitempty"`
	// map[string]DatasetQueryResultsColFingerprintType results in map[string]interface{}
	Type map[string]interface{} `json:"type,omitempty"`
}

DatasetQueryResultsColFingerprint struct for DatasetQueryResultsColFingerprint

func NewDatasetQueryResultsColFingerprint

func NewDatasetQueryResultsColFingerprint() *DatasetQueryResultsColFingerprint

NewDatasetQueryResultsColFingerprint instantiates a new DatasetQueryResultsColFingerprint 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 NewDatasetQueryResultsColFingerprintWithDefaults

func NewDatasetQueryResultsColFingerprintWithDefaults() *DatasetQueryResultsColFingerprint

NewDatasetQueryResultsColFingerprintWithDefaults instantiates a new DatasetQueryResultsColFingerprint 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 (*DatasetQueryResultsColFingerprint) GetGlobal

GetGlobal returns the Global field value if set, zero value otherwise.

func (*DatasetQueryResultsColFingerprint) GetGlobalOk

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

func (*DatasetQueryResultsColFingerprint) GetType

func (o *DatasetQueryResultsColFingerprint) GetType() map[string]interface{}

GetType returns the Type field value if set, zero value otherwise.

func (*DatasetQueryResultsColFingerprint) GetTypeOk

func (o *DatasetQueryResultsColFingerprint) GetTypeOk() (map[string]interface{}, bool)

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

func (*DatasetQueryResultsColFingerprint) HasGlobal

func (o *DatasetQueryResultsColFingerprint) HasGlobal() bool

HasGlobal returns a boolean if a field has been set.

func (*DatasetQueryResultsColFingerprint) HasType

HasType returns a boolean if a field has been set.

func (DatasetQueryResultsColFingerprint) MarshalJSON

func (o DatasetQueryResultsColFingerprint) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsColFingerprint) SetGlobal

SetGlobal gets a reference to the given DatasetQueryResultsColFingerprintGlobal and assigns it to the Global field.

func (*DatasetQueryResultsColFingerprint) SetType

func (o *DatasetQueryResultsColFingerprint) SetType(v map[string]interface{})

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

func (DatasetQueryResultsColFingerprint) ToMap

func (o DatasetQueryResultsColFingerprint) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsColFingerprintGlobal

type DatasetQueryResultsColFingerprintGlobal struct {
	DistinctCount *int64 `json:"distinct-count,omitempty"`
}

DatasetQueryResultsColFingerprintGlobal struct for DatasetQueryResultsColFingerprintGlobal

func NewDatasetQueryResultsColFingerprintGlobal

func NewDatasetQueryResultsColFingerprintGlobal() *DatasetQueryResultsColFingerprintGlobal

NewDatasetQueryResultsColFingerprintGlobal instantiates a new DatasetQueryResultsColFingerprintGlobal 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 NewDatasetQueryResultsColFingerprintGlobalWithDefaults

func NewDatasetQueryResultsColFingerprintGlobalWithDefaults() *DatasetQueryResultsColFingerprintGlobal

NewDatasetQueryResultsColFingerprintGlobalWithDefaults instantiates a new DatasetQueryResultsColFingerprintGlobal 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 (*DatasetQueryResultsColFingerprintGlobal) GetDistinctCount

func (o *DatasetQueryResultsColFingerprintGlobal) GetDistinctCount() int64

GetDistinctCount returns the DistinctCount field value if set, zero value otherwise.

func (*DatasetQueryResultsColFingerprintGlobal) GetDistinctCountOk

func (o *DatasetQueryResultsColFingerprintGlobal) GetDistinctCountOk() (*int64, bool)

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

func (*DatasetQueryResultsColFingerprintGlobal) HasDistinctCount

func (o *DatasetQueryResultsColFingerprintGlobal) HasDistinctCount() bool

HasDistinctCount returns a boolean if a field has been set.

func (DatasetQueryResultsColFingerprintGlobal) MarshalJSON

func (o DatasetQueryResultsColFingerprintGlobal) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsColFingerprintGlobal) SetDistinctCount

func (o *DatasetQueryResultsColFingerprintGlobal) SetDistinctCount(v int64)

SetDistinctCount gets a reference to the given int64 and assigns it to the DistinctCount field.

func (DatasetQueryResultsColFingerprintGlobal) ToMap

func (o DatasetQueryResultsColFingerprintGlobal) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsColFingerprintType

type DatasetQueryResultsColFingerprintType struct {
	PercentJson   *float64 `json:"percent-json,omitempty"`
	PercentUrl    *float64 `json:"percent-url,omitempty"`
	PercentEmail  *float64 `json:"percent-email,omitempty"`
	AverageLength *float64 `json:"average-length,omitempty"`
}

DatasetQueryResultsColFingerprintType struct for DatasetQueryResultsColFingerprintType

func NewDatasetQueryResultsColFingerprintType

func NewDatasetQueryResultsColFingerprintType() *DatasetQueryResultsColFingerprintType

NewDatasetQueryResultsColFingerprintType instantiates a new DatasetQueryResultsColFingerprintType 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 NewDatasetQueryResultsColFingerprintTypeWithDefaults

func NewDatasetQueryResultsColFingerprintTypeWithDefaults() *DatasetQueryResultsColFingerprintType

NewDatasetQueryResultsColFingerprintTypeWithDefaults instantiates a new DatasetQueryResultsColFingerprintType 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 (*DatasetQueryResultsColFingerprintType) GetAverageLength

func (o *DatasetQueryResultsColFingerprintType) GetAverageLength() float64

GetAverageLength returns the AverageLength field value if set, zero value otherwise.

func (*DatasetQueryResultsColFingerprintType) GetAverageLengthOk

func (o *DatasetQueryResultsColFingerprintType) GetAverageLengthOk() (*float64, bool)

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

func (*DatasetQueryResultsColFingerprintType) GetPercentEmail

func (o *DatasetQueryResultsColFingerprintType) GetPercentEmail() float64

GetPercentEmail returns the PercentEmail field value if set, zero value otherwise.

func (*DatasetQueryResultsColFingerprintType) GetPercentEmailOk

func (o *DatasetQueryResultsColFingerprintType) GetPercentEmailOk() (*float64, bool)

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

func (*DatasetQueryResultsColFingerprintType) GetPercentJson

func (o *DatasetQueryResultsColFingerprintType) GetPercentJson() float64

GetPercentJson returns the PercentJson field value if set, zero value otherwise.

func (*DatasetQueryResultsColFingerprintType) GetPercentJsonOk

func (o *DatasetQueryResultsColFingerprintType) GetPercentJsonOk() (*float64, bool)

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

func (*DatasetQueryResultsColFingerprintType) GetPercentUrl

GetPercentUrl returns the PercentUrl field value if set, zero value otherwise.

func (*DatasetQueryResultsColFingerprintType) GetPercentUrlOk

func (o *DatasetQueryResultsColFingerprintType) GetPercentUrlOk() (*float64, bool)

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

func (*DatasetQueryResultsColFingerprintType) HasAverageLength

func (o *DatasetQueryResultsColFingerprintType) HasAverageLength() bool

HasAverageLength returns a boolean if a field has been set.

func (*DatasetQueryResultsColFingerprintType) HasPercentEmail

func (o *DatasetQueryResultsColFingerprintType) HasPercentEmail() bool

HasPercentEmail returns a boolean if a field has been set.

func (*DatasetQueryResultsColFingerprintType) HasPercentJson

func (o *DatasetQueryResultsColFingerprintType) HasPercentJson() bool

HasPercentJson returns a boolean if a field has been set.

func (*DatasetQueryResultsColFingerprintType) HasPercentUrl

func (o *DatasetQueryResultsColFingerprintType) HasPercentUrl() bool

HasPercentUrl returns a boolean if a field has been set.

func (DatasetQueryResultsColFingerprintType) MarshalJSON

func (o DatasetQueryResultsColFingerprintType) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsColFingerprintType) SetAverageLength

func (o *DatasetQueryResultsColFingerprintType) SetAverageLength(v float64)

SetAverageLength gets a reference to the given float64 and assigns it to the AverageLength field.

func (*DatasetQueryResultsColFingerprintType) SetPercentEmail

func (o *DatasetQueryResultsColFingerprintType) SetPercentEmail(v float64)

SetPercentEmail gets a reference to the given float64 and assigns it to the PercentEmail field.

func (*DatasetQueryResultsColFingerprintType) SetPercentJson

func (o *DatasetQueryResultsColFingerprintType) SetPercentJson(v float64)

SetPercentJson gets a reference to the given float64 and assigns it to the PercentJson field.

func (*DatasetQueryResultsColFingerprintType) SetPercentUrl

func (o *DatasetQueryResultsColFingerprintType) SetPercentUrl(v float64)

SetPercentUrl gets a reference to the given float64 and assigns it to the PercentUrl field.

func (DatasetQueryResultsColFingerprintType) ToMap

func (o DatasetQueryResultsColFingerprintType) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsColTarget

type DatasetQueryResultsColTarget struct {
	Id             *int64  `json:"id,omitempty"`
	Name           *string `json:"name,omitempty"`
	DisplayName    *string `json:"display_name,omitempty"`
	TableId        *int64  `json:"table_id,omitempty"`
	Description    *string `json:"description,omitempty"`
	BaseType       *string `json:"base_type,omitempty"`
	SpecialType    *string `json:"special_type,omitempty"`
	VisibilityType *string `json:"visibility_type,omitempty"`
}

DatasetQueryResultsColTarget struct for DatasetQueryResultsColTarget

func NewDatasetQueryResultsColTarget

func NewDatasetQueryResultsColTarget() *DatasetQueryResultsColTarget

NewDatasetQueryResultsColTarget instantiates a new DatasetQueryResultsColTarget 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 NewDatasetQueryResultsColTargetWithDefaults

func NewDatasetQueryResultsColTargetWithDefaults() *DatasetQueryResultsColTarget

NewDatasetQueryResultsColTargetWithDefaults instantiates a new DatasetQueryResultsColTarget 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 (*DatasetQueryResultsColTarget) GetBaseType

func (o *DatasetQueryResultsColTarget) GetBaseType() string

GetBaseType returns the BaseType field value if set, zero value otherwise.

func (*DatasetQueryResultsColTarget) GetBaseTypeOk

func (o *DatasetQueryResultsColTarget) GetBaseTypeOk() (*string, bool)

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

func (*DatasetQueryResultsColTarget) GetDescription

func (o *DatasetQueryResultsColTarget) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DatasetQueryResultsColTarget) GetDescriptionOk

func (o *DatasetQueryResultsColTarget) 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 (*DatasetQueryResultsColTarget) GetDisplayName

func (o *DatasetQueryResultsColTarget) GetDisplayName() string

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

func (*DatasetQueryResultsColTarget) GetDisplayNameOk

func (o *DatasetQueryResultsColTarget) 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 (*DatasetQueryResultsColTarget) GetId

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

func (*DatasetQueryResultsColTarget) GetIdOk

func (o *DatasetQueryResultsColTarget) GetIdOk() (*int64, 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 (*DatasetQueryResultsColTarget) GetName

func (o *DatasetQueryResultsColTarget) GetName() string

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

func (*DatasetQueryResultsColTarget) GetNameOk

func (o *DatasetQueryResultsColTarget) 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 (*DatasetQueryResultsColTarget) GetSpecialType

func (o *DatasetQueryResultsColTarget) GetSpecialType() string

GetSpecialType returns the SpecialType field value if set, zero value otherwise.

func (*DatasetQueryResultsColTarget) GetSpecialTypeOk

func (o *DatasetQueryResultsColTarget) GetSpecialTypeOk() (*string, bool)

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

func (*DatasetQueryResultsColTarget) GetTableId

func (o *DatasetQueryResultsColTarget) GetTableId() int64

GetTableId returns the TableId field value if set, zero value otherwise.

func (*DatasetQueryResultsColTarget) GetTableIdOk

func (o *DatasetQueryResultsColTarget) GetTableIdOk() (*int64, bool)

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

func (*DatasetQueryResultsColTarget) GetVisibilityType

func (o *DatasetQueryResultsColTarget) GetVisibilityType() string

GetVisibilityType returns the VisibilityType field value if set, zero value otherwise.

func (*DatasetQueryResultsColTarget) GetVisibilityTypeOk

func (o *DatasetQueryResultsColTarget) GetVisibilityTypeOk() (*string, bool)

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

func (*DatasetQueryResultsColTarget) HasBaseType

func (o *DatasetQueryResultsColTarget) HasBaseType() bool

HasBaseType returns a boolean if a field has been set.

func (*DatasetQueryResultsColTarget) HasDescription

func (o *DatasetQueryResultsColTarget) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DatasetQueryResultsColTarget) HasDisplayName

func (o *DatasetQueryResultsColTarget) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*DatasetQueryResultsColTarget) HasId

HasId returns a boolean if a field has been set.

func (*DatasetQueryResultsColTarget) HasName

func (o *DatasetQueryResultsColTarget) HasName() bool

HasName returns a boolean if a field has been set.

func (*DatasetQueryResultsColTarget) HasSpecialType

func (o *DatasetQueryResultsColTarget) HasSpecialType() bool

HasSpecialType returns a boolean if a field has been set.

func (*DatasetQueryResultsColTarget) HasTableId

func (o *DatasetQueryResultsColTarget) HasTableId() bool

HasTableId returns a boolean if a field has been set.

func (*DatasetQueryResultsColTarget) HasVisibilityType

func (o *DatasetQueryResultsColTarget) HasVisibilityType() bool

HasVisibilityType returns a boolean if a field has been set.

func (DatasetQueryResultsColTarget) MarshalJSON

func (o DatasetQueryResultsColTarget) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsColTarget) SetBaseType

func (o *DatasetQueryResultsColTarget) SetBaseType(v string)

SetBaseType gets a reference to the given string and assigns it to the BaseType field.

func (*DatasetQueryResultsColTarget) SetDescription

func (o *DatasetQueryResultsColTarget) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DatasetQueryResultsColTarget) SetDisplayName

func (o *DatasetQueryResultsColTarget) SetDisplayName(v string)

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

func (*DatasetQueryResultsColTarget) SetId

func (o *DatasetQueryResultsColTarget) SetId(v int64)

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

func (*DatasetQueryResultsColTarget) SetName

func (o *DatasetQueryResultsColTarget) SetName(v string)

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

func (*DatasetQueryResultsColTarget) SetSpecialType

func (o *DatasetQueryResultsColTarget) SetSpecialType(v string)

SetSpecialType gets a reference to the given string and assigns it to the SpecialType field.

func (*DatasetQueryResultsColTarget) SetTableId

func (o *DatasetQueryResultsColTarget) SetTableId(v int64)

SetTableId gets a reference to the given int64 and assigns it to the TableId field.

func (*DatasetQueryResultsColTarget) SetVisibilityType

func (o *DatasetQueryResultsColTarget) SetVisibilityType(v string)

SetVisibilityType gets a reference to the given string and assigns it to the VisibilityType field.

func (DatasetQueryResultsColTarget) ToMap

func (o DatasetQueryResultsColTarget) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsData

type DatasetQueryResultsData struct {
	Columns         []string                       `json:"columns,omitempty"`
	Rows            [][]interface{}                `json:"rows,omitempty"`
	NativeForm      *DatasetQueryResultsNativeForm `json:"native_form,omitempty"`
	Cols            []DatasetQueryResultsCol       `json:"cols,omitempty"`
	ResultsMetadata *DatasetQueryResultsMetadata   `json:"results_metadata,omitempty"`
	RowsTruncated   *int64                         `json:"rows_truncated,omitempty"`
}

DatasetQueryResultsData struct for DatasetQueryResultsData

func NewDatasetQueryResultsData

func NewDatasetQueryResultsData() *DatasetQueryResultsData

NewDatasetQueryResultsData instantiates a new DatasetQueryResultsData 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 NewDatasetQueryResultsDataWithDefaults

func NewDatasetQueryResultsDataWithDefaults() *DatasetQueryResultsData

NewDatasetQueryResultsDataWithDefaults instantiates a new DatasetQueryResultsData 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 (*DatasetQueryResultsData) GetCols

GetCols returns the Cols field value if set, zero value otherwise.

func (*DatasetQueryResultsData) GetColsOk

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

func (*DatasetQueryResultsData) GetColumns

func (o *DatasetQueryResultsData) GetColumns() []string

GetColumns returns the Columns field value if set, zero value otherwise.

func (*DatasetQueryResultsData) GetColumnsOk

func (o *DatasetQueryResultsData) GetColumnsOk() ([]string, bool)

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

func (*DatasetQueryResultsData) GetNativeForm

GetNativeForm returns the NativeForm field value if set, zero value otherwise.

func (*DatasetQueryResultsData) GetNativeFormOk

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

func (*DatasetQueryResultsData) GetResultsMetadata

func (o *DatasetQueryResultsData) GetResultsMetadata() DatasetQueryResultsMetadata

GetResultsMetadata returns the ResultsMetadata field value if set, zero value otherwise.

func (*DatasetQueryResultsData) GetResultsMetadataOk

func (o *DatasetQueryResultsData) GetResultsMetadataOk() (*DatasetQueryResultsMetadata, bool)

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

func (*DatasetQueryResultsData) GetRows

func (o *DatasetQueryResultsData) GetRows() [][]interface{}

GetRows returns the Rows field value if set, zero value otherwise.

func (*DatasetQueryResultsData) GetRowsOk

func (o *DatasetQueryResultsData) GetRowsOk() ([][]interface{}, bool)

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

func (*DatasetQueryResultsData) GetRowsTruncated

func (o *DatasetQueryResultsData) GetRowsTruncated() int64

GetRowsTruncated returns the RowsTruncated field value if set, zero value otherwise.

func (*DatasetQueryResultsData) GetRowsTruncatedOk

func (o *DatasetQueryResultsData) GetRowsTruncatedOk() (*int64, bool)

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

func (*DatasetQueryResultsData) HasCols

func (o *DatasetQueryResultsData) HasCols() bool

HasCols returns a boolean if a field has been set.

func (*DatasetQueryResultsData) HasColumns

func (o *DatasetQueryResultsData) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (*DatasetQueryResultsData) HasNativeForm

func (o *DatasetQueryResultsData) HasNativeForm() bool

HasNativeForm returns a boolean if a field has been set.

func (*DatasetQueryResultsData) HasResultsMetadata

func (o *DatasetQueryResultsData) HasResultsMetadata() bool

HasResultsMetadata returns a boolean if a field has been set.

func (*DatasetQueryResultsData) HasRows

func (o *DatasetQueryResultsData) HasRows() bool

HasRows returns a boolean if a field has been set.

func (*DatasetQueryResultsData) HasRowsTruncated

func (o *DatasetQueryResultsData) HasRowsTruncated() bool

HasRowsTruncated returns a boolean if a field has been set.

func (DatasetQueryResultsData) MarshalJSON

func (o DatasetQueryResultsData) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsData) SetCols

SetCols gets a reference to the given []DatasetQueryResultsCol and assigns it to the Cols field.

func (*DatasetQueryResultsData) SetColumns

func (o *DatasetQueryResultsData) SetColumns(v []string)

SetColumns gets a reference to the given []string and assigns it to the Columns field.

func (*DatasetQueryResultsData) SetNativeForm

SetNativeForm gets a reference to the given DatasetQueryResultsNativeForm and assigns it to the NativeForm field.

func (*DatasetQueryResultsData) SetResultsMetadata

func (o *DatasetQueryResultsData) SetResultsMetadata(v DatasetQueryResultsMetadata)

SetResultsMetadata gets a reference to the given DatasetQueryResultsMetadata and assigns it to the ResultsMetadata field.

func (*DatasetQueryResultsData) SetRows

func (o *DatasetQueryResultsData) SetRows(v [][]interface{})

SetRows gets a reference to the given [][]interface{} and assigns it to the Rows field.

func (*DatasetQueryResultsData) SetRowsTruncated

func (o *DatasetQueryResultsData) SetRowsTruncated(v int64)

SetRowsTruncated gets a reference to the given int64 and assigns it to the RowsTruncated field.

func (DatasetQueryResultsData) ToMap

func (o DatasetQueryResultsData) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsMetadata

type DatasetQueryResultsMetadata struct {
	Checksum *string                             `json:"checksum,omitempty"`
	Columns  []DatasetQueryResultsMetadataColumn `json:"columns,omitempty"`
}

DatasetQueryResultsMetadata struct for DatasetQueryResultsMetadata

func NewDatasetQueryResultsMetadata

func NewDatasetQueryResultsMetadata() *DatasetQueryResultsMetadata

NewDatasetQueryResultsMetadata instantiates a new DatasetQueryResultsMetadata 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 NewDatasetQueryResultsMetadataWithDefaults

func NewDatasetQueryResultsMetadataWithDefaults() *DatasetQueryResultsMetadata

NewDatasetQueryResultsMetadataWithDefaults instantiates a new DatasetQueryResultsMetadata 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 (*DatasetQueryResultsMetadata) GetChecksum

func (o *DatasetQueryResultsMetadata) GetChecksum() string

GetChecksum returns the Checksum field value if set, zero value otherwise.

func (*DatasetQueryResultsMetadata) GetChecksumOk

func (o *DatasetQueryResultsMetadata) GetChecksumOk() (*string, bool)

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

func (*DatasetQueryResultsMetadata) GetColumns

GetColumns returns the Columns field value if set, zero value otherwise.

func (*DatasetQueryResultsMetadata) GetColumnsOk

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

func (*DatasetQueryResultsMetadata) HasChecksum

func (o *DatasetQueryResultsMetadata) HasChecksum() bool

HasChecksum returns a boolean if a field has been set.

func (*DatasetQueryResultsMetadata) HasColumns

func (o *DatasetQueryResultsMetadata) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (DatasetQueryResultsMetadata) MarshalJSON

func (o DatasetQueryResultsMetadata) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsMetadata) SetChecksum

func (o *DatasetQueryResultsMetadata) SetChecksum(v string)

SetChecksum gets a reference to the given string and assigns it to the Checksum field.

func (*DatasetQueryResultsMetadata) SetColumns

SetColumns gets a reference to the given []DatasetQueryResultsMetadataColumn and assigns it to the Columns field.

func (DatasetQueryResultsMetadata) ToMap

func (o DatasetQueryResultsMetadata) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsMetadataColumn

type DatasetQueryResultsMetadataColumn struct {
	BaseType    *string `json:"base_type,omitempty"`
	DisplayName *string `json:"display_name,omitempty"`
	Name        *string `json:"name,omitempty"`
	SpecialType *string `json:"special_type,omitempty"`
}

DatasetQueryResultsMetadataColumn struct for DatasetQueryResultsMetadataColumn

func NewDatasetQueryResultsMetadataColumn

func NewDatasetQueryResultsMetadataColumn() *DatasetQueryResultsMetadataColumn

NewDatasetQueryResultsMetadataColumn instantiates a new DatasetQueryResultsMetadataColumn 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 NewDatasetQueryResultsMetadataColumnWithDefaults

func NewDatasetQueryResultsMetadataColumnWithDefaults() *DatasetQueryResultsMetadataColumn

NewDatasetQueryResultsMetadataColumnWithDefaults instantiates a new DatasetQueryResultsMetadataColumn 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 (*DatasetQueryResultsMetadataColumn) GetBaseType

func (o *DatasetQueryResultsMetadataColumn) GetBaseType() string

GetBaseType returns the BaseType field value if set, zero value otherwise.

func (*DatasetQueryResultsMetadataColumn) GetBaseTypeOk

func (o *DatasetQueryResultsMetadataColumn) GetBaseTypeOk() (*string, bool)

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

func (*DatasetQueryResultsMetadataColumn) GetDisplayName

func (o *DatasetQueryResultsMetadataColumn) GetDisplayName() string

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

func (*DatasetQueryResultsMetadataColumn) GetDisplayNameOk

func (o *DatasetQueryResultsMetadataColumn) 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 (*DatasetQueryResultsMetadataColumn) GetName

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

func (*DatasetQueryResultsMetadataColumn) GetNameOk

func (o *DatasetQueryResultsMetadataColumn) 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 (*DatasetQueryResultsMetadataColumn) GetSpecialType

func (o *DatasetQueryResultsMetadataColumn) GetSpecialType() string

GetSpecialType returns the SpecialType field value if set, zero value otherwise.

func (*DatasetQueryResultsMetadataColumn) GetSpecialTypeOk

func (o *DatasetQueryResultsMetadataColumn) GetSpecialTypeOk() (*string, bool)

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

func (*DatasetQueryResultsMetadataColumn) HasBaseType

func (o *DatasetQueryResultsMetadataColumn) HasBaseType() bool

HasBaseType returns a boolean if a field has been set.

func (*DatasetQueryResultsMetadataColumn) HasDisplayName

func (o *DatasetQueryResultsMetadataColumn) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*DatasetQueryResultsMetadataColumn) HasName

HasName returns a boolean if a field has been set.

func (*DatasetQueryResultsMetadataColumn) HasSpecialType

func (o *DatasetQueryResultsMetadataColumn) HasSpecialType() bool

HasSpecialType returns a boolean if a field has been set.

func (DatasetQueryResultsMetadataColumn) MarshalJSON

func (o DatasetQueryResultsMetadataColumn) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsMetadataColumn) SetBaseType

func (o *DatasetQueryResultsMetadataColumn) SetBaseType(v string)

SetBaseType gets a reference to the given string and assigns it to the BaseType field.

func (*DatasetQueryResultsMetadataColumn) SetDisplayName

func (o *DatasetQueryResultsMetadataColumn) SetDisplayName(v string)

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

func (*DatasetQueryResultsMetadataColumn) SetName

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

func (*DatasetQueryResultsMetadataColumn) SetSpecialType

func (o *DatasetQueryResultsMetadataColumn) SetSpecialType(v string)

SetSpecialType gets a reference to the given string and assigns it to the SpecialType field.

func (DatasetQueryResultsMetadataColumn) ToMap

func (o DatasetQueryResultsMetadataColumn) ToMap() (map[string]interface{}, error)

type DatasetQueryResultsNativeForm

type DatasetQueryResultsNativeForm struct {
	Query *string `json:"query,omitempty"`
	// unknown type
	Params *string `json:"params,omitempty"`
}

DatasetQueryResultsNativeForm struct for DatasetQueryResultsNativeForm

func NewDatasetQueryResultsNativeForm

func NewDatasetQueryResultsNativeForm() *DatasetQueryResultsNativeForm

NewDatasetQueryResultsNativeForm instantiates a new DatasetQueryResultsNativeForm 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 NewDatasetQueryResultsNativeFormWithDefaults

func NewDatasetQueryResultsNativeFormWithDefaults() *DatasetQueryResultsNativeForm

NewDatasetQueryResultsNativeFormWithDefaults instantiates a new DatasetQueryResultsNativeForm 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 (*DatasetQueryResultsNativeForm) GetParams

func (o *DatasetQueryResultsNativeForm) GetParams() string

GetParams returns the Params field value if set, zero value otherwise.

func (*DatasetQueryResultsNativeForm) GetParamsOk

func (o *DatasetQueryResultsNativeForm) GetParamsOk() (*string, bool)

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

func (*DatasetQueryResultsNativeForm) GetQuery

func (o *DatasetQueryResultsNativeForm) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*DatasetQueryResultsNativeForm) GetQueryOk

func (o *DatasetQueryResultsNativeForm) GetQueryOk() (*string, bool)

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

func (*DatasetQueryResultsNativeForm) HasParams

func (o *DatasetQueryResultsNativeForm) HasParams() bool

HasParams returns a boolean if a field has been set.

func (*DatasetQueryResultsNativeForm) HasQuery

func (o *DatasetQueryResultsNativeForm) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (DatasetQueryResultsNativeForm) MarshalJSON

func (o DatasetQueryResultsNativeForm) MarshalJSON() ([]byte, error)

func (*DatasetQueryResultsNativeForm) SetParams

func (o *DatasetQueryResultsNativeForm) SetParams(v string)

SetParams gets a reference to the given string and assigns it to the Params field.

func (*DatasetQueryResultsNativeForm) SetQuery

func (o *DatasetQueryResultsNativeForm) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (DatasetQueryResultsNativeForm) ToMap

func (o DatasetQueryResultsNativeForm) ToMap() (map[string]interface{}, error)

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 MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 NullableDatabase

type NullableDatabase struct {
	// contains filtered or unexported fields
}

func NewNullableDatabase

func NewNullableDatabase(val *Database) *NullableDatabase

func (NullableDatabase) Get

func (v NullableDatabase) Get() *Database

func (NullableDatabase) IsSet

func (v NullableDatabase) IsSet() bool

func (NullableDatabase) MarshalJSON

func (v NullableDatabase) MarshalJSON() ([]byte, error)

func (*NullableDatabase) Set

func (v *NullableDatabase) Set(val *Database)

func (*NullableDatabase) UnmarshalJSON

func (v *NullableDatabase) UnmarshalJSON(src []byte) error

func (*NullableDatabase) Unset

func (v *NullableDatabase) Unset()

type NullableDatabaseList

type NullableDatabaseList struct {
	// contains filtered or unexported fields
}

func NewNullableDatabaseList

func NewNullableDatabaseList(val *DatabaseList) *NullableDatabaseList

func (NullableDatabaseList) Get

func (NullableDatabaseList) IsSet

func (v NullableDatabaseList) IsSet() bool

func (NullableDatabaseList) MarshalJSON

func (v NullableDatabaseList) MarshalJSON() ([]byte, error)

func (*NullableDatabaseList) Set

func (v *NullableDatabaseList) Set(val *DatabaseList)

func (*NullableDatabaseList) UnmarshalJSON

func (v *NullableDatabaseList) UnmarshalJSON(src []byte) error

func (*NullableDatabaseList) Unset

func (v *NullableDatabaseList) Unset()

type NullableDatabaseTable

type NullableDatabaseTable struct {
	// contains filtered or unexported fields
}

func NewNullableDatabaseTable

func NewNullableDatabaseTable(val *DatabaseTable) *NullableDatabaseTable

func (NullableDatabaseTable) Get

func (NullableDatabaseTable) IsSet

func (v NullableDatabaseTable) IsSet() bool

func (NullableDatabaseTable) MarshalJSON

func (v NullableDatabaseTable) MarshalJSON() ([]byte, error)

func (*NullableDatabaseTable) Set

func (v *NullableDatabaseTable) Set(val *DatabaseTable)

func (*NullableDatabaseTable) UnmarshalJSON

func (v *NullableDatabaseTable) UnmarshalJSON(src []byte) error

func (*NullableDatabaseTable) Unset

func (v *NullableDatabaseTable) Unset()

type NullableDatasetQueryConstraints

type NullableDatasetQueryConstraints struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryConstraints) Get

func (NullableDatasetQueryConstraints) IsSet

func (NullableDatasetQueryConstraints) MarshalJSON

func (v NullableDatasetQueryConstraints) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryConstraints) Set

func (*NullableDatasetQueryConstraints) UnmarshalJSON

func (v *NullableDatasetQueryConstraints) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryConstraints) Unset

type NullableDatasetQueryDsl

type NullableDatasetQueryDsl struct {
	// contains filtered or unexported fields
}

func NewNullableDatasetQueryDsl

func NewNullableDatasetQueryDsl(val *DatasetQueryDsl) *NullableDatasetQueryDsl

func (NullableDatasetQueryDsl) Get

func (NullableDatasetQueryDsl) IsSet

func (v NullableDatasetQueryDsl) IsSet() bool

func (NullableDatasetQueryDsl) MarshalJSON

func (v NullableDatasetQueryDsl) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryDsl) Set

func (*NullableDatasetQueryDsl) UnmarshalJSON

func (v *NullableDatasetQueryDsl) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryDsl) Unset

func (v *NullableDatasetQueryDsl) Unset()

type NullableDatasetQueryDslPage

type NullableDatasetQueryDslPage struct {
	// contains filtered or unexported fields
}

func NewNullableDatasetQueryDslPage

func NewNullableDatasetQueryDslPage(val *DatasetQueryDslPage) *NullableDatasetQueryDslPage

func (NullableDatasetQueryDslPage) Get

func (NullableDatasetQueryDslPage) IsSet

func (NullableDatasetQueryDslPage) MarshalJSON

func (v NullableDatasetQueryDslPage) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryDslPage) Set

func (*NullableDatasetQueryDslPage) UnmarshalJSON

func (v *NullableDatasetQueryDslPage) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryDslPage) Unset

func (v *NullableDatasetQueryDslPage) Unset()

type NullableDatasetQueryJsonQuery

type NullableDatasetQueryJsonQuery struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryJsonQuery) Get

func (NullableDatasetQueryJsonQuery) IsSet

func (NullableDatasetQueryJsonQuery) MarshalJSON

func (v NullableDatasetQueryJsonQuery) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryJsonQuery) Set

func (*NullableDatasetQueryJsonQuery) UnmarshalJSON

func (v *NullableDatasetQueryJsonQuery) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryJsonQuery) Unset

func (v *NullableDatasetQueryJsonQuery) Unset()

type NullableDatasetQueryNative

type NullableDatasetQueryNative struct {
	// contains filtered or unexported fields
}

func NewNullableDatasetQueryNative

func NewNullableDatasetQueryNative(val *DatasetQueryNative) *NullableDatasetQueryNative

func (NullableDatasetQueryNative) Get

func (NullableDatasetQueryNative) IsSet

func (v NullableDatasetQueryNative) IsSet() bool

func (NullableDatasetQueryNative) MarshalJSON

func (v NullableDatasetQueryNative) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryNative) Set

func (*NullableDatasetQueryNative) UnmarshalJSON

func (v *NullableDatasetQueryNative) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryNative) Unset

func (v *NullableDatasetQueryNative) Unset()

type NullableDatasetQueryOpts

type NullableDatasetQueryOpts struct {
	// contains filtered or unexported fields
}

func NewNullableDatasetQueryOpts

func NewNullableDatasetQueryOpts(val *DatasetQueryOpts) *NullableDatasetQueryOpts

func (NullableDatasetQueryOpts) Get

func (NullableDatasetQueryOpts) IsSet

func (v NullableDatasetQueryOpts) IsSet() bool

func (NullableDatasetQueryOpts) MarshalJSON

func (v NullableDatasetQueryOpts) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryOpts) Set

func (*NullableDatasetQueryOpts) UnmarshalJSON

func (v *NullableDatasetQueryOpts) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryOpts) Unset

func (v *NullableDatasetQueryOpts) Unset()

type NullableDatasetQueryResults

type NullableDatasetQueryResults struct {
	// contains filtered or unexported fields
}

func NewNullableDatasetQueryResults

func NewNullableDatasetQueryResults(val *DatasetQueryResults) *NullableDatasetQueryResults

func (NullableDatasetQueryResults) Get

func (NullableDatasetQueryResults) IsSet

func (NullableDatasetQueryResults) MarshalJSON

func (v NullableDatasetQueryResults) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryResults) Set

func (*NullableDatasetQueryResults) UnmarshalJSON

func (v *NullableDatasetQueryResults) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryResults) Unset

func (v *NullableDatasetQueryResults) Unset()

type NullableDatasetQueryResultsCol

type NullableDatasetQueryResultsCol struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsCol) Get

func (NullableDatasetQueryResultsCol) IsSet

func (NullableDatasetQueryResultsCol) MarshalJSON

func (v NullableDatasetQueryResultsCol) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryResultsCol) Set

func (*NullableDatasetQueryResultsCol) UnmarshalJSON

func (v *NullableDatasetQueryResultsCol) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryResultsCol) Unset

func (v *NullableDatasetQueryResultsCol) Unset()

type NullableDatasetQueryResultsColFingerprint

type NullableDatasetQueryResultsColFingerprint struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsColFingerprint) Get

func (NullableDatasetQueryResultsColFingerprint) IsSet

func (NullableDatasetQueryResultsColFingerprint) MarshalJSON

func (*NullableDatasetQueryResultsColFingerprint) Set

func (*NullableDatasetQueryResultsColFingerprint) UnmarshalJSON

func (v *NullableDatasetQueryResultsColFingerprint) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryResultsColFingerprint) Unset

type NullableDatasetQueryResultsColFingerprintGlobal

type NullableDatasetQueryResultsColFingerprintGlobal struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsColFingerprintGlobal) Get

func (NullableDatasetQueryResultsColFingerprintGlobal) IsSet

func (NullableDatasetQueryResultsColFingerprintGlobal) MarshalJSON

func (*NullableDatasetQueryResultsColFingerprintGlobal) Set

func (*NullableDatasetQueryResultsColFingerprintGlobal) UnmarshalJSON

func (*NullableDatasetQueryResultsColFingerprintGlobal) Unset

type NullableDatasetQueryResultsColFingerprintType

type NullableDatasetQueryResultsColFingerprintType struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsColFingerprintType) Get

func (NullableDatasetQueryResultsColFingerprintType) IsSet

func (NullableDatasetQueryResultsColFingerprintType) MarshalJSON

func (*NullableDatasetQueryResultsColFingerprintType) Set

func (*NullableDatasetQueryResultsColFingerprintType) UnmarshalJSON

func (*NullableDatasetQueryResultsColFingerprintType) Unset

type NullableDatasetQueryResultsColTarget

type NullableDatasetQueryResultsColTarget struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsColTarget) Get

func (NullableDatasetQueryResultsColTarget) IsSet

func (NullableDatasetQueryResultsColTarget) MarshalJSON

func (v NullableDatasetQueryResultsColTarget) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryResultsColTarget) Set

func (*NullableDatasetQueryResultsColTarget) UnmarshalJSON

func (v *NullableDatasetQueryResultsColTarget) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryResultsColTarget) Unset

type NullableDatasetQueryResultsData

type NullableDatasetQueryResultsData struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsData) Get

func (NullableDatasetQueryResultsData) IsSet

func (NullableDatasetQueryResultsData) MarshalJSON

func (v NullableDatasetQueryResultsData) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryResultsData) Set

func (*NullableDatasetQueryResultsData) UnmarshalJSON

func (v *NullableDatasetQueryResultsData) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryResultsData) Unset

type NullableDatasetQueryResultsMetadata

type NullableDatasetQueryResultsMetadata struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsMetadata) Get

func (NullableDatasetQueryResultsMetadata) IsSet

func (NullableDatasetQueryResultsMetadata) MarshalJSON

func (v NullableDatasetQueryResultsMetadata) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryResultsMetadata) Set

func (*NullableDatasetQueryResultsMetadata) UnmarshalJSON

func (v *NullableDatasetQueryResultsMetadata) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryResultsMetadata) Unset

type NullableDatasetQueryResultsMetadataColumn

type NullableDatasetQueryResultsMetadataColumn struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsMetadataColumn) Get

func (NullableDatasetQueryResultsMetadataColumn) IsSet

func (NullableDatasetQueryResultsMetadataColumn) MarshalJSON

func (*NullableDatasetQueryResultsMetadataColumn) Set

func (*NullableDatasetQueryResultsMetadataColumn) UnmarshalJSON

func (v *NullableDatasetQueryResultsMetadataColumn) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryResultsMetadataColumn) Unset

type NullableDatasetQueryResultsNativeForm

type NullableDatasetQueryResultsNativeForm struct {
	// contains filtered or unexported fields
}

func (NullableDatasetQueryResultsNativeForm) Get

func (NullableDatasetQueryResultsNativeForm) IsSet

func (NullableDatasetQueryResultsNativeForm) MarshalJSON

func (v NullableDatasetQueryResultsNativeForm) MarshalJSON() ([]byte, error)

func (*NullableDatasetQueryResultsNativeForm) Set

func (*NullableDatasetQueryResultsNativeForm) UnmarshalJSON

func (v *NullableDatasetQueryResultsNativeForm) UnmarshalJSON(src []byte) error

func (*NullableDatasetQueryResultsNativeForm) 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 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 NullablePermissionGraphData

type NullablePermissionGraphData struct {
	// contains filtered or unexported fields
}

func NewNullablePermissionGraphData

func NewNullablePermissionGraphData(val *PermissionGraphData) *NullablePermissionGraphData

func (NullablePermissionGraphData) Get

func (NullablePermissionGraphData) IsSet

func (NullablePermissionGraphData) MarshalJSON

func (v NullablePermissionGraphData) MarshalJSON() ([]byte, error)

func (*NullablePermissionGraphData) Set

func (*NullablePermissionGraphData) UnmarshalJSON

func (v *NullablePermissionGraphData) UnmarshalJSON(src []byte) error

func (*NullablePermissionGraphData) Unset

func (v *NullablePermissionGraphData) Unset()

type NullablePermissionGroup

type NullablePermissionGroup struct {
	// contains filtered or unexported fields
}

func NewNullablePermissionGroup

func NewNullablePermissionGroup(val *PermissionGroup) *NullablePermissionGroup

func (NullablePermissionGroup) Get

func (NullablePermissionGroup) IsSet

func (v NullablePermissionGroup) IsSet() bool

func (NullablePermissionGroup) MarshalJSON

func (v NullablePermissionGroup) MarshalJSON() ([]byte, error)

func (*NullablePermissionGroup) Set

func (*NullablePermissionGroup) UnmarshalJSON

func (v *NullablePermissionGroup) UnmarshalJSON(src []byte) error

func (*NullablePermissionGroup) Unset

func (v *NullablePermissionGroup) Unset()

type NullablePermissionsGraph

type NullablePermissionsGraph struct {
	// contains filtered or unexported fields
}

func NewNullablePermissionsGraph

func NewNullablePermissionsGraph(val *PermissionsGraph) *NullablePermissionsGraph

func (NullablePermissionsGraph) Get

func (NullablePermissionsGraph) IsSet

func (v NullablePermissionsGraph) IsSet() bool

func (NullablePermissionsGraph) MarshalJSON

func (v NullablePermissionsGraph) MarshalJSON() ([]byte, error)

func (*NullablePermissionsGraph) Set

func (*NullablePermissionsGraph) UnmarshalJSON

func (v *NullablePermissionsGraph) UnmarshalJSON(src []byte) error

func (*NullablePermissionsGraph) Unset

func (v *NullablePermissionsGraph) 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 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 PermissionGraphData

type PermissionGraphData struct {
	Download map[string]interface{} `json:"download,omitempty"`
	Data     map[string]interface{} `json:"data,omitempty"`
}

PermissionGraphData struct for PermissionGraphData

func NewPermissionGraphData

func NewPermissionGraphData() *PermissionGraphData

NewPermissionGraphData instantiates a new PermissionGraphData 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 NewPermissionGraphDataWithDefaults

func NewPermissionGraphDataWithDefaults() *PermissionGraphData

NewPermissionGraphDataWithDefaults instantiates a new PermissionGraphData 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 (*PermissionGraphData) GetData

func (o *PermissionGraphData) GetData() map[string]interface{}

GetData returns the Data field value if set, zero value otherwise.

func (*PermissionGraphData) GetDataOk

func (o *PermissionGraphData) GetDataOk() (map[string]interface{}, bool)

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

func (*PermissionGraphData) GetDownload

func (o *PermissionGraphData) GetDownload() map[string]interface{}

GetDownload returns the Download field value if set, zero value otherwise.

func (*PermissionGraphData) GetDownloadOk

func (o *PermissionGraphData) GetDownloadOk() (map[string]interface{}, bool)

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

func (*PermissionGraphData) HasData

func (o *PermissionGraphData) HasData() bool

HasData returns a boolean if a field has been set.

func (*PermissionGraphData) HasDownload

func (o *PermissionGraphData) HasDownload() bool

HasDownload returns a boolean if a field has been set.

func (PermissionGraphData) MarshalJSON

func (o PermissionGraphData) MarshalJSON() ([]byte, error)

func (*PermissionGraphData) SetData

func (o *PermissionGraphData) SetData(v map[string]interface{})

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

func (*PermissionGraphData) SetDownload

func (o *PermissionGraphData) SetDownload(v map[string]interface{})

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

func (PermissionGraphData) ToMap

func (o PermissionGraphData) ToMap() (map[string]interface{}, error)

type PermissionGroup

type PermissionGroup struct {
	Id          *int32  `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	MemberCount *int32  `json:"member_count,omitempty"`
}

PermissionGroup struct for PermissionGroup

func NewPermissionGroup

func NewPermissionGroup() *PermissionGroup

NewPermissionGroup instantiates a new PermissionGroup 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 NewPermissionGroupWithDefaults

func NewPermissionGroupWithDefaults() *PermissionGroup

NewPermissionGroupWithDefaults instantiates a new PermissionGroup 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 (*PermissionGroup) GetId

func (o *PermissionGroup) GetId() int32

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

func (*PermissionGroup) GetIdOk

func (o *PermissionGroup) GetIdOk() (*int32, 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 (*PermissionGroup) GetMemberCount

func (o *PermissionGroup) GetMemberCount() int32

GetMemberCount returns the MemberCount field value if set, zero value otherwise.

func (*PermissionGroup) GetMemberCountOk

func (o *PermissionGroup) GetMemberCountOk() (*int32, bool)

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

func (*PermissionGroup) GetName

func (o *PermissionGroup) GetName() string

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

func (*PermissionGroup) GetNameOk

func (o *PermissionGroup) 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 (*PermissionGroup) HasId

func (o *PermissionGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*PermissionGroup) HasMemberCount

func (o *PermissionGroup) HasMemberCount() bool

HasMemberCount returns a boolean if a field has been set.

func (*PermissionGroup) HasName

func (o *PermissionGroup) HasName() bool

HasName returns a boolean if a field has been set.

func (PermissionGroup) MarshalJSON

func (o PermissionGroup) MarshalJSON() ([]byte, error)

func (*PermissionGroup) SetId

func (o *PermissionGroup) SetId(v int32)

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

func (*PermissionGroup) SetMemberCount

func (o *PermissionGroup) SetMemberCount(v int32)

SetMemberCount gets a reference to the given int32 and assigns it to the MemberCount field.

func (*PermissionGroup) SetName

func (o *PermissionGroup) SetName(v string)

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

func (PermissionGroup) ToMap

func (o PermissionGroup) ToMap() (map[string]interface{}, error)

type PermissionsApiService

type PermissionsApiService service

PermissionsApiService PermissionsApi service

func (*PermissionsApiService) GetPermissionsGraph

GetPermissionsGraph Fetch a graph of execution permissions.

Fetch a graph of execution permissions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPermissionsGraphRequest

func (*PermissionsApiService) GetPermissionsGraphExecute

Execute executes the request

@return PermissionsGraph

func (*PermissionsApiService) GetPermissionsGroup

GetPermissionsGroup Fetch all permissions group.

Fetch all PermissionsGroups, including a count of the number of :members in that group. This API requires superuser or group manager of more than one group. Group manager is only available if advanced-permissions is enabled and returns only groups that user is manager of.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPermissionsGroupRequest

func (*PermissionsApiService) GetPermissionsGroupExecute

Execute executes the request

@return []PermissionGroup

type PermissionsGraph

type PermissionsGraph struct {
	Revision *int32                                     `json:"revision,omitempty"`
	Groups   *map[string]map[string]PermissionGraphData `json:"groups,omitempty"`
}

PermissionsGraph struct for PermissionsGraph

func NewPermissionsGraph

func NewPermissionsGraph() *PermissionsGraph

NewPermissionsGraph instantiates a new PermissionsGraph 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 NewPermissionsGraphWithDefaults

func NewPermissionsGraphWithDefaults() *PermissionsGraph

NewPermissionsGraphWithDefaults instantiates a new PermissionsGraph 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 (*PermissionsGraph) GetGroups

func (o *PermissionsGraph) GetGroups() map[string]map[string]PermissionGraphData

GetGroups returns the Groups field value if set, zero value otherwise.

func (*PermissionsGraph) GetGroupsOk

func (o *PermissionsGraph) GetGroupsOk() (*map[string]map[string]PermissionGraphData, bool)

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

func (*PermissionsGraph) GetRevision

func (o *PermissionsGraph) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*PermissionsGraph) GetRevisionOk

func (o *PermissionsGraph) GetRevisionOk() (*int32, bool)

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

func (*PermissionsGraph) HasGroups

func (o *PermissionsGraph) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*PermissionsGraph) HasRevision

func (o *PermissionsGraph) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (PermissionsGraph) MarshalJSON

func (o PermissionsGraph) MarshalJSON() ([]byte, error)

func (*PermissionsGraph) SetGroups

func (o *PermissionsGraph) SetGroups(v map[string]map[string]PermissionGraphData)

SetGroups gets a reference to the given map[string]map[string]PermissionGraphData and assigns it to the Groups field.

func (*PermissionsGraph) SetRevision

func (o *PermissionsGraph) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (PermissionsGraph) ToMap

func (o PermissionsGraph) ToMap() (map[string]interface{}, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL