dto

package
v0.0.0-...-756a3e5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 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 CreateProjectReq

type CreateProjectReq struct {
	OrgId           int64  `json:"org_id"`
	Name            string `json:"name"`
	Description     string `json:"description"`
	Timezone        string `json:"timezone"`
	DefaultLanguage string `json:"default_language"`
}

CreateProjectReq represent create project request body

type SearchProjectsReq

type SearchProjectsReq struct {
	Limit int64 `json:"limit" query:"limit"`
	Page  int64 `json:"page" query:"page"`
	OrgId int64 `json:"org_id" query:"org_id"`
}

type UpdateProjectReq

type UpdateProjectReq struct {
	ID              int64  `json:"-" param:"projectId"`
	Name            string `json:"name"`
	Description     string `json:"description"`
	Timezone        string `json:"timezone"`
	DefaultLanguage string `json:"default_language"`
}

UpdateProjectReq represent update project request body

Jump to

Keyboard shortcuts

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