go-mstdn/ent/admn/dimension.go

15 lines
294 B
Go
Raw Permalink Normal View History

2023-09-26 06:53:38 +00:00
package admn
import (
"github.com/reiver/go-opt"
2023-09-26 06:53:38 +00:00
)
// Dimension represents a Mastodon API "Admin::Dimension".
//
// See:
// https://docs.joinmastodon.org/entities/Admin_Dimension/
type Dimension struct {
Key opt.Optional[string] `json:"key"`
Data []DimensionData `json:"data"`
}