elasticstructs

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppImportResponse

type AppImportResponse struct {
	Attributes struct {
		ID               string      `json:"id"`
		Name             string      `json:"name"`
		Description      string      `json:"description"`
		Thumbnail        string      `json:"thumbnail"`
		LastReloadTime   string      `json:"lastReloadTime"`
		CreatedDate      string      `json:"createdDate"`
		ModifiedDate     string      `json:"modifiedDate"`
		Owner            string      `json:"owner"`
		OwnerID          string      `json:"ownerId"`
		DynamicColor     string      `json:"dynamicColor"`
		Published        bool        `json:"published"`
		PublishTime      string      `json:"publishTime"`
		SpaceID          string      `json:"spaceId"`
		Custom           interface{} `json:"custom"`
		HasSectionAccess bool        `json:"hasSectionAccess"`
		Encrypted        bool        `json:"encrypted"`
		OriginAppID      string      `json:"originAppId"`
		ResourceType     string      `json:"_resourcetype"`
	} `json:"attributes"`
	Privileges interface{} `json:"privileges"`
	Create     interface{} `json:"create"`
}

type Collection

type Collection struct {
	Name             string    `json:"name"`
	Description      string    `json:"description"`
	Type             string    `json:"type"`
	ID               string    `json:"id"`
	CreatedAt        time.Time `json:"createdAt"`
	UpdatedAt        time.Time `json:"updatedAt"`
	CreatorID        string    `json:"creatorId"`
	UpdaterID        string    `json:"updaterId"`
	CreatedBySubject string    `json:"createdBySubject"`
	UpdatedBySubject string    `json:"updatedBySubject"`
	TenantID         string    `json:"tenantId"`
	Links            struct {
		Self struct {
			Href string `json:"href"`
		} `json:"self"`
		Items struct {
			Href string `json:"href"`
		} `json:"items"`
	} `json:"links"`
	ItemCount int `json:"itemCount"`
}

type CollectionItem added in v0.5.0

type CollectionItem struct {
	Name               string `json:"name"`
	Description        string `json:"description"`
	ResourceAttributes struct {
		CreatedDate    interface{} `json:"createdDate"`
		Description    string      `json:"description"`
		DynamicColor   string      `json:"dynamicColor"`
		ID             string      `json:"id"`
		LastReloadTime interface{} `json:"lastReloadTime"`
		ModifiedDate   interface{} `json:"modifiedDate"`
		Name           string      `json:"name"`
		Owner          string      `json:"owner"`
		PublishTime    interface{} `json:"publishTime"`
		Published      bool        `json:"published"`
		Thumbnail      string      `json:"thumbnail"`
	} `json:"resourceAttributes"`
	ResourceCustomAttributes interface{} `json:"resourceCustomAttributes"`
	ResourceUpdatedAt        interface{} `json:"resourceUpdatedAt"`
	ResourceUpdatedBySubject string      `json:"resourceUpdatedBySubject"`
	ResourceType             string      `json:"resourceType"`
	ResourceID               string      `json:"resourceId"`
	ResourceCreatedAt        interface{} `json:"resourceCreatedAt"`
	ResourceCreatedBySubject string      `json:"resourceCreatedBySubject"`
	ID                       string      `json:"id"`
	CreatedAt                interface{} `json:"createdAt"`
	UpdatedAt                interface{} `json:"updatedAt"`
	CreatorID                string      `json:"creatorId"`
	UpdaterID                string      `json:"updaterId"`
	CreatedBySubject         string      `json:"createdBySubject"`
	UpdatedBySubject         string      `json:"updatedBySubject"`
	TenantID                 string      `json:"tenantId"`
	IsFavorited              bool        `json:"isFavorited"`
	Links                    interface{} `json:"links"`
	Actions                  []string    `json:"actions"`
	CollectionIds            []string    `json:"collectionIds"`
}

type CollectionItems

type CollectionItems struct {
	Data  []CollectionItem `json:"data"`
	Links struct {
		Self struct {
			Href string `json:"href"`
		} `json:"self"`
		Prev struct {
			Href string `json:"href"`
		} `json:"prev"`
		Next struct {
			Href string `json:"href"`
		} `json:"next"`
		Collection struct {
			Href string `json:"href"`
		} `json:"collection"`
	} `json:"links"`
}

type CollectionRequest

