You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
740 B

4 months ago
package models
import "time"
type ListFolderResponse struct {
List ListFolder `json:"folder_list"`
RequestID string `json:"request_id"`
}
type ListFolder struct {
Total int `json:"total"`
Page int `json:"page"`
PerPage int `json:"per_page"`
IsApproximateTotal bool `json:"is_approximate_total"`
Items []ItemFolder `json:"items"`
HasMore bool `json:"has_more"`
}
type ItemFolder struct {
FolderID int `json:"folder_id"`
Deleted time.Time `json:"deleted"`
Name string `json:"name"`
IconType any `json:"icon_type"`
Created time.Time `json:"created"`
ParentID any `json:"parent_id"`
}