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
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 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 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 OdagRequestByLink ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.