payload

package
v2.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Payload) GetCinemaUuid

func (m *Payload) GetCinemaUuid() string

func (*Payload) GetCityUuid

func (m *Payload) GetCityUuid() string

func (*Payload) GetHallUuid

func (m *Payload) GetHallUuid() string

func (*Payload) GetMenuUuid added in v2.5.0

func (m *Payload) GetMenuUuid() string

func (*Payload) GetMovieUuid

func (m *Payload) GetMovieUuid() string

func (*Payload) GetSeanceUuid

func (m *Payload) GetSeanceUuid() string

func (*Payload) GetSeats

func (m *Payload) GetSeats() []*seat.Seat

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) Reset

func (m *Payload) Reset()

func (*Payload) String

func (m *Payload) String() string

func (*Payload) Validate

func (m *Payload) Validate() error

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 (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payload) XXX_Merge

func (m *Payload) XXX_Merge(src proto.Message)

func (*Payload) XXX_Size

func (m *Payload) XXX_Size() int

func (*Payload) XXX_Unmarshal

func (m *Payload) XXX_Unmarshal(b []byte) error

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.

Jump to

Keyboard shortcuts

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