model

package
v0.0.0-...-5b4c5eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection interface {
	IsConnection()
	GetPageInfo() *PageInfo
	GetEdges() []Edge
	GetNodes() []Node
}

type CreateFollowingTeacherInput

type CreateFollowingTeacherInput struct {
	TeacherIDOrURL string `json:"teacherIdOrUrl"`
}

type CreateFollowingTeacherPayload

type CreateFollowingTeacherPayload struct {
	ID        string `json:"id"`
	TeacherID string `json:"teacherId"`
}

type DeleteFollowingTeachersInput

type DeleteFollowingTeachersInput struct {
	TeacherIds []string `json:"teacherIds"`
}

type DeleteFollowingTeachersPayload

type DeleteFollowingTeachersPayload struct {
	TeacherIds []string `json:"teacherIds"`
}

type Edge

type Edge interface {
	IsEdge()
	GetCursor() string
	GetNode() Node
}

type Empty

type Empty struct {
	ID string `json:"id"`
}

type FollowingTeacher

type FollowingTeacher struct {
	ID        string   `json:"id"`
	Teacher   *Teacher `json:"teacher"`
	CreatedAt string   `json:"createdAt"`
}

func (FollowingTeacher) GetID

func (this FollowingTeacher) GetID() string

func (FollowingTeacher) IsNode

func (FollowingTeacher) IsNode()

type FollowingTeacherConnection

type FollowingTeacherConnection struct {
	PageInfo *PageInfo               `json:"pageInfo"`
	Edges    []*FollowingTeacherEdge `json:"edges"`
	Nodes    []*FollowingTeacher     `json:"nodes"`
}

func (FollowingTeacherConnection) GetEdges

func (this FollowingTeacherConnection) GetEdges() []Edge

func (FollowingTeacherConnection) GetNodes

func (this FollowingTeacherConnection) GetNodes() []Node

func (FollowingTeacherConnection) GetPageInfo

func (this FollowingTeacherConnection) GetPageInfo() *PageInfo

func (FollowingTeacherConnection) IsConnection

func (FollowingTeacherConnection) IsConnection()

type FollowingTeacherEdge

type FollowingTeacherEdge struct {
	Cursor string            `json:"cursor"`
	Node   *FollowingTeacher `json:"node"`
}

func (FollowingTeacherEdge) GetCursor

func (this FollowingTeacherEdge) GetCursor() string

func (FollowingTeacherEdge) GetNode

func (this FollowingTeacherEdge) GetNode() Node

func (FollowingTeacherEdge) IsEdge

func (FollowingTeacherEdge) IsEdge()

type Node

type Node interface {
	IsNode()
	GetID() string
}

type NotificationTimeSpan

type NotificationTimeSpan struct {
	FromHour   int `json:"fromHour"`
	FromMinute int `json:"fromMinute"`
	ToHour     int `json:"toHour"`
	ToMinute   int `json:"toMinute"`
}

type NotificationTimeSpanInput

type NotificationTimeSpanInput struct {
	FromHour   int `json:"fromHour"`
	FromMinute int `json:"fromMinute"`
	ToHour     int `json:"toHour"`
	ToMinute   int `json:"toMinute"`
}

type NotificationTimeSpanPayload

type NotificationTimeSpanPayload struct {
	TimeSpans []*NotificationTimeSpan `json:"timeSpans,omitempty"`
}

type PageInfo

type PageInfo struct {
	HasNextPage     bool `json:"hasNextPage"`
	HasPreviousPage bool `json:"hasPreviousPage"`
}

type Teacher

type Teacher struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type UpdateNotificationTimeSpansInput

type UpdateNotificationTimeSpansInput struct {
	TimeSpans []*NotificationTimeSpanInput `json:"timeSpans"`
}

type UpdateViewerInput

type UpdateViewerInput struct {
	Email *string `json:"email,omitempty"`
}

type User

type User struct {
	ID           string `json:"id"`
	Email        string `json:"email"`
	ShowTutorial bool   `json:"showTutorial"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL