trip

package
v0.0.0-...-8f9ff4f Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateTripRequest_Start_DEFAULT *base.Location
View Source
var CreateTripResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var CreateTripResponse_TripEntity_DEFAULT *base.TripEntity
View Source
var DeleteTripResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetAllTripsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetSomeTripsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetTripResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetTripResponse_Trip_DEFAULT *base.Trip
View Source
var GetTripsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var UpdateTripRequest_Current_DEFAULT *base.Location
View Source
var UpdateTripResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var UpdateTripResponse_Trip_DEFAULT *base.Trip

Functions

This section is empty.

Types

type CreateTripRequest

type CreateTripRequest struct {
	Start     *base.Location `thrift:"start,1" frugal:"1,default,base.Location" json:"start"`
	CarId     string         `thrift:"car_id,2" frugal:"2,default,string" json:"car_id"`
	AvatarUrl string         `thrift:"avatar_url,3" frugal:"3,default,string" json:"avatar_url"`
	AccountId string         `thrift:"account_id,4" frugal:"4,default,string" json:"account_id"`
}
var TripServiceCreateTripArgs_Req_DEFAULT *CreateTripRequest

func NewCreateTripRequest

func NewCreateTripRequest() *CreateTripRequest

func (*CreateTripRequest) BLength

func (p *CreateTripRequest) BLength() int

func (*CreateTripRequest) DeepEqual

func (p *CreateTripRequest) DeepEqual(ano *CreateTripRequest) bool

func (*CreateTripRequest) FastRead

func (p *CreateTripRequest) FastRead(buf []byte) (int, error)

func (*CreateTripRequest) FastReadField1

func (p *CreateTripRequest) FastReadField1(buf []byte) (int, error)

func (*CreateTripRequest) FastReadField2

func (p *CreateTripRequest) FastReadField2(buf []byte) (int, error)

func (*CreateTripRequest) FastReadField3

func (p *CreateTripRequest) FastReadField3(buf []byte) (int, error)

func (*CreateTripRequest) FastReadField4

func (p *CreateTripRequest) FastReadField4(buf []byte) (int, error)

func (*CreateTripRequest) FastWrite

func (p *CreateTripRequest) FastWrite(buf []byte) int

for compatibility

func (*CreateTripRequest) FastWriteNocopy

func (p *CreateTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CreateTripRequest) Field1DeepEqual

func (p *CreateTripRequest) Field1DeepEqual(src *base.Location) bool

func (*CreateTripRequest) Field2DeepEqual

func (p *CreateTripRequest) Field2DeepEqual(src string) bool

func (*CreateTripRequest) Field3DeepEqual

func (p *CreateTripRequest) Field3DeepEqual(src string) bool

func (*CreateTripRequest) Field4DeepEqual

func (p *CreateTripRequest) Field4DeepEqual(src string) bool

func (*CreateTripRequest) GetAccountId

func (p *CreateTripRequest) GetAccountId() (v string)

func (*CreateTripRequest) GetAvatarUrl

func (p *CreateTripRequest) GetAvatarUrl() (v string)

func (*CreateTripRequest) GetCarId

func (p *CreateTripRequest) GetCarId() (v string)

func (*CreateTripRequest) GetStart

func (p *CreateTripRequest) GetStart() (v *base.Location)

func (*CreateTripRequest) InitDefault

func (p *CreateTripRequest) InitDefault()

func (*CreateTripRequest) IsSetStart

func (p *CreateTripRequest) IsSetStart() bool

func (*CreateTripRequest) Read

func (p *CreateTripRequest) Read(iprot thrift.TProtocol) (err error)

func (*CreateTripRequest) ReadField1

func (p *CreateTripRequest) ReadField1(iprot thrift.TProtocol) error

func (*CreateTripRequest) ReadField2

func (p *CreateTripRequest) ReadField2(iprot thrift.TProtocol) error

func (*CreateTripRequest) ReadField3

func (p *CreateTripRequest) ReadField3(iprot thrift.TProtocol) error

func (*CreateTripRequest) ReadField4

func (p *CreateTripRequest) ReadField4(iprot thrift.TProtocol) error

func (*CreateTripRequest) SetAccountId

func (p *CreateTripRequest) SetAccountId(val string)

func (*CreateTripRequest) SetAvatarUrl

func (p *CreateTripRequest) SetAvatarUrl(val string)

func (*CreateTripRequest) SetCarId

func (p *CreateTripRequest) SetCarId(val string)

func (*CreateTripRequest) SetStart

func (p *CreateTripRequest) SetStart(val *base.Location)

func (*CreateTripRequest) String

func (p *CreateTripRequest) String() string

func (*CreateTripRequest) Write

func (p *CreateTripRequest) Write(oprot thrift.TProtocol) (err error)

type CreateTripResponse

type CreateTripResponse struct {
	BaseResp   *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
	TripEntity *base.TripEntity   `thrift:"trip_entity,2" frugal:"2,default,base.TripEntity" json:"trip_entity"`
}
var TripServiceCreateTripResult_Success_DEFAULT *CreateTripResponse

func NewCreateTripResponse

func NewCreateTripResponse() *CreateTripResponse

func (*CreateTripResponse) BLength

func (p *CreateTripResponse) BLength() int

func (*CreateTripResponse) DeepEqual

func (p *CreateTripResponse) DeepEqual(ano *CreateTripResponse) bool

func (*CreateTripResponse) FastRead

func (p *CreateTripResponse) FastRead(buf []byte) (int, error)

func (*CreateTripResponse) FastReadField1

func (p *CreateTripResponse) FastReadField1(buf []byte) (int, error)

func (*CreateTripResponse) FastReadField2

func (p *CreateTripResponse) FastReadField2(buf []byte) (int, error)

func (*CreateTripResponse) FastWrite

func (p *CreateTripResponse) FastWrite(buf []byte) int

for compatibility

func (*CreateTripResponse) FastWriteNocopy

func (p *CreateTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CreateTripResponse) Field1DeepEqual

func (p *CreateTripResponse) Field1DeepEqual(src *base.BaseResponse) bool

func (*CreateTripResponse) Field2DeepEqual

func (p *CreateTripResponse) Field2DeepEqual(src *base.TripEntity) bool

func (*CreateTripResponse) GetBaseResp

func (p *CreateTripResponse) GetBaseResp() (v *base.BaseResponse)

func (*CreateTripResponse) GetTripEntity

func (p *CreateTripResponse) GetTripEntity() (v *base.TripEntity)

func (*CreateTripResponse) InitDefault

func (p *CreateTripResponse) InitDefault()

func (*CreateTripResponse) IsSetBaseResp

func (p *CreateTripResponse) IsSetBaseResp() bool

func (*CreateTripResponse) IsSetTripEntity

func (p *CreateTripResponse) IsSetTripEntity() bool

func (*CreateTripResponse) Read

func (p *CreateTripResponse) Read(iprot thrift.TProtocol) (err error)

func (*CreateTripResponse) ReadField1

func (p *CreateTripResponse) ReadField1(iprot thrift.TProtocol) error

func (*CreateTripResponse) ReadField2

func (p *CreateTripResponse) ReadField2(iprot thrift.TProtocol) error

func (*CreateTripResponse) SetBaseResp

func (p *CreateTripResponse) SetBaseResp(val *base.BaseResponse)

func (*CreateTripResponse) SetTripEntity

func (p *CreateTripResponse) SetTripEntity(val *base.TripEntity)

func (*CreateTripResponse) String

func (p *CreateTripResponse) String() string

func (*CreateTripResponse) Write

func (p *CreateTripResponse) Write(oprot thrift.TProtocol) (err error)

type DeleteTripRequest

type DeleteTripRequest struct {
	Id string `thrift:"id,1" frugal:"1,default,string" json:"id"`
}
var TripServiceDeleteTripArgs_Req_DEFAULT *DeleteTripRequest

func NewDeleteTripRequest

func NewDeleteTripRequest() *DeleteTripRequest

func (*DeleteTripRequest) BLength

func (p *DeleteTripRequest) BLength() int

func (*DeleteTripRequest) DeepEqual

func (p *DeleteTripRequest) DeepEqual(ano *DeleteTripRequest) bool

func (*DeleteTripRequest) FastRead

func (p *DeleteTripRequest) FastRead(buf []byte) (int, error)

func (*DeleteTripRequest) FastReadField1

func (p *DeleteTripRequest) FastReadField1(buf []byte) (int, error)

func (*DeleteTripRequest) FastWrite

func (p *DeleteTripRequest) FastWrite(buf []byte) int

for compatibility

func (*DeleteTripRequest) FastWriteNocopy

func (p *DeleteTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*DeleteTripRequest) Field1DeepEqual

func (p *DeleteTripRequest) Field1DeepEqual(src string) bool

func (*DeleteTripRequest) GetId

func (p *DeleteTripRequest) GetId() (v string)

func (*DeleteTripRequest) InitDefault

func (p *DeleteTripRequest) InitDefault()

