Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CiudadController ¶
type CiudadController struct {
beego.Controller
}
CiudadController operations for Ciudad
func (*CiudadController) Delete ¶
func (c *CiudadController) Delete()
Delete ... @Title Delete @Description delete the Ciudad @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*CiudadController) GetAll ¶
func (c *CiudadController) GetAll()
GetAll ... @Title Get All @Description get Ciudad @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.Ciudad @Failure 404 not found resource @router / [get]
func (*CiudadController) GetOne ¶
func (c *CiudadController) GetOne()
GetOne ... @Title Get One @Description get Ciudad by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Ciudad @Failure 404 not found resource @router /:id [get]
func (*CiudadController) Post ¶
func (c *CiudadController) Post()
Post ... @Title Post @Description create Ciudad @Param body body models.Ciudad true "body for Ciudad content" @Success 201 {int} models.Ciudad @Failure 400 the request contains incorrect syntax @router / [post]
func (*CiudadController) Put ¶
func (c *CiudadController) Put()
Put ... @Title Put @Description update the Ciudad @Param id path string true "The id you want to update" @Param body body models.Ciudad true "body for Ciudad content" @Success 200 {object} models.Ciudad @Failure 400 the request contains incorrect syntax @router /:id [put]
type PaisController ¶
type PaisController struct {
beego.Controller
}
PaisController operations for Pais
func (*PaisController) Delete ¶
func (c *PaisController) Delete()
Delete ... @Title Delete @Description delete the Pais @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*PaisController) GetAll ¶
func (c *PaisController) GetAll()
GetAll ... @Title Get All @Description get Pais @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.Pais @Failure 404 not found resource @router / [get]
func (*PaisController) GetOne ¶
func (c *PaisController) GetOne()
GetOne ... @Title Get One @Description get Pais by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Pais @Failure 404 not found resource @router /:id [get]
func (*PaisController) Post ¶
func (c *PaisController) Post()
Post ... @Title Post @Description create Pais @Param body body models.Pais true "body for Pais content" @Success 201 {int} models.Pais @Failure 400 the request contains incorrect syntax @router / [post]
func (*PaisController) Put ¶
func (c *PaisController) Put()
Put ... @Title Put @Description update the Pais @Param id path string true "The id you want to update" @Param body body models.Pais true "body for Pais content" @Success 200 {object} models.Pais @Failure 400 the request contains incorrect syntax @router /:id [put]