response

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenBean

type AccessTokenBean struct {
	Token      string `json:"token"`
	ExpireTime string `json:"expireTime"`
}

func (*AccessTokenBean) ToString

func (o *AccessTokenBean) ToString() string

type AppendFileBean

type AppendFileBean struct {
	AppendFileId int64  `json:"appendFileId"`
	Name         string `json:"name"`
	Length       int64  `json:"length"`
	Position     int64  `json:"position"`
	Status       string `json:"status"`
	CreateTime   string `json:"createTime"`
	File         FileBean
}

type Area

type Area struct {
	Id        string  `json:"id"`
	Name      string  `json:"name"`
	Boundary  string  `json:"boundary"`
	ViewName  string  `json:"viewName"`
	LevelId   string  `json:"levelId"`
	Area      float64 `json:"area"`
	Perimeter float64 `json:"perimeter"`

	MaxPt *common.Coordinate `json:"maxPt,omitempty"`
	MinPt *common.Coordinate `json:"minPt,omitempty"`

	Properties []*common.PropertyGroup `json:"properties"`
}

type AreaBean

type AreaBean Area

type BatchDeleteResultBean

type BatchDeleteResultBean struct {
	Deleted      []int64 `json:"deleted"`      //
	Nonexistence []int64 `json:"nonexistence"` //不存在的
}

type DataBagBean

type DataBagBean DataBagDerivativeBean

type DataBagDerivativeBean

type DataBagDerivativeBean struct {
	Length         int64  `json:"length"`
	DataBagVersion string `json:"databagVersion"`

	Reason string `json:"reason"`
	Status string `json:"status"`

	CreateTime string `json:"createTime"`
}

type DrawingCompareDiff

type DrawingCompareDiff struct {
	Id       string `json:"Id"`
	DiffType string `json:"diffType"` //只有三种:NEW DELETE CHANGE
	Layer    string `json:"layer"`
}

type DrawingCompareDiffBean

type DrawingCompareDiffBean DrawingCompareDiff

type DrawingCompareDiffPagination

type DrawingCompareDiffPagination struct {
	Page  int                       `json:"page"`
	Total int                       `json:"total"`
	Data  []*DrawingCompareDiffBean `json:"data"`
}

type DrawingCompareDiffsBean

type DrawingCompareDiffsBean DrawingCompareDiffPagination

type ElementBoundingBoxBean

type ElementBoundingBoxBean ElementIdWithBoundingBox

type ElementIdWithBoundingBox

type ElementIdWithBoundingBox struct {
	ElementId   string             `json:"elementId"`
	BoundingBox common.BoundingBox `json:"boundingBox"`
}

type ElementIds added in v3.0.1

type ElementIds struct {
	TargetId   string   `json:"targetId"`
	ElementIds []string `json:"elementIds"`
}

type ElementIdsArrayBean added in v3.0.1

type ElementIdsArrayBean []ElementIds

type ElementIdsBean added in v3.0.1

type ElementIdsBean ElementIds

type ElementNodeBean

type ElementNodeBean common.TreeNode

type ElementNodeTree

type ElementNodeTree common.Tree

type FileBean

type FileBean struct {
	FileId     int64  `json:"fileId"`
	Name       string `json:"name"`
	Status     string `json:"status"`
	Etag       string `json:"etag"`
	Suffix     string `json:"suffix"`
	Length     int64  `json:"length"`
	CreateTime string `json:"createTime"`
}

func (*FileBean) ToString

func (o *FileBean) ToString() string

type FileIntegrateBean

type FileIntegrateBean struct {
	IntegrateId int64  `json:"integrateId"`
	Name        string `json:"name"`
	Type        string `json:"type"`
	SourceId    string `json:"string"`

	Status    string   `json:"status"`
	Reason    string   `json:"reason"`
	Thumbnail []string `json:"thumbnail"`

	CreateTime string `json:"createTime"`
}