func (*DeleteTripRequest) Read

func (p *DeleteTripRequest) Read(iprot thrift.TProtocol) (err error)

func (*DeleteTripRequest) ReadField1

func (p *DeleteTripRequest) ReadField1(iprot thrift.TProtocol) error

func (*DeleteTripRequest) SetId

func (p *DeleteTripRequest) SetId(val string)

func (*DeleteTripRequest) String

func (p *DeleteTripRequest) String() string

func (*DeleteTripRequest) Write

func (p *DeleteTripRequest) Write(oprot thrift.TProtocol) (err error)

type DeleteTripResponse

type DeleteTripResponse struct {
	BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var TripServiceDeleteTripResult_Success_DEFAULT *DeleteTripResponse

func NewDeleteTripResponse

func NewDeleteTripResponse() *DeleteTripResponse

func (*DeleteTripResponse) BLength

func (p *DeleteTripResponse) BLength() int

func (*DeleteTripResponse) DeepEqual

func (p *DeleteTripResponse) DeepEqual(ano *DeleteTripResponse) bool

func (*DeleteTripResponse) FastRead

func (p *DeleteTripResponse) FastRead(buf []byte) (int, error)

func (*DeleteTripResponse) FastReadField1

func (p *DeleteTripResponse) FastReadField1(buf []byte) (int, error)

func (*DeleteTripResponse) FastWrite

func (p *DeleteTripResponse) FastWrite(buf []byte) int

for compatibility

func (*DeleteTripResponse) FastWriteNocopy

func (p *DeleteTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*DeleteTripResponse) Field1DeepEqual

func (p *DeleteTripResponse) Field1DeepEqual(src *base.BaseResponse) bool

func (*DeleteTripResponse) GetBaseResp

func (p *DeleteTripResponse) GetBaseResp() (v *base.BaseResponse)

func (*DeleteTripResponse) InitDefault

func (p *DeleteTripResponse) InitDefault()

func (*DeleteTripResponse) IsSetBaseResp

func (p *DeleteTripResponse) IsSetBaseResp() bool

func (*DeleteTripResponse) Read

func (p *DeleteTripResponse) Read(iprot thrift.TProtocol) (err error)

func (*DeleteTripResponse) ReadField1

func (p *DeleteTripResponse) ReadField1(iprot thrift.TProtocol) error

func (*DeleteTripResponse) SetBaseResp

func (p *DeleteTripResponse) SetBaseResp(val *base.BaseResponse)

func (*DeleteTripResponse) String

func (p *DeleteTripResponse) String() string

func (*DeleteTripResponse) Write

func (p *DeleteTripResponse) Write(oprot thrift.TProtocol) (err error)

type GetAllTripsRequest

type GetAllTripsRequest struct {
}
var TripServiceGetAllTripsArgs_Req_DEFAULT *GetAllTripsRequest

func NewGetAllTripsRequest

func NewGetAllTripsRequest() *GetAllTripsRequest

func (*GetAllTripsRequest) BLength

func (p *GetAllTripsRequest) BLength() int

func (*GetAllTripsRequest) DeepEqual

func (p *GetAllTripsRequest) DeepEqual(ano *GetAllTripsRequest) bool

func (*GetAllTripsRequest) FastRead

func (p *GetAllTripsRequest) FastRead(buf []byte) (int, error)

func (*GetAllTripsRequest) FastWrite

func (p *GetAllTripsRequest) FastWrite(buf []byte) int

for compatibility

func (*GetAllTripsRequest) FastWriteNocopy

func (p *GetAllTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetAllTripsRequest) InitDefault

func (p *GetAllTripsRequest) InitDefault()

func (*GetAllTripsRequest) Read

func (p *GetAllTripsRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetAllTripsRequest) String

func (p *GetAllTripsRequest) String() string

func (*GetAllTripsRequest) Write

func (p *GetAllTripsRequest) Write(oprot thrift.TProtocol) (err error)

type GetAllTripsResponse

type GetAllTripsResponse struct {
	BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
	Trips    []*base.TripEntity `thrift:"trips,2" frugal:"2,default,list<base.TripEntity>" json:"trips"`
}
var TripServiceGetAllTripsResult_Success_DEFAULT *GetAllTripsResponse

func NewGetAllTripsResponse

func NewGetAllTripsResponse() *GetAllTripsResponse

func (*GetAllTripsResponse) BLength

func (p *GetAllTripsResponse) BLength() int

func (*GetAllTripsResponse) DeepEqual

func (p *GetAllTripsResponse) DeepEqual(ano *GetAllTripsResponse) bool

func (*GetAllTripsResponse) FastRead

func (p *GetAllTripsResponse) FastRead(buf []byte) (int, error)

func (*GetAllTripsResponse) FastReadField1

func (p *GetAllTripsResponse) FastReadField1(buf []byte) (int, error)

func (*GetAllTripsResponse) FastReadField2

func (p *GetAllTripsResponse) FastReadField2(buf []byte) (int, error)

func (*GetAllTripsResponse) FastWrite

func (p *GetAllTripsResponse) FastWrite(buf []byte) int

for compatibility

func (*GetAllTripsResponse) FastWriteNocopy

func (p *GetAllTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetAllTripsResponse) Field1DeepEqual

func (p *GetAllTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool

func (*GetAllTripsResponse) Field2DeepEqual

func (p *GetAllTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool

func (*GetAllTripsResponse) GetBaseResp

func (p *GetAllTripsResponse) GetBaseResp() (v *base.BaseResponse)

func (*GetAllTripsResponse) GetTrips

func (p *GetAllTripsResponse) GetTrips() (v []*base.TripEntity)

func (*GetAllTripsResponse) InitDefault

func (p *GetAllTripsResponse) InitDefault()

func (*GetAllTripsResponse) IsSetBaseResp

func (p *GetAllTripsResponse) IsSetBaseResp() bool

func (*GetAllTripsResponse) Read

func (p *GetAllTripsResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetAllTripsResponse) ReadField1

func (p *GetAllTripsResponse) ReadField1(iprot thrift.TProtocol) error

func (*GetAllTripsResponse) ReadField2

func (p *GetAllTripsResponse) ReadField2(iprot thrift.TProtocol) error

func (*GetAllTripsResponse) SetBaseResp

func (p *GetAllTripsResponse) SetBaseResp(val *base.BaseResponse)

func (*GetAllTripsResponse) SetTrips

func (p *GetAllTripsResponse) SetTrips(val []*base.TripEntity)

func (*GetAllTripsResponse) String

func (p *GetAllTripsResponse) String() string

func (*GetAllTripsResponse) Write

func (p *GetAllTripsResponse) Write(oprot thrift.TProtocol) (err error)

type GetSomeTripsRequest

type GetSomeTripsRequest struct {
}
var TripServiceGetSomeTripsArgs_Req_DEFAULT *GetSomeTripsRequest

func NewGetSomeTripsRequest

func NewGetSomeTripsRequest() *GetSomeTripsRequest

func (*GetSomeTripsRequest) BLength

func (p *GetSomeTripsRequest) BLength() int

func (*GetSomeTripsRequest) DeepEqual

func (p *GetSomeTripsRequest) DeepEqual(ano *GetSomeTripsRequest) bool

func (*GetSomeTripsRequest) FastRead

func (p *GetSomeTripsRequest) FastRead(buf []byte) (int, error)

func (*GetSomeTripsRequest) FastWrite

func (p *GetSomeTripsRequest) FastWrite(buf []byte) int

for compatibility

func (*GetSomeTripsRequest) FastWriteNocopy

func (p *GetSomeTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetSomeTripsRequest) InitDefault

func (p *GetSomeTripsRequest) InitDefault()

func (*GetSomeTripsRequest) Read

func (p *GetSomeTripsRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetSomeTripsRequest) String

func (p *GetSomeTripsRequest) String() string

func (*GetSomeTripsRequest) Write

func (p *GetSomeTripsRequest) Write(oprot thrift.TProtocol) (err error)

type GetSomeTripsResponse

type GetSomeTripsResponse struct {
	BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
	Trips    []*base.TripEntity `thrift:"trips,2" frugal:"2,default,list<base.TripEntity>" json:"trips"`
}
var TripServiceGetSomeTripsResult_Success_DEFAULT *GetSomeTripsResponse

func NewGetSomeTripsResponse

func NewGetSomeTripsResponse() *GetSomeTripsResponse

func (*GetSomeTripsResponse) BLength

func (p *GetSomeTripsResponse) BLength() int

func (*GetSomeTripsResponse) DeepEqual

func (p *GetSomeTripsResponse) DeepEqual(ano *GetSomeTripsResponse) bool

func (*GetSomeTripsResponse) FastRead

func (p *GetSomeTripsResponse) FastRead(buf []byte) (int, error)

func (*GetSomeTripsResponse) FastReadField1

func (p *GetSomeTripsResponse) FastReadField1(buf []byte) (int, error)

func (*GetSomeTripsResponse) FastReadField2

func (p *GetSomeTripsResponse) FastReadField2(buf []byte) (int, error)

func (*GetSomeTripsResponse) FastWrite

func (p *GetSomeTripsResponse) FastWrite(buf []byte) int

for compatibility

func (*GetSomeTripsResponse) FastWriteNocopy

func (p *GetSomeTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetSomeTripsResponse) Field1DeepEqual

func (p *GetSomeTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool

func (*GetSomeTripsResponse) Field2DeepEqual

func (p *GetSomeTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool

func (*GetSomeTripsResponse) GetBaseResp

func (p *GetSomeTripsResponse) GetBaseResp() (v *base.BaseResponse)

func (*GetSomeTripsResponse) GetTrips

func (p *GetSomeTripsResponse) GetTrips() (v []*base.TripEntity)

func (*GetSomeTripsResponse) InitDefault

func (p *GetSomeTripsResponse) InitDefault()

func (*GetSomeTripsResponse) IsSetBaseResp

func (p *GetSomeTripsResponse) IsSetBaseResp() bool

func (*GetSomeTripsResponse) Read

func (p *GetSomeTripsResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetSomeTripsResponse) ReadField1

func (p *GetSomeTripsResponse) ReadField1(iprot thrift.TProtocol) error

func (*GetSomeTripsResponse) ReadField2

func (p *GetSomeTripsResponse) ReadField2(iprot thrift.TProtocol) error

func (*GetSomeTripsResponse) SetBaseResp

func (p *GetSomeTripsResponse) SetBaseResp(val *base.BaseResponse)

func (*GetSomeTripsResponse) SetTrips

func (p *GetSomeTripsResponse) SetTrips(val []*base.TripEntity)

func (*GetSomeTripsResponse) String

func (p *GetSomeTripsResponse) String() string

func (*GetSomeTripsResponse) Write

func (p *GetSomeTripsResponse) Write(oprot thrift.TProtocol) (err error)

type GetTripRequest

type GetTripRequest struct {
	Id        string `thrift:"id,1" frugal:"1,default,string" json:"id"`
	AccountId string `thrift:"account_id,2" frugal:"2,default,string" json:"account_id"`
}
var TripServiceGetTripArgs_Req_DEFAULT *GetTripRequest

func NewGetTripRequest

func NewGetTripRequest() *GetTripRequest

func (*GetTripRequest) BLength

func (p *GetTripRequest) BLength() int

func (*GetTripRequest) DeepEqual

func (p *GetTripRequest) DeepEqual(ano *GetTripRequest) bool

func (*GetTripRequest) FastRead

func (p *GetTripRequest) FastRead(buf []byte) (int, error)

func (*GetTripRequest) FastReadField1

func (p *GetTripRequest) FastReadField1(buf []byte) (int, error)

func (*GetTripRequest) FastReadField2

func (p *GetTripRequest) FastReadField2(buf []byte) (int, error)

func (*GetTripRequest) FastWrite

func (p *GetTripRequest) FastWrite(buf []byte) int

for compatibility

func (*GetTripRequest) FastWriteNocopy

func (p *GetTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetTripRequest) Field1DeepEqual

func (p *GetTripRequest) Field1DeepEqual(src string) bool

func (*GetTripRequest) Field2DeepEqual

func (p *GetTripRequest) Field2DeepEqual(src string) bool

func (*GetTripRequest) GetAccountId

func (p *GetTripRequest) GetAccountId() (v string)

func (*GetTripRequest) GetId

func (p *GetTripRequest) GetId() (v string)

func (*GetTripRequest) InitDefault

func (p *GetTripRequest) InitDefault()

func (*GetTripRequest) Read

func (p *GetTripRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetTripRequest) ReadField1

func (p *GetTripRequest) ReadField1(iprot thrift.TProtocol) error

func (*GetTripRequest) ReadField2

func (p *GetTripRequest) ReadField2(iprot thrift.TProtocol) error

func (*GetTripRequest) SetAccountId

func (p *GetTripRequest) SetAccountId(val string)

func (*GetTripRequest) SetId

func (p *GetTripRequest) SetId(val string)

func (*GetTripRequest) String

func (p *GetTripRequest) String() string

func (*GetTripRequest) Write

func (p *GetTripRequest) Write(oprot thrift.TProtocol) (err error)

type GetTripResponse

type GetTripResponse struct {
	BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
	Trip     *base.Trip         `thrift:"trip,2" frugal:"2,default,base.Trip" json:"trip"`
}
var TripServiceGetTripResult_Success_DEFAULT *GetTripResponse

func NewGetTripResponse

func NewGetTripResponse() *GetTripResponse

func (*GetTripResponse) BLength

func (p *GetTripResponse) BLength() int

func (*GetTripResponse) DeepEqual

func (p *GetTripResponse) DeepEqual(ano *GetTripResponse) bool

func (*GetTripResponse) FastRead

func (p *GetTripResponse) FastRead(buf []byte) (int, error)

func (*GetTripResponse) FastReadField1

func (p *GetTripResponse) FastReadField1(buf []byte) (int, error)

func (*GetTripResponse) FastReadField2

func (p *GetTripResponse) FastReadField2(buf []byte) (int, error)

func (*GetTripResponse) FastWrite

func (p *GetTripResponse) FastWrite(buf []byte) int

for compatibility

func (*GetTripResponse) FastWriteNocopy

func (p *GetTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetTripResponse) Field1DeepEqual

func (p *GetTripResponse) Field1DeepEqual(src *base.BaseResponse) bool

func (*GetTripResponse) Field2DeepEqual

func (p *GetTripResponse) Field2DeepEqual(src *base.Trip) bool

func (*GetTripResponse) GetBaseResp

func (p *GetTripResponse) GetBaseResp() (v *base.BaseResponse)

func (*GetTripResponse) GetTrip

func (p *GetTripResponse) GetTrip() (v *base.Trip)

func (*GetTripResponse) InitDefault

func (p *GetTripResponse) InitDefault()

func (*GetTripResponse) IsSetBaseResp

func (p *GetTripResponse) IsSetBaseResp() bool

func (*GetTripResponse) IsSetTrip

func (p *GetTripResponse) IsSetTrip() bool

func (*GetTripResponse) Read

func (p *GetTripResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetTripResponse) ReadField1

func (p *GetTripResponse) ReadField1(iprot thrift.TProtocol) error

func (*GetTripResponse) ReadField2

func (p *GetTripResponse) ReadField2(iprot thrift.TProtocol) error

func (*GetTripResponse) SetBaseResp

func (p *GetTripResponse) SetBaseResp(val *base.BaseResponse)

func (*GetTripResponse) SetTrip

func (p *GetTripResponse) SetTrip(val *base.Trip)

func (*GetTripResponse) String

func (p *GetTripResponse) String() string

func (*GetTripResponse) Write

func (p *GetTripResponse) Write(oprot thrift.TProtocol) (err error)

type GetTripsRequest

type GetTripsRequest struct {
	Status    base.TripStatus `thrift:"status,1" frugal:"1,default,TripStatus" json:"status"`
	AccountId string          `thrift:"account_id,2" frugal:"2,default,string" json:"account_id"`
}
var TripServiceGetTripsArgs_Req_DEFAULT *GetTripsRequest

func NewGetTripsRequest

func NewGetTripsRequest() *GetTripsRequest

func (*GetTripsRequest) BLength

func (p *GetTripsRequest) BLength() int

func (*GetTripsRequest) DeepEqual

func (p *GetTripsRequest) DeepEqual(ano *GetTripsRequest) bool

func (*GetTripsRequest) FastRead

func (p *GetTripsRequest) FastRead(buf []byte) (int, error)

func (*GetTripsRequest) FastReadField1

func (p *GetTripsRequest) FastReadField1(buf []byte) (int, error)

func (*GetTripsRequest) FastReadField2

func (p *GetTripsRequest) FastReadField2(buf []byte) (int, error)

func (*GetTripsRequest) FastWrite

func (p *GetTripsRequest) FastWrite(buf []byte) int

for compatibility

func (*GetTripsRequest) FastWriteNocopy

func (p *GetTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetTripsRequest) Field1DeepEqual

func (p *GetTripsRequest) Field1DeepEqual(src base.TripStatus) bool

func (*GetTripsRequest) Field2DeepEqual

func (p *GetTripsRequest) Field2DeepEqual(src string) bool

func (*GetTripsRequest) GetAccountId

func (p *GetTripsRequest) GetAccountId() (v string)

func (*GetTripsRequest) GetStatus

func (p *GetTripsRequest) GetStatus() (v base.TripStatus)

func (*GetTripsRequest) InitDefault

func (p *GetTripsRequest) InitDefault()

func (*GetTripsRequest) Read

func (p *GetTripsRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetTripsRequest) ReadField1

func (p *GetTripsRequest) ReadField1(iprot thrift.TProtocol) error

func (*GetTripsRequest) ReadField2

func (p *GetTripsRequest) ReadField2(iprot thrift.TProtocol) error

func (*GetTripsRequest) SetAccountId

func (p *GetTripsRequest) SetAccountId(val string)

func (*GetTripsRequest) SetStatus

func (p *GetTripsRequest) SetStatus(val base.TripStatus)

func (*GetTripsRequest) String

func (p *GetTripsRequest) String() string

func (*GetTripsRequest) Write

func (p *GetTripsRequest) Write(oprot thrift.TProtocol) (err error)

type GetTripsResponse

type GetTripsResponse struct {
	BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
	Trips    []*base.TripEntity `thrift:"trips,2" frugal:"2,default,list<base.TripEntity>" json:"trips"`
}
var TripServiceGetTripsResult_Success_DEFAULT *GetTripsResponse

func NewGetTripsResponse

func NewGetTripsResponse() *GetTripsResponse

func (*GetTripsResponse) BLength

func (p *GetTripsResponse) BLength() int

func (*GetTripsResponse) DeepEqual

func (p *GetTripsResponse) DeepEqual(ano *GetTripsResponse) bool

func (*GetTripsResponse) FastRead

func (p *GetTripsResponse) FastRead(buf []byte) (int, error)

func (*GetTripsResponse) FastReadField1

func (p *GetTripsResponse) FastReadField1(buf []byte) (int, error)

func (*GetTripsResponse) FastReadField2

func (p *GetTripsResponse) FastReadField2(buf []byte) (int, error)

func (*GetTripsResponse) FastWrite

func (p *GetTripsResponse) FastWrite(buf []byte) int

for compatibility

func (*GetTripsResponse) FastWriteNocopy

func (p *GetTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetTripsResponse) Field1DeepEqual

func (p *GetTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool

func (*GetTripsResponse) Field2DeepEqual

func (p *GetTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool

func (*GetTripsResponse) GetBaseResp

func (p *GetTripsResponse) GetBaseResp() (v *base.BaseResponse)

func (*GetTripsResponse) GetTrips

func (p *GetTripsResponse) GetTrips() (v []*base.TripEntity)

func (*GetTripsResponse) InitDefault

func (p *GetTripsResponse) InitDefault()

func (*GetTripsResponse) IsSetBaseResp

func (p *GetTripsResponse) IsSetBaseResp() bool

func (*GetTripsResponse) Read

func (p *GetTripsResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetTripsResponse) ReadField1

func (p *GetTripsResponse) ReadField1(iprot thrift.TProtocol) error

func (*GetTripsResponse) ReadField2

func (p *GetTripsResponse) ReadField2(iprot thrift.TProtocol) error

func (*GetTripsResponse) SetBaseResp

func (p *GetTripsResponse) SetBaseResp(val *base.BaseResponse)

func (*GetTripsResponse) SetTrips

func (p *GetTripsResponse) SetTrips(val []*base.TripEntity)

func (*GetTripsResponse) String

func (p *GetTripsResponse) String() string

func (*GetTripsResponse) Write

func (p *GetTripsResponse) Write(oprot thrift.TProtocol) (err error)

type TripService

type TripService interface {
	CreateTrip(ctx context.Context, req *CreateTripRequest) (r *CreateTripResponse, err error)

	GetTrip(ctx context.Context, req *GetTripRequest) (r *GetTripResponse, err error)

	GetTrips(ctx context.Context, req *GetTripsRequest) (r *GetTripsResponse, err error)

	UpdateTrip(ctx context.Context, req *UpdateTripRequest) (r *UpdateTripResponse, err error)

	GetAllTrips(ctx context.Context, req *GetAllTripsRequest) (r *GetAllTripsResponse, err error)

	GetSomeTrips(ctx context.Context, req *GetSomeTripsRequest) (r *GetSomeTripsResponse, err error)

	DeleteTrip(ctx context.Context, req *DeleteTripRequest) (r *DeleteTripResponse, err error)
}

type TripServiceClient

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

func NewTripServiceClient

func NewTripServiceClient(c thrift.TClient) *TripServiceClient

func NewTripServiceClientProtocol

func NewTripServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TripServiceClient

func (*TripServiceClient) Client_

func (p *TripServiceClient) Client_() thrift.TClient

func (*TripServiceClient) CreateTrip

func (p *TripServiceClient) CreateTrip(ctx context.Context, req *CreateTripRequest) (r *CreateTripResponse, err error)

func (*TripServiceClient) DeleteTrip

func (p *TripServiceClient) DeleteTrip(ctx context.Context, req *DeleteTripRequest) (r *DeleteTripResponse, err error)

func (*TripServiceClient) GetAllTrips

func (p *TripServiceClient) GetAllTrips(ctx context.Context, req *GetAllTripsRequest) (r *GetAllTripsResponse, err error)

func (*TripServiceClient) GetSomeTrips

func (p *TripServiceClient) GetSomeTrips(ctx context.Context, req *GetSomeTripsRequest) (r *GetSomeTripsResponse, err error)

func (*TripServiceClient) GetTrip

func (p *TripServiceClient) GetTrip(ctx context.Context, req *GetTripRequest) (r *GetTripResponse, err error)

func (*TripServiceClient) GetTrips

func (p *TripServiceClient) GetTrips(ctx context.Context, req *GetTripsRequest) (r *GetTripsResponse, err error)

func (*TripServiceClient) UpdateTrip

func (p *TripServiceClient) UpdateTrip(ctx context.Context, req *UpdateTripRequest) (r *UpdateTripResponse, err error)

type TripServiceCreateTripArgs

type TripServiceCreateTripArgs struct {
	Req *CreateTripRequest `thrift:"req,1" frugal:"1,default,CreateTripRequest" json:"req"`
}

func NewTripServiceCreateTripArgs

func NewTripServiceCreateTripArgs() *TripServiceCreateTripArgs

func (*TripServiceCreateTripArgs) BLength

func (p *TripServiceCreateTripArgs) BLength() int

func (*TripServiceCreateTripArgs) DeepEqual

func (*TripServiceCreateTripArgs) FastRead

func (p *TripServiceCreateTripArgs) FastRead(buf []byte) (int, error)

func (*TripServiceCreateTripArgs) FastReadField1

func (p *TripServiceCreateTripArgs) FastReadField1(buf []byte) (int, error)

func (*TripServiceCreateTripArgs) FastWrite

func (p *TripServiceCreateTripArgs) FastWrite(buf []byte) int

for compatibility

func (*TripServiceCreateTripArgs) FastWriteNocopy

func (p *TripServiceCreateTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceCreateTripArgs) Field1DeepEqual

func (p *TripServiceCreateTripArgs) Field1DeepEqual(src *CreateTripRequest) bool

func (*TripServiceCreateTripArgs) GetFirstArgument

func (p *TripServiceCreateTripArgs) GetFirstArgument() interface{}

func (*TripServiceCreateTripArgs) GetReq

func (*TripServiceCreateTripArgs) InitDefault

func (p *TripServiceCreateTripArgs) InitDefault()

func (*TripServiceCreateTripArgs) IsSetReq

func (p *TripServiceCreateTripArgs) IsSetReq() bool

func (*TripServiceCreateTripArgs) Read

func (p *TripServiceCreateTripArgs) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceCreateTripArgs) ReadField1

func (p *TripServiceCreateTripArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceCreateTripArgs) SetReq

func (*TripServiceCreateTripArgs) String

func (p *TripServiceCreateTripArgs) String() string

func (*TripServiceCreateTripArgs) Write

func (p *TripServiceCreateTripArgs) Write(oprot thrift.TProtocol) (err error)

type TripServiceCreateTripResult

type TripServiceCreateTripResult struct {
	Success *CreateTripResponse `thrift:"success,0,optional" frugal:"0,optional,CreateTripResponse" json:"success,omitempty"`
}

func NewTripServiceCreateTripResult

func NewTripServiceCreateTripResult() *TripServiceCreateTripResult

func (*TripServiceCreateTripResult) BLength

func (p *TripServiceCreateTripResult) BLength() int

func (*TripServiceCreateTripResult) DeepEqual

func (*TripServiceCreateTripResult) FastRead

func (p *TripServiceCreateTripResult) FastRead(buf []byte) (int, error)

func (*TripServiceCreateTripResult) FastReadField0

func (p *TripServiceCreateTripResult) FastReadField0(buf []byte) (int, error)

func (*TripServiceCreateTripResult) FastWrite

func (p *TripServiceCreateTripResult) FastWrite(buf []byte) int

for compatibility

func (*TripServiceCreateTripResult) FastWriteNocopy

func (p *TripServiceCreateTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceCreateTripResult) Field0DeepEqual

func (p *TripServiceCreateTripResult) Field0DeepEqual(src *CreateTripResponse) bool

func (*TripServiceCreateTripResult) GetResult

func (p *TripServiceCreateTripResult) GetResult() interface{}

func (*TripServiceCreateTripResult) GetSuccess

func (p *TripServiceCreateTripResult) GetSuccess() (v *CreateTripResponse)

func (*TripServiceCreateTripResult) InitDefault

func (p *TripServiceCreateTripResult) InitDefault()

func (*TripServiceCreateTripResult) IsSetSuccess

func (p *TripServiceCreateTripResult) IsSetSuccess() bool

func (*TripServiceCreateTripResult) Read

func (p *TripServiceCreateTripResult) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceCreateTripResult) ReadField0

func (p *TripServiceCreateTripResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceCreateTripResult) SetSuccess

func (p *TripServiceCreateTripResult) SetSuccess(x interface{})

func (*TripServiceCreateTripResult) String

func (p *TripServiceCreateTripResult) String() string

func (*TripServiceCreateTripResult) Write

func (p *TripServiceCreateTripResult) Write(oprot thrift.TProtocol) (err error)

type TripServiceDeleteTripArgs

type TripServiceDeleteTripArgs struct {
	Req *DeleteTripRequest `thrift:"req,1" frugal:"1,default,DeleteTripRequest" json:"req"`
}

func NewTripServiceDeleteTripArgs

func NewTripServiceDeleteTripArgs() *TripServiceDeleteTripArgs

func (*TripServiceDeleteTripArgs) BLength

func (p *TripServiceDeleteTripArgs) BLength() int

func (*TripServiceDeleteTripArgs) DeepEqual

func (*TripServiceDeleteTripArgs) FastRead

func (p *TripServiceDeleteTripArgs) FastRead(buf []byte) (int, error)

func (*TripServiceDeleteTripArgs) FastReadField1

func (p *TripServiceDeleteTripArgs) FastReadField1(buf []byte) (int, error)

func (*TripServiceDeleteTripArgs) FastWrite

func (p *TripServiceDeleteTripArgs) FastWrite(buf []byte) int

for compatibility

func (*TripServiceDeleteTripArgs) FastWriteNocopy

func (p *TripServiceDeleteTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceDeleteTripArgs) Field1DeepEqual

func (p *TripServiceDeleteTripArgs) Field1DeepEqual(src *DeleteTripRequest) bool

func (*TripServiceDeleteTripArgs) GetFirstArgument

func (p *TripServiceDeleteTripArgs) GetFirstArgument() interface{}

func (*TripServiceDeleteTripArgs) GetReq

func (*TripServiceDeleteTripArgs) InitDefault

func (p *TripServiceDeleteTripArgs) InitDefault()

func (*TripServiceDeleteTripArgs) IsSetReq

func (p *TripServiceDeleteTripArgs) IsSetReq() bool

func (*TripServiceDeleteTripArgs) Read

func (p *TripServiceDeleteTripArgs) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceDeleteTripArgs) ReadField1

func (p *TripServiceDeleteTripArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceDeleteTripArgs) SetReq

func (*TripServiceDeleteTripArgs) String

func (p *TripServiceDeleteTripArgs) String() string

func (*TripServiceDeleteTripArgs) Write

func (p *TripServiceDeleteTripArgs) Write(oprot thrift.TProtocol) (err error)

type TripServiceDeleteTripResult

type TripServiceDeleteTripResult struct {
	Success *DeleteTripResponse `thrift:"success,0,optional" frugal:"0,optional,DeleteTripResponse" json:"success,omitempty"`
}

func NewTripServiceDeleteTripResult

func NewTripServiceDeleteTripResult() *TripServiceDeleteTripResult

func (*TripServiceDeleteTripResult) BLength

func (p *TripServiceDeleteTripResult) BLength() int

func (*TripServiceDeleteTripResult) DeepEqual

func (*TripServiceDeleteTripResult) FastRead

func (p *TripServiceDeleteTripResult) FastRead(buf []byte) (int, error)

func (*TripServiceDeleteTripResult) FastReadField0

func (p *TripServiceDeleteTripResult) FastReadField0(buf []byte) (int, error)

func (*TripServiceDeleteTripResult) FastWrite

func (p *TripServiceDeleteTripResult) FastWrite(buf []byte) int

for compatibility

func (*TripServiceDeleteTripResult) FastWriteNocopy

func (p *TripServiceDeleteTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceDeleteTripResult) Field0DeepEqual

func (p *TripServiceDeleteTripResult) Field0DeepEqual(src *DeleteTripResponse) bool

func (*TripServiceDeleteTripResult) GetResult

func (p *TripServiceDeleteTripResult) GetResult() interface{}

func (*TripServiceDeleteTripResult) GetSuccess

func (p *TripServiceDeleteTripResult) GetSuccess() (v *DeleteTripResponse)

func (*TripServiceDeleteTripResult) InitDefault

func (p *TripServiceDeleteTripResult) InitDefault()

func (*TripServiceDeleteTripResult) IsSetSuccess

func (p *TripServiceDeleteTripResult) IsSetSuccess() bool

func (*TripServiceDeleteTripResult) Read

func (p *TripServiceDeleteTripResult) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceDeleteTripResult) ReadField0

func (p *TripServiceDeleteTripResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceDeleteTripResult) SetSuccess

func (p *TripServiceDeleteTripResult) SetSuccess(x interface{})

func (*TripServiceDeleteTripResult) String

func (p *TripServiceDeleteTripResult) String() string

func (*TripServiceDeleteTripResult) Write

func (p *TripServiceDeleteTripResult) Write(oprot thrift.TProtocol) (err error)

type TripServiceGetAllTripsArgs

type TripServiceGetAllTripsArgs struct {
	Req *GetAllTripsRequest `thrift:"req,1" frugal:"1,default,GetAllTripsRequest" json:"req"`
}

func NewTripServiceGetAllTripsArgs

func NewTripServiceGetAllTripsArgs() *TripServiceGetAllTripsArgs

func (*TripServiceGetAllTripsArgs) BLength

func (p *TripServiceGetAllTripsArgs) BLength() int

func (*TripServiceGetAllTripsArgs) DeepEqual

func (*TripServiceGetAllTripsArgs) FastRead

func (p *TripServiceGetAllTripsArgs) FastRead(buf []byte) (int, error)

func (*TripServiceGetAllTripsArgs) FastReadField1

func (p *TripServiceGetAllTripsArgs) FastReadField1(buf []byte) (int, error)

func (*TripServiceGetAllTripsArgs) FastWrite

func (p *TripServiceGetAllTripsArgs) FastWrite(buf []byte) int

for compatibility

func (*TripServiceGetAllTripsArgs) FastWriteNocopy

func (p *TripServiceGetAllTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceGetAllTripsArgs) Field1DeepEqual

func (p *TripServiceGetAllTripsArgs) Field1DeepEqual(src *GetAllTripsRequest) bool

func (*TripServiceGetAllTripsArgs) GetFirstArgument

func (p *TripServiceGetAllTripsArgs) GetFirstArgument() interface{}

func (*TripServiceGetAllTripsArgs) GetReq

func (*TripServiceGetAllTripsArgs) InitDefault

func (p *TripServiceGetAllTripsArgs) InitDefault()

func (*TripServiceGetAllTripsArgs) IsSetReq

func (p *TripServiceGetAllTripsArgs) IsSetReq() bool

func (*TripServiceGetAllTripsArgs) Read

func (p *TripServiceGetAllTripsArgs) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceGetAllTripsArgs) ReadField1

func (p *TripServiceGetAllTripsArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceGetAllTripsArgs) SetReq

func (*TripServiceGetAllTripsArgs) String

func (p *TripServiceGetAllTripsArgs) String() string

func (*TripServiceGetAllTripsArgs) Write

func (p *TripServiceGetAllTripsArgs) Write(oprot thrift.TProtocol) (err error)

type TripServiceGetAllTripsResult

type TripServiceGetAllTripsResult struct {
	Success *GetAllTripsResponse `thrift:"success,0,optional" frugal:"0,optional,GetAllTripsResponse" json:"success,omitempty"`
}

func NewTripServiceGetAllTripsResult

func NewTripServiceGetAllTripsResult() *TripServiceGetAllTripsResult

func (*TripServiceGetAllTripsResult) BLength

func (p *TripServiceGetAllTripsResult) BLength() int

func (*TripServiceGetAllTripsResult) DeepEqual

func (*TripServiceGetAllTripsResult) FastRead

func (p *TripServiceGetAllTripsResult) FastRead(buf []byte) (int, error)

func (*TripServiceGetAllTripsResult) FastReadField0

func (p *TripServiceGetAllTripsResult) FastReadField0(buf []byte) (int, error)

func (*TripServiceGetAllTripsResult) FastWrite

func (p *TripServiceGetAllTripsResult) FastWrite(buf []byte) int

for compatibility

func (*TripServiceGetAllTripsResult) FastWriteNocopy

func (p *TripServiceGetAllTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceGetAllTripsResult) Field0DeepEqual

func (p *TripServiceGetAllTripsResult) Field0DeepEqual(src *GetAllTripsResponse) bool

func (*TripServiceGetAllTripsResult) GetResult

func (p *TripServiceGetAllTripsResult) GetResult() interface{}

func (*TripServiceGetAllTripsResult) GetSuccess

func (*TripServiceGetAllTripsResult) InitDefault

func (p *TripServiceGetAllTripsResult) InitDefault()

func (*TripServiceGetAllTripsResult) IsSetSuccess

func (p *TripServiceGetAllTripsResult) IsSetSuccess() bool

func (*TripServiceGetAllTripsResult) Read

func (p *TripServiceGetAllTripsResult) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceGetAllTripsResult) ReadField0

func (p *TripServiceGetAllTripsResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceGetAllTripsResult) SetSuccess

func (p *TripServiceGetAllTripsResult) SetSuccess(x interface{})

func (*TripServiceGetAllTripsResult) String

func (*TripServiceGetAllTripsResult) Write

func (p *TripServiceGetAllTripsResult) Write(oprot thrift.TProtocol) (err error)

type TripServiceGetSomeTripsArgs

type TripServiceGetSomeTripsArgs struct {
	Req *GetSomeTripsRequest `thrift:"req,1" frugal:"1,default,GetSomeTripsRequest" json:"req"`
}

func NewTripServiceGetSomeTripsArgs

func NewTripServiceGetSomeTripsArgs() *TripServiceGetSomeTripsArgs

func (*TripServiceGetSomeTripsArgs) BLength

func (p *TripServiceGetSomeTripsArgs) BLength() int

func (*TripServiceGetSomeTripsArgs) DeepEqual

func (*TripServiceGetSomeTripsArgs) FastRead

func (p *TripServiceGetSomeTripsArgs) FastRead(buf []byte) (int, error)

func (*TripServiceGetSomeTripsArgs) FastReadField1

func (p *TripServiceGetSomeTripsArgs) FastReadField1(buf []byte) (int, error)

func (*TripServiceGetSomeTripsArgs) FastWrite

func (p *TripServiceGetSomeTripsArgs) FastWrite(buf []byte) int

for compatibility

func (*TripServiceGetSomeTripsArgs) FastWriteNocopy

func (p *TripServiceGetSomeTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceGetSomeTripsArgs) Field1DeepEqual

func (p *TripServiceGetSomeTripsArgs) Field1DeepEqual(src *GetSomeTripsRequest) bool

func (*TripServiceGetSomeTripsArgs) GetFirstArgument

func (p *TripServiceGetSomeTripsArgs) GetFirstArgument() interface{}

func (*TripServiceGetSomeTripsArgs) GetReq

func (*TripServiceGetSomeTripsArgs) InitDefault

func (p *TripServiceGetSomeTripsArgs) InitDefault()

func (*TripServiceGetSomeTripsArgs) IsSetReq

func (p *TripServiceGetSomeTripsArgs) IsSetReq() bool

func (*TripServiceGetSomeTripsArgs) Read

func (p *TripServiceGetSomeTripsArgs) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceGetSomeTripsArgs) ReadField1

func (p *TripServiceGetSomeTripsArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceGetSomeTripsArgs) SetReq

func (*TripServiceGetSomeTripsArgs) String

func (p *TripServiceGetSomeTripsArgs) String() string

func (*TripServiceGetSomeTripsArgs) Write

func (p *TripServiceGetSomeTripsArgs) Write(oprot thrift.TProtocol) (err error)

type TripServiceGetSomeTripsResult

type TripServiceGetSomeTripsResult struct {
	Success *GetSomeTripsResponse `thrift:"success,0,optional" frugal:"0,optional,GetSomeTripsResponse" json:"success,omitempty"`
}

func NewTripServiceGetSomeTripsResult

func NewTripServiceGetSomeTripsResult() *TripServiceGetSomeTripsResult

func (*TripServiceGetSomeTripsResult) BLength

func (p *TripServiceGetSomeTripsResult) BLength() int

func (*TripServiceGetSomeTripsResult) DeepEqual

func (*TripServiceGetSomeTripsResult) FastRead

func (p *TripServiceGetSomeTripsResult) FastRead(buf []byte) (int, error)

func (*TripServiceGetSomeTripsResult) FastReadField0

func (p *TripServiceGetSomeTripsResult) FastReadField0(buf []byte) (int, error)

func (*TripServiceGetSomeTripsResult) FastWrite

