structs

package
v0.18.6 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StreamTypeApp = "App"
)
View Source
const (
	StreamsTypeStream = "Stream"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IOdagPostRequest

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

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"`
	LoadState struct {
		Status string `json:"status"`
	} `json:"loadState"`
}

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"`
}

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"`
	GeneratedApp struct {
		ID   string `json:"id"`
		Name string `json:"name"`
	} `json:"generatedApp"`
}
type OdagRequestsByLink []OdagRequestByLink

type Privileges added in v0.10.0

type Privileges struct {
	Data []struct {
		Attributes struct {
			Definition struct {
				App          []string `json:"app"`
				Features     []string `json:"features"`
				Installation string   `json:"installation"`
				Override     struct {
				} `json:"override"`
				QvVersion string        `json:"qvVersion"`
				Stream    []interface{} `json:"stream"`
				Schemas   []interface{} `json:"schemas"`
				Routes    []interface{} `json:"routes"`
			} `json:"definition"`
		} `json:"attributes"`
		Type string `json:"type"`
	} `json:"data"`
	Links struct {
		Self string `json:"self"`
	} `json:"links"`
}

type Stream added in v0.10.0

type Stream struct {
	Data []struct {
		Type       string `json:"type"`
		ID         string `json:"id"`
		Attributes struct {
			FileSize           int           `json:"fileSize"`
			SourceAppID        string        `json:"sourceAppId"`
			TargetAppID        string        `json:"targetAppId"`
			Name               string        `json:"name"`
			Privileges         []string      `json:"privileges"`
			LastReloadTime     time.Time     `json:"lastReloadTime"`
			CreatedDate        time.Time     `json:"createdDate"`
			PublishTime        time.Time     `json:"publishTime"`
			Published          bool          `json:"published"`
			Description        string        `json:"description"`
			DynamicColor       string        `json:"dynamicColor"`
			Thumbnail          string        `json:"thumbnail"`
			AvailabilityStatus int           `json:"availabilityStatus"`
			Features           []string      `json:"features"`
			CustomProperties   []interface{} `json:"customProperties"`
		} `json:"attributes"`
		Relationships struct {
			Owner  StreamRelationships `json:"owner"`
			Stream StreamRelationships `json:"stream"`
		} `json:"relationships"`
	} `json:"data"`
	Included []struct {
		Attributes struct {
			Name          string      `json:"name"`
			UserID        *string     `json:"userId,omitempty"`
			UserDirectory *string     `json:"userDirectory,omitempty"`
			Privileges    interface{} `json:"privileges,omitempty"`
		} `json:"attributes"`
		ID   string `json:"id"`
		Type string `json:"type"`
	} `json:"included"`
}

type StreamRelationships added in v0.10.0

type StreamRelationships struct {
	Data StreamRelationshipsData `json:"data"`
}

type StreamRelationshipsData added in v0.10.0

type StreamRelationshipsData struct {
	ID   string `json:"id"`
	Type string `json:"type"`
}

type Streams added in v0.10.0

type Streams struct {
	Data []struct {
		Attributes struct {
			ModifiedDate time.Time `json:"modifiedDate"`
			Name         string    `json:"name"`
			Privileges   []string  `json:"privileges"`
		} `json:"attributes"`
		ID            string `json:"id"`
		Relationships struct {
			Owner struct {
				Data struct {
					ID   string `json:"id"`
					Type string `json:"type"`
				} `json:"data"`
			} `json:"owner"`
		} `json:"relationships"`
		Type string `json:"type"`
	} `json:"data"`
	Included []struct {
		Attributes struct {
			Name          string `json:"name"`
			UserDirectory string `json:"userDirectory"`
			UserID        string `json:"userId"`
		} `json:"attributes"`
		ID   string `json:"id"`
		Type string `json:"type"`
	} `json:"included"`
}

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