This commit is contained in:
asteam
2024-10-01 11:15:36 +03:00
commit a25a3c2e5c
81 changed files with 5143 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
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"`
}