projectparam

package
v0.0.0-...-834ce46 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest struct {
	UserID      string `json:"-"`
	Name        string `json:"name" example:"name"`
	Description string `json:"description"  example:"description"`
}

type CreateResponse

type CreateResponse struct {
	Project entity.Project `json:"project"`
}

type CreateThoughChannel

type CreateThoughChannel struct {
	UserID      string `json:"user_id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type DeleteRequest

type DeleteRequest struct {
	UserID    string `json:"-"`
	ProjectID string `json:"-" param:"projectID"`
}

type DeleteResponse

type DeleteResponse struct {
	Message string `json:"message"`
}

type GetRequest

type GetRequest struct {
	UserID    string `json:"-"`
	ProjectID string `json:"-" param:"projectID"`
}

type GetResponse

type GetResponse struct {
	Project entity.Project `json:"project"`
}

type ListRequest

type ListRequest struct {
	UserID      string
	LastTokenID string `query:"last_token_id"`
	PerPage     int    `query:"per_page"`
}

type ListResponse

type ListResponse struct {
	Projects    []entity.Project `json:"projects"`
	LastTokenID string           `json:"last_token"`
	PerPage     int              `json:"per_page"`
	HasMore     bool             `json:"has_more"`
}

type UpdateRequest

type UpdateRequest struct {
	UserID      string `json:"-"`
	ProjectID   string `json:"-" param:"projectID"`
	Name        string `json:"name" example:"name"`
	Description string `json:"description"  example:"description"`
}

type UpdateResponse

type UpdateResponse struct {
	Project entity.Project `json:"project"`
}

Jump to

Keyboard shortcuts

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