Skip to content
Snippets Groups Projects
exchanges.microgen.go 583 B
// Code generated by microgen 0.9.1. DO NOT EDIT.

package transport

import locales "git.perx.ru/perxis/perxis-go/pkg/locales"

type (
	CreateRequest struct {
		Locale *locales.Locale `json:"locale"`
	}
	CreateResponse struct {
		Created *locales.Locale `json:"created"`
	}

	ListRequest struct {
		SpaceId string `json:"space_id"`
	}
	ListResponse struct {
		Locales []*locales.Locale `json:"locales"`
	}

	DeleteRequest struct {
		SpaceId  string `json:"space_id"`
		LocaleId string `json:"locale_id"`
	}
	// Formal exchange type, please do not delete.
	DeleteResponse struct{}
)