type CollectionRequest struct {
	Data  []Collection `json:"data"`
	Links struct {
		Self struct {
			Href string `json:"href"`
		} `json:"self"`
		Next struct {
			Href string `json:"href"`
		} `json:"next"`
	} `json:"links"`
}

type CollectionServiceItem

type CollectionServiceItem struct {
	Name                     string                              `json:"name"`
	ResourceID               string                              `json:"resourceId"`
	ResourceType             string                              `json:"resourceType"`
	Description              string                              `json:"description"`
	ResourceAttributes       CollectionServiceResourceAttributes `json:"resourceAttributes"`
	ResourceCustomAttributes interface{}                         `json:"resourceCustomAttributes"`
	ResourceCreatedAt        time.Time                           `json:"resourceCreatedAt"`
	ResourceCreatedBySubject string                              `json:"resourceCreatedBySubject"`
	SpaceID                  string                              `json:"spaceId,omitempty"`
}

type CollectionServiceResourceAttributes added in v0.4.10

type CollectionServiceResourceAttributes struct {
	ID             string `json:"id"`
	Name           string `json:"name"`
	Description    string `json:"description"`
	Thumbnail      string `json:"thumbnail"`
	LastReloadTime string `json:"lastReloadTime"`
	CreatedDate    string `json:"createdDate"`
	ModifiedDate   string `json:"modifiedDate"`
	// Deprecated: use ownerID
	Owner            string `json:"owner"`
	OwnerID          string `json:"ownerId"`
	DynamicColor     string `json:"dynamicColor"`
	Published        bool   `json:"published"`
	PublishTime      string `json:"publishTime"`
	HasSectionAccess bool   `json:"hasSectionAccess"`
	Encrypted        bool   `json:"encrypted"`
	OriginAppID      string `json:"originAppId"`
	SpaceID          string `json:"spaceId,omitempty"`
	ResourceType     string `json:"_resourcetype"`
}

type CreateCollection

type CreateCollection struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Type        string `json:"type"`
}

type CreateCollectionResponse

type CreateCollectionResponse struct {
	Name             string      `json:"name"`
	Description      string      `json:"description"`
	Type             string      `json:"type"`
	ID               string      `json:"id"`
	CreatedAt        interface{} `json:"createdAt"`
	UpdatedAt        interface{} `json:"updatedAt"`
	CreatorID        string      `json:"creatorId"`
	UpdaterID        string      `json:"updaterId"`
	CreatedBySubject string      `json:"createdBySubject"`
	UpdatedBySubject string      `json:"updatedBySubject"`
	TenantID         string      `json:"tenantId"`
	Links            interface{} `json:"links"`
	ItemCount        int         `json:"itemCount"`
}

type DataFilesResp added in v0.5.7

type DataFilesResp struct {
	Data  []DataFilesRespData `json:"data"`
	Links DataFilesRespLinks  `json:"links"`
}

type DataFilesRespData added in v0.5.7

type DataFilesRespData struct {
	Created              string                    `json:"created"`
	DatasourceID         string                    `json:"datasourceID"`
	ID                   string                    `json:"id"`
	Links                DataFilesRespLinks        `json:"links"`
	Privileges           []string                  `json:"privileges"`
	QArchitecture        int64                     `json:"qArchitecture"`
	QConnectStatement    string                    `json:"qConnectStatement"`
	QCredentials         DataFilesRespQCredentials `json:"qCredentials"`
	QCredentialsID       string                    `json:"qCredentialsID"`
	QEngineObjectID      string                    `json:"qEngineObjectID"`
	QID                  string                    `json:"qID"`
	QLogOn               int64                     `json:"qLogOn"`
	QName                string                    `json:"qName"`
	QSeparateCredentials bool                      `json:"qSeparateCredentials"`
	QType                string                    `json:"qType"`
	Space                string                    `json:"space"`
	Tenant               string                    `json:"tenant"`
	Updated              string                    `json:"updated"`
	User                 string                    `json:"user"`
	Version              string                    `json:"version"`
}
type DataFilesRespLinks struct {
	Self DataFilesRespLinksHref `json:"self"`
}

type DataFilesRespLinksHref added in v0.5.7

type DataFilesRespLinksHref struct {
	Href string `json:"href"`
}

type DataFilesRespQCredentials added in v0.5.7