type FileIntegrateDetailBean

type FileIntegrateDetailBean struct {
	IntegrateId int64  `json:"integrateId"`
	SourceId    string `json:"sourceId"` //模型对应的sourceld
	Name        string `json:"name"`     //集成模型的名称

	DatabagId            string `json:"databagId"` //数据包id
	OfflineDatabagStatus string `json:"offlineDatabagStatus"`

	ShareToken string `json:"shareToken"`
	ShareUrl   string `json:"shareUrl"`

	Reason string `json:"reason"` //若转换失败,返回失败原因
	Status string `json:"status"`

	Type       string   `json:"type"`       //转换类型 rvt-translate(或者igms-translate…​)
	WorkerType string   `json:"workerType"` //转换类型 rvt-translate(或者igms-translate…​)
	Thumbnail  []string `json:"thumbnail"`  //模型的缩略图

	Cost       int    `json:"cost"`       //任务耗时(秒)
	CreateTime string `json:"createTime"` //创建时间 示例:2019-05-01 desc
}

type FileIntegrateDetailBeanPageList

type FileIntegrateDetailBeanPageList struct {
	common.PageList
	List []*FileIntegrateDetailBean `json:"list"`
}

type FileSupportBean

type FileSupportBean struct {
	Length int64    `json:"length"`
	Types  []string `json:"types"`
}

func (*FileSupportBean) ToString

func (o *FileSupportBean) ToString() string

ToString get the string

type FileTranslateBean

type FileTranslateBean struct {
	FileId     int64    `json:"fileId"`
	Name       string   `json:"name"`
	DatabagId  string   `json:"databagId"`
	Status     string   `json:"status"`
	Reason     string   `json:"reason"`
	Thumbnail  []string `json:"thumbnail"` // thumbnail http links
	CreateTime string   `json:"createTime"`
}

type FileTranslateDetailBean

type FileTranslateDetailBean struct {
	AppKey               string   `json:"appKey"`               //应用的appKey
	Cost                 int      `json:"cost"`                 //任务耗时(秒)
	CreateTime           string   `json:"createTime"`           //创建时间 示例:2019-05-01 desc
	DatabagId            string   `json:"databagId"`            //数据包id
	FileId               int64    `json:"fileId"`               //单模型对应的id
	Length               int64    `json:"length"`               //文件长度
	Name                 string   `json:"name"`                 //集成模型的名称
	OfflineDatabagStatus string   `json:"offlineDatabagStatus"` //集成模型的名称
	Reason               string   `json:"reason"`               //若转换失败,返回失败原因
	Retry                bool     `json:"retry"`                //重试
	ShareToken           string   `json:"shareToken"`           //分享码
	ShareUrl             string   `json:"shareUrl"`             //分享链接
	SourceId             string   `json:"sourceId"`             //模型对应的sourceld
	Status               string   `json:"status"`               //模型状态 processing(处理中); success(成功); failed(失败)
	SupprtOfflineDatabag bool     `json:"supprtOfflineDatabag"` //是否支持离线数据包
	Thumbnail            []string `json:"thumbnail"`            //模型的缩略图
	Type                 string   `json:"type"`                 //转换类型 rvt-translate(或者igms-translate…​)
}

type FileTranslateDetailBeanPageList

type FileTranslateDetailBeanPageList struct {
	common.PageList
	List []*FileTranslateDetailBean `json:"list"`
}

type FileUploadStatusBean

type FileUploadStatusBean struct {
	FileId       int64  `json:"fileId"`
	Name         string `json:"name"`
	FailedReason int64  `json:"failedReason"`
	Status       string `json:"status"`
}

type Floor

