Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Asset ¶
type Asset struct {
ID int `json:"id"`
ParentAssetID int `json:"parentAssetID"`
Category string `json:"category,omitempty"`
CheckedOutTo int `json:"checkedOutTo,omitempty"`
CreatedAt time.Time `json:"createdAt"`
CreatedBy int `json:"createdBy"`
CustomAttrs []CustomAttr `json:"customAttrs"`
ImageURL string `json:"imageURL,omitempty"`
Location string `json:"location,omitempty"`
Manufacturer string `json:"manufacturer,omitempty"`
Model string `json:"model,omitempty"`
ModelNo string `json:"modelNo,omitempty"`
Name string `json:"name"`
Notes string `json:"notes,omitempty"`
PartsTotalCount int `json:"partsTotalCount,omitempty"`
PositionCode string `json:"positionCode,omitempty"`
Quantity int `json:"quantity,omitempty"`
QuantityUnit string `json:"quantityUnit,omitempty"`
SerialNo string `json:"serialNo,omitempty"`
Status string `json:"status"`
Tag string `json:"tag"`
ThumbnailURL string `json:"thumbnailURL,omitempty"`
Type string `json:"type"`
UpdatedAt time.Time `json:"updatedAt"`
WarrantyUntil time.Time `json:"warrantyUntil,omitempty"`
}
type CustomAttr ¶
Click to show internal directories.
Click to hide internal directories.