package rest

type HTTPError struct {
	Error string
}

type Msg struct {
	Text string
}

type Credentials struct {
	Email    string `json:"email" binding:"required" example:"user1"`
	Password string `json:"password" binding:"required" example:"password1"`
}

type Session struct {
	Email string
}

type SendQuoteRequest struct {
	APIKey     string `json:"APIKey" binding:"required"`
	QuoteReqID string `json:"QuoteReqID" binding:"required"`
	Price      string `json:"Price" binding:"required" example:"99.6"`
}

type CancelQuoteRequest struct {
	APIKey     string `json:"APIKey" binding:"required"`
	QuoteReqID string `json:"QuoteReqID" binding:"required"`
	Text       string `json:"Text,omitempty"`
}

type AllMessagesRequest struct {
	APIKey string
	In     int
	Out    int
}