type Floor struct {
	Id         string  `json:"id"`
	Name       string  `json:"name"`
	Elevation  float64 `json:"elevation"`
	ArchElev   float64 `json:"archElev"`
	StructElev float64 `json:"structElev"`
	Height     float64 `json:"height"`
	MiniMap    string  `json:"miniMap"`

	Areas []*ObjectOnFloor `json:"areas,omitempty"`
	Rooms []*ObjectOnFloor `json:"rooms,omitempty"`
}

type FloorBean

type FloorBean Floor

type FloorsBean

type FloorsBean struct {
	FileId int64    `json:"FileId"`
	Floors []*Floor `json:"floors,omitempty"`
}

type IntegrateFileBean

type IntegrateFileBean IntegrateFileData

type IntegrateFileData

type IntegrateFileData struct {
	IntegrateId int64 `json:"integrateId"`

	FileId   int64  `json:"fileId"`
	FileName string `json:"fileName"`
	LinkedBy string `json:"linkedBy"`

	DatabagId         string `json:"databagId"`
	DrawingSheetCount int    `json:"drawingSheetCount"`

	Floor     string  `json:"floor"`
	FloorSort float64 `json:"floorSort"`

	Specialty     string  `json:"specialty"`
	SpecialtySort float64 `json:"specialtySort"`
}
type Link struct {
	Id        int64  `json:"id"`
	Name      string `json:"name"`
	Guid      string `json:"guid"`
	Transform string `json:"transform"`
}

type LinkBean

type LinkBean Link

type LinkGraphNode

type LinkGraphNode struct {
	Name      string `json:"name"`
	FileId    string `json:"fileId"`
	DatabagId string `json:"databagId"`

	LinkName      string `json:"linkName"`
	LinkPathHash  string `json:"linkPathHash"`
	LinkTransform string `json:"linkTransform"`

	Links  []*LinkGraphNode `json:"links,omitempty"`
	Params []interface{}    `json:"params,omitempty"`
}

type LinkGraphNodeBean

type LinkGraphNodeBean LinkGraphNode

type MEPSysBean

type MEPSysBean MEPSystem

type MEPSystem

type MEPSystem struct {
	Id   string `json:"id"`
	Name string `json:"name"`

	SystemType     string `json:"systemType"`
	SystemCategory string `json:"systemCategory"`
	BaseEquipment  string `json:"baseEquipment"`

	Terminals []string       `json:"terminals,omitempty"`
	Network   []*NetworkNode `json:"network,omitempty"`
}

type MaterialBean

type MaterialBean MaterialInfo

type MaterialInfo

type MaterialInfo struct {
	Id         string                `json:"id"`
	Name       string                `json:"name"`
	Parameters *common.PropertyGroup `json:"parameters,omitempty"`
}

type ModelCompareBean

type ModelCompareBean struct {
	CompareId int64 `json:"compareId"`

	Name     string `json:"name"`     //集成模型的名称
	SourceId string `json:"sourceId"` //模型对应的sourceld

	OfflineDatabagStatus string `json:"offlineDatabagStatus"`

	Reason string `json:"reason"` //若转换失败,返回失败原因
	Status string `json:"status"`

	Type       string   `json:"type"`       //
	WorkerType string   `json:"workerType"` //
	Thumbnail  []string `json:"thumbnail"`  //模型的缩略图

	Cost       int    `json:"cost"`       //任务耗时(秒)
	CreateTime string `json:"createTime"` //创建时间 示例:2019-05-01 desc
}

type ModelCompareBeanPageList

type ModelCompareBeanPageList struct {
	common.PageList
	List []*ModelCompareBean `json:"list"`
}

type ModelCompareChange

type ModelCompareChange struct {
	A string `json:"_A"`
	B string `json:"_B"`

	NewAttributes []*common.Attribute `json:"newAttributes"`
	NewQuantities []*common.Quantity  `json:"newQuantities"`

	DeleteAttributes []*common.Attribute `json:"deleteAttributes"`
	DeleteQuantities []*common.Quantity  `json:"deleteQuantities"`

	ChangeAttributes []*common.ChangeAttribute `json:"changeAttributes"`
	ChangeQuantities []*common.ChangeQuantity  `json:"changeQuantities"`
}

type ModelCompareChangeBean

type ModelCompareChangeBean ModelCompareChange

type ModelCompareDiff

type ModelCompareDiff struct {
	Id string `json:"Id"`

	DiffType    string `json:"diffType"`    //只有三种:NEW DELETE CHANGE
	PreviousId  int64  `json:"previousId"`  //变更前文件ID
	FollowingId int64  `json:"followingId"` //变更后文件ID

	Specialty string `json:"specialty"`

	CategoryId   string `json:"categoryId"`
	CategoryName string `json:"categoryName"`

	Family string `json:"family"`

	ElementId   string `json:"elementId"`
	ElementName string `json:"elementName"`
}

type ModelCompareDiffBean

type ModelCompareDiffBean ModelCompareDiff

type ModelCompareDiffPagination

type ModelCompareDiffPagination struct {
	Page  int                     `json:"page"`
	Total int                     `json:"total"`
	Data  []*ModelCompareDiffBean `json:"data"`
}

type ModelCompareDiffsBean

type ModelCompareDiffsBean ModelCompareDiffPagination

type NetworkNode

type NetworkNode struct {
	Id   string `json:"id"`
	Type string `json:"type"`
}

type ObjectOnFloor

type ObjectOnFloor struct {
	Id       string `json:"id"`
	Name     string `json:"name"`
	Boundary string `json:"boundary"`
	LevelId  string `json:"levelId"`

	MaxPt *common.Coordinate `json:"maxPt,omitempty"`
	MinPt *common.Coordinate `json:"minPt,omitempty"`
}

type Property

type Property struct {
	Id          string                  `json:"elementId"`
	Name        string                  `json:"name"`
	GUId        string                  `json:"guid"`
	FamilyGUId  string                  `json:"familyGuid"`
	BoundingBox common.BoundingBox      `json:"boundingBox"`
	Properties  []*common.PropertyGroup `json:"properties"`
}

func (*Property) AddPropertyGroup

func (o *Property) AddPropertyGroup(group *common.PropertyGroup)

func (*Property) ToString

func (o *Property) ToString() string

type PropertyBean

type PropertyBean Property

type PropertyValuesBean added in v3.0.1

type PropertyValuesBean struct {
	Property string   `json:"property"`
	Values   []string `json:"values"`
}

type PropertyValuesBeanList added in v3.0.1

type PropertyValuesBeanList []*PropertyValuesBean

type Room

type Room struct {
	Id        string  `json:"id"`
	Name      string  `json:"name"`
	Boundary  string  `json:"boundary"`
	LevelId   string  `json:"levelId"`
	Area      float64 `json:"area"`
	Perimeter float64 `json:"perimeter"`

	MaxPt *common.Coordinate `json:"maxPt,omitempty"`
	MinPt *common.Coordinate `json:"minPt,omitempty"`

	BBoxMax *common.Coordinate `json:"bboxMax,omitempty"`
	BBoxMin *common.Coordinate `json:"bboxMin,omitempty"`

	Properties []*common.PropertyGroup `json:"properties"`
}

type RoomBean

type RoomBean Room

type ShareLinkBean

type ShareLinkBean struct {
	URL        string `json:"url"`
	ExpireTime string `json:"expireTime"`
	Password   string `json:"password"`
	SourceId   string `json:"sourceId"`
	SourceName string `json:"sourceName"`
	SourceType string `json:"sourceType"`
	AppKey     string `json:"appKey"`
}

func (*ShareLinkBean) ToString

func (o *ShareLinkBean) ToString() string

ToString get the string

type ShareLinkBeanPageList

type ShareLinkBeanPageList struct {
	common.PageList
	List []*ShareLinkBean `json:"list"`
}

Jump to

Keyboard shortcuts

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