go-mstdn/ent/admn/ip.go

15 lines
289 B
Go
Raw Normal View History

2023-09-26 05:59:13 +00:00
package admn
import (
"sourcecode.social/reiver/go-opt"
)
// IP represents a Mastodon API "Admin::Ip".
//
// See:
// https://docs.joinmastodon.org/entities/Admin_Ip/
type IP struct {
IP opt.Optional[string] `json:"ip"` // ip-address
UsedAt opt.Optional[string] `json:"used_at"`
}