func (p *TripServiceGetSomeTripsResult) FastWrite(buf []byte) int

for compatibility

func (*TripServiceGetSomeTripsResult) FastWriteNocopy

func (p *TripServiceGetSomeTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceGetSomeTripsResult) Field0DeepEqual

func (p *TripServiceGetSomeTripsResult) Field0DeepEqual(src *GetSomeTripsResponse) bool

func (*TripServiceGetSomeTripsResult) GetResult

func (p *TripServiceGetSomeTripsResult) GetResult() interface{}

func (*TripServiceGetSomeTripsResult) GetSuccess

func (*TripServiceGetSomeTripsResult) InitDefault

func (p *TripServiceGetSomeTripsResult) InitDefault()

func (*TripServiceGetSomeTripsResult) IsSetSuccess

func (p *TripServiceGetSomeTripsResult) IsSetSuccess() bool

func (*TripServiceGetSomeTripsResult) Read

func (p *TripServiceGetSomeTripsResult) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceGetSomeTripsResult) ReadField0

func (p *TripServiceGetSomeTripsResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceGetSomeTripsResult) SetSuccess

func (p *TripServiceGetSomeTripsResult) SetSuccess(x interface{})

func (*TripServiceGetSomeTripsResult) String

func (*TripServiceGetSomeTripsResult) Write

