model

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

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	ID        string
	TargetURL string
}

type APIPage

type APIPage struct {
	Data     []API
	PageInfo PageInfo
}

type Application

type Application struct {
	ID          string
	Tenant      string
	Name        string
	Description string
	Labels      string
	Apis        APIPage
	Documents   DocumentPage
}

type ApplicationPage

type ApplicationPage struct {
	Data     []Application
	PageInfo PageInfo
}

type Document

type Document struct {
	ID     string
	Title  string
	Format string
	Data   string
}

type DocumentPage

type DocumentPage struct {
	Data     []Document
	PageInfo PageInfo
}

type Filer

type Filer struct {
	Labels map[string]string
}

type PageInfo

type PageInfo struct {
	TotalCount             int
	HasNextPage            bool
	StartCursor, EndCursor string
}

type PageRequest

type PageRequest struct {
	AfterCursor string
	PageSize    int
}

Jump to

Keyboard shortcuts

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