| 50 | } |
| 51 | |
| 52 | type APIItem struct { |
| 53 | Id string `json:"id"` |
| 54 | Name string `json:"name"` |
| 55 | ModelType ModelType `json:"model_type"` |
| 56 | RequestPath string `json:"request_path"` |
| 57 | Description string `json:"description"` |
| 58 | Disable bool `json:"disabled"` |
| 59 | Creator auto.Label `json:"creator" aolabel:"user"` |
| 60 | Updater auto.Label `json:"updater" aolabel:"user"` |
| 61 | CreateTime auto.TimeLabel `json:"create_time"` |
| 62 | UpdateTime auto.TimeLabel `json:"update_time"` |
| 63 | Provider ProviderItem `json:"provider"` |
| 64 | Model ModelItem `json:"model"` |
| 65 | } |
| 66 | |
| 67 | type ModelItem struct { |
| 68 | Id string `json:"id"` |
nothing calls this directly
no outgoing calls
no test coverage detected