func (p *TripServiceGetSomeTripsResult) Write(oprot thrift.TProtocol) (err error)

type TripServiceGetTripArgs

type TripServiceGetTripArgs struct {
	Req *GetTripRequest `thrift:"req,1" frugal:"1,default,GetTripRequest" json:"req"`
}

func NewTripServiceGetTripArgs

func NewTripServiceGetTripArgs() *TripServiceGetTripArgs

func (*TripServiceGetTripArgs) BLength

func (p *TripServiceGetTripArgs) BLength() int

func (*TripServiceGetTripArgs) DeepEqual

func (*TripServiceGetTripArgs) FastRead

func (p *TripServiceGetTripArgs) FastRead(buf []byte) (int, error)

func (*TripServiceGetTripArgs) FastReadField1

func (p *TripServiceGetTripArgs) FastReadField1(buf []byte) (int, error)

func (*TripServiceGetTripArgs) FastWrite

func (p *TripServiceGetTripArgs) FastWrite(buf []byte) int

for compatibility

func (*TripServiceGetTripArgs) FastWriteNocopy

func (p *TripServiceGetTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceGetTripArgs) Field1DeepEqual

func (p *TripServiceGetTripArgs) Field1DeepEqual(src *GetTripRequest) bool

func (*TripServiceGetTripArgs) GetFirstArgument

