models

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 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 ResponseError

type ResponseError struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ResponseResult

type ResponseResult struct {
	Id                   string   `json:"id"`
	CreatedOn            string   `json:"created_on"`
	ModifiedOn           string   `json:"modified_on"`
	Etag                 string   `json:"etag"`
	UsageModel           string   `json:"usage_model"`
	Handlers             []string `json:"handlers"`
	AvailableOnSubdomain bool     `json:"available_on_subdomain"`
}

type UploadResponse

type UploadResponse struct {
	Success  bool            `json:"success"`
	Errors   []ResponseError `json:"errors"`
	Messages []ResponseError `json:"messages"`
	Result   ResponseResult  `json:"result"`
}

Jump to

Keyboard shortcuts

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