request_params.go 626 B

12345678910111213141516171819
  1. package configuration
  2. type (
  3. AddConfigurationJsonBody struct {
  4. Scope string `json:"scope" binding:"required" assign:"toField:Scope"`
  5. Group string `json:"group" binding:"required" assign:"toField:Group"`
  6. Value string `json:"value" binding:"required" assign:"toField:Value"`
  7. }
  8. RemoveConfigurationJsonBody struct {
  9. Scope string `json:"scope" binding:"required" assign:"toField:Scope"`
  10. Group string `json:"group" binding:"required" assign:"toField:Group"`
  11. }
  12. GetConfigurationValuesQueryParams struct {
  13. Scope string `form:"scope" assign:"toField:Scope"`
  14. Group string `form:"group" assign:"toField:Group"`
  15. }
  16. )