docmodels

package
v0.0.0-...-1a7f21c Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 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 RequestBodyAnnouncePost

type RequestBodyAnnouncePost struct {
	Title       string `json:"title" example:"Title"`
	Description string `json:"description" example:"This field is optional"`
	TargetDate  string `json:"target_date" swaggertype:"string" format:"date-time"`
}

type RequestBodyImagePost

type RequestBodyImagePost struct {
	Image string `` /* 132-byte string literal not displayed */
}

type RequestBodyPatchUser

type RequestBodyPatchUser struct {
	Username     string `json:"username" example:"devsdk"`
	ProfileImage string `json:"profile_image_id" example:"6006d3cc95f8c8e32d660c04"`
}

type RequestBodyStatePost

type RequestBodyStatePost struct {
	State string `json:"state" swaggertype:"string" example:"Working"`
}

type RequestBodyToken

type RequestBodyToken struct {
	Token string `json:"token" example:"riot-api-access"`
}

type RequestEmpty

type RequestEmpty struct {
}

type ResponseBadRequest

type ResponseBadRequest struct {
	Message string `json:"messsage" example:"Bad request message"`
	Status  int    `json:"status" example:"400"`
}

type ResponseDateLog

type ResponseDateLog struct {
	Count   int `json:"count" example:"4"`
	Year    int `json:"year" example:"2021"`
	Month   int `json:"month" example:"2"`
	Day     int `json:"day" example:"12"`
	QueueId int `json:"queueid" example:"430"`
	Win     int `json:"win" example:"2"`
}

type ResponseForbidden

type ResponseForbidden struct {
	Message string `json:"messsage" example:"Forbidden message"`
	Status  int    `json:"status" example:"403"`
}

type ResponseImageElement

type ResponseImageElement struct {
	Id         string `json:"id" example:"6006d3cc95f8c8e32d660c04"`
	UploadDate string `json:"uploadDate" swaggertype:"string" format:"date-time"`
}

type ResponseInternalServerError

type ResponseInternalServerError struct {
	Message string `json:"messsage" example:"Internal Server Error"`
	Status  int    `json:"status" example:"500"`
}

type ResponseLoLHistory

type ResponseLoLHistory struct {
	Id           string   `json:"id" example:"6006d3cc95f8c8e32d660c04"`
	Timestamp    string   `json:"timestamp" swaggertype:"integer" example:"1610811479544"`
	Win          bool     `json:"win" swaggertype:"boolean" example:"true"`
	Participates []string `json:"participates"`
}

type ResponseNotFound

type ResponseNotFound struct {
	Message string `json:"messsage" example:"Not found message"`
	Status  int    `json:"status" example:"404"`
}

type ResponseSuccess

type ResponseSuccess struct {
	Message string `json:"messsage" example:"success"`
	Status  int    `json:"status" example:"200"`
}

type ResponseUnauthorized

type ResponseUnauthorized struct {
	Message string `json:"messsage" example:"Request Unauthorized message"`
	Status  int    `json:"status" example:"401"`
	Expired bool   `json:"token_expired" example:"true"`
}

Jump to

Keyboard shortcuts

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