seance

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: AGPL-3.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSeanceServiceEndpoints

func NewSeanceServiceEndpoints() []*api.Endpoint

func RegisterSeanceServiceHandler

func RegisterSeanceServiceHandler(s server.Server, hdlr SeanceServiceHandler, opts ...server.HandlerOption) error

Types

type AvailabilityRequest

type AvailabilityRequest struct {
	CinemaId int64 `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	SeanceId int64 `protobuf:"varint,2,opt,name=seance_id,json=seanceId,proto3" json:"seance_id,omitempty"`
}

func (*AvailabilityRequest) Descriptor

func (*AvailabilityRequest) Descriptor() ([]byte, []int)

func (*AvailabilityRequest) GetCinemaId

func (m *AvailabilityRequest) GetCinemaId() int64

func (*AvailabilityRequest) GetSeanceId

func (m *AvailabilityRequest) GetSeanceId() int64

func (*AvailabilityRequest) ProtoMessage

func (*AvailabilityRequest) ProtoMessage()

func (*AvailabilityRequest) Reset

func (m *AvailabilityRequest) Reset()

func (*AvailabilityRequest) String

func (m *AvailabilityRequest) String() string

func (*AvailabilityRequest) Validate

func (m *AvailabilityRequest) Validate() error

Validate checks the field values on AvailabilityRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AvailabilityRequest) XXX_DiscardUnknown

func (m *AvailabilityRequest) XXX_DiscardUnknown()

func (*AvailabilityRequest) XXX_Marshal

func (m *AvailabilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AvailabilityRequest) XXX_Merge

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

func (*AvailabilityRequest) XXX_Size

func (m *AvailabilityRequest) XXX_Size() int

func (*AvailabilityRequest) XXX_Unmarshal

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

type AvailabilityRequestValidationError

type AvailabilityRequestValidationError struct {
	// contains filtered or unexported fields
}

AvailabilityRequestValidationError is the validation error returned by AvailabilityRequest.Validate if the designated constraints aren't met.

func (AvailabilityRequestValidationError) Cause

Cause function returns cause value.

func (AvailabilityRequestValidationError) Error

Error satisfies the builtin error interface

func (AvailabilityRequestValidationError) ErrorName

ErrorName returns error name.

func (AvailabilityRequestValidationError) Field

Field function returns field value.

func (AvailabilityRequestValidationError) Key

Key function returns key value.

func (AvailabilityRequestValidationError) Reason

Reason function returns reason value.

type AvailabilityResponse

type AvailabilityResponse struct {
	Data *AvailabilityResponse_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*AvailabilityResponse) Descriptor

func (*AvailabilityResponse) Descriptor() ([]byte, []int)

func (*AvailabilityResponse) GetData

func (*AvailabilityResponse) ProtoMessage

func (*AvailabilityResponse) ProtoMessage()

func (*AvailabilityResponse) Reset

func (m *AvailabilityResponse) Reset()

func (*AvailabilityResponse) String

func (m *AvailabilityResponse) String() string

func (*AvailabilityResponse) Validate

func (m *AvailabilityResponse) Validate() error

Validate checks the field values on AvailabilityResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AvailabilityResponse) XXX_DiscardUnknown

func (m *AvailabilityResponse) XXX_DiscardUnknown()

func (*AvailabilityResponse) XXX_Marshal

func (m *AvailabilityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AvailabilityResponse) XXX_Merge

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

func (*AvailabilityResponse) XXX_Size

func (m *AvailabilityResponse) XXX_Size() int

func (*AvailabilityResponse) XXX_Unmarshal

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

type AvailabilityResponseValidationError

type AvailabilityResponseValidationError struct {
	// contains filtered or unexported fields
}

AvailabilityResponseValidationError is the validation error returned by AvailabilityResponse.Validate if the designated constraints aren't met.

func (AvailabilityResponseValidationError) Cause

Cause function returns cause value.

func (AvailabilityResponseValidationError) Error

Error satisfies the builtin error interface

func (AvailabilityResponseValidationError) ErrorName

ErrorName returns error name.

func (AvailabilityResponseValidationError) Field

Field function returns field value.

func (AvailabilityResponseValidationError) Key

Key function returns key value.

func (AvailabilityResponseValidationError) Reason

Reason function returns reason value.

type AvailabilityResponse_Data

type AvailabilityResponse_Data struct {
	ContainerId  int64 `protobuf:"varint,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	CanSelling   bool  `protobuf:"varint,2,opt,name=can_selling,json=canSelling,proto3" json:"can_selling,omitempty"`
	CanReserving bool  `protobuf:"varint,3,opt,name=can_reserving,json=canReserving,proto3" json:"can_reserving,omitempty"`
}

func (*AvailabilityResponse_Data) Descriptor

func (*AvailabilityResponse_Data) Descriptor() ([]byte, []int)

func (*AvailabilityResponse_Data) GetCanReserving

func (m *AvailabilityResponse_Data) GetCanReserving() bool

func (*AvailabilityResponse_Data) GetCanSelling

func (m *AvailabilityResponse_Data) GetCanSelling() bool

func (*AvailabilityResponse_Data) GetContainerId

func (m *AvailabilityResponse_Data) GetContainerId() int64

func (*AvailabilityResponse_Data) ProtoMessage

func (*AvailabilityResponse_Data) ProtoMessage()

func (*AvailabilityResponse_Data) Reset

func (m *AvailabilityResponse_Data) Reset()

func (*AvailabilityResponse_Data) String

func (m *AvailabilityResponse_Data) String() string

func (*AvailabilityResponse_Data) Validate

func (m *AvailabilityResponse_Data) Validate() error

Validate checks the field values on AvailabilityResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AvailabilityResponse_Data) XXX_DiscardUnknown

func (m *AvailabilityResponse_Data) XXX_DiscardUnknown()

func (*AvailabilityResponse_Data) XXX_Marshal

func (m *AvailabilityResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AvailabilityResponse_Data) XXX_Merge

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

func (*AvailabilityResponse_Data) XXX_Size

func (m *AvailabilityResponse_Data) XXX_Size() int

func (*AvailabilityResponse_Data) XXX_Unmarshal

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

type AvailabilityResponse_DataValidationError

type AvailabilityResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

AvailabilityResponse_DataValidationError is the validation error returned by AvailabilityResponse_Data.Validate if the designated constraints aren't met.

func (AvailabilityResponse_DataValidationError) Cause

Cause function returns cause value.

