Documentation ¶
Index ¶
- Variables
- type ArrayOfAvailabilities
- func (*ArrayOfAvailabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ArrayOfAvailabilities) GetAvailabilities() []*Avaiability
- func (*ArrayOfAvailabilities) ProtoMessage()
- func (x *ArrayOfAvailabilities) ProtoReflect() protoreflect.Message
- func (x *ArrayOfAvailabilities) Reset()
- func (x *ArrayOfAvailabilities) String() string
- type Avaiability
- func (*Avaiability) Descriptor() ([]byte, []int)deprecated
- func (x *Avaiability) GetId() string
- func (x *Avaiability) GetLocation() *Location
- func (x *Avaiability) GetMinPrice() float64
- func (x *Avaiability) GetName() string
- func (x *Avaiability) GetThumbnail() string
- func (*Avaiability) ProtoMessage()
- func (x *Avaiability) ProtoReflect() protoreflect.Message
- func (x *Avaiability) Reset()
- func (x *Avaiability) String() string
- type AvailabilityReq
- func (*AvailabilityReq) Descriptor() ([]byte, []int)deprecated
- func (x *AvailabilityReq) GetClient() string
- func (x *AvailabilityReq) GetLocation() *Location
- func (x *AvailabilityReq) GetPax() []int32
- func (x *AvailabilityReq) GetPeriod() *Period
- func (*AvailabilityReq) ProtoMessage()
- func (x *AvailabilityReq) ProtoReflect() protoreflect.Message
- func (x *AvailabilityReq) Reset()
- func (x *AvailabilityReq) String() string
- type AvailabilityRes
- func (*AvailabilityRes) Descriptor() ([]byte, []int)deprecated
- func (x *AvailabilityRes) GetData() *ArrayOfAvailabilities
- func (x *AvailabilityRes) GetError() string
- func (m *AvailabilityRes) GetResult() isAvailabilityRes_Result
- func (*AvailabilityRes) ProtoMessage()
- func (x *AvailabilityRes) ProtoReflect() protoreflect.Message
- func (x *AvailabilityRes) Reset()
- func (x *AvailabilityRes) String() string
- type AvailabilityRes_Data
- type AvailabilityRes_Error
- type Location
- type Period
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // optional string select = 51234; E_Select = &file_availability_proto_extTypes[0] // optional string query = 51235; E_Query = &file_availability_proto_extTypes[1] )
Extension fields to descriptorpb.FieldOptions.
View Source
var File_availability_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ArrayOfAvailabilities ¶
type ArrayOfAvailabilities struct { Availabilities []*Avaiability `protobuf:"bytes,1,rep,name=availabilities,proto3" json:"availabilities,omitempty"` // contains filtered or unexported fields }
func (*ArrayOfAvailabilities) Descriptor
deprecated
func (*ArrayOfAvailabilities) Descriptor() ([]byte, []int)
Deprecated: Use ArrayOfAvailabilities.ProtoReflect.Descriptor instead.
func (*ArrayOfAvailabilities) GetAvailabilities ¶
func (x *ArrayOfAvailabilities) GetAvailabilities() []*Avaiability
func (*ArrayOfAvailabilities) ProtoMessage ¶
func (*ArrayOfAvailabilities) ProtoMessage()
func (*ArrayOfAvailabilities) ProtoReflect ¶
func (x *ArrayOfAvailabilities) ProtoReflect() protoreflect.Message
func (*ArrayOfAvailabilities) Reset ¶
func (x *ArrayOfAvailabilities) Reset()
func (*ArrayOfAvailabilities) String ¶
func (x *ArrayOfAvailabilities) String() string
type Avaiability ¶
type Avaiability struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MinPrice float64 `protobuf:"fixed64,3,opt,name=min_price,proto3" json:"min_price,omitempty"` Thumbnail string `protobuf:"bytes,4,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` Location *Location `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*Avaiability) Descriptor
deprecated
func (*Avaiability) Descriptor() ([]byte, []int)
Deprecated: Use Avaiability.ProtoReflect.Descriptor instead.
func (*Avaiability) GetId ¶
func (x *Avaiability) GetId() string
func (*Avaiability) GetLocation ¶
func (x *Avaiability) GetLocation() *Location
func (*Avaiability) GetMinPrice ¶
func (x *Avaiability) GetMinPrice() float64
func (*Avaiability) GetName ¶
func (x *Avaiability) GetName() string
func (*Avaiability) GetThumbnail ¶
func (x *Avaiability) GetThumbnail() string
func (*Avaiability) ProtoMessage ¶
func (*Avaiability) ProtoMessage()
func (*Avaiability) ProtoReflect ¶
func (x *Avaiability) ProtoReflect() protoreflect.Message
func (*Avaiability) Reset ¶
func (x *Avaiability) Reset()
func (*Avaiability) String ¶
func (x *Avaiability) String() string
type AvailabilityReq ¶
type AvailabilityReq struct { Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` Period *Period `protobuf:"bytes,3,opt,name=period,proto3" json:"period,omitempty"` Pax []int32 `protobuf:"varint,4,rep,packed,name=pax,proto3" json:"pax,omitempty"` // contains filtered or unexported fields }
func (*AvailabilityReq) Descriptor
deprecated
func (*AvailabilityReq) Descriptor() ([]byte, []int)
Deprecated: Use AvailabilityReq.ProtoReflect.Descriptor instead.
func (*AvailabilityReq) GetClient ¶
func (x *AvailabilityReq) GetClient() string
func (*AvailabilityReq) GetLocation ¶
func (x *AvailabilityReq) GetLocation() *Location
func (*AvailabilityReq) GetPax ¶
func (x *AvailabilityReq) GetPax() []int32
func (*AvailabilityReq) GetPeriod ¶
func (x *AvailabilityReq) GetPeriod() *Period
func (*AvailabilityReq) ProtoMessage ¶
func (*AvailabilityReq) ProtoMessage()
func (*AvailabilityReq) ProtoReflect ¶
func (x *AvailabilityReq) ProtoReflect() protoreflect.Message
func (*AvailabilityReq) Reset ¶
func (x *AvailabilityReq) Reset()
func (*AvailabilityReq) String ¶
func (x *AvailabilityReq) String() string
type AvailabilityRes ¶
type AvailabilityRes struct { // Types that are assignable to Result: // *AvailabilityRes_Data // *AvailabilityRes_Error Result isAvailabilityRes_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*AvailabilityRes) Descriptor
deprecated
func (*AvailabilityRes) Descriptor() ([]byte, []int)
Deprecated: Use AvailabilityRes.ProtoReflect.Descriptor instead.
func (*AvailabilityRes) GetData ¶
func (x *AvailabilityRes) GetData() *ArrayOfAvailabilities
func (*AvailabilityRes) GetError ¶
func (x *AvailabilityRes) GetError() string
func (*AvailabilityRes) GetResult ¶
func (m *AvailabilityRes) GetResult() isAvailabilityRes_Result
func (*AvailabilityRes) ProtoMessage ¶
func (*AvailabilityRes) ProtoMessage()
func (*AvailabilityRes) ProtoReflect ¶
func (x *AvailabilityRes) ProtoReflect() protoreflect.Message
func (*AvailabilityRes) Reset ¶
func (x *AvailabilityRes) Reset()
func (*AvailabilityRes) String ¶
func (x *AvailabilityRes) String() string
type AvailabilityRes_Data ¶
type AvailabilityRes_Data struct {
Data *ArrayOfAvailabilities `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}
type AvailabilityRes_Error ¶
type AvailabilityRes_Error struct {
Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type Location ¶
type Location struct { Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*Location) Descriptor
deprecated
func (*Location) GetLatitude ¶
func (*Location) GetLongitude ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type Period ¶
type Period struct { Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*Period) Descriptor
deprecated
func (*Period) ProtoMessage ¶
func (*Period) ProtoMessage()
func (*Period) ProtoReflect ¶
func (x *Period) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.