controllers

package
v0.0.0-...-3a66d60 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MovilidadController

type MovilidadController struct {
	beego.Controller
}

MovilidadController operations for Movilidad

func (*MovilidadController) Delete

func (c *MovilidadController) Delete()

Delete ... @Title Delete @Description delete the Movilidad @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 (*MovilidadController) GetAll

func (c *MovilidadController) GetAll()

GetAll ... @Title Get All @Description get Movilidad @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.Movilidad @Failure 404 not found resource @router / [get]

func (*MovilidadController) GetOne

func (c *MovilidadController) GetOne()

GetOne ... @Title Get One @Description get Movilidad by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Movilidad @Failure 404 not found resource @router /:id [get]

func (*MovilidadController) Post

func (c *MovilidadController) Post()

Post ... @Title Post @Description create Movilidad @Param body body models.Movilidad true "body for Movilidad content" @Success 201 {int} models.Movilidad @Failure 400 the request contains incorrect syntax @router / [post]

func (*MovilidadController) Put

func (c *MovilidadController) Put()

Put ... @Title Put @Description update the Movilidad @Param id path string true "The id you want to update" @Param body body models.Movilidad true "body for Movilidad content" @Success 200 {object} models.Movilidad @Failure 400 the request contains incorrect syntax @router /:id [put]

func (*MovilidadController) URLMapping

func (c *MovilidadController) URLMapping()

URLMapping ...

type TipoCategoriaController

type TipoCategoriaController struct {
	beego.Controller
}

TipoCategoriaController operations for TipoCategoria

func (*TipoCategoriaController) Delete

func (c *TipoCategoriaController) Delete()

Delete ... @Title Delete @Description delete the TipoCategoria @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 (*TipoCategoriaController) GetAll

func (c *TipoCategoriaController) GetAll()

GetAll ... @Title Get All @Description get TipoCategoria @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.TipoCategoria @Failure 404 not found resource @router / [get]

func (*TipoCategoriaController) GetOne

func (c *TipoCategoriaController) GetOne()

GetOne ... @Title Get One @Description get TipoCategoria by id @Param id path string true "The key for staticblock" @Success 200 {object} models.TipoCategoria @Failure 404 not found resource @router /:id [get]

func (*TipoCategoriaController) Post

func (c *TipoCategoriaController) Post()

Post ... @Title Post @Description create TipoCategoria @Param body body models.TipoCategoria true "body for TipoCategoria content" @Success 201 {int} models.TipoCategoria @Failure 400 the request contains incorrect syntax @router / [post]

func (*TipoCategoriaController) Put

func (c *TipoCategoriaController) Put()

Put ... @Title Put @Description update the TipoCategoria @Param id path string true "The id you want to update" @Param body body models.TipoCategoria true "body for TipoCategoria content" @Success 200 {object} models.TipoCategoria @Failure 400 the request contains incorrect syntax @router /:id [put]

func (*TipoCategoriaController) URLMapping

func (c *TipoCategoriaController) URLMapping()

URLMapping ...

type TipoMovilidadController

type TipoMovilidadController struct {
	beego.Controller
}

TipoMovilidadController operations for TipoMovilidad

func (*TipoMovilidadController) Delete

func (c *TipoMovilidadController) Delete()

Delete ... @Title Delete @Description delete the TipoMovilidad @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 (*TipoMovilidadController) GetAll

func (c *TipoMovilidadController) GetAll()

GetAll ... @Title Get All @Description get TipoMovilidad @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.TipoMovilidad @Failure 404 not found resource @router / [get]

func (*TipoMovilidadController) GetOne

func (c *TipoMovilidadController) GetOne()

GetOne ... @Title Get One @Description get TipoMovilidad by id @Param id path string true "The key for staticblock" @Success 200 {object} models.TipoMovilidad @Failure 404 not found resource @router /:id [get]

func (*TipoMovilidadController) Post

func (c *TipoMovilidadController) Post()

Post ... @Title Post @Description create TipoMovilidad @Param body body models.TipoMovilidad true "body for TipoMovilidad content" @Success 201 {int} models.TipoMovilidad @Failure 400 the request contains incorrect syntax @router / [post]

func (*TipoMovilidadController) Put

func (c *TipoMovilidadController) Put()

Put ... @Title Put @Description update the TipoMovilidad @Param id path string true "The id you want to update" @Param body body models.TipoMovilidad true "body for TipoMovilidad content" @Success 200 {object} models.TipoMovilidad @Failure 400 the request contains incorrect syntax @router /:id [put]

func (*TipoMovilidadController) URLMapping

func (c *TipoMovilidadController) URLMapping()

URLMapping ...

Jump to

Keyboard shortcuts

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