type DataFilesRespQCredentials struct {
	Ciphertext string `json:"ciphertext"`
}

type Evaluation

type Evaluation struct {
	Resources []EvaluationResource `json:"resources"`
}

type EvaluationProperties

type EvaluationProperties struct {
	SpaceID string `json:"spaceId,omitempty"`
	Owner   string `json:"owner,omitempty"`
	Type    string `json:"type,omitempty"`
}

type EvaluationResource

type EvaluationResource struct {
	ID         string               `json:"id"`
	Type       string               `json:"type"`
	Properties EvaluationProperties `json:"properties"`
}

type Favorites

type Favorites struct {
	Name      string      `json:"name"`
	Type      string      `json:"type"`
	ID        string      `json:"id"`
	CreatedAt interface{} `json:"createdAt"`
	UpdatedAt interface{} `json:"updatedAt"`
	CreatorID string      `json:"creatorId"`
	UpdaterID string      `json:"updaterId"`
	TenantID  string      `json:"tenantId"`
	Links     struct {
		Self struct {
			Href string `json:"href"`
		} `json:"self"`
		Items struct {
			Href string `json:"href"`
		} `json:"items"`
	} `json:"links"`
	ItemCount int `json:"itemCount"`
}

type Filter

type Filter struct {
	Ids   []string `json:"ids,omitempty"`
	Names []string `json:"names,omitempty"`
}

type GetDataFolders

type GetDataFolders []struct {
	ID           string    `json:"id"`
	Name         string    `json:"name"`
	AppID        string    `json:"appId"`
	Size         int       `json:"size"`
	CreatedDate  time.Time `json:"createdDate"`
	ModifiedDate time.Time `json:"modifiedDate"`
}

type GetItems

type GetItems struct {
	Data []struct {
		Name                     string      `json:"name"`
		Description              string      `json:"description"`
		ResourceAttributes       interface{} `json:"resourceAttributes"`
		ResourceCustomAttributes interface{} `json:"resourceCustomAttributes"`
		ResourceUpdatedAt        interface{} `json:"resourceUpdatedAt"`
		ResourceUpdatedBySubject string      `json:"resourceUpdatedBySubject"`
		ResourceType             string      `json:"resourceType"`
		ResourceID               string      `json:"resourceId"`
		ResourceCreatedAt        interface{} `json:"resourceCreatedAt"`
		ResourceCreatedBySubject string      `json:"resourceCreatedBySubject"`
		ID                       string      `json:"id"`
		CreatedAt                interface{} `json:"createdAt"`
		UpdatedAt                interface{} `json:"updatedAt"`
		CreatorID                string      `json:"creatorId"`
		UpdaterID                string      `json:"updaterId"`
		CreatedBySubject         string      `json:"createdBySubject"`
		UpdatedBySubject         string      `json:"updatedBySubject"`
		TenantID                 string      `json:"tenantId"`
		IsFavorited              bool        `json:"isFavorited"`
		Links                    interface{} `json:"links"`
		Actions                  []string    `json:"actions"`
		CollectionIds            []string    `json:"collectionIds"`
	} `json:"data"`
	Links interface{} `json:"links"`
}

type Href

type Href struct {
	Href string `json:"href"`
}

type IOdagPostRequest

type IOdagPostRequest struct {
	SelectionApp       string                          `json:"selectionApp"`
	ActualRowEst       int                             `json:"actualRowEst"`
	BindSelectionState []OdagPostRequestSelectionState `json:"bindSelectionState"`
	SelectionState     []OdagPostRequestSelectionState `json:"selectionState"`
}

type ItemCollectionAdd

type ItemCollectionAdd struct {
	ID string `json:"id"`
}

type Locale