func (AvailabilityResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (AvailabilityResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (AvailabilityResponse_DataValidationError) Field

Field function returns field value.

func (AvailabilityResponse_DataValidationError) Key

Key function returns key value.

func (AvailabilityResponse_DataValidationError) Reason

Reason function returns reason value.

type HallMapRequest

type HallMapRequest struct {
	CinemaId    int64 `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	SeanceId    int64 `protobuf:"varint,2,opt,name=seance_id,json=seanceId,proto3" json:"seance_id,omitempty"`
	ContainerId int64 `protobuf:"varint,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}

func (*HallMapRequest) Descriptor

func (*HallMapRequest) Descriptor() ([]byte, []int)

func (*HallMapRequest) GetCinemaId

func (m *HallMapRequest) GetCinemaId() int64

func (*HallMapRequest) GetContainerId

func (m *HallMapRequest) GetContainerId() int64

func (*HallMapRequest) GetSeanceId

func (m *HallMapRequest) GetSeanceId() int64

func (*HallMapRequest) ProtoMessage

func (*HallMapRequest) ProtoMessage()

func (*HallMapRequest) Reset

func (m *HallMapRequest) Reset()

func (*HallMapRequest) String

func (m *HallMapRequest) String() string

func (*HallMapRequest) Validate

func (m *HallMapRequest) Validate() error

Validate checks the field values on HallMapRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallMapRequest) XXX_DiscardUnknown

func (m *HallMapRequest) XXX_DiscardUnknown()

func (*HallMapRequest) XXX_Marshal

func (m *HallMapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallMapRequest) XXX_Merge

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

func (*HallMapRequest) XXX_Size

func (m *HallMapRequest) XXX_Size() int

func (*HallMapRequest) XXX_Unmarshal

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

type HallMapRequestValidationError

type HallMapRequestValidationError struct {
	// contains filtered or unexported fields
}

HallMapRequestValidationError is the validation error returned by HallMapRequest.Validate if the designated constraints aren't met.

func (HallMapRequestValidationError) Cause

Cause function returns cause value.

func (HallMapRequestValidationError) Error

Error satisfies the builtin error interface

func (HallMapRequestValidationError) ErrorName

func (e HallMapRequestValidationError) ErrorName() string

ErrorName returns error name.

func (HallMapRequestValidationError) Field

Field function returns field value.

func (HallMapRequestValidationError) Key

Key function returns key value.

func (HallMapRequestValidationError) Reason

Reason function returns reason value.

type HallMapResponse

type HallMapResponse struct {
	Data *HallMapResponse_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*HallMapResponse) Descriptor

func (*HallMapResponse) Descriptor() ([]byte, []int)

func (*HallMapResponse) GetData

func (m *HallMapResponse) GetData() *HallMapResponse_Data

func (*HallMapResponse) ProtoMessage

func (*HallMapResponse) ProtoMessage()

func (*HallMapResponse) Reset

func (m *HallMapResponse) Reset()

func (*HallMapResponse) String

func (m *HallMapResponse) String() string

func (*HallMapResponse) Validate

func (m *HallMapResponse) Validate() error

Validate checks the field values on HallMapResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallMapResponse) XXX_DiscardUnknown

func (m *HallMapResponse) XXX_DiscardUnknown()

func (*HallMapResponse) XXX_Marshal

func (m *HallMapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallMapResponse) XXX_Merge

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

func (*HallMapResponse) XXX_Size

func (m *HallMapResponse) XXX_Size() int

func (*HallMapResponse) XXX_Unmarshal

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

type HallMapResponseValidationError

type HallMapResponseValidationError struct {
	// contains filtered or unexported fields
}

HallMapResponseValidationError is the validation error returned by HallMapResponse.Validate if the designated constraints aren't met.

func (HallMapResponseValidationError) Cause

Cause function returns cause value.

func (HallMapResponseValidationError) Error

Error satisfies the builtin error interface

func (HallMapResponseValidationError) ErrorName

func (e HallMapResponseValidationError) ErrorName() string

ErrorName returns error name.

func (HallMapResponseValidationError) Field

Field function returns field value.

func (HallMapResponseValidationError) Key

Key function returns key value.

func (HallMapResponseValidationError) Reason

Reason function returns reason value.

type HallMapResponse_Data

type HallMapResponse_Data struct {
	Name                    string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description             string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Capacity                int64        `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	IsPerformanceAreaBottom bool         `` /* 135-byte string literal not displayed */
	Width                   float64      `protobuf:"fixed64,5,opt,name=width,proto3" json:"width,omitempty"`
	Height                  float64      `protobuf:"fixed64,6,opt,name=height,proto3" json:"height,omitempty"`
	Seats                   []*hall.Seat `protobuf:"bytes,7,rep,name=seats,proto3" json:"seats,omitempty"`
}

func (*HallMapResponse_Data) Descriptor

func (*HallMapResponse_Data) Descriptor() ([]byte, []int)

func (*HallMapResponse_Data) GetCapacity

func (m *HallMapResponse_Data) GetCapacity() int64

func (*HallMapResponse_Data) GetDescription

func (m *HallMapResponse_Data) GetDescription() string

func (*HallMapResponse_Data) GetHeight

func (m *HallMapResponse_Data) GetHeight() float64

func (*HallMapResponse_Data) GetIsPerformanceAreaBottom

func (m *HallMapResponse_Data) GetIsPerformanceAreaBottom() bool

func (*HallMapResponse_Data) GetName

func (m *HallMapResponse_Data) GetName() string

func (*HallMapResponse_Data) GetSeats

func (m *HallMapResponse_Data) GetSeats() []*hall.Seat

func (*HallMapResponse_Data) GetWidth

func (m *HallMapResponse_Data) GetWidth() float64

func (*HallMapResponse_Data) ProtoMessage

func (*HallMapResponse_Data) ProtoMessage()

func (*HallMapResponse_Data) Reset

func (m *HallMapResponse_Data) Reset()

func (*HallMapResponse_Data) String

func (m *HallMapResponse_Data) String() string

func (*HallMapResponse_Data) Validate

func (m *HallMapResponse_Data) Validate() error

Validate checks the field values on HallMapResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallMapResponse_Data) XXX_DiscardUnknown

func (m *HallMapResponse_Data) XXX_DiscardUnknown()

func (*HallMapResponse_Data) XXX_Marshal

func (m *HallMapResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallMapResponse_Data) XXX_Merge

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

func (*HallMapResponse_Data) XXX_Size

func (m *HallMapResponse_Data) XXX_Size() int

func (*HallMapResponse_Data) XXX_Unmarshal

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

type HallMapResponse_DataValidationError

type HallMapResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

HallMapResponse_DataValidationError is the validation error returned by HallMapResponse_Data.Validate if the designated constraints aren't met.

func (HallMapResponse_DataValidationError) Cause

Cause function returns cause value.

func (HallMapResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (HallMapResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (HallMapResponse_DataValidationError) Field

Field function returns field value.

func (HallMapResponse_DataValidationError) Key

Key function returns key value.

func (HallMapResponse_DataValidationError) Reason

Reason function returns reason value.

type HallSchemeRequest

type HallSchemeRequest struct {
	CinemaId    int64 `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	SeanceId    int64 `protobuf:"varint,2,opt,name=seance_id,json=seanceId,proto3" json:"seance_id,omitempty"`
	ContainerId int64 `protobuf:"varint,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}

func (*HallSchemeRequest) Descriptor

func (*HallSchemeRequest) Descriptor() ([]byte, []int)

func (*HallSchemeRequest) GetCinemaId

func (m *HallSchemeRequest) GetCinemaId() int64

func (*HallSchemeRequest) GetContainerId

func (m *HallSchemeRequest) GetContainerId() int64

func (*HallSchemeRequest) GetSeanceId

func (m *HallSchemeRequest) GetSeanceId() int64

func (*HallSchemeRequest) ProtoMessage

func (*HallSchemeRequest) ProtoMessage()

func (*HallSchemeRequest) Reset

func (m *HallSchemeRequest) Reset()

func (*HallSchemeRequest) String

func (m *HallSchemeRequest) String() string

func (*HallSchemeRequest) Validate

func (m *HallSchemeRequest) Validate() error

Validate checks the field values on HallSchemeRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallSchemeRequest) XXX_DiscardUnknown

func (m *HallSchemeRequest) XXX_DiscardUnknown()

func (*HallSchemeRequest) XXX_Marshal

func (m *HallSchemeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallSchemeRequest) XXX_Merge

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

func (*HallSchemeRequest) XXX_Size

func (m *HallSchemeRequest) XXX_Size() int

func (*HallSchemeRequest) XXX_Unmarshal

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

type HallSchemeRequestValidationError

type HallSchemeRequestValidationError struct {
	// contains filtered or unexported fields
}

HallSchemeRequestValidationError is the validation error returned by HallSchemeRequest.Validate if the designated constraints aren't met.

func (HallSchemeRequestValidationError) Cause

Cause function returns cause value.

func (HallSchemeRequestValidationError) Error

Error satisfies the builtin error interface

func (HallSchemeRequestValidationError) ErrorName

ErrorName returns error name.

func (HallSchemeRequestValidationError) Field

Field function returns field value.

func (HallSchemeRequestValidationError) Key

Key function returns key value.

func (HallSchemeRequestValidationError) Reason

Reason function returns reason value.

type HallSchemeResponse

type HallSchemeResponse struct {
	Data []*hall.Seat `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

func (*HallSchemeResponse) Descriptor

func (*HallSchemeResponse) Descriptor() ([]byte, []int)

func (*HallSchemeResponse) GetData

func (m *HallSchemeResponse) GetData() []*hall.Seat

func (*HallSchemeResponse) ProtoMessage

func (*HallSchemeResponse) ProtoMessage()

func (*HallSchemeResponse) Reset

func (m *HallSchemeResponse) Reset()

func (*HallSchemeResponse) String

func (m *HallSchemeResponse) String() string

func (*HallSchemeResponse) Validate

func (m *HallSchemeResponse) Validate() error

Validate checks the field values on HallSchemeResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallSchemeResponse) XXX_DiscardUnknown

func (m *HallSchemeResponse) XXX_DiscardUnknown()

func (*HallSchemeResponse) XXX_Marshal

func (m *HallSchemeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallSchemeResponse) XXX_Merge

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

func (*HallSchemeResponse) XXX_Size

func (m *HallSchemeResponse) XXX_Size() int

func (*HallSchemeResponse) XXX_Unmarshal

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

type HallSchemeResponseValidationError

type HallSchemeResponseValidationError struct {
	// contains filtered or unexported fields
}

HallSchemeResponseValidationError is the validation error returned by HallSchemeResponse.Validate if the designated constraints aren't met.

func (HallSchemeResponseValidationError) Cause

Cause function returns cause value.

func (HallSchemeResponseValidationError) Error

Error satisfies the builtin error interface

func (HallSchemeResponseValidationError) ErrorName

ErrorName returns error name.

func (HallSchemeResponseValidationError) Field

Field function returns field value.

func (HallSchemeResponseValidationError) Key

Key function returns key value.

func (HallSchemeResponseValidationError) Reason

Reason function returns reason value.

type HallSeatStatusRequest

type HallSeatStatusRequest struct {
	CinemaId    int64 `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	SeanceId    int64 `protobuf:"varint,2,opt,name=seance_id,json=seanceId,proto3" json:"seance_id,omitempty"`
	ContainerId int64 `protobuf:"varint,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}

func (*HallSeatStatusRequest) Descriptor

func (*HallSeatStatusRequest) Descriptor() ([]byte, []int)

func (*HallSeatStatusRequest) GetCinemaId

func (m *HallSeatStatusRequest) GetCinemaId() int64

func (*HallSeatStatusRequest) GetContainerId

func (m *HallSeatStatusRequest) GetContainerId() int64

func (*HallSeatStatusRequest) GetSeanceId

func (m *HallSeatStatusRequest) GetSeanceId() int64

func (*HallSeatStatusRequest) ProtoMessage

func (*HallSeatStatusRequest) ProtoMessage()

func (*HallSeatStatusRequest) Reset

func (m *HallSeatStatusRequest) Reset()

func (*HallSeatStatusRequest) String

func (m *HallSeatStatusRequest) String() string

func (*HallSeatStatusRequest) Validate

func (m *HallSeatStatusRequest) Validate() error

Validate checks the field values on HallSeatStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallSeatStatusRequest) XXX_DiscardUnknown

func (m *HallSeatStatusRequest) XXX_DiscardUnknown()

func (*HallSeatStatusRequest) XXX_Marshal

func (m *HallSeatStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallSeatStatusRequest) XXX_Merge

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

func (*HallSeatStatusRequest) XXX_Size

func (m *HallSeatStatusRequest) XXX_Size() int

func (*HallSeatStatusRequest) XXX_Unmarshal

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

type HallSeatStatusRequestValidationError

type HallSeatStatusRequestValidationError struct {
	// contains filtered or unexported fields
}

HallSeatStatusRequestValidationError is the validation error returned by HallSeatStatusRequest.Validate if the designated constraints aren't met.

func (HallSeatStatusRequestValidationError) Cause

Cause function returns cause value.

func (HallSeatStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (HallSeatStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (HallSeatStatusRequestValidationError) Field

Field function returns field value.

func (HallSeatStatusRequestValidationError) Key

Key function returns key value.

func (HallSeatStatusRequestValidationError) Reason

Reason function returns reason value.

type HallSeatStatusResponse

type HallSeatStatusResponse struct {
	Data []*hall.Seat `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

func (*HallSeatStatusResponse) Descriptor

func (*HallSeatStatusResponse) Descriptor() ([]byte, []int)

func (*HallSeatStatusResponse) GetData

func (m *HallSeatStatusResponse) GetData() []*hall.Seat

func (*HallSeatStatusResponse) ProtoMessage

func (*HallSeatStatusResponse) ProtoMessage()

func (*HallSeatStatusResponse) Reset

func (m *HallSeatStatusResponse) Reset()

func (*HallSeatStatusResponse) String

func (m *HallSeatStatusResponse) String() string

func (*HallSeatStatusResponse) Validate

func (m *HallSeatStatusResponse) Validate() error

Validate checks the field values on HallSeatStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallSeatStatusResponse) XXX_DiscardUnknown

func (m *HallSeatStatusResponse) XXX_DiscardUnknown()

func (*HallSeatStatusResponse) XXX_Marshal

func (m *HallSeatStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallSeatStatusResponse) XXX_Merge

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

func (*HallSeatStatusResponse) XXX_Size

func (m *HallSeatStatusResponse) XXX_Size() int

func (*HallSeatStatusResponse) XXX_Unmarshal

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

type HallSeatStatusResponseValidationError

type HallSeatStatusResponseValidationError struct {
	// contains filtered or unexported fields
}

HallSeatStatusResponseValidationError is the validation error returned by HallSeatStatusResponse.Validate if the designated constraints aren't met.

func (HallSeatStatusResponseValidationError) Cause

Cause function returns cause value.

func (HallSeatStatusResponseValidationError) Error

Error satisfies the builtin error interface

func (HallSeatStatusResponseValidationError) ErrorName

ErrorName returns error name.

func (HallSeatStatusResponseValidationError) Field

Field function returns field value.

func (HallSeatStatusResponseValidationError) Key

Key function returns key value.

func (HallSeatStatusResponseValidationError) Reason

Reason function returns reason value.

type HallStructureRequest

type HallStructureRequest struct {
	CinemaId    int64 `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	SeanceId    int64 `protobuf:"varint,2,opt,name=seance_id,json=seanceId,proto3" json:"seance_id,omitempty"`
	ContainerId int64 `protobuf:"varint,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}

func (*HallStructureRequest) Descriptor

func (*HallStructureRequest) Descriptor() ([]byte, []int)

func (*HallStructureRequest) GetCinemaId

func (m *HallStructureRequest) GetCinemaId() int64

func (*HallStructureRequest) GetContainerId

func (m *HallStructureRequest) GetContainerId() int64

func (*HallStructureRequest) GetSeanceId

func (m *HallStructureRequest) GetSeanceId() int64

func (*HallStructureRequest) ProtoMessage

func (*HallStructureRequest) ProtoMessage()

func (*HallStructureRequest) Reset

func (m *HallStructureRequest) Reset()

func (*HallStructureRequest) String

func (m *HallStructureRequest) String() string

func (*HallStructureRequest) Validate

func (m *HallStructureRequest) Validate() error

Validate checks the field values on HallStructureRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallStructureRequest) XXX_DiscardUnknown

func (m *HallStructureRequest) XXX_DiscardUnknown()

func (*HallStructureRequest) XXX_Marshal

func (m *HallStructureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallStructureRequest) XXX_Merge

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

func (*HallStructureRequest) XXX_Size

func (m *HallStructureRequest) XXX_Size() int

func (*HallStructureRequest) XXX_Unmarshal

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

type HallStructureRequestValidationError

type HallStructureRequestValidationError struct {
	// contains filtered or unexported fields
}

HallStructureRequestValidationError is the validation error returned by HallStructureRequest.Validate if the designated constraints aren't met.

func (HallStructureRequestValidationError) Cause

Cause function returns cause value.

func (HallStructureRequestValidationError) Error

Error satisfies the builtin error interface

func (HallStructureRequestValidationError) ErrorName

ErrorName returns error name.

func (HallStructureRequestValidationError) Field

Field function returns field value.

func (HallStructureRequestValidationError) Key

Key function returns key value.

func (HallStructureRequestValidationError) Reason

Reason function returns reason value.

type HallStructureResponse

type HallStructureResponse struct {
	Data *HallStructureResponse_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*HallStructureResponse) Descriptor

func (*HallStructureResponse) Descriptor() ([]byte, []int)

func (*HallStructureResponse) GetData

func (*HallStructureResponse) ProtoMessage

func (*HallStructureResponse) ProtoMessage()

func (*HallStructureResponse) Reset

func (m *HallStructureResponse) Reset()

func (*HallStructureResponse) String

func (m *HallStructureResponse) String() string

func (*HallStructureResponse) Validate

func (m *HallStructureResponse) Validate() error

Validate checks the field values on HallStructureResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallStructureResponse) XXX_DiscardUnknown

func (m *HallStructureResponse) XXX_DiscardUnknown()

func (*HallStructureResponse) XXX_Marshal

func (m *HallStructureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallStructureResponse) XXX_Merge

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

func (*HallStructureResponse) XXX_Size

func (m *HallStructureResponse) XXX_Size() int

func (*HallStructureResponse) XXX_Unmarshal

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

type HallStructureResponseValidationError

type HallStructureResponseValidationError struct {
	// contains filtered or unexported fields
}

HallStructureResponseValidationError is the validation error returned by HallStructureResponse.Validate if the designated constraints aren't met.

func (HallStructureResponseValidationError) Cause

Cause function returns cause value.

func (HallStructureResponseValidationError) Error

Error satisfies the builtin error interface

func (HallStructureResponseValidationError) ErrorName

ErrorName returns error name.

func (HallStructureResponseValidationError) Field

Field function returns field value.

func (HallStructureResponseValidationError) Key

Key function returns key value.

func (HallStructureResponseValidationError) Reason

Reason function returns reason value.

type HallStructureResponse_Data

type HallStructureResponse_Data struct {
	Name                    string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description             string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Capacity                int64        `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	IsPerformanceAreaBottom bool         `` /* 135-byte string literal not displayed */
	Width                   float64      `protobuf:"fixed64,5,opt,name=width,proto3" json:"width,omitempty"`
	Height                  float64      `protobuf:"fixed64,6,opt,name=height,proto3" json:"height,omitempty"`
	Seats                   []*hall.Seat `protobuf:"bytes,7,rep,name=seats,proto3" json:"seats,omitempty"`
}

func (*HallStructureResponse_Data) Descriptor

func (*HallStructureResponse_Data) Descriptor() ([]byte, []int)

func (*HallStructureResponse_Data) GetCapacity

func (m *HallStructureResponse_Data) GetCapacity() int64

func (*HallStructureResponse_Data) GetDescription

func (m *HallStructureResponse_Data) GetDescription() string

func (*HallStructureResponse_Data) GetHeight

func (m *HallStructureResponse_Data) GetHeight() float64

func (*HallStructureResponse_Data) GetIsPerformanceAreaBottom

func (m *HallStructureResponse_Data) GetIsPerformanceAreaBottom() bool

func (*HallStructureResponse_Data) GetName

func (m *HallStructureResponse_Data) GetName() string

func (*HallStructureResponse_Data) GetSeats

func (m *HallStructureResponse_Data) GetSeats() []*hall.Seat

func (*HallStructureResponse_Data) GetWidth

func (m *HallStructureResponse_Data) GetWidth() float64

func (*HallStructureResponse_Data) ProtoMessage

func (*HallStructureResponse_Data) ProtoMessage()

func (*HallStructureResponse_Data) Reset

func (m *HallStructureResponse_Data) Reset()

func (*HallStructureResponse_Data) String

func (m *HallStructureResponse_Data) String() string

func (*HallStructureResponse_Data) Validate

func (m *HallStructureResponse_Data) Validate() error

Validate checks the field values on HallStructureResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HallStructureResponse_Data) XXX_DiscardUnknown

func (m *HallStructureResponse_Data) XXX_DiscardUnknown()

func (*HallStructureResponse_Data) XXX_Marshal

func (m *HallStructureResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HallStructureResponse_Data) XXX_Merge

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

func (*HallStructureResponse_Data) XXX_Size

func (m *HallStructureResponse_Data) XXX_Size() int

func (*HallStructureResponse_Data) XXX_Unmarshal

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

type HallStructureResponse_DataValidationError

type HallStructureResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

HallStructureResponse_DataValidationError is the validation error returned by HallStructureResponse_Data.Validate if the designated constraints aren't met.

func (HallStructureResponse_DataValidationError) Cause

Cause function returns cause value.

func (HallStructureResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (HallStructureResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (HallStructureResponse_DataValidationError) Field

Field function returns field value.

func (HallStructureResponse_DataValidationError) Key

Key function returns key value.

func (HallStructureResponse_DataValidationError) Reason

Reason function returns reason value.

type PricesRequest

type PricesRequest struct {
	CinemaId    int64 `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	SeanceId    int64 `protobuf:"varint,2,opt,name=seance_id,json=seanceId,proto3" json:"seance_id,omitempty"`
	ContainerId int64 `protobuf:"varint,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}

func (*PricesRequest) Descriptor

func (*PricesRequest) Descriptor() ([]byte, []int)

func (*PricesRequest) GetCinemaId

func (m *PricesRequest) GetCinemaId() int64

func (*PricesRequest) GetContainerId

func (m *PricesRequest) GetContainerId() int64

func (*PricesRequest) GetSeanceId

func (m *PricesRequest) GetSeanceId() int64

func (*PricesRequest) ProtoMessage

func (*PricesRequest) ProtoMessage()

func (*PricesRequest) Reset

func (m *PricesRequest) Reset()

func (*PricesRequest) String

func (m *PricesRequest) String() string

func (*PricesRequest) Validate

func (m *PricesRequest) Validate() error

Validate checks the field values on PricesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PricesRequest) XXX_DiscardUnknown

func (m *PricesRequest) XXX_DiscardUnknown()

func (*PricesRequest) XXX_Marshal

func (m *PricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PricesRequest) XXX_Merge

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

func (*PricesRequest) XXX_Size

func (m *PricesRequest) XXX_Size() int

func (*PricesRequest) XXX_Unmarshal

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

type PricesRequestValidationError

type PricesRequestValidationError struct {
	// contains filtered or unexported fields
}

PricesRequestValidationError is the validation error returned by PricesRequest.Validate if the designated constraints aren't met.

func (PricesRequestValidationError) Cause

Cause function returns cause value.

func (PricesRequestValidationError) Error

Error satisfies the builtin error interface

func (PricesRequestValidationError) ErrorName

func (e PricesRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PricesRequestValidationError) Field

Field function returns field value.

func (PricesRequestValidationError) Key

Key function returns key value.

func (PricesRequestValidationError) Reason

Reason function returns reason value.

type PricesResponse

type PricesResponse struct {
	Data []*ZonePrice `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

func (*PricesResponse) Descriptor

func (*PricesResponse) Descriptor() ([]byte, []int)

func (*PricesResponse) GetData

func (m *PricesResponse) GetData() []*ZonePrice

func (*PricesResponse) ProtoMessage

func (*PricesResponse) ProtoMessage()

func (*PricesResponse) Reset

func (m *PricesResponse) Reset()

func (*PricesResponse) String

func (m *PricesResponse) String() string

func (*PricesResponse) Validate

func (m *PricesResponse) Validate() error

Validate checks the field values on PricesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PricesResponse) XXX_DiscardUnknown

func (m *PricesResponse) XXX_DiscardUnknown()

func (*PricesResponse) XXX_Marshal

func (m *PricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PricesResponse) XXX_Merge

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

func (*PricesResponse) XXX_Size

func (m *PricesResponse) XXX_Size() int

func (*PricesResponse) XXX_Unmarshal

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

type PricesResponseValidationError

type PricesResponseValidationError struct {
	// contains filtered or unexported fields
}

PricesResponseValidationError is the validation error returned by PricesResponse.Validate if the designated constraints aren't met.

func (PricesResponseValidationError) Cause

Cause function returns cause value.

func (PricesResponseValidationError) Error

Error satisfies the builtin error interface

func (PricesResponseValidationError) ErrorName

func (e PricesResponseValidationError) ErrorName() string

ErrorName returns error name.

func (PricesResponseValidationError) Field

Field function returns field value.

func (PricesResponseValidationError) Key

Key function returns key value.

func (PricesResponseValidationError) Reason

Reason function returns reason value.

type SeanceService

func NewSeanceService

func NewSeanceService(name string, c client.Client) SeanceService

type ZonePrice

type ZonePrice struct {
	Id          int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Price       float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"`
	Color       int64   `protobuf:"varint,4,opt,name=color,proto3" json:"color,omitempty"`
	Description string  `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
}

func (*ZonePrice) Descriptor

func (*ZonePrice) Descriptor() ([]byte, []int)

func (*ZonePrice) GetColor

func (m *ZonePrice) GetColor() int64

func (*ZonePrice) GetDescription

func (m *ZonePrice) GetDescription() string

func (*ZonePrice) GetId

func (m *ZonePrice) GetId() int64

func (*ZonePrice) GetName

func (m *ZonePrice) GetName() string

func (*ZonePrice) GetPrice

func (m *ZonePrice) GetPrice() float64

func (*ZonePrice) ProtoMessage

func (*ZonePrice) ProtoMessage()

func (*ZonePrice) Reset

func (m *ZonePrice) Reset()

func (*ZonePrice) String

func (m *ZonePrice) String() string

func (*ZonePrice) Validate

func (m *ZonePrice) Validate() error

Validate checks the field values on ZonePrice with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ZonePrice) XXX_DiscardUnknown

func (m *ZonePrice) XXX_DiscardUnknown()

func (*ZonePrice) XXX_Marshal

func (m *ZonePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ZonePrice) XXX_Merge

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

func (*ZonePrice) XXX_Size

func (m *ZonePrice) XXX_Size() int

func (*ZonePrice) XXX_Unmarshal

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

type ZonePriceValidationError

type ZonePriceValidationError struct {
	// contains filtered or unexported fields
}

ZonePriceValidationError is the validation error returned by ZonePrice.Validate if the designated constraints aren't met.

func (ZonePriceValidationError) Cause

func (e ZonePriceValidationError) Cause() error

Cause function returns cause value.

func (ZonePriceValidationError) Error

func (e ZonePriceValidationError) Error() string

Error satisfies the builtin error interface

func (ZonePriceValidationError) ErrorName

func (e ZonePriceValidationError) ErrorName() string

ErrorName returns error name.

func (ZonePriceValidationError) Field

func (e ZonePriceValidationError) Field() string

Field function returns field value.

func (ZonePriceValidationError) Key

Key function returns key value.

func (ZonePriceValidationError) Reason

func (e ZonePriceValidationError) 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