Documentation ¶
Index ¶
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (m *Payload) GetCinemaUuid() string
- func (m *Payload) GetCityUuid() string
- func (m *Payload) GetHallUuid() string
- func (m *Payload) GetMenuUuid() string
- func (m *Payload) GetMovieUuid() string
- func (m *Payload) GetSeanceUuid() string
- func (m *Payload) GetSeats() []*seat.Seat
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (m *Payload) String() string
- func (m *Payload) Validate() error
- func (m *Payload) XXX_DiscardUnknown()
- func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payload) XXX_Merge(src proto.Message)
- func (m *Payload) XXX_Size() int
- func (m *Payload) XXX_Unmarshal(b []byte) error
- type PayloadValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct { CityUuid string `protobuf:"bytes,1,opt,name=city_uuid,json=cityUuid,proto3" json:"city_uuid,omitempty"` CinemaUuid string `protobuf:"bytes,2,opt,name=cinema_uuid,json=cinemaUuid,proto3" json:"cinema_uuid,omitempty"` HallUuid string `protobuf:"bytes,3,opt,name=hall_uuid,json=hallUuid,proto3" json:"hall_uuid,omitempty"` MovieUuid string `protobuf:"bytes,4,opt,name=movie_uuid,json=movieUuid,proto3" json:"movie_uuid,omitempty"` SeanceUuid string `protobuf:"bytes,5,opt,name=seance_uuid,json=seanceUuid,proto3" json:"seance_uuid,omitempty"` MenuUuid string `protobuf:"bytes,6,opt,name=menu_uuid,json=menuUuid,proto3" json:"menu_uuid,omitempty"` Seats []*seat.Seat `protobuf:"bytes,7,rep,name=seats,proto3" json:"seats,omitempty"` }
func (*Payload) Descriptor ¶
func (*Payload) GetCinemaUuid ¶
func (*Payload) GetCityUuid ¶
func (*Payload) GetHallUuid ¶
func (*Payload) GetMenuUuid ¶ added in v2.5.0
func (*Payload) GetMovieUuid ¶
func (*Payload) GetSeanceUuid ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) Validate ¶
Validate checks the field values on Payload with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Payload) XXX_DiscardUnknown ¶
func (m *Payload) XXX_DiscardUnknown()
func (*Payload) XXX_Marshal ¶
func (*Payload) XXX_Unmarshal ¶
type PayloadValidationError ¶
type PayloadValidationError struct {
// contains filtered or unexported fields
}
PayloadValidationError is the validation error returned by Payload.Validate if the designated constraints aren't met.
func (PayloadValidationError) Cause ¶
func (e PayloadValidationError) Cause() error
Cause function returns cause value.
func (PayloadValidationError) Error ¶
func (e PayloadValidationError) Error() string
Error satisfies the builtin error interface
func (PayloadValidationError) ErrorName ¶
func (e PayloadValidationError) ErrorName() string
ErrorName returns error name.
func (PayloadValidationError) Field ¶
func (e PayloadValidationError) Field() string
Field function returns field value.
func (PayloadValidationError) Key ¶
func (e PayloadValidationError) Key() bool
Key function returns key value.
func (PayloadValidationError) Reason ¶
func (e PayloadValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.