type Locale struct {
	Locale string `json:"locale"`
}
type OdagGetLink struct {
	ID                 string `json:"id"`
	CreatedDate        string `json:"createdDate"`
	ModifiedDate       string `json:"modifiedDate"`
	ModifiedByUserName string `json:"modifiedByUserName"`
	Owner              struct {
		ID            string      `json:"id"`
		UserID        string      `json:"userId"`
		UserDirectory string      `json:"userDirectory"`
		Name          string      `json:"name"`
		Privileges    interface{} `json:"privileges"`
	} `json:"owner"`
	Name        string `json:"name"`
	TemplateApp struct {
		ID          string `json:"id"`
		Name        string `json:"name"`
		AppID       string `json:"appId"`
		PublishTime string `json:"publishTime"`
		Published   bool   `json:"published"`
		Stream      struct {
			ID         string      `json:"id"`
			Name       string      `json:"name"`
			Privileges interface{} `json:"privileges"`
		} `json:"stream"`
		SavedInProductVersion string      `json:"savedInProductVersion"`
		MigrationHash         string      `json:"migrationHash"`
		AvailabilityStatus    int         `json:"availabilityStatus"`
		Privileges            interface{} `json:"privileges"`
	} `json:"templateApp"`
	TemplateAppOrigName string `json:"templateAppOrigName"`
	LoadScriptHash      int64  `json:"loadScriptHash"`
	RowEstExpr          string `json:"rowEstExpr"`
	Bindings            []struct {
		TemplateAppVarName string `json:"templateAppVarName"`
		SelectAppParamType string `json:"selectAppParamType"`
		SelectAppParamName string `json:"selectAppParamName"`
		SelectionStates    string `json:"selectionStates"`
		NumericOnly        bool   `json:"numericOnly"`
	} `json:"bindings"`
	Properties struct {
		RowEstRange []struct {
			Context   string `json:"context"`
			HighBound int    `json:"highBound"`
		} `json:"rowEstRange"`
		GenAppLimit []struct {
			Context string `json:"context"`
			Limit   int    `json:"limit"`
		} `json:"genAppLimit"`
		AppRetentionTime []struct {
			Context       string `json:"context"`
			RetentionTime string `json:"retentionTime"`
		} `json:"appRetentionTime"`
		MenuLabel []struct {
			Context string `json:"context"`
			Label   string `json:"label"`
		} `json:"menuLabel"`
		GenAppName []struct {
			UserContext  string   `json:"userContext"`
			FormatString string   `json:"formatString"`
			Params       []string `json:"params"`
		} `json:"genAppName"`
	} `json:"properties"`
	ModelGroups []interface{} `json:"modelGroups"`
	Privileges  []string      `json:"privileges"`
	Status      string        `json:"status"`
}

type OdagGetLinkInfo

type OdagGetLinkInfo struct {
	Bindings  []OdagLinkBinding `json:"bindings"`
	ObjectDef struct {
		ID                  string            `json:"id"`
		CreatedDate         time.Time         `json:"createdDate"`
		ModifiedDate        time.Time         `json:"modifiedDate"`
		ModifiedByUserName  string            `json:"modifiedByUserName"`
		Owner               struct{}          `json:"owner"`
		Name                string            `json:"name"`
		TemplateApp         struct{}          `json:"templateApp"`
		TemplateAppOrigName string            `json:"templateAppOrigName"`
		LoadScriptHash      int64             `json:"loadScriptHash"`
		RowEstExpr          string            `json:"rowEstExpr"`
		Bindings            []OdagLinkBinding `json:"bindings"`
		Properties          struct{}          `json:"properties"`
		ModelGroups         []interface{}     `json:"modelGroups"`
		Privileges          []string          `json:"privileges"`
		Status              string            `json:"status"`
		GenAppAccessible    bool              `json:"genAppAccessible"`
	} `json:"objectDef"`
	Feedback []interface{} `json:"feedback"`
}
type OdagGetLinks []OdagGetLink

type OdagGetRequest

