models

package
v0.0.0-...-cb8fef0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoToken      = iota
	AccessToken  = iota
	RefreshToken = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Flower

type Flower struct {

	// 青色の値(%)
	Blue int64 `json:"blue,omitempty"`

	// 花びらの所属するカテゴリ
	Category string `json:"category,omitempty"`

	// 緑色の値(%)
	Green int64 `json:"green,omitempty"`

	// 花びらの名前
	Name string `json:"name,omitempty"`

	// 赤色の値(%)
	Red int64 `json:"red,omitempty"`
}

Flower 花びら定義 swagger:model Flower

func (*Flower) Validate

func (m *Flower) Validate(formats strfmt.Registry) error

Validate validates this flower

type ImageSet

type ImageSet struct {

	// Base64エンコードされたベース画像
	BaseImage string `json:"base_image,omitempty"`

	// Base64エンコードされたマスク画像
	MaskImage string `json:"mask_image,omitempty"`

	// 装備画像セットの名前
	Name string `json:"name,omitempty"`
}

ImageSet 装備画像セット(ベース画像とマスク画像のペア) swagger:model ImageSet

func (*ImageSet) Validate

func (m *ImageSet) Validate(formats strfmt.Registry) error

Validate validates this image set

type Item

type Item struct {

	// 装備画像セット
	Images []*ImageSet `json:"images"`

	// 装備の名前
	Name string `json:"name,omitempty"`
}

Item 装備情報 swagger:model Item

func (*Item) Validate

func (m *Item) Validate(formats strfmt.Registry) error

Validate validates this item

type Principal

type Principal struct {
	AuthType  string
	User      string
	ExpiresIn *time.Time
	TokenType TokenType
}

type TokenType

type TokenType int

Jump to

Keyboard shortcuts

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