Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkedProperty ¶
type Property ¶
type Property struct { ConceptTitle bool `json:"conceptTitle"` // DataType can be a string or a JSON object DataType json.RawMessage `json:"dataType"` Default bool `json:"default"` DisplayName string `json:"displayName"` Locked bool `json:"locked"` Name string `json:"name"` Required bool `json:"required"` Value any `json:"value"` }
func (Property) ArrayValue ¶
func (Property) DecodeDataType ¶
type Proxy ¶
type Proxy struct { ProxyID ProxyPackage }
type ProxyPackage ¶
type ProxyPackage struct {
Content ProxyPackageContent `json:"content"`
}
ProxyPackage should also have "children" and "properties" slices, but we don't need them for now
type ProxyPackageContent ¶
type ProxyPackageContent struct { CreatedAt time.Time `json:"createdAt"` DatasetId string `json:"datasetId"` DatasetNodeId string `json:"datasetNodeId"` ID string `json:"id"` Name string `json:"name"` NodeID string `json:"nodeId"` OwnerID int `json:"ownerId"` PackageType string `json:"packageType"` State string `json:"state"` UpdatedAt time.Time `json:"updatedAt"` }
type RawFromFile ¶
type RawFromFile [2]json.RawMessage
RawFromFile represents the structure of proxy instances as they appear in the downloaded files. The first json.RawMessage is a ProxyID and the second is a ProxyPackage A downloaded file will contain a []RawFromFile
Click to show internal directories.
Click to hide internal directories.