type OdagGetRequest struct {
	ID                 string `json:"id"`
	CreatedDate        string `json:"createdDate"`
	ModifiedDate       string `json:"modifiedDate"`
	ModifiedByUserName string `json:"modifiedByUserName"`
	Owner              struct {
		ID            string      `json:"id"`
		UserID        string      `json:"userId"`
		UserDirectory string      `json:"userDirectory"`
		Name          string      `json:"name"`
		Privileges    interface{} `json:"privileges"`
	} `json:"owner"`
	CreatedByAnonymousUser string      `json:"createdByAnonymousUser"`
	Link                   interface{} `json:"link"`
	SelectionAppID         string      `json:"selectionAppId"`
	SelectionAppOrigName   string      `json:"selectionAppOrigName"`
	Sheetname              string      `json:"sheetname"`
	ClientContextHandle    string      `json:"clientContextHandle"`
	TargetSheet            string      `json:"targetSheet"`
	GeneratedAppOrigName   string      `json:"generatedAppOrigName"`
	GeneratedApp           struct {
		ID                    string      `json:"id"`
		Name                  string      `json:"name"`
		AppID                 string      `json:"appId"`
		PublishTime           string      `json:"publishTime"`
		Published             bool        `json:"published"`
		Stream                interface{} `json:"stream"`
		SavedInProductVersion string      `json:"savedInProductVersion"`
		MigrationHash         string      `json:"migrationHash"`
		AvailabilityStatus    int         `json:"availabilityStatus"`
		Privileges            interface{} `json:"privileges"`
	} `json:"generatedApp"`
	EngineGroup        interface{} `json:"engineGroup"`
	ParentRequestID    string      `json:"parentRequestId"`
	TimeToLive         int         `json:"timeToLive"`
	PurgeAfter         string      `json:"purgeAfter"`
	CurRowEstExpr      string      `json:"curRowEstExpr"`
	CurRowEstLowBound  int         `json:"curRowEstLowBound"`
	CurRowEstHighBound int         `json:"curRowEstHighBound"`
	ActualRowEst       int         `json:"actualRowEst"`
	BindingStateHash   int64       `json:"bindingStateHash"`
	SelectionState     []struct {
		SelectionAppParamType string `json:"selectionAppParamType"`
		SelectionAppParamName string `json:"selectionAppParamName"`
		Values                []struct {
			SelStatus string      `json:"selStatus"`
			StrValue  string      `json:"strValue"`
			NumValue  interface{} `json:"numValue"`
		} `json:"values"`
		SelectedSize int `json:"selectedSize"`
	} `json:"selectionState"`
	SelectionStateHash int64    `json:"selectionStateHash"`
	Privileges         []string `json:"privileges"`
	Kind               string   `json:"kind"`
	State              string   `json:"state"`
	ReloadCount        int      `json:"reloadCount"`
	LoadState          struct {
		Status     string `json:"status"`
		LoadHost   string `json:"loadHost"`
		StartedAt  string `json:"startedAt"`
		FinishedAt string `json:"finishedAt"`
		Messages   struct {
			Logfilepath  string   `json:"logfilepath"`
			Transient    []string `json:"transient"`
			ProgressData struct {
				PersistentProgressMessages []struct {
					QMessageCode       int      `json:"qMessageCode"`
					QMessageParameters []string `json:"qMessageParameters"`
				} `json:"persistentProgressMessages"`
				ErrorData []interface{} `json:"errorData"`
			} `json:"progressData"`
		} `json:"messages"`
	} `json:"loadState"`
	RetentionTime      int `json:"retentionTime"`
	BindSelectionState []struct {
		SelectionAppParamType string `json:"selectionAppParamType"`
		SelectionAppParamName string `json:"selectionAppParamName"`
		Values                []struct {
			SelStatus string      `json:"selStatus"`
			StrValue  string      `json:"strValue"`
			NumValue  interface{} `json:"numValue"`
		} `json:"values"`
	} `json:"bindSelectionState"`
}

type OdagGetRequests

type OdagGetRequests []OdagGetRequest

type OdagLinkBinding

type OdagLinkBinding struct {
	TemplateAppVarName string   `json:"templateAppVarName"`
	SelectAppParamType string   `json:"selectAppParamType"`
	SelectAppParamName string   `json:"selectAppParamName"`
	SelectionStates    string   `json:"selectionStates"`
	NumericOnly        bool     `json:"numericOnly"`
	Formatting         struct{} `json:"formatting"`
	Range              struct{} `json:"range"`
}

type OdagPostRequest

type OdagPostRequest struct {
	IOdagPostRequest
	Sheetname           string `json:"sheetname"`
	ClientContextHandle string `json:"clientContextHandle"`
}

type OdagPostRequestResponse

type OdagPostRequestResponse struct {
	ID                 string `json:"id"`
	CreatedDate        string `json:"createdDate"`
	ModifiedDate       string `json:"modifiedDate"`
	ModifiedByUserName string `json:"modifiedByUserName"`
	Owner              struct {
		ID            string      `json:"id"`
		UserID        string      `json:"userId"`
		UserDirectory string      `json:"userDirectory"`
		Name          string      `json:"name"`
		Privileges    interface{} `json:"privileges"`
	} `json:"owner"`
	CreatedByAnonymousUser string      `json:"createdByAnonymousUser"`
	Link                   interface{} `json:"link"`
	SelectionAppID         string      `json:"selectionAppId"`
	SelectionAppOrigName   string      `json:"selectionAppOrigName"`
	Sheetname              string      `json:"sheetname"`
	ClientContextHandle    string      `json:"clientContextHandle"`
	TargetSheet            string      `json:"targetSheet"`
	GeneratedAppOrigName   string      `json:"generatedAppOrigName"`
	GeneratedApp           interface{} `json:"generatedApp"`
	EngineGroup            interface{} `json:"engineGroup"`
	ParentRequestID        string      `json:"parentRequestId"`
	Engine                 string      `json:"engine"`
	TimeToLive             int         `json:"timeToLive"`
	PurgeAfter             string      `json:"purgeAfter"`
	CurRowEstExpr          string      `json:"curRowEstExpr"`
	CurRowEstLowBound      int         `json:"curRowEstLowBound"`
	CurRowEstHighBound     int         `json:"curRowEstHighBound"`
	ActualRowEst           int         `json:"actualRowEst"`
	BindingStateHash       int64       `json:"bindingStateHash"`
	SelectionState         []struct {
		SelectionAppParamType string `json:"selectionAppParamType"`
		SelectionAppParamName string `json:"selectionAppParamName"`
		Values                []struct {
			SelStatus string      `json:"selStatus"`
			StrValue  string      `json:"strValue"`
			NumValue  interface{} `json:"numValue"`
		} `json:"values"`
		SelectedSize int `json:"selectedSize"`
	} `json:"selectionState"`
	SelectionStateHash int64    `json:"selectionStateHash"`
	Privileges         []string `json:"privileges"`
	Kind               string   `json:"kind"`
	State              string   `json:"state"`
	ReloadCount        int      `json:"reloadCount"`
	LoadState          struct {
		Status string `json:"status"`
	} `json:"loadState"`
	RetentionTime      int `json:"retentionTime"`
	BindSelectionState []struct {
		SelectionAppParamType string `json:"selectionAppParamType"`
		SelectionAppParamName string `json:"selectionAppParamName"`
		Values                []struct {
			SelStatus string      `json:"selStatus"`
			StrValue  string      `json:"strValue"`
			NumValue  interface{} `json:"numValue"`
		} `json:"values"`
	} `json:"bindSelectionState"`
}

type OdagPostRequestSelectionState

type OdagPostRequestSelectionState struct {
	SelectionAppParamType string                          `json:"selectionAppParamType"`
	SelectionAppParamName string                          `json:"selectionAppParamName"`
	Values                []OdagPostRequestSelectionValue `json:"values"`
	SelectedSize          int                             `json:"selectedSize"`
}

type OdagPostRequestSelectionValue

type OdagPostRequestSelectionValue struct {
	SelStatus string `json:"selStatus"`
	StrValue  string `json:"strValue"`
	NumValue  string `json:"numValue"`
}
type OdagRequestByLink struct {
	ID           string `json:"id"`
	CreatedDate  string `json:"createdDate"`
	ModifiedDate string `json:"modifiedDate"`
	Owner        struct {
		ID       string `json:"id"`
		Name     string `json:"name"`
		Subject  string `json:"subject"`
		Tenantid string `json:"tenantid"`
	} `json:"owner"`
	Link             string `json:"link"`
	SelectionApp     string `json:"selectionApp"`
	SelectionAppName string `json:"selectionAppName"`
	Sheetname        string `json:"sheetname"`
	GeneratedApp     struct {
		ID   string `json:"id"`
		Name string `json:"name"`
	} `json:"generatedApp"`
	GeneratedAppName string `json:"generatedAppName"`
	ParentRequestID  string `json:"parentRequestId"`
	Kind             string `json:"kind"`
	State            string `json:"state"`
	TemplateApp      string `json:"templateApp"`
	TemplateAppName  string `json:"templateAppName"`
	LoadState        struct {
		LoadHost   string `json:"loadHost"`
		StartedAt  string `json:"startedAt"`
		FinishedAt string `json:"finishedAt"`
		Status     string `json:"status"`
	} `json:"loadState"`
	TimeToLive         int      `json:"timeToLive"`
	RetentionTime      int      `json:"retentionTime"`
	PurgeAfter         string   `json:"purgeAfter"`
	CurRowEstExpr      string   `json:"curRowEstExpr"`
	CurRowEstLowBound  int      `json:"curRowEstLowBound"`
	CurRowEstHighBound int      `json:"curRowEstHighBound"`
	ActualRowEst       int      `json:"actualRowEst"`
	TargetSheet        string   `json:"targetSheet"`
	BindingStateHash   int      `json:"bindingStateHash"`
	SelectionStateHash int      `json:"selectionStateHash"`
	Validation         []string `json:"validation"`
	ErrorMessage       string   `json:"errorMessage"`
}
type OdagRequestsByLink []OdagRequestByLink

type PostCopyApp

type PostCopyApp struct {
	Attributes struct {
		Name        string `json:"name"`
		Description string `json:"description"`
		SpaceID     string `json:"spaceId"`
	} `json:"attributes"`
}

type ReloadResponse added in v0.6.0

type ReloadResponse struct {
	ID           string `json:"id"`
	AppID        string `json:"appId"`
	TenantID     string `json:"tenantId"`
	UserID       string `json:"userId"`
	Type         string `json:"type"`
	Status       string `json:"status"`
	Log          string `json:"log"`
	Duration     string `json:"duration"`
	CreationTime string `json:"creationTime"`
	StartTime    string `json:"startTime"`
	EndTime      string `json:"endTime"`
	EngineTime   string `json:"engineTime"`
}

type SearchResult

type SearchResult struct {
	Data  []interface{} `json:"data"`
	Links interface{}   `json:"links"`
}

type ShareAppsEndpointPayload

type ShareAppsEndpointPayload struct {
	Attributes struct {
		Custom struct {
			Groupswithaccess  []string `json:"groupswithaccess"`
			UserIdsWithAccess []string `json:"userIdsWithAccess"`
		} `json:"custom"`
	} `json:"attributes"`
}

type ShareItemsEndpointPayload

type ShareItemsEndpointPayload struct {
	Name                     string `json:"name"`
	ResourceType             string `json:"resourceType"`
	ResourceID               string `json:"resourceId"`
	ResourceCustomAttributes struct {
		Groupswithaccess  []string `json:"groupswithaccess"`
		UserIdsWithAccess []string `json:"userIdsWithAccess"`
	} `json:"resourceCustomAttributes"`
}

type Space

type Space struct {
	CreatedAt   string `json:"createdAt"`
	CreatedBy   string `json:"createdBy"`
	Description string `json:"description"`
	ID          string `json:"id"`
	Links       struct {
		Assignments Href `json:"assignments"`
		Self        Href `json:"self"`
	} `json:"links"`
	Meta struct {
		Actions         []string      `json:"actions"`
		AssignableRoles []string      `json:"assignableRoles"`
		Roles           []interface{} `json:"roles"`
	} `json:"meta"`
	Name      string `json:"name"`
	OwnerID   string `json:"ownerId"`
	TenantID  string `json:"tenantId"`
	Type      string `json:"type"`
	UpdatedAt string `json:"updatedAt"`
}

Space QSEoK space definition

type SpaceReference added in v0.5.0

type SpaceReference struct {
	SpaceID string `json:"spaceId"`
}

type Spaces

type Spaces struct {
	Data  []Space `json:"data"`
	Links struct {
		Self Href `json:"self"`
		Next Href `json:"next"`
		Prev Href `json:"prev"`
	} `json:"links"`
	Meta struct {
		Count int `json:"count"`
	} `json:"meta"`
}

Spaces response of spaces request

type User

type User struct {
	ID          string    `json:"id"`
	Name        string    `json:"name"`
	Subject     string    `json:"subject"`
	TenantID    string    `json:"tenantId"`
	Created     time.Time `json:"created"`
	LastUpdated time.Time `json:"lastUpdated"`
	JwtClaims   struct {
		UserID   string   `json:"userId"`
		TenantID string   `json:"tenantId"`
		SubType  string   `json:"subType"`
		Sub      string   `json:"sub"`
		Groups   []string `json:"groups"`
	} `json:"jwtClaims"`
	Links struct {
		Self struct {
			Href string `json:"href"`
		} `json:"self"`
	} `json:"links"`
}

Jump to

Keyboard shortcuts

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