package feature_wl

import (
	"time"
)

type FeatureWhitelistInfo struct {
	Name          string     `json:"name"`
	Description   string     `json:"description"`
	Owner         string     `json:"owner"`
	EmailSuffixes []string   `json:"email_suffixes"`
	MinOrgId      string     `json:"min_org_id"`
	OrgIds        []string   `json:"org_ids"`
	CreatedAt     *time.Time `json:"created_at"`
	UpdatedAt     *time.Time `json:"updated_at"`
}

type ListFeatureWhitelistsResp struct {
	Total      uint64                  `json:"total"`
	TotalPages uint64                  `json:"total_pages"`
	Page       uint32                  `json:"page"`
	Items      []*FeatureWhitelistInfo `json:"items"`
}
