Documentation ¶
Index ¶
- Variables
- func RegisterAnnouncementServer(s grpc.ServiceRegistrar, srv AnnouncementServer)
- type AcceptOfferRequest
- func (*AcceptOfferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptOfferRequest) GetAccessToken() string
- func (x *AcceptOfferRequest) GetAnnouncementId() int32
- func (x *AcceptOfferRequest) GetHostId() int32
- func (*AcceptOfferRequest) ProtoMessage()
- func (x *AcceptOfferRequest) ProtoReflect() protoreflect.Message
- func (x *AcceptOfferRequest) Reset()
- func (x *AcceptOfferRequest) String() string
- type AcceptOfferResponse
- func (*AcceptOfferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptOfferResponse) GetMessage() string
- func (*AcceptOfferResponse) ProtoMessage()
- func (x *AcceptOfferResponse) ProtoReflect() protoreflect.Message
- func (x *AcceptOfferResponse) Reset()
- func (x *AcceptOfferResponse) String() string
- type AnnouncementClient
- type AnnouncementServer
- type CardRecord
- func (*CardRecord) Descriptor() ([]byte, []int)deprecated
- func (x *CardRecord) GetCardId() int32
- func (x *CardRecord) GetDescription() string
- func (x *CardRecord) GetDestinationCity() string
- func (x *CardRecord) GetDestinationCountry() string
- func (x *CardRecord) GetDestinationState() string
- func (x *CardRecord) GetEndDate() string
- func (x *CardRecord) GetImage() string
- func (x *CardRecord) GetNumberOfTravelers() int32
- func (x *CardRecord) GetPreferredLanguages() []string
- func (x *CardRecord) GetStartDate() string
- func (x *CardRecord) GetUserId() int32
- func (x *CardRecord) GetUserUsername() string
- func (*CardRecord) ProtoMessage()
- func (x *CardRecord) ProtoReflect() protoreflect.Message
- func (x *CardRecord) Reset()
- func (x *CardRecord) String() string
- type CreateCardRequest
- func (*CreateCardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCardRequest) GetAccessToken() string
- func (x *CreateCardRequest) GetDescription() string
- func (x *CreateCardRequest) GetDestinationCity() string
- func (x *CreateCardRequest) GetDestinationCountry() string
- func (x *CreateCardRequest) GetDestinationState() string
- func (x *CreateCardRequest) GetEndDate() string
- func (x *CreateCardRequest) GetNumberOfTravelers() int32
- func (x *CreateCardRequest) GetPreferredLanguages() []string
- func (x *CreateCardRequest) GetStartDate() string
- func (*CreateCardRequest) ProtoMessage()
- func (x *CreateCardRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCardRequest) Reset()
- func (x *CreateCardRequest) String() string
- type CreateCardResponse
- func (*CreateCardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCardResponse) GetMessage() string
- func (*CreateCardResponse) ProtoMessage()
- func (x *CreateCardResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCardResponse) Reset()
- func (x *CreateCardResponse) String() string
- type CreateOfferRequest
- func (*CreateOfferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOfferRequest) GetAccessToken() string
- func (x *CreateOfferRequest) GetAnnouncementId() int32
- func (*CreateOfferRequest) ProtoMessage()
- func (x *CreateOfferRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOfferRequest) Reset()
- func (x *CreateOfferRequest) String() string
- type CreateOfferResponse
- func (*CreateOfferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOfferResponse) GetMessage() string
- func (*CreateOfferResponse) ProtoMessage()
- func (x *CreateOfferResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOfferResponse) Reset()
- func (x *CreateOfferResponse) String() string
- type CreatePostRequest
- func (*CreatePostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostRequest) GetAccessToken() string
- func (x *CreatePostRequest) GetAnnouncementId() int32
- func (x *CreatePostRequest) GetHostRating() int32
- func (x *CreatePostRequest) GetImageData() []byte
- func (x *CreatePostRequest) GetPostBody() string
- func (x *CreatePostRequest) GetPostTitle() string
- func (*CreatePostRequest) ProtoMessage()
- func (x *CreatePostRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePostRequest) Reset()
- func (x *CreatePostRequest) String() string
- type CreatePostResponse
- func (*CreatePostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostResponse) GetMessage() string
- func (*CreatePostResponse) ProtoMessage()
- func (x *CreatePostResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePostResponse) Reset()
- func (x *CreatePostResponse) String() string
- type GetCardProfileRequest
- func (*GetCardProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCardProfileRequest) GetAccessToken() string
- func (*GetCardProfileRequest) ProtoMessage()
- func (x *GetCardProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetCardProfileRequest) Reset()
- func (x *GetCardProfileRequest) String() string
- type GetCardProfileResponse
- func (*GetCardProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCardProfileResponse) GetCards() []*CardRecord
- func (x *GetCardProfileResponse) GetMessage() string
- func (*GetCardProfileResponse) ProtoMessage()
- func (x *GetCardProfileResponse) ProtoReflect() protoreflect.Message
- func (x *GetCardProfileResponse) Reset()
- func (x *GetCardProfileResponse) String() string
- type GetCardRequest
- func (*GetCardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCardRequest) GetAccessToken() string
- func (x *GetCardRequest) GetFilterValues() string
- func (x *GetCardRequest) GetPageNumber() string
- func (x *GetCardRequest) GetPageSize() string
- func (x *GetCardRequest) GetSortValue() string
- func (*GetCardRequest) ProtoMessage()
- func (x *GetCardRequest) ProtoReflect() protoreflect.Message
- func (x *GetCardRequest) Reset()
- func (x *GetCardRequest) String() string
- type GetCardResponse
- func (*GetCardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCardResponse) GetCards() []*CardRecord
- func (x *GetCardResponse) GetMessage() string
- func (x *GetCardResponse) GetPageCount() int32
- func (*GetCardResponse) ProtoMessage()
- func (x *GetCardResponse) ProtoReflect() protoreflect.Message
- func (x *GetCardResponse) Reset()
- func (x *GetCardResponse) String() string
- type GetMyPostRequest
- type GetMyPostResponse
- func (*GetMyPostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMyPostResponse) GetMessage() string
- func (x *GetMyPostResponse) GetPosts() []*PostRecord
- func (*GetMyPostResponse) ProtoMessage()
- func (x *GetMyPostResponse) ProtoReflect() protoreflect.Message
- func (x *GetMyPostResponse) Reset()
- func (x *GetMyPostResponse) String() string
- type GetOfferRequest
- func (*GetOfferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOfferRequest) GetAccessToken() string
- func (x *GetOfferRequest) GetAnnouncementId() int32
- func (*GetOfferRequest) ProtoMessage()
- func (x *GetOfferRequest) ProtoReflect() protoreflect.Message
- func (x *GetOfferRequest) Reset()
- func (x *GetOfferRequest) String() string
- type GetOfferResponse
- func (*GetOfferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOfferResponse) GetMessage() string
- func (x *GetOfferResponse) GetOffers() []*OfferRecord
- func (*GetOfferResponse) ProtoMessage()
- func (x *GetOfferResponse) ProtoReflect() protoreflect.Message
- func (x *GetOfferResponse) Reset()
- func (x *GetOfferResponse) String() string
- type GetPostHostRequest
- func (*GetPostHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPostHostRequest) GetAccessToken() string
- func (x *GetPostHostRequest) GetHostId() int32
- func (*GetPostHostRequest) ProtoMessage()
- func (x *GetPostHostRequest) ProtoReflect() protoreflect.Message
- func (x *GetPostHostRequest) Reset()
- func (x *GetPostHostRequest) String() string
- type GetPostHostResponse
- func (*GetPostHostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPostHostResponse) GetMessage() string
- func (x *GetPostHostResponse) GetPosts() []*PostRecord
- func (*GetPostHostResponse) ProtoMessage()
- func (x *GetPostHostResponse) ProtoReflect() protoreflect.Message
- func (x *GetPostHostResponse) Reset()
- func (x *GetPostHostResponse) String() string
- type OfferRecord
- func (*OfferRecord) Descriptor() ([]byte, []int)deprecated
- func (x *OfferRecord) GetHostFirstName() string
- func (x *OfferRecord) GetHostId() int32
- func (x *OfferRecord) GetHostLastName() string
- func (x *OfferRecord) GetHostUsername() string
- func (x *OfferRecord) GetImage() string
- func (*OfferRecord) ProtoMessage()
- func (x *OfferRecord) ProtoReflect() protoreflect.Message
- func (x *OfferRecord) Reset()
- func (x *OfferRecord) String() string
- type PostRecord
- func (*PostRecord) Descriptor() ([]byte, []int)deprecated
- func (x *PostRecord) GetAnnouncementId() int32
- func (x *PostRecord) GetGuestId() int32
- func (x *PostRecord) GetGuestImage() string
- func (x *PostRecord) GetGuestUsername() string
- func (x *PostRecord) GetHostId() int32
- func (x *PostRecord) GetHostImage() string
- func (x *PostRecord) GetHostRating() int32
- func (x *PostRecord) GetHostUsername() string
- func (x *PostRecord) GetPostBody() string
- func (x *PostRecord) GetPostId() int32
- func (x *PostRecord) GetPostImage() string
- func (x *PostRecord) GetPostTitle() string
- func (*PostRecord) ProtoMessage()
- func (x *PostRecord) ProtoReflect() protoreflect.Message
- func (x *PostRecord) Reset()
- func (x *PostRecord) String() string
- type RejectOfferRequest
- func (*RejectOfferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RejectOfferRequest) GetAccessToken() string
- func (x *RejectOfferRequest) GetAnnouncementId() int32
- func (x *RejectOfferRequest) GetHostId() int32
- func (*RejectOfferRequest) ProtoMessage()
- func (x *RejectOfferRequest) ProtoReflect() protoreflect.Message
- func (x *RejectOfferRequest) Reset()
- func (x *RejectOfferRequest) String() string
- type RejectOfferResponse
- func (*RejectOfferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RejectOfferResponse) GetMessage() string
- func (*RejectOfferResponse) ProtoMessage()
- func (x *RejectOfferResponse) ProtoReflect() protoreflect.Message
- func (x *RejectOfferResponse) Reset()
- func (x *RejectOfferResponse) String() string
- type UnimplementedAnnouncementServer
- func (UnimplementedAnnouncementServer) AcceptOffer(context.Context, *AcceptOfferRequest) (*AcceptOfferResponse, error)
- func (UnimplementedAnnouncementServer) CreateCard(context.Context, *CreateCardRequest) (*CreateCardResponse, error)
- func (UnimplementedAnnouncementServer) CreateOffer(context.Context, *CreateOfferRequest) (*CreateOfferResponse, error)
- func (UnimplementedAnnouncementServer) CreatePost(context.Context, *CreatePostRequest) (*CreatePostResponse, error)
- func (UnimplementedAnnouncementServer) GetCard(context.Context, *GetCardRequest) (*GetCardResponse, error)
- func (UnimplementedAnnouncementServer) GetCardProfile(context.Context, *GetCardProfileRequest) (*GetCardProfileResponse, error)
- func (UnimplementedAnnouncementServer) GetMyPost(context.Context, *GetMyPostRequest) (*GetMyPostResponse, error)
- func (UnimplementedAnnouncementServer) GetOffer(context.Context, *GetOfferRequest) (*GetOfferResponse, error)
- func (UnimplementedAnnouncementServer) GetPostHost(context.Context, *GetPostHostRequest) (*GetPostHostResponse, error)
- func (UnimplementedAnnouncementServer) RejectOffer(context.Context, *RejectOfferRequest) (*RejectOfferResponse, error)
- type UnsafeAnnouncementServer
Constants ¶
This section is empty.
Variables ¶
var Announcement_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Announcement", HandlerType: (*AnnouncementServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCard", Handler: _Announcement_CreateCard_Handler, }, { MethodName: "GetCard", Handler: _Announcement_GetCard_Handler, }, { MethodName: "CreateOffer", Handler: _Announcement_CreateOffer_Handler, }, { MethodName: "GetOffer", Handler: _Announcement_GetOffer_Handler, }, { MethodName: "GetCardProfile", Handler: _Announcement_GetCardProfile_Handler, }, { MethodName: "CreatePost", Handler: _Announcement_CreatePost_Handler, }, { MethodName: "GetMyPost", Handler: _Announcement_GetMyPost_Handler, }, { MethodName: "GetPostHost", Handler: _Announcement_GetPostHost_Handler, }, { MethodName: "AcceptOffer", Handler: _Announcement_AcceptOffer_Handler, }, { MethodName: "RejectOffer", Handler: _Announcement_RejectOffer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "announcement.proto", }
Announcement_ServiceDesc is the grpc.ServiceDesc for Announcement service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_announcement_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAnnouncementServer ¶
func RegisterAnnouncementServer(s grpc.ServiceRegistrar, srv AnnouncementServer)
Types ¶
type AcceptOfferRequest ¶
type AcceptOfferRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` AnnouncementId int32 `protobuf:"varint,2,opt,name=AnnouncementId,proto3" json:"AnnouncementId,omitempty"` HostId int32 `protobuf:"varint,3,opt,name=HostId,proto3" json:"HostId,omitempty"` // contains filtered or unexported fields }
func (*AcceptOfferRequest) Descriptor
deprecated
func (*AcceptOfferRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcceptOfferRequest.ProtoReflect.Descriptor instead.
func (*AcceptOfferRequest) GetAccessToken ¶
func (x *AcceptOfferRequest) GetAccessToken() string
func (*AcceptOfferRequest) GetAnnouncementId ¶
func (x *AcceptOfferRequest) GetAnnouncementId() int32
func (*AcceptOfferRequest) GetHostId ¶
func (x *AcceptOfferRequest) GetHostId() int32
func (*AcceptOfferRequest) ProtoMessage ¶
func (*AcceptOfferRequest) ProtoMessage()
func (*AcceptOfferRequest) ProtoReflect ¶
func (x *AcceptOfferRequest) ProtoReflect() protoreflect.Message
func (*AcceptOfferRequest) Reset ¶
func (x *AcceptOfferRequest) Reset()
func (*AcceptOfferRequest) String ¶
func (x *AcceptOfferRequest) String() string
type AcceptOfferResponse ¶
type AcceptOfferResponse struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*AcceptOfferResponse) Descriptor
deprecated
func (*AcceptOfferResponse) Descriptor() ([]byte, []int)
Deprecated: Use AcceptOfferResponse.ProtoReflect.Descriptor instead.
func (*AcceptOfferResponse) GetMessage ¶
func (x *AcceptOfferResponse) GetMessage() string
func (*AcceptOfferResponse) ProtoMessage ¶
func (*AcceptOfferResponse) ProtoMessage()
func (*AcceptOfferResponse) ProtoReflect ¶
func (x *AcceptOfferResponse) ProtoReflect() protoreflect.Message
func (*AcceptOfferResponse) Reset ¶
func (x *AcceptOfferResponse) Reset()
func (*AcceptOfferResponse) String ¶
func (x *AcceptOfferResponse) String() string
type AnnouncementClient ¶
type AnnouncementClient interface { CreateCard(ctx context.Context, in *CreateCardRequest, opts ...grpc.CallOption) (*CreateCardResponse, error) GetCard(ctx context.Context, in *GetCardRequest, opts ...grpc.CallOption) (*GetCardResponse, error) CreateOffer(ctx context.Context, in *CreateOfferRequest, opts ...grpc.CallOption) (*CreateOfferResponse, error) GetOffer(ctx context.Context, in *GetOfferRequest, opts ...grpc.CallOption) (*GetOfferResponse, error) GetCardProfile(ctx context.Context, in *GetCardProfileRequest, opts ...grpc.CallOption) (*GetCardProfileResponse, error) CreatePost(ctx context.Context, in *CreatePostRequest, opts ...grpc.CallOption) (*CreatePostResponse, error) GetMyPost(ctx context.Context, in *GetMyPostRequest, opts ...grpc.CallOption) (*GetMyPostResponse, error) GetPostHost(ctx context.Context, in *GetPostHostRequest, opts ...grpc.CallOption) (*GetPostHostResponse, error) AcceptOffer(ctx context.Context, in *AcceptOfferRequest, opts ...grpc.CallOption) (*AcceptOfferResponse, error) RejectOffer(ctx context.Context, in *RejectOfferRequest, opts ...grpc.CallOption) (*RejectOfferResponse, error) }
AnnouncementClient is the client API for Announcement service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAnnouncementClient ¶
func NewAnnouncementClient(cc grpc.ClientConnInterface) AnnouncementClient
type AnnouncementServer ¶
type AnnouncementServer interface { CreateCard(context.Context, *CreateCardRequest) (*CreateCardResponse, error) GetCard(context.Context, *GetCardRequest) (*GetCardResponse, error) CreateOffer(context.Context, *CreateOfferRequest) (*CreateOfferResponse, error) GetOffer(context.Context, *GetOfferRequest) (*GetOfferResponse, error) GetCardProfile(context.Context, *GetCardProfileRequest) (*GetCardProfileResponse, error) CreatePost(context.Context, *CreatePostRequest) (*CreatePostResponse, error) GetMyPost(context.Context, *GetMyPostRequest) (*GetMyPostResponse, error) GetPostHost(context.Context, *GetPostHostRequest) (*GetPostHostResponse, error) AcceptOffer(context.Context, *AcceptOfferRequest) (*AcceptOfferResponse, error) RejectOffer(context.Context, *RejectOfferRequest) (*RejectOfferResponse, error) // contains filtered or unexported methods }
AnnouncementServer is the server API for Announcement service. All implementations must embed UnimplementedAnnouncementServer for forward compatibility
type CardRecord ¶
type CardRecord struct { CardId int32 `protobuf:"varint,1,opt,name=CardId,proto3" json:"CardId,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=UserId,proto3" json:"UserId,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` PreferredLanguages []string `protobuf:"bytes,4,rep,name=PreferredLanguages,proto3" json:"PreferredLanguages,omitempty"` StartDate string `protobuf:"bytes,5,opt,name=StartDate,proto3" json:"StartDate,omitempty"` EndDate string `protobuf:"bytes,6,opt,name=EndDate,proto3" json:"EndDate,omitempty"` DestinationCity string `protobuf:"bytes,7,opt,name=DestinationCity,proto3" json:"DestinationCity,omitempty"` DestinationState string `protobuf:"bytes,8,opt,name=DestinationState,proto3" json:"DestinationState,omitempty"` DestinationCountry string `protobuf:"bytes,9,opt,name=DestinationCountry,proto3" json:"DestinationCountry,omitempty"` NumberOfTravelers int32 `protobuf:"varint,10,opt,name=NumberOfTravelers,proto3" json:"NumberOfTravelers,omitempty"` Image string `protobuf:"bytes,11,opt,name=Image,proto3" json:"Image,omitempty"` UserUsername string `protobuf:"bytes,12,opt,name=UserUsername,proto3" json:"UserUsername,omitempty"` // contains filtered or unexported fields }
func (*CardRecord) Descriptor
deprecated
func (*CardRecord) Descriptor() ([]byte, []int)
Deprecated: Use CardRecord.ProtoReflect.Descriptor instead.
func (*CardRecord) GetCardId ¶
func (x *CardRecord) GetCardId() int32
func (*CardRecord) GetDescription ¶
func (x *CardRecord) GetDescription() string
func (*CardRecord) GetDestinationCity ¶
func (x *CardRecord) GetDestinationCity() string
func (*CardRecord) GetDestinationCountry ¶
func (x *CardRecord) GetDestinationCountry() string
func (*CardRecord) GetDestinationState ¶
func (x *CardRecord) GetDestinationState() string
func (*CardRecord) GetEndDate ¶
func (x *CardRecord) GetEndDate() string
func (*CardRecord) GetImage ¶
func (x *CardRecord) GetImage() string
func (*CardRecord) GetNumberOfTravelers ¶
func (x *CardRecord) GetNumberOfTravelers() int32
func (*CardRecord) GetPreferredLanguages ¶
func (x *CardRecord) GetPreferredLanguages() []string
func (*CardRecord) GetStartDate ¶
func (x *CardRecord) GetStartDate() string
func (*CardRecord) GetUserId ¶
func (x *CardRecord) GetUserId() int32
func (*CardRecord) GetUserUsername ¶
func (x *CardRecord) GetUserUsername() string
func (*CardRecord) ProtoMessage ¶
func (*CardRecord) ProtoMessage()
func (*CardRecord) ProtoReflect ¶
func (x *CardRecord) ProtoReflect() protoreflect.Message
func (*CardRecord) Reset ¶
func (x *CardRecord) Reset()
func (*CardRecord) String ¶
func (x *CardRecord) String() string
type CreateCardRequest ¶
type CreateCardRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` PreferredLanguages []string `protobuf:"bytes,3,rep,name=PreferredLanguages,proto3" json:"PreferredLanguages,omitempty"` StartDate string `protobuf:"bytes,4,opt,name=StartDate,proto3" json:"StartDate,omitempty"` EndDate string `protobuf:"bytes,5,opt,name=EndDate,proto3" json:"EndDate,omitempty"` DestinationCity string `protobuf:"bytes,6,opt,name=DestinationCity,proto3" json:"DestinationCity,omitempty"` DestinationState string `protobuf:"bytes,7,opt,name=DestinationState,proto3" json:"DestinationState,omitempty"` DestinationCountry string `protobuf:"bytes,8,opt,name=DestinationCountry,proto3" json:"DestinationCountry,omitempty"` NumberOfTravelers int32 `protobuf:"varint,9,opt,name=NumberOfTravelers,proto3" json:"NumberOfTravelers,omitempty"` // contains filtered or unexported fields }
func (*CreateCardRequest) Descriptor
deprecated
func (*CreateCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCardRequest.ProtoReflect.Descriptor instead.
func (*CreateCardRequest) GetAccessToken ¶
func (x *CreateCardRequest) GetAccessToken() string
func (*CreateCardRequest) GetDescription ¶
func (x *CreateCardRequest) GetDescription() string
func (*CreateCardRequest) GetDestinationCity ¶
func (x *CreateCardRequest) GetDestinationCity() string
func (*CreateCardRequest) GetDestinationCountry ¶
func (x *CreateCardRequest) GetDestinationCountry() string
func (*CreateCardRequest) GetDestinationState ¶
func (x *CreateCardRequest) GetDestinationState() string
func (*CreateCardRequest) GetEndDate ¶
func (x *CreateCardRequest) GetEndDate() string
func (*CreateCardRequest) GetNumberOfTravelers ¶
func (x *CreateCardRequest) GetNumberOfTravelers() int32
func (*CreateCardRequest) GetPreferredLanguages ¶
func (x *CreateCardRequest) GetPreferredLanguages() []string
func (*CreateCardRequest) GetStartDate ¶
func (x *CreateCardRequest) GetStartDate() string
func (*CreateCardRequest) ProtoMessage ¶
func (*CreateCardRequest) ProtoMessage()
func (*CreateCardRequest) ProtoReflect ¶
func (x *CreateCardRequest) ProtoReflect() protoreflect.Message
func (*CreateCardRequest) Reset ¶
func (x *CreateCardRequest) Reset()
func (*CreateCardRequest) String ¶
func (x *CreateCardRequest) String() string
type CreateCardResponse ¶
type CreateCardResponse struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*CreateCardResponse) Descriptor
deprecated
func (*CreateCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCardResponse.ProtoReflect.Descriptor instead.
func (*CreateCardResponse) GetMessage ¶
func (x *CreateCardResponse) GetMessage() string
func (*CreateCardResponse) ProtoMessage ¶
func (*CreateCardResponse) ProtoMessage()
func (*CreateCardResponse) ProtoReflect ¶
func (x *CreateCardResponse) ProtoReflect() protoreflect.Message
func (*CreateCardResponse) Reset ¶
func (x *CreateCardResponse) Reset()
func (*CreateCardResponse) String ¶
func (x *CreateCardResponse) String() string
type CreateOfferRequest ¶
type CreateOfferRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` AnnouncementId int32 `protobuf:"varint,2,opt,name=AnnouncementId,proto3" json:"AnnouncementId,omitempty"` // contains filtered or unexported fields }
func (*CreateOfferRequest) Descriptor
deprecated
func (*CreateOfferRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOfferRequest.ProtoReflect.Descriptor instead.
func (*CreateOfferRequest) GetAccessToken ¶
func (x *CreateOfferRequest) GetAccessToken() string
func (*CreateOfferRequest) GetAnnouncementId ¶
func (x *CreateOfferRequest) GetAnnouncementId() int32
func (*CreateOfferRequest) ProtoMessage ¶
func (*CreateOfferRequest) ProtoMessage()
func (*CreateOfferRequest) ProtoReflect ¶
func (x *CreateOfferRequest) ProtoReflect() protoreflect.Message
func (*CreateOfferRequest) Reset ¶
func (x *CreateOfferRequest) Reset()
func (*CreateOfferRequest) String ¶
func (x *CreateOfferRequest) String() string
type CreateOfferResponse ¶
type CreateOfferResponse struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*CreateOfferResponse) Descriptor
deprecated
func (*CreateOfferResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOfferResponse.ProtoReflect.Descriptor instead.
func (*CreateOfferResponse) GetMessage ¶
func (x *CreateOfferResponse) GetMessage() string
func (*CreateOfferResponse) ProtoMessage ¶
func (*CreateOfferResponse) ProtoMessage()
func (*CreateOfferResponse) ProtoReflect ¶
func (x *CreateOfferResponse) ProtoReflect() protoreflect.Message
func (*CreateOfferResponse) Reset ¶
func (x *CreateOfferResponse) Reset()
func (*CreateOfferResponse) String ¶
func (x *CreateOfferResponse) String() string
type CreatePostRequest ¶
type CreatePostRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` AnnouncementId int32 `protobuf:"varint,2,opt,name=AnnouncementId,proto3" json:"AnnouncementId,omitempty"` PostTitle string `protobuf:"bytes,3,opt,name=PostTitle,proto3" json:"PostTitle,omitempty"` HostRating int32 `protobuf:"varint,4,opt,name=HostRating,proto3" json:"HostRating,omitempty"` PostBody string `protobuf:"bytes,5,opt,name=PostBody,proto3" json:"PostBody,omitempty"` ImageData []byte `protobuf:"bytes,6,opt,name=ImageData,proto3" json:"ImageData,omitempty"` // contains filtered or unexported fields }
func (*CreatePostRequest) Descriptor
deprecated
func (*CreatePostRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostRequest.ProtoReflect.Descriptor instead.
func (*CreatePostRequest) GetAccessToken ¶
func (x *CreatePostRequest) GetAccessToken() string
func (*CreatePostRequest) GetAnnouncementId ¶
func (x *CreatePostRequest) GetAnnouncementId() int32
func (*CreatePostRequest) GetHostRating ¶
func (x *CreatePostRequest) GetHostRating() int32
func (*CreatePostRequest) GetImageData ¶
func (x *CreatePostRequest) GetImageData() []byte
func (*CreatePostRequest) GetPostBody ¶
func (x *CreatePostRequest) GetPostBody() string
func (*CreatePostRequest) GetPostTitle ¶
func (x *CreatePostRequest) GetPostTitle() string
func (*CreatePostRequest) ProtoMessage ¶
func (*CreatePostRequest) ProtoMessage()
func (*CreatePostRequest) ProtoReflect ¶
func (x *CreatePostRequest) ProtoReflect() protoreflect.Message
func (*CreatePostRequest) Reset ¶
func (x *CreatePostRequest) Reset()
func (*CreatePostRequest) String ¶
func (x *CreatePostRequest) String() string
type CreatePostResponse ¶
type CreatePostResponse struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*CreatePostResponse) Descriptor
deprecated
func (*CreatePostResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostResponse.ProtoReflect.Descriptor instead.
func (*CreatePostResponse) GetMessage ¶
func (x *CreatePostResponse) GetMessage() string
func (*CreatePostResponse) ProtoMessage ¶
func (*CreatePostResponse) ProtoMessage()
func (*CreatePostResponse) ProtoReflect ¶
func (x *CreatePostResponse) ProtoReflect() protoreflect.Message
func (*CreatePostResponse) Reset ¶
func (x *CreatePostResponse) Reset()
func (*CreatePostResponse) String ¶
func (x *CreatePostResponse) String() string
type GetCardProfileRequest ¶
type GetCardProfileRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` // contains filtered or unexported fields }
func (*GetCardProfileRequest) Descriptor
deprecated
func (*GetCardProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCardProfileRequest.ProtoReflect.Descriptor instead.
func (*GetCardProfileRequest) GetAccessToken ¶
func (x *GetCardProfileRequest) GetAccessToken() string
func (*GetCardProfileRequest) ProtoMessage ¶
func (*GetCardProfileRequest) ProtoMessage()
func (*GetCardProfileRequest) ProtoReflect ¶
func (x *GetCardProfileRequest) ProtoReflect() protoreflect.Message
func (*GetCardProfileRequest) Reset ¶
func (x *GetCardProfileRequest) Reset()
func (*GetCardProfileRequest) String ¶
func (x *GetCardProfileRequest) String() string
type GetCardProfileResponse ¶
type GetCardProfileResponse struct { Cards []*CardRecord `protobuf:"bytes,1,rep,name=Cards,proto3" json:"Cards,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*GetCardProfileResponse) Descriptor
deprecated
func (*GetCardProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCardProfileResponse.ProtoReflect.Descriptor instead.
func (*GetCardProfileResponse) GetCards ¶
func (x *GetCardProfileResponse) GetCards() []*CardRecord
func (*GetCardProfileResponse) GetMessage ¶
func (x *GetCardProfileResponse) GetMessage() string
func (*GetCardProfileResponse) ProtoMessage ¶
func (*GetCardProfileResponse) ProtoMessage()
func (*GetCardProfileResponse) ProtoReflect ¶
func (x *GetCardProfileResponse) ProtoReflect() protoreflect.Message
func (*GetCardProfileResponse) Reset ¶
func (x *GetCardProfileResponse) Reset()
func (*GetCardProfileResponse) String ¶
func (x *GetCardProfileResponse) String() string
type GetCardRequest ¶
type GetCardRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` FilterValues string `protobuf:"bytes,2,opt,name=FilterValues,proto3" json:"FilterValues,omitempty"` SortValue string `protobuf:"bytes,3,opt,name=SortValue,proto3" json:"SortValue,omitempty"` PageSize string `protobuf:"bytes,4,opt,name=PageSize,proto3" json:"PageSize,omitempty"` PageNumber string `protobuf:"bytes,5,opt,name=PageNumber,proto3" json:"PageNumber,omitempty"` // contains filtered or unexported fields }
func (*GetCardRequest) Descriptor
deprecated
func (*GetCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCardRequest.ProtoReflect.Descriptor instead.
func (*GetCardRequest) GetAccessToken ¶
func (x *GetCardRequest) GetAccessToken() string
func (*GetCardRequest) GetFilterValues ¶
func (x *GetCardRequest) GetFilterValues() string
func (*GetCardRequest) GetPageNumber ¶
func (x *GetCardRequest) GetPageNumber() string
func (*GetCardRequest) GetPageSize ¶
func (x *GetCardRequest) GetPageSize() string
func (*GetCardRequest) GetSortValue ¶
func (x *GetCardRequest) GetSortValue() string
func (*GetCardRequest) ProtoMessage ¶
func (*GetCardRequest) ProtoMessage()
func (*GetCardRequest) ProtoReflect ¶
func (x *GetCardRequest) ProtoReflect() protoreflect.Message
func (*GetCardRequest) Reset ¶
func (x *GetCardRequest) Reset()
func (*GetCardRequest) String ¶
func (x *GetCardRequest) String() string
type GetCardResponse ¶
type GetCardResponse struct { Cards []*CardRecord `protobuf:"bytes,1,rep,name=Cards,proto3" json:"Cards,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` PageCount int32 `protobuf:"varint,3,opt,name=PageCount,proto3" json:"PageCount,omitempty"` // contains filtered or unexported fields }
func (*GetCardResponse) Descriptor
deprecated
func (*GetCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCardResponse.ProtoReflect.Descriptor instead.
func (*GetCardResponse) GetCards ¶
func (x *GetCardResponse) GetCards() []*CardRecord
func (*GetCardResponse) GetMessage ¶
func (x *GetCardResponse) GetMessage() string
func (*GetCardResponse) GetPageCount ¶
func (x *GetCardResponse) GetPageCount() int32
func (*GetCardResponse) ProtoMessage ¶
func (*GetCardResponse) ProtoMessage()
func (*GetCardResponse) ProtoReflect ¶
func (x *GetCardResponse) ProtoReflect() protoreflect.Message
func (*GetCardResponse) Reset ¶
func (x *GetCardResponse) Reset()
func (*GetCardResponse) String ¶
func (x *GetCardResponse) String() string
type GetMyPostRequest ¶
type GetMyPostRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` // contains filtered or unexported fields }
func (*GetMyPostRequest) Descriptor
deprecated
func (*GetMyPostRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMyPostRequest.ProtoReflect.Descriptor instead.
func (*GetMyPostRequest) GetAccessToken ¶
func (x *GetMyPostRequest) GetAccessToken() string
func (*GetMyPostRequest) ProtoMessage ¶
func (*GetMyPostRequest) ProtoMessage()
func (*GetMyPostRequest) ProtoReflect ¶
func (x *GetMyPostRequest) ProtoReflect() protoreflect.Message
func (*GetMyPostRequest) Reset ¶
func (x *GetMyPostRequest) Reset()
func (*GetMyPostRequest) String ¶
func (x *GetMyPostRequest) String() string
type GetMyPostResponse ¶
type GetMyPostResponse struct { Posts []*PostRecord `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*GetMyPostResponse) Descriptor
deprecated
func (*GetMyPostResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMyPostResponse.ProtoReflect.Descriptor instead.
func (*GetMyPostResponse) GetMessage ¶
func (x *GetMyPostResponse) GetMessage() string
func (*GetMyPostResponse) GetPosts ¶
func (x *GetMyPostResponse) GetPosts() []*PostRecord
func (*GetMyPostResponse) ProtoMessage ¶
func (*GetMyPostResponse) ProtoMessage()
func (*GetMyPostResponse) ProtoReflect ¶
func (x *GetMyPostResponse) ProtoReflect() protoreflect.Message
func (*GetMyPostResponse) Reset ¶
func (x *GetMyPostResponse) Reset()
func (*GetMyPostResponse) String ¶
func (x *GetMyPostResponse) String() string
type GetOfferRequest ¶
type GetOfferRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` AnnouncementId int32 `protobuf:"varint,2,opt,name=AnnouncementId,proto3" json:"AnnouncementId,omitempty"` // contains filtered or unexported fields }
func (*GetOfferRequest) Descriptor
deprecated
func (*GetOfferRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOfferRequest.ProtoReflect.Descriptor instead.
func (*GetOfferRequest) GetAccessToken ¶
func (x *GetOfferRequest) GetAccessToken() string
func (*GetOfferRequest) GetAnnouncementId ¶
func (x *GetOfferRequest) GetAnnouncementId() int32
func (*GetOfferRequest) ProtoMessage ¶
func (*GetOfferRequest) ProtoMessage()
func (*GetOfferRequest) ProtoReflect ¶
func (x *GetOfferRequest) ProtoReflect() protoreflect.Message
func (*GetOfferRequest) Reset ¶
func (x *GetOfferRequest) Reset()
func (*GetOfferRequest) String ¶
func (x *GetOfferRequest) String() string
type GetOfferResponse ¶
type GetOfferResponse struct { Offers []*OfferRecord `protobuf:"bytes,1,rep,name=offers,proto3" json:"offers,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*GetOfferResponse) Descriptor
deprecated
func (*GetOfferResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOfferResponse.ProtoReflect.Descriptor instead.
func (*GetOfferResponse) GetMessage ¶
func (x *GetOfferResponse) GetMessage() string
func (*GetOfferResponse) GetOffers ¶
func (x *GetOfferResponse) GetOffers() []*OfferRecord
func (*GetOfferResponse) ProtoMessage ¶
func (*GetOfferResponse) ProtoMessage()
func (*GetOfferResponse) ProtoReflect ¶
func (x *GetOfferResponse) ProtoReflect() protoreflect.Message
func (*GetOfferResponse) Reset ¶
func (x *GetOfferResponse) Reset()
func (*GetOfferResponse) String ¶
func (x *GetOfferResponse) String() string
type GetPostHostRequest ¶
type GetPostHostRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` HostId int32 `protobuf:"varint,2,opt,name=HostId,proto3" json:"HostId,omitempty"` // contains filtered or unexported fields }
func (*GetPostHostRequest) Descriptor
deprecated
func (*GetPostHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPostHostRequest.ProtoReflect.Descriptor instead.
func (*GetPostHostRequest) GetAccessToken ¶
func (x *GetPostHostRequest) GetAccessToken() string
func (*GetPostHostRequest) GetHostId ¶
func (x *GetPostHostRequest) GetHostId() int32
func (*GetPostHostRequest) ProtoMessage ¶
func (*GetPostHostRequest) ProtoMessage()
func (*GetPostHostRequest) ProtoReflect ¶
func (x *GetPostHostRequest) ProtoReflect() protoreflect.Message
func (*GetPostHostRequest) Reset ¶
func (x *GetPostHostRequest) Reset()
func (*GetPostHostRequest) String ¶
func (x *GetPostHostRequest) String() string
type GetPostHostResponse ¶
type GetPostHostResponse struct { Posts []*PostRecord `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*GetPostHostResponse) Descriptor
deprecated
func (*GetPostHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPostHostResponse.ProtoReflect.Descriptor instead.
func (*GetPostHostResponse) GetMessage ¶
func (x *GetPostHostResponse) GetMessage() string
func (*GetPostHostResponse) GetPosts ¶
func (x *GetPostHostResponse) GetPosts() []*PostRecord
func (*GetPostHostResponse) ProtoMessage ¶
func (*GetPostHostResponse) ProtoMessage()
func (*GetPostHostResponse) ProtoReflect ¶
func (x *GetPostHostResponse) ProtoReflect() protoreflect.Message
func (*GetPostHostResponse) Reset ¶
func (x *GetPostHostResponse) Reset()
func (*GetPostHostResponse) String ¶
func (x *GetPostHostResponse) String() string
type OfferRecord ¶
type OfferRecord struct { HostId int32 `protobuf:"varint,1,opt,name=HostId,proto3" json:"HostId,omitempty"` HostFirstName string `protobuf:"bytes,2,opt,name=HostFirstName,proto3" json:"HostFirstName,omitempty"` HostLastName string `protobuf:"bytes,3,opt,name=HostLastName,proto3" json:"HostLastName,omitempty"` HostUsername string `protobuf:"bytes,4,opt,name=HostUsername,proto3" json:"HostUsername,omitempty"` Image string `protobuf:"bytes,5,opt,name=Image,proto3" json:"Image,omitempty"` // contains filtered or unexported fields }
func (*OfferRecord) Descriptor
deprecated
func (*OfferRecord) Descriptor() ([]byte, []int)
Deprecated: Use OfferRecord.ProtoReflect.Descriptor instead.
func (*OfferRecord) GetHostFirstName ¶
func (x *OfferRecord) GetHostFirstName() string
func (*OfferRecord) GetHostId ¶
func (x *OfferRecord) GetHostId() int32
func (*OfferRecord) GetHostLastName ¶
func (x *OfferRecord) GetHostLastName() string
func (*OfferRecord) GetHostUsername ¶
func (x *OfferRecord) GetHostUsername() string
func (*OfferRecord) GetImage ¶
func (x *OfferRecord) GetImage() string
func (*OfferRecord) ProtoMessage ¶
func (*OfferRecord) ProtoMessage()
func (*OfferRecord) ProtoReflect ¶
func (x *OfferRecord) ProtoReflect() protoreflect.Message
func (*OfferRecord) Reset ¶
func (x *OfferRecord) Reset()
func (*OfferRecord) String ¶
func (x *OfferRecord) String() string
type PostRecord ¶
type PostRecord struct { PostId int32 `protobuf:"varint,1,opt,name=PostId,proto3" json:"PostId,omitempty"` AnnouncementId int32 `protobuf:"varint,2,opt,name=AnnouncementId,proto3" json:"AnnouncementId,omitempty"` HostId int32 `protobuf:"varint,3,opt,name=HostId,proto3" json:"HostId,omitempty"` HostUsername string `protobuf:"bytes,4,opt,name=HostUsername,proto3" json:"HostUsername,omitempty"` HostImage string `protobuf:"bytes,5,opt,name=HostImage,proto3" json:"HostImage,omitempty"` GuestId int32 `protobuf:"varint,6,opt,name=GuestId,proto3" json:"GuestId,omitempty"` GuestUsername string `protobuf:"bytes,7,opt,name=GuestUsername,proto3" json:"GuestUsername,omitempty"` GuestImage string `protobuf:"bytes,8,opt,name=GuestImage,proto3" json:"GuestImage,omitempty"` PostTitle string `protobuf:"bytes,9,opt,name=PostTitle,proto3" json:"PostTitle,omitempty"` HostRating int32 `protobuf:"varint,10,opt,name=HostRating,proto3" json:"HostRating,omitempty"` PostBody string `protobuf:"bytes,11,opt,name=PostBody,proto3" json:"PostBody,omitempty"` PostImage string `protobuf:"bytes,12,opt,name=PostImage,proto3" json:"PostImage,omitempty"` // contains filtered or unexported fields }
func (*PostRecord) Descriptor
deprecated
func (*PostRecord) Descriptor() ([]byte, []int)
Deprecated: Use PostRecord.ProtoReflect.Descriptor instead.
func (*PostRecord) GetAnnouncementId ¶
func (x *PostRecord) GetAnnouncementId() int32
func (*PostRecord) GetGuestId ¶
func (x *PostRecord) GetGuestId() int32
func (*PostRecord) GetGuestImage ¶
func (x *PostRecord) GetGuestImage() string
func (*PostRecord) GetGuestUsername ¶
func (x *PostRecord) GetGuestUsername() string
func (*PostRecord) GetHostId ¶
func (x *PostRecord) GetHostId() int32
func (*PostRecord) GetHostImage ¶
func (x *PostRecord) GetHostImage() string
func (*PostRecord) GetHostRating ¶
func (x *PostRecord) GetHostRating() int32
func (*PostRecord) GetHostUsername ¶
func (x *PostRecord) GetHostUsername() string
func (*PostRecord) GetPostBody ¶
func (x *PostRecord) GetPostBody() string
func (*PostRecord) GetPostId ¶
func (x *PostRecord) GetPostId() int32
func (*PostRecord) GetPostImage ¶
func (x *PostRecord) GetPostImage() string
func (*PostRecord) GetPostTitle ¶
func (x *PostRecord) GetPostTitle() string
func (*PostRecord) ProtoMessage ¶
func (*PostRecord) ProtoMessage()
func (*PostRecord) ProtoReflect ¶
func (x *PostRecord) ProtoReflect() protoreflect.Message
func (*PostRecord) Reset ¶
func (x *PostRecord) Reset()
func (*PostRecord) String ¶
func (x *PostRecord) String() string
type RejectOfferRequest ¶
type RejectOfferRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` AnnouncementId int32 `protobuf:"varint,2,opt,name=AnnouncementId,proto3" json:"AnnouncementId,omitempty"` HostId int32 `protobuf:"varint,3,opt,name=HostId,proto3" json:"HostId,omitempty"` // contains filtered or unexported fields }
func (*RejectOfferRequest) Descriptor
deprecated
func (*RejectOfferRequest) Descriptor() ([]byte, []int)
Deprecated: Use RejectOfferRequest.ProtoReflect.Descriptor instead.
func (*RejectOfferRequest) GetAccessToken ¶
func (x *RejectOfferRequest) GetAccessToken() string
func (*RejectOfferRequest) GetAnnouncementId ¶
func (x *RejectOfferRequest) GetAnnouncementId() int32
func (*RejectOfferRequest) GetHostId ¶
func (x *RejectOfferRequest) GetHostId() int32
func (*RejectOfferRequest) ProtoMessage ¶
func (*RejectOfferRequest) ProtoMessage()
func (*RejectOfferRequest) ProtoReflect ¶
func (x *RejectOfferRequest) ProtoReflect() protoreflect.Message
func (*RejectOfferRequest) Reset ¶
func (x *RejectOfferRequest) Reset()
func (*RejectOfferRequest) String ¶
func (x *RejectOfferRequest) String() string
type RejectOfferResponse ¶
type RejectOfferResponse struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*RejectOfferResponse) Descriptor
deprecated
func (*RejectOfferResponse) Descriptor() ([]byte, []int)
Deprecated: Use RejectOfferResponse.ProtoReflect.Descriptor instead.
func (*RejectOfferResponse) GetMessage ¶
func (x *RejectOfferResponse) GetMessage() string
func (*RejectOfferResponse) ProtoMessage ¶
func (*RejectOfferResponse) ProtoMessage()
func (*RejectOfferResponse) ProtoReflect ¶
func (x *RejectOfferResponse) ProtoReflect() protoreflect.Message
func (*RejectOfferResponse) Reset ¶
func (x *RejectOfferResponse) Reset()
func (*RejectOfferResponse) String ¶
func (x *RejectOfferResponse) String() string
type UnimplementedAnnouncementServer ¶
type UnimplementedAnnouncementServer struct { }
UnimplementedAnnouncementServer must be embedded to have forward compatible implementations.
func (UnimplementedAnnouncementServer) AcceptOffer ¶
func (UnimplementedAnnouncementServer) AcceptOffer(context.Context, *AcceptOfferRequest) (*AcceptOfferResponse, error)
func (UnimplementedAnnouncementServer) CreateCard ¶
func (UnimplementedAnnouncementServer) CreateCard(context.Context, *CreateCardRequest) (*CreateCardResponse, error)
func (UnimplementedAnnouncementServer) CreateOffer ¶
func (UnimplementedAnnouncementServer) CreateOffer(context.Context, *CreateOfferRequest) (*CreateOfferResponse, error)
func (UnimplementedAnnouncementServer) CreatePost ¶
func (UnimplementedAnnouncementServer) CreatePost(context.Context, *CreatePostRequest) (*CreatePostResponse, error)
func (UnimplementedAnnouncementServer) GetCard ¶
func (UnimplementedAnnouncementServer) GetCard(context.Context, *GetCardRequest) (*GetCardResponse, error)
func (UnimplementedAnnouncementServer) GetCardProfile ¶
func (UnimplementedAnnouncementServer) GetCardProfile(context.Context, *GetCardProfileRequest) (*GetCardProfileResponse, error)
func (UnimplementedAnnouncementServer) GetMyPost ¶
func (UnimplementedAnnouncementServer) GetMyPost(context.Context, *GetMyPostRequest) (*GetMyPostResponse, error)
func (UnimplementedAnnouncementServer) GetOffer ¶
func (UnimplementedAnnouncementServer) GetOffer(context.Context, *GetOfferRequest) (*GetOfferResponse, error)
func (UnimplementedAnnouncementServer) GetPostHost ¶
func (UnimplementedAnnouncementServer) GetPostHost(context.Context, *GetPostHostRequest) (*GetPostHostResponse, error)
func (UnimplementedAnnouncementServer) RejectOffer ¶
func (UnimplementedAnnouncementServer) RejectOffer(context.Context, *RejectOfferRequest) (*RejectOfferResponse, error)
type UnsafeAnnouncementServer ¶
type UnsafeAnnouncementServer interface {
// contains filtered or unexported methods
}
UnsafeAnnouncementServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnnouncementServer will result in compilation errors.