Documentation
¶
Index ¶
- Constants
- type IOdagPostRequest
- type OdagGetLink
- type OdagGetLinkInfo
- type OdagGetLinks
- type OdagGetRequest
- type OdagGetRequests
- type OdagLinkBinding
- type OdagPostRequest
- type OdagPostRequestResponse
- type OdagPostRequestSelectionState
- type OdagPostRequestSelectionValue
- type OdagRequestByLink
- type OdagRequestsByLink
- type Privileges
- type Stream
- type StreamRelationships
- type StreamRelationshipsData
- type Streams
- type User
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 ¶
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 ¶
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 OdagRequestByLink ¶
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 ¶
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 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"`
}
Click to show internal directories.
Click to hide internal directories.