func (p *TripServiceGetTripArgs) GetFirstArgument() interface{}

func (*TripServiceGetTripArgs) GetReq

func (p *TripServiceGetTripArgs) GetReq() (v *GetTripRequest)

func (*TripServiceGetTripArgs) InitDefault

func (p *TripServiceGetTripArgs) InitDefault()

func (*TripServiceGetTripArgs) IsSetReq

func (p *TripServiceGetTripArgs) IsSetReq() bool

func (*TripServiceGetTripArgs) Read

func (p *TripServiceGetTripArgs) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceGetTripArgs) ReadField1

func (p *TripServiceGetTripArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceGetTripArgs) SetReq

func (p *TripServiceGetTripArgs) SetReq(val *GetTripRequest)

func (*TripServiceGetTripArgs) String

func (p *TripServiceGetTripArgs) String() string

func (*TripServiceGetTripArgs) Write

func (p *TripServiceGetTripArgs) Write(oprot thrift.TProtocol) (err error)

type TripServiceGetTripResult

type TripServiceGetTripResult struct {
	Success *GetTripResponse `thrift:"success,0,optional" frugal:"0,optional,GetTripResponse" json:"success,omitempty"`
}

func NewTripServiceGetTripResult

func NewTripServiceGetTripResult() *TripServiceGetTripResult

func (*TripServiceGetTripResult) BLength

func (p *TripServiceGetTripResult) BLength() int

func (*TripServiceGetTripResult) DeepEqual

func (*TripServiceGetTripResult) FastRead

func (p *TripServiceGetTripResult) FastRead(buf []byte) (int, error)

func (*TripServiceGetTripResult) FastReadField0

func (p *TripServiceGetTripResult) FastReadField0(buf []byte) (int, error)

func (*TripServiceGetTripResult) FastWrite

func (p *TripServiceGetTripResult) FastWrite(buf []byte) int

for compatibility

func (*TripServiceGetTripResult) FastWriteNocopy

func (p *TripServiceGetTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceGetTripResult) Field0DeepEqual

func (p *TripServiceGetTripResult) Field0DeepEqual(src *GetTripResponse) bool

func (*TripServiceGetTripResult) GetResult

func (p *TripServiceGetTripResult) GetResult() interface{}

func (*TripServiceGetTripResult) GetSuccess

func (p *TripServiceGetTripResult) GetSuccess() (v *GetTripResponse)

func (*TripServiceGetTripResult) InitDefault

func (p *TripServiceGetTripResult) InitDefault()

func (*TripServiceGetTripResult) IsSetSuccess

func (p *TripServiceGetTripResult) IsSetSuccess() bool

func (*TripServiceGetTripResult) Read

func (p *TripServiceGetTripResult) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceGetTripResult) ReadField0

func (p *TripServiceGetTripResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceGetTripResult) SetSuccess

func (p *TripServiceGetTripResult) SetSuccess(x interface{})

func (*TripServiceGetTripResult) String

func (p *TripServiceGetTripResult) String() string

func (*TripServiceGetTripResult) Write

func (p *TripServiceGetTripResult) Write(oprot thrift.TProtocol) (err error)

type TripServiceGetTripsArgs

type TripServiceGetTripsArgs struct {
	Req *GetTripsRequest `thrift:"req,1" frugal:"1,default,GetTripsRequest" json:"req"`
}

func NewTripServiceGetTripsArgs

func NewTripServiceGetTripsArgs() *TripServiceGetTripsArgs

func (*TripServiceGetTripsArgs) BLength

func (p *TripServiceGetTripsArgs) BLength() int

func (*TripServiceGetTripsArgs) DeepEqual

func (*TripServiceGetTripsArgs) FastRead

func (p *TripServiceGetTripsArgs) FastRead(buf []byte) (int, error)

func (*TripServiceGetTripsArgs) FastReadField1

func (p *TripServiceGetTripsArgs) FastReadField1(buf []byte) (int, error)

func (*TripServiceGetTripsArgs) FastWrite

func (p *TripServiceGetTripsArgs) FastWrite(buf []byte) int

for compatibility

func (*TripServiceGetTripsArgs) FastWriteNocopy

func (p *TripServiceGetTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceGetTripsArgs) Field1DeepEqual

func (p *TripServiceGetTripsArgs) Field1DeepEqual(src *GetTripsRequest) bool

func (*TripServiceGetTripsArgs) GetFirstArgument

func (p *TripServiceGetTripsArgs) GetFirstArgument() interface{}

func (*TripServiceGetTripsArgs) GetReq

func (p *TripServiceGetTripsArgs) GetReq() (v *GetTripsRequest)

func (*TripServiceGetTripsArgs) InitDefault

func (p *TripServiceGetTripsArgs) InitDefault()

func (*TripServiceGetTripsArgs) IsSetReq

func (p *TripServiceGetTripsArgs) IsSetReq() bool

func (*TripServiceGetTripsArgs) Read

func (p *TripServiceGetTripsArgs) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceGetTripsArgs) ReadField1

func (p *TripServiceGetTripsArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceGetTripsArgs) SetReq

func (p *TripServiceGetTripsArgs) SetReq(val *GetTripsRequest)

func (*TripServiceGetTripsArgs) String

func (p *TripServiceGetTripsArgs) String() string

func (*TripServiceGetTripsArgs) Write

func (p *TripServiceGetTripsArgs) Write(oprot thrift.TProtocol) (err error)

type TripServiceGetTripsResult

type TripServiceGetTripsResult struct {
	Success *GetTripsResponse `thrift:"success,0,optional" frugal:"0,optional,GetTripsResponse" json:"success,omitempty"`
}

func NewTripServiceGetTripsResult

func NewTripServiceGetTripsResult() *TripServiceGetTripsResult

func (*TripServiceGetTripsResult) BLength

func (p *TripServiceGetTripsResult) BLength() int

func (*TripServiceGetTripsResult) DeepEqual

func (*TripServiceGetTripsResult) FastRead

func (p *TripServiceGetTripsResult) FastRead(buf []byte) (int, error)

func (*TripServiceGetTripsResult) FastReadField0

func (p *TripServiceGetTripsResult) FastReadField0(buf []byte) (int, error)

func (*TripServiceGetTripsResult) FastWrite

func (p *TripServiceGetTripsResult) FastWrite(buf []byte) int

for compatibility

func (*TripServiceGetTripsResult) FastWriteNocopy

func (p *TripServiceGetTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceGetTripsResult) Field0DeepEqual

func (p *TripServiceGetTripsResult) Field0DeepEqual(src *GetTripsResponse) bool

func (*TripServiceGetTripsResult) GetResult

func (p *TripServiceGetTripsResult) GetResult() interface{}

func (*TripServiceGetTripsResult) GetSuccess

func (p *TripServiceGetTripsResult) GetSuccess() (v *GetTripsResponse)

func (*TripServiceGetTripsResult) InitDefault

func (p *TripServiceGetTripsResult) InitDefault()

func (*TripServiceGetTripsResult) IsSetSuccess

func (p *TripServiceGetTripsResult) IsSetSuccess() bool

func (*TripServiceGetTripsResult) Read

func (p *TripServiceGetTripsResult) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceGetTripsResult) ReadField0

func (p *TripServiceGetTripsResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceGetTripsResult) SetSuccess

func (p *TripServiceGetTripsResult) SetSuccess(x interface{})

func (*TripServiceGetTripsResult) String

func (p *TripServiceGetTripsResult) String() string

func (*TripServiceGetTripsResult) Write

func (p *TripServiceGetTripsResult) Write(oprot thrift.TProtocol) (err error)

type TripServiceProcessor

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

func NewTripServiceProcessor

func NewTripServiceProcessor(handler TripService) *TripServiceProcessor

func (*TripServiceProcessor) AddToProcessorMap

func (p *TripServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*TripServiceProcessor) GetProcessorFunction

func (p *TripServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*TripServiceProcessor) Process

func (p *TripServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*TripServiceProcessor) ProcessorMap

func (p *TripServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type TripServiceUpdateTripArgs

type TripServiceUpdateTripArgs struct {
	Req *UpdateTripRequest `thrift:"req,1" frugal:"1,default,UpdateTripRequest" json:"req"`
}

func NewTripServiceUpdateTripArgs

func NewTripServiceUpdateTripArgs() *TripServiceUpdateTripArgs

func (*TripServiceUpdateTripArgs) BLength

func (p *TripServiceUpdateTripArgs) BLength() int

func (*TripServiceUpdateTripArgs) DeepEqual

func (*TripServiceUpdateTripArgs) FastRead

func (p *TripServiceUpdateTripArgs) FastRead(buf []byte) (int, error)

func (*TripServiceUpdateTripArgs) FastReadField1

func (p *TripServiceUpdateTripArgs) FastReadField1(buf []byte) (int, error)

func (*TripServiceUpdateTripArgs) FastWrite

func (p *TripServiceUpdateTripArgs) FastWrite(buf []byte) int

for compatibility

func (*TripServiceUpdateTripArgs) FastWriteNocopy

func (p *TripServiceUpdateTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceUpdateTripArgs) Field1DeepEqual

func (p *TripServiceUpdateTripArgs) Field1DeepEqual(src *UpdateTripRequest) bool

func (*TripServiceUpdateTripArgs) GetFirstArgument

func (p *TripServiceUpdateTripArgs) GetFirstArgument() interface{}

func (*TripServiceUpdateTripArgs) GetReq

func (*TripServiceUpdateTripArgs) InitDefault

func (p *TripServiceUpdateTripArgs) InitDefault()

func (*TripServiceUpdateTripArgs) IsSetReq

func (p *TripServiceUpdateTripArgs) IsSetReq() bool

func (*TripServiceUpdateTripArgs) Read

func (p *TripServiceUpdateTripArgs) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceUpdateTripArgs) ReadField1

func (p *TripServiceUpdateTripArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceUpdateTripArgs) SetReq

func (*TripServiceUpdateTripArgs) String

func (p *TripServiceUpdateTripArgs) String() string

func (*TripServiceUpdateTripArgs) Write

func (p *TripServiceUpdateTripArgs) Write(oprot thrift.TProtocol) (err error)

type TripServiceUpdateTripResult

type TripServiceUpdateTripResult struct {
	Success *UpdateTripResponse `thrift:"success,0,optional" frugal:"0,optional,UpdateTripResponse" json:"success,omitempty"`
}

func NewTripServiceUpdateTripResult

func NewTripServiceUpdateTripResult() *TripServiceUpdateTripResult

func (*TripServiceUpdateTripResult) BLength

func (p *TripServiceUpdateTripResult) BLength() int

func (*TripServiceUpdateTripResult) DeepEqual

func (*TripServiceUpdateTripResult) FastRead

func (p *TripServiceUpdateTripResult) FastRead(buf []byte) (int, error)

func (*TripServiceUpdateTripResult) FastReadField0

func (p *TripServiceUpdateTripResult) FastReadField0(buf []byte) (int, error)

func (*TripServiceUpdateTripResult) FastWrite

func (p *TripServiceUpdateTripResult) FastWrite(buf []byte) int

for compatibility

func (*TripServiceUpdateTripResult) FastWriteNocopy

func (p *TripServiceUpdateTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*TripServiceUpdateTripResult) Field0DeepEqual

func (p *TripServiceUpdateTripResult) Field0DeepEqual(src *UpdateTripResponse) bool

func (*TripServiceUpdateTripResult) GetResult

func (p *TripServiceUpdateTripResult) GetResult() interface{}

func (*TripServiceUpdateTripResult) GetSuccess

func (p *TripServiceUpdateTripResult) GetSuccess() (v *UpdateTripResponse)

func (*TripServiceUpdateTripResult) InitDefault

func (p *TripServiceUpdateTripResult) InitDefault()

func (*TripServiceUpdateTripResult) IsSetSuccess

func (p *TripServiceUpdateTripResult) IsSetSuccess() bool

func (*TripServiceUpdateTripResult) Read

func (p *TripServiceUpdateTripResult) Read(iprot thrift.TProtocol) (err error)

func (*TripServiceUpdateTripResult) ReadField0

func (p *TripServiceUpdateTripResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceUpdateTripResult) SetSuccess

func (p *TripServiceUpdateTripResult) SetSuccess(x interface{})

func (*TripServiceUpdateTripResult) String

func (p *TripServiceUpdateTripResult) String() string

func (*TripServiceUpdateTripResult) Write

func (p *TripServiceUpdateTripResult) Write(oprot thrift.TProtocol) (err error)

type UpdateTripRequest

type UpdateTripRequest struct {
	Id        string         `thrift:"id,1" frugal:"1,default,string" json:"id"`
	Current   *base.Location `thrift:"current,2" frugal:"2,default,base.Location" json:"current"`
	EndTrip   bool           `thrift:"end_trip,3" frugal:"3,default,bool" json:"end_trip"`
	AccountId string         `thrift:"account_id,4" frugal:"4,default,string" json:"account_id"`
}
var TripServiceUpdateTripArgs_Req_DEFAULT *UpdateTripRequest

func NewUpdateTripRequest

func NewUpdateTripRequest() *UpdateTripRequest

func (*UpdateTripRequest) BLength

func (p *UpdateTripRequest) BLength() int

func (*UpdateTripRequest) DeepEqual

func (p *UpdateTripRequest) DeepEqual(ano *UpdateTripRequest) bool

func (*UpdateTripRequest) FastRead

func (p *UpdateTripRequest) FastRead(buf []byte) (int, error)

func (*UpdateTripRequest) FastReadField1

func (p *UpdateTripRequest) FastReadField1(buf []byte) (int, error)

func (*UpdateTripRequest) FastReadField2

func (p *UpdateTripRequest) FastReadField2(buf []byte) (int, error)

func (*UpdateTripRequest) FastReadField3

func (p *UpdateTripRequest) FastReadField3(buf []byte) (int, error)

func (*UpdateTripRequest) FastReadField4

func (p *UpdateTripRequest) FastReadField4(buf []byte) (int, error)

func (*UpdateTripRequest) FastWrite

func (p *UpdateTripRequest) FastWrite(buf []byte) int

for compatibility

func (*UpdateTripRequest) FastWriteNocopy

func (p *UpdateTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UpdateTripRequest) Field1DeepEqual

func (p *UpdateTripRequest) Field1DeepEqual(src string) bool

func (*UpdateTripRequest) Field2DeepEqual

func (p *UpdateTripRequest) Field2DeepEqual(src *base.Location) bool

func (*UpdateTripRequest) Field3DeepEqual

func (p *UpdateTripRequest) Field3DeepEqual(src bool) bool

func (*UpdateTripRequest) Field4DeepEqual

func (p *UpdateTripRequest) Field4DeepEqual(src string) bool

func (*UpdateTripRequest) GetAccountId

func (p *UpdateTripRequest) GetAccountId() (v string)

func (*UpdateTripRequest) GetCurrent

func (p *UpdateTripRequest) GetCurrent() (v *base.Location)

func (*UpdateTripRequest) GetEndTrip

func (p *UpdateTripRequest) GetEndTrip() (v bool)

func (*UpdateTripRequest) GetId

func (p *UpdateTripRequest) GetId() (v string)

func (*UpdateTripRequest) InitDefault

func (p *UpdateTripRequest) InitDefault()

func (*UpdateTripRequest) IsSetCurrent

func (p *UpdateTripRequest) IsSetCurrent() bool

func (*UpdateTripRequest) Read

func (p *UpdateTripRequest) Read(iprot thrift.TProtocol) (err error)

func (*UpdateTripRequest) ReadField1

func (p *UpdateTripRequest) ReadField1(iprot thrift.TProtocol) error

func (*UpdateTripRequest) ReadField2

func (p *UpdateTripRequest) ReadField2(iprot thrift.TProtocol) error

func (*UpdateTripRequest) ReadField3

func (p *UpdateTripRequest) ReadField3(iprot thrift.TProtocol) error

func (*UpdateTripRequest) ReadField4

func (p *UpdateTripRequest) ReadField4(iprot thrift.TProtocol) error

func (*UpdateTripRequest) SetAccountId

func (p *UpdateTripRequest) SetAccountId(val string)

func (*UpdateTripRequest) SetCurrent

func (p *UpdateTripRequest) SetCurrent(val *base.Location)

func (*UpdateTripRequest) SetEndTrip

func (p *UpdateTripRequest) SetEndTrip(val bool)

func (*UpdateTripRequest) SetId

func (p *UpdateTripRequest) SetId(val string)

func (*UpdateTripRequest) String

func (p *UpdateTripRequest) String() string

func (*UpdateTripRequest) Write

func (p *UpdateTripRequest) Write(oprot thrift.TProtocol) (err error)

type UpdateTripResponse

type UpdateTripResponse struct {
	BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
	Trip     *base.Trip         `thrift:"trip,2" frugal:"2,default,base.Trip" json:"trip"`
}
var TripServiceUpdateTripResult_Success_DEFAULT *UpdateTripResponse

func NewUpdateTripResponse

func NewUpdateTripResponse() *UpdateTripResponse

func (*UpdateTripResponse) BLength

func (p *UpdateTripResponse) BLength() int

func (*UpdateTripResponse) DeepEqual

func (p *UpdateTripResponse) DeepEqual(ano *UpdateTripResponse) bool

func (*UpdateTripResponse) FastRead

func (p *UpdateTripResponse) FastRead(buf []byte) (int, error)

func (*UpdateTripResponse) FastReadField1

func (p *UpdateTripResponse) FastReadField1(buf []byte) (int, error)

func (*UpdateTripResponse) FastReadField2

func (p *UpdateTripResponse) FastReadField2(buf []byte) (int, error)

func (*UpdateTripResponse) FastWrite

func (p *UpdateTripResponse) FastWrite(buf []byte) int

for compatibility

func (*UpdateTripResponse) FastWriteNocopy

func (p *UpdateTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UpdateTripResponse) Field1DeepEqual

func (p *UpdateTripResponse) Field1DeepEqual(src *base.BaseResponse) bool

func (*UpdateTripResponse) Field2DeepEqual

func (p *UpdateTripResponse) Field2DeepEqual(src *base.Trip) bool

func (*UpdateTripResponse) GetBaseResp

func (p *UpdateTripResponse) GetBaseResp() (v *base.BaseResponse)

func (*UpdateTripResponse) GetTrip

func (p *UpdateTripResponse) GetTrip() (v *base.Trip)

func (*UpdateTripResponse) InitDefault

func (p *UpdateTripResponse) InitDefault()

func (*UpdateTripResponse) IsSetBaseResp

func (p *UpdateTripResponse) IsSetBaseResp() bool

func (*UpdateTripResponse) IsSetTrip

func (p *UpdateTripResponse) IsSetTrip() bool

func (*UpdateTripResponse) Read

func (p *UpdateTripResponse) Read(iprot thrift.TProtocol) (err error)

func (*UpdateTripResponse) ReadField1

func (p *UpdateTripResponse) ReadField1(iprot thrift.TProtocol) error

func (*UpdateTripResponse) ReadField2

func (p *UpdateTripResponse) ReadField2(iprot thrift.TProtocol) error

func (*UpdateTripResponse) SetBaseResp

func (p *UpdateTripResponse) SetBaseResp(val *base.BaseResponse)

func (*UpdateTripResponse) SetTrip

func (p *UpdateTripResponse) SetTrip(val *base.Trip)

func (*UpdateTripResponse) String

func (p *UpdateTripResponse) String() string

func (*UpdateTripResponse) Write

func (p *UpdateTripResponse) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.8.0.
Code generated by Kitex v0.8.0.

Jump to

Keyboard shortcuts

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