Documentation ¶
Overview ¶
Package user is a generated protocol buffer package.
It is generated from these files:
proto/common.proto proto/tables.proto proto/user_service.proto
It has these top-level messages:
Address Education Media Subscriptions SocialMedia Details Experience Investment User Profile Group Team TeamProfile InvestorDetail StartupDetail Settings LoginActivity Payments Card Pin Privacy Notification PostAndCommentsPushNotification FollowingAndFollowersPushNotification DirectMessagesPushNotification EmailAndSmsPushNotification TieredPushNotificationSetting PushNotificationSetting GetUsersSearchRequest Uint32UserTypeRequest Uint32TeamTypeRequest Uint32GroupTypeRequest StringUserTypeRequest StringTeamTypeRequest StringGroupTypeRequest UserResponse UserRequest TeamResponse TeamRequest GroupResponse GroupRequest UpdateOrCreateEntityResponse
Index ¶
- Variables
- func DefaultDeleteAddress(ctx context.Context, in *Address, db *gorm1.DB) error
- func DefaultDeleteAddressSet(ctx context.Context, in []*Address, db *gorm1.DB) error
- func DefaultDeleteCard(ctx context.Context, in *Card, db *gorm1.DB) error
- func DefaultDeleteCardSet(ctx context.Context, in []*Card, db *gorm1.DB) error
- func DefaultDeleteDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, db *gorm1.DB) error
- func DefaultDeleteDirectMessagesPushNotificationSet(ctx context.Context, in []*DirectMessagesPushNotification, db *gorm1.DB) error
- func DefaultDeleteEducation(ctx context.Context, in *Education, db *gorm1.DB) error
- func DefaultDeleteEducationSet(ctx context.Context, in []*Education, db *gorm1.DB) error
- func DefaultDeleteEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, db *gorm1.DB) error
- func DefaultDeleteEmailAndSmsPushNotificationSet(ctx context.Context, in []*EmailAndSmsPushNotification, db *gorm1.DB) error
- func DefaultDeleteExperience(ctx context.Context, in *Experience, db *gorm1.DB) error
- func DefaultDeleteExperienceSet(ctx context.Context, in []*Experience, db *gorm1.DB) error
- func DefaultDeleteFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, db *gorm1.DB) error
- func DefaultDeleteFollowingAndFollowersPushNotificationSet(ctx context.Context, in []*FollowingAndFollowersPushNotification, db *gorm1.DB) error
- func DefaultDeleteGroup(ctx context.Context, in *Group, db *gorm1.DB) error
- func DefaultDeleteGroupSet(ctx context.Context, in []*Group, db *gorm1.DB) error
- func DefaultDeleteInvestment(ctx context.Context, in *Investment, db *gorm1.DB) error
- func DefaultDeleteInvestmentSet(ctx context.Context, in []*Investment, db *gorm1.DB) error
- func DefaultDeleteInvestorDetail(ctx context.Context, in *InvestorDetail, db *gorm1.DB) error
- func DefaultDeleteInvestorDetailSet(ctx context.Context, in []*InvestorDetail, db *gorm1.DB) error
- func DefaultDeleteLoginActivity(ctx context.Context, in *LoginActivity, db *gorm1.DB) error
- func DefaultDeleteLoginActivitySet(ctx context.Context, in []*LoginActivity, db *gorm1.DB) error
- func DefaultDeleteMedia(ctx context.Context, in *Media, db *gorm1.DB) error
- func DefaultDeleteMediaSet(ctx context.Context, in []*Media, db *gorm1.DB) error
- func DefaultDeleteNotification(ctx context.Context, in *Notification, db *gorm1.DB) error
- func DefaultDeleteNotificationSet(ctx context.Context, in []*Notification, db *gorm1.DB) error
- func DefaultDeletePayments(ctx context.Context, in *Payments, db *gorm1.DB) error
- func DefaultDeletePaymentsSet(ctx context.Context, in []*Payments, db *gorm1.DB) error
- func DefaultDeletePin(ctx context.Context, in *Pin, db *gorm1.DB) error
- func DefaultDeletePinSet(ctx context.Context, in []*Pin, db *gorm1.DB) error
- func DefaultDeletePostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, db *gorm1.DB) error
- func DefaultDeletePostAndCommentsPushNotificationSet(ctx context.Context, in []*PostAndCommentsPushNotification, db *gorm1.DB) error
- func DefaultDeletePrivacy(ctx context.Context, in *Privacy, db *gorm1.DB) error
- func DefaultDeletePrivacySet(ctx context.Context, in []*Privacy, db *gorm1.DB) error
- func DefaultDeleteProfile(ctx context.Context, in *Profile, db *gorm1.DB) error
- func DefaultDeleteProfileSet(ctx context.Context, in []*Profile, db *gorm1.DB) error
- func DefaultDeleteSettings(ctx context.Context, in *Settings, db *gorm1.DB) error
- func DefaultDeleteSettingsSet(ctx context.Context, in []*Settings, db *gorm1.DB) error
- func DefaultDeleteSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) error
- func DefaultDeleteSocialMediaSet(ctx context.Context, in []*SocialMedia, db *gorm1.DB) error
- func DefaultDeleteStartupDetail(ctx context.Context, in *StartupDetail, db *gorm1.DB) error
- func DefaultDeleteStartupDetailSet(ctx context.Context, in []*StartupDetail, db *gorm1.DB) error
- func DefaultDeleteSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) error
- func DefaultDeleteSubscriptionsSet(ctx context.Context, in []*Subscriptions, db *gorm1.DB) error
- func DefaultDeleteTeam(ctx context.Context, in *Team, db *gorm1.DB) error
- func DefaultDeleteTeamProfile(ctx context.Context, in *TeamProfile, db *gorm1.DB) error
- func DefaultDeleteTeamProfileSet(ctx context.Context, in []*TeamProfile, db *gorm1.DB) error
- func DefaultDeleteTeamSet(ctx context.Context, in []*Team, db *gorm1.DB) error
- func DefaultDeleteUser(ctx context.Context, in *User, db *gorm1.DB) error
- func DefaultDeleteUserSet(ctx context.Context, in []*User, db *gorm1.DB) error
- func RegisterUsersServiceServer(s *grpc.Server, srv UsersServiceServer)
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type Address
- func DefaultApplyFieldMaskAddress(ctx context.Context, patchee *Address, patcher *Address, ...) (*Address, error)
- func DefaultCreateAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)
- func DefaultListAddress(ctx context.Context, db *gorm1.DB) ([]*Address, error)
- func DefaultPatchAddress(ctx context.Context, in *Address, updateMask *field_mask1.FieldMask, ...) (*Address, error)
- func DefaultPatchSetAddress(ctx context.Context, objects []*Address, updateMasks []*field_mask1.FieldMask, ...) ([]*Address, error)
- func DefaultReadAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)
- func DefaultStrictUpdateAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetBuildingNumber() string
- func (x *Address) GetCity() string
- func (x *Address) GetCountry() string
- func (x *Address) GetCreatedAt() *timestamp.Timestamp
- func (x *Address) GetDeletedAt() *timestamp.Timestamp
- func (x *Address) GetId() int32
- func (x *Address) GetLatitude() string
- func (x *Address) GetLongitude() string
- func (x *Address) GetState() string
- func (x *Address) GetStreet() string
- func (x *Address) GetUpdatedAt() *timestamp.Timestamp
- func (x *Address) GetZipCode() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- func (m *Address) ToORM(ctx context.Context) (AddressORM, error)
- func (this *Address) Validate() error
- type AddressORM
- type AddressORMWithAfterCreate_
- type AddressORMWithAfterDeleteSet
- type AddressORMWithAfterDelete_
- type AddressORMWithAfterListFind
- type AddressORMWithAfterReadFind
- type AddressORMWithAfterStrictUpdateSave
- type AddressORMWithBeforeCreate_
- type AddressORMWithBeforeDeleteSet
- type AddressORMWithBeforeDelete_
- type AddressORMWithBeforeListApplyQuery
- type AddressORMWithBeforeListFind
- type AddressORMWithBeforeReadApplyQuery
- type AddressORMWithBeforeReadFind
- type AddressORMWithBeforeStrictUpdateCleanup
- type AddressORMWithBeforeStrictUpdateSave
- type AddressWithAfterPatchSave
- type AddressWithAfterToORM
- type AddressWithAfterToPB
- type AddressWithBeforePatchApplyFieldMask
- type AddressWithBeforePatchRead
- type AddressWithBeforePatchSave
- type AddressWithBeforeToORM
- type AddressWithBeforeToPB
- type Card
- func DefaultApplyFieldMaskCard(ctx context.Context, patchee *Card, patcher *Card, ...) (*Card, error)
- func DefaultCreateCard(ctx context.Context, in *Card, db *gorm1.DB) (*Card, error)
- func DefaultListCard(ctx context.Context, db *gorm1.DB) ([]*Card, error)
- func DefaultPatchCard(ctx context.Context, in *Card, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Card, error)
- func DefaultPatchSetCard(ctx context.Context, objects []*Card, updateMasks []*field_mask1.FieldMask, ...) ([]*Card, error)
- func DefaultReadCard(ctx context.Context, in *Card, db *gorm1.DB) (*Card, error)
- func DefaultStrictUpdateCard(ctx context.Context, in *Card, db *gorm1.DB) (*Card, error)
- func (*Card) Descriptor() ([]byte, []int)deprecated
- func (x *Card) GetAddress() string
- func (x *Card) GetCardNumber() string
- func (x *Card) GetCardZipCode() string
- func (x *Card) GetCity() string
- func (x *Card) GetCreatedAt() *timestamp.Timestamp
- func (x *Card) GetDeletedAt() *timestamp.Timestamp
- func (x *Card) GetFullName() string
- func (x *Card) GetId() int32
- func (x *Card) GetLastLogin() *timestamp.Timestamp
- func (x *Card) GetSecurityCode() string
- func (x *Card) GetState() string
- func (x *Card) GetUpdatedAt() *timestamp.Timestamp
- func (x *Card) GetZipcode() string
- func (*Card) ProtoMessage()
- func (x *Card) ProtoReflect() protoreflect.Message
- func (x *Card) Reset()
- func (x *Card) String() string
- func (m *Card) ToORM(ctx context.Context) (CardORM, error)
- func (this *Card) Validate() error
- type CardORM
- type CardORMWithAfterCreate_
- type CardORMWithAfterDeleteSet
- type CardORMWithAfterDelete_
- type CardORMWithAfterListFind
- type CardORMWithAfterReadFind
- type CardORMWithAfterStrictUpdateSave
- type CardORMWithBeforeCreate_
- type CardORMWithBeforeDeleteSet
- type CardORMWithBeforeDelete_
- type CardORMWithBeforeListApplyQuery
- type CardORMWithBeforeListFind
- type CardORMWithBeforeReadApplyQuery
- type CardORMWithBeforeReadFind
- type CardORMWithBeforeStrictUpdateCleanup
- type CardORMWithBeforeStrictUpdateSave
- type CardWithAfterPatchSave
- type CardWithAfterToORM
- type CardWithAfterToPB
- type CardWithBeforePatchApplyFieldMask
- type CardWithBeforePatchRead
- type CardWithBeforePatchSave
- type CardWithBeforeToORM
- type CardWithBeforeToPB
- type Details
- func (*Details) Descriptor() ([]byte, []int)deprecated
- func (x *Details) GetCompanyType() string
- func (x *Details) GetIPOStatus() string
- func (*Details) ProtoMessage()
- func (x *Details) ProtoReflect() protoreflect.Message
- func (x *Details) Reset()
- func (x *Details) String() string
- func (m *Details) ToORM(ctx context.Context) (DetailsORM, error)
- func (this *Details) Validate() error
- type DetailsORM
- type DetailsORMWithAfterCreate_
- type DetailsORMWithAfterListFind
- type DetailsORMWithBeforeCreate_
- type DetailsORMWithBeforeListApplyQuery
- type DetailsORMWithBeforeListFind
- type DetailsWithAfterToORM
- type DetailsWithAfterToPB
- type DetailsWithBeforeToORM
- type DetailsWithBeforeToPB
- type DirectMessagesPushNotification
- func DefaultApplyFieldMaskDirectMessagesPushNotification(ctx context.Context, patchee *DirectMessagesPushNotification, ...) (*DirectMessagesPushNotification, error)
- func DefaultCreateDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, db *gorm1.DB) (*DirectMessagesPushNotification, error)
- func DefaultListDirectMessagesPushNotification(ctx context.Context, db *gorm1.DB) ([]*DirectMessagesPushNotification, error)
- func DefaultPatchDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, ...) (*DirectMessagesPushNotification, error)
- func DefaultPatchSetDirectMessagesPushNotification(ctx context.Context, objects []*DirectMessagesPushNotification, ...) ([]*DirectMessagesPushNotification, error)
- func DefaultReadDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, db *gorm1.DB) (*DirectMessagesPushNotification, error)
- func DefaultStrictUpdateDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, db *gorm1.DB) (*DirectMessagesPushNotification, error)
- func (*DirectMessagesPushNotification) Descriptor() ([]byte, []int)deprecated
- func (x *DirectMessagesPushNotification) GetCreatedAt() *timestamp.Timestamp
- func (x *DirectMessagesPushNotification) GetDeletedAt() *timestamp.Timestamp
- func (x *DirectMessagesPushNotification) GetGroupRequests() *PushNotificationSetting
- func (x *DirectMessagesPushNotification) GetId() int32
- func (x *DirectMessagesPushNotification) GetMessage() *PushNotificationSetting
- func (x *DirectMessagesPushNotification) GetMessageRequests() *PushNotificationSetting
- func (x *DirectMessagesPushNotification) GetUpdatedAt() *timestamp.Timestamp
- func (*DirectMessagesPushNotification) ProtoMessage()
- func (x *DirectMessagesPushNotification) ProtoReflect() protoreflect.Message
- func (x *DirectMessagesPushNotification) Reset()
- func (x *DirectMessagesPushNotification) String() string
- func (m *DirectMessagesPushNotification) ToORM(ctx context.Context) (DirectMessagesPushNotificationORM, error)
- func (this *DirectMessagesPushNotification) Validate() error
- type DirectMessagesPushNotificationORM
- type DirectMessagesPushNotificationORMWithAfterCreate_
- type DirectMessagesPushNotificationORMWithAfterDeleteSet
- type DirectMessagesPushNotificationORMWithAfterDelete_
- type DirectMessagesPushNotificationORMWithAfterListFind
- type DirectMessagesPushNotificationORMWithAfterReadFind
- type DirectMessagesPushNotificationORMWithAfterStrictUpdateSave
- type DirectMessagesPushNotificationORMWithBeforeCreate_
- type DirectMessagesPushNotificationORMWithBeforeDeleteSet
- type DirectMessagesPushNotificationORMWithBeforeDelete_
- type DirectMessagesPushNotificationORMWithBeforeListApplyQuery
- type DirectMessagesPushNotificationORMWithBeforeListFind
- type DirectMessagesPushNotificationORMWithBeforeReadApplyQuery
- type DirectMessagesPushNotificationORMWithBeforeReadFind
- type DirectMessagesPushNotificationORMWithBeforeStrictUpdateCleanup
- type DirectMessagesPushNotificationORMWithBeforeStrictUpdateSave
- type DirectMessagesPushNotificationWithAfterPatchSave
- type DirectMessagesPushNotificationWithAfterToORM
- type DirectMessagesPushNotificationWithAfterToPB
- type DirectMessagesPushNotificationWithBeforePatchApplyFieldMask
- type DirectMessagesPushNotificationWithBeforePatchRead
- type DirectMessagesPushNotificationWithBeforePatchSave
- type DirectMessagesPushNotificationWithBeforeToORM
- type DirectMessagesPushNotificationWithBeforeToPB
- type Education
- func DefaultApplyFieldMaskEducation(ctx context.Context, patchee *Education, patcher *Education, ...) (*Education, error)
- func DefaultCreateEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)
- func DefaultListEducation(ctx context.Context, db *gorm1.DB) ([]*Education, error)
- func DefaultPatchEducation(ctx context.Context, in *Education, updateMask *field_mask1.FieldMask, ...) (*Education, error)
- func DefaultPatchSetEducation(ctx context.Context, objects []*Education, ...) ([]*Education, error)
- func DefaultReadEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)
- func DefaultStrictUpdateEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)
- func (*Education) Descriptor() ([]byte, []int)deprecated
- func (x *Education) GetActivities() string
- func (x *Education) GetCreatedAt() *timestamp.Timestamp
- func (x *Education) GetCurrentlyAttending() bool
- func (x *Education) GetDegree() string
- func (x *Education) GetDeletedAt() *timestamp.Timestamp
- func (x *Education) GetDescription() string
- func (x *Education) GetEndDate() *timestamp.Timestamp
- func (x *Education) GetFieldOfStudy() string
- func (x *Education) GetGpa() float32
- func (x *Education) GetId() int32
- func (x *Education) GetMediaId() *Media
- func (x *Education) GetSchool() string
- func (x *Education) GetSocieties() string
- func (x *Education) GetStartDate() *timestamp.Timestamp
- func (x *Education) GetUpdatedAt() *timestamp.Timestamp
- func (*Education) ProtoMessage()
- func (x *Education) ProtoReflect() protoreflect.Message
- func (x *Education) Reset()
- func (x *Education) String() string
- func (m *Education) ToORM(ctx context.Context) (EducationORM, error)
- func (this *Education) Validate() error
- type EducationORM
- type EducationORMWithAfterCreate_
- type EducationORMWithAfterDeleteSet
- type EducationORMWithAfterDelete_
- type EducationORMWithAfterListFind
- type EducationORMWithAfterReadFind
- type EducationORMWithAfterStrictUpdateSave
- type EducationORMWithBeforeCreate_
- type EducationORMWithBeforeDeleteSet
- type EducationORMWithBeforeDelete_
- type EducationORMWithBeforeListApplyQuery
- type EducationORMWithBeforeListFind
- type EducationORMWithBeforeReadApplyQuery
- type EducationORMWithBeforeReadFind
- type EducationORMWithBeforeStrictUpdateCleanup
- type EducationORMWithBeforeStrictUpdateSave
- type EducationWithAfterPatchSave
- type EducationWithAfterToORM
- type EducationWithAfterToPB
- type EducationWithBeforePatchApplyFieldMask
- type EducationWithBeforePatchRead
- type EducationWithBeforePatchSave
- type EducationWithBeforeToORM
- type EducationWithBeforeToPB
- type EmailAndSmsPushNotification
- func DefaultApplyFieldMaskEmailAndSmsPushNotification(ctx context.Context, patchee *EmailAndSmsPushNotification, ...) (*EmailAndSmsPushNotification, error)
- func DefaultCreateEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, db *gorm1.DB) (*EmailAndSmsPushNotification, error)
- func DefaultListEmailAndSmsPushNotification(ctx context.Context, db *gorm1.DB) ([]*EmailAndSmsPushNotification, error)
- func DefaultPatchEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, ...) (*EmailAndSmsPushNotification, error)
- func DefaultPatchSetEmailAndSmsPushNotification(ctx context.Context, objects []*EmailAndSmsPushNotification, ...) ([]*EmailAndSmsPushNotification, error)
- func DefaultReadEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, db *gorm1.DB) (*EmailAndSmsPushNotification, error)
- func DefaultStrictUpdateEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, db *gorm1.DB) (*EmailAndSmsPushNotification, error)
- func (*EmailAndSmsPushNotification) Descriptor() ([]byte, []int)deprecated
- func (x *EmailAndSmsPushNotification) GetCreatedAt() *timestamp.Timestamp
- func (x *EmailAndSmsPushNotification) GetDeletedAt() *timestamp.Timestamp
- func (x *EmailAndSmsPushNotification) GetFeedbackEmail() *PushNotificationSetting
- func (x *EmailAndSmsPushNotification) GetId() int32
- func (x *EmailAndSmsPushNotification) GetNewsEmails() *PushNotificationSetting
- func (x *EmailAndSmsPushNotification) GetProductEmails() *PushNotificationSetting
- func (x *EmailAndSmsPushNotification) GetReminderEmails() *PushNotificationSetting
- func (x *EmailAndSmsPushNotification) GetUpdatedAt() *timestamp.Timestamp
- func (*EmailAndSmsPushNotification) ProtoMessage()
- func (x *EmailAndSmsPushNotification) ProtoReflect() protoreflect.Message
- func (x *EmailAndSmsPushNotification) Reset()
- func (x *EmailAndSmsPushNotification) String() string
- func (m *EmailAndSmsPushNotification) ToORM(ctx context.Context) (EmailAndSmsPushNotificationORM, error)
- func (this *EmailAndSmsPushNotification) Validate() error
- type EmailAndSmsPushNotificationORM
- type EmailAndSmsPushNotificationORMWithAfterCreate_
- type EmailAndSmsPushNotificationORMWithAfterDeleteSet
- type EmailAndSmsPushNotificationORMWithAfterDelete_
- type EmailAndSmsPushNotificationORMWithAfterListFind
- type EmailAndSmsPushNotificationORMWithAfterReadFind
- type EmailAndSmsPushNotificationORMWithAfterStrictUpdateSave
- type EmailAndSmsPushNotificationORMWithBeforeCreate_
- type EmailAndSmsPushNotificationORMWithBeforeDeleteSet
- type EmailAndSmsPushNotificationORMWithBeforeDelete_
- type EmailAndSmsPushNotificationORMWithBeforeListApplyQuery
- type EmailAndSmsPushNotificationORMWithBeforeListFind
- type EmailAndSmsPushNotificationORMWithBeforeReadApplyQuery
- type EmailAndSmsPushNotificationORMWithBeforeReadFind
- type EmailAndSmsPushNotificationORMWithBeforeStrictUpdateCleanup
- type EmailAndSmsPushNotificationORMWithBeforeStrictUpdateSave
- type EmailAndSmsPushNotificationWithAfterPatchSave
- type EmailAndSmsPushNotificationWithAfterToORM
- type EmailAndSmsPushNotificationWithAfterToPB
- type EmailAndSmsPushNotificationWithBeforePatchApplyFieldMask
- type EmailAndSmsPushNotificationWithBeforePatchRead
- type EmailAndSmsPushNotificationWithBeforePatchSave
- type EmailAndSmsPushNotificationWithBeforeToORM
- type EmailAndSmsPushNotificationWithBeforeToPB
- type Experience
- func DefaultApplyFieldMaskExperience(ctx context.Context, patchee *Experience, patcher *Experience, ...) (*Experience, error)
- func DefaultCreateExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)
- func DefaultListExperience(ctx context.Context, db *gorm1.DB) ([]*Experience, error)
- func DefaultPatchExperience(ctx context.Context, in *Experience, updateMask *field_mask1.FieldMask, ...) (*Experience, error)
- func DefaultPatchSetExperience(ctx context.Context, objects []*Experience, ...) ([]*Experience, error)
- func DefaultReadExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)
- func DefaultStrictUpdateExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)
- func (*Experience) Descriptor() ([]byte, []int)deprecated
- func (x *Experience) GetCompanyName() string
- func (x *Experience) GetCreatedAt() *timestamp.Timestamp
- func (x *Experience) GetDeletedAt() *timestamp.Timestamp
- func (x *Experience) GetDescription() string
- func (x *Experience) GetEmploymentType() string
- func (x *Experience) GetEndDate() *timestamp.Timestamp
- func (x *Experience) GetHeadline() string
- func (x *Experience) GetId() int32
- func (x *Experience) GetIsCurrentJob() bool
- func (x *Experience) GetLocation() string
- func (x *Experience) GetMediaId() *Media
- func (x *Experience) GetStartDate() *timestamp.Timestamp
- func (x *Experience) GetTitle() string
- func (x *Experience) GetUpdatedAt() *timestamp.Timestamp
- func (*Experience) ProtoMessage()
- func (x *Experience) ProtoReflect() protoreflect.Message
- func (x *Experience) Reset()
- func (x *Experience) String() string
- func (m *Experience) ToORM(ctx context.Context) (ExperienceORM, error)
- func (this *Experience) Validate() error
- type ExperienceORM
- type ExperienceORMWithAfterCreate_
- type ExperienceORMWithAfterDeleteSet
- type ExperienceORMWithAfterDelete_
- type ExperienceORMWithAfterListFind
- type ExperienceORMWithAfterReadFind
- type ExperienceORMWithAfterStrictUpdateSave
- type ExperienceORMWithBeforeCreate_
- type ExperienceORMWithBeforeDeleteSet
- type ExperienceORMWithBeforeDelete_
- type ExperienceORMWithBeforeListApplyQuery
- type ExperienceORMWithBeforeListFind
- type ExperienceORMWithBeforeReadApplyQuery
- type ExperienceORMWithBeforeReadFind
- type ExperienceORMWithBeforeStrictUpdateCleanup
- type ExperienceORMWithBeforeStrictUpdateSave
- type ExperienceWithAfterPatchSave
- type ExperienceWithAfterToORM
- type ExperienceWithAfterToPB
- type ExperienceWithBeforePatchApplyFieldMask
- type ExperienceWithBeforePatchRead
- type ExperienceWithBeforePatchSave
- type ExperienceWithBeforeToORM
- type ExperienceWithBeforeToPB
- type FollowingAndFollowersPushNotification
- func DefaultApplyFieldMaskFollowingAndFollowersPushNotification(ctx context.Context, patchee *FollowingAndFollowersPushNotification, ...) (*FollowingAndFollowersPushNotification, error)
- func DefaultCreateFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, db *gorm1.DB) (*FollowingAndFollowersPushNotification, error)
- func DefaultListFollowingAndFollowersPushNotification(ctx context.Context, db *gorm1.DB) ([]*FollowingAndFollowersPushNotification, error)
- func DefaultPatchFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, ...) (*FollowingAndFollowersPushNotification, error)
- func DefaultPatchSetFollowingAndFollowersPushNotification(ctx context.Context, objects []*FollowingAndFollowersPushNotification, ...) ([]*FollowingAndFollowersPushNotification, error)
- func DefaultReadFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, db *gorm1.DB) (*FollowingAndFollowersPushNotification, error)
- func DefaultStrictUpdateFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, db *gorm1.DB) (*FollowingAndFollowersPushNotification, error)
- func (*FollowingAndFollowersPushNotification) Descriptor() ([]byte, []int)deprecated
- func (x *FollowingAndFollowersPushNotification) GetAcceptedFollowerRequests() *PushNotificationSetting
- func (x *FollowingAndFollowersPushNotification) GetCreatedAt() *timestamp.Timestamp
- func (x *FollowingAndFollowersPushNotification) GetDeletedAt() *timestamp.Timestamp
- func (x *FollowingAndFollowersPushNotification) GetFollowerRequests() *PushNotificationSetting
- func (x *FollowingAndFollowersPushNotification) GetId() int32
- func (x *FollowingAndFollowersPushNotification) GetMentionsInBio() *TieredPushNotificationSetting
- func (x *FollowingAndFollowersPushNotification) GetUpdatedAt() *timestamp.Timestamp
- func (*FollowingAndFollowersPushNotification) ProtoMessage()
- func (x *FollowingAndFollowersPushNotification) ProtoReflect() protoreflect.Message
- func (x *FollowingAndFollowersPushNotification) Reset()
- func (x *FollowingAndFollowersPushNotification) String() string
- func (m *FollowingAndFollowersPushNotification) ToORM(ctx context.Context) (FollowingAndFollowersPushNotificationORM, error)
- func (this *FollowingAndFollowersPushNotification) Validate() error
- type FollowingAndFollowersPushNotificationORM
- type FollowingAndFollowersPushNotificationORMWithAfterCreate_
- type FollowingAndFollowersPushNotificationORMWithAfterDeleteSet
- type FollowingAndFollowersPushNotificationORMWithAfterDelete_
- type FollowingAndFollowersPushNotificationORMWithAfterListFind
- type FollowingAndFollowersPushNotificationORMWithAfterReadFind
- type FollowingAndFollowersPushNotificationORMWithAfterStrictUpdateSave
- type FollowingAndFollowersPushNotificationORMWithBeforeCreate_
- type FollowingAndFollowersPushNotificationORMWithBeforeDeleteSet
- type FollowingAndFollowersPushNotificationORMWithBeforeDelete_
- type FollowingAndFollowersPushNotificationORMWithBeforeListApplyQuery
- type FollowingAndFollowersPushNotificationORMWithBeforeListFind
- type FollowingAndFollowersPushNotificationORMWithBeforeReadApplyQuery
- type FollowingAndFollowersPushNotificationORMWithBeforeReadFind
- type FollowingAndFollowersPushNotificationORMWithBeforeStrictUpdateCleanup
- type FollowingAndFollowersPushNotificationORMWithBeforeStrictUpdateSave
- type FollowingAndFollowersPushNotificationWithAfterPatchSave
- type FollowingAndFollowersPushNotificationWithAfterToORM
- type FollowingAndFollowersPushNotificationWithAfterToPB
- type FollowingAndFollowersPushNotificationWithBeforePatchApplyFieldMask
- type FollowingAndFollowersPushNotificationWithBeforePatchRead
- type FollowingAndFollowersPushNotificationWithBeforePatchSave
- type FollowingAndFollowersPushNotificationWithBeforeToORM
- type FollowingAndFollowersPushNotificationWithBeforeToPB
- type GetUsersSearchRequest
- func (*GetUsersSearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersSearchRequest) GetMaxResults() int32
- func (x *GetUsersSearchRequest) GetQueryMessage() string
- func (x *GetUsersSearchRequest) GetUserType() AccountType
- func (*GetUsersSearchRequest) ProtoMessage()
- func (x *GetUsersSearchRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersSearchRequest) Reset()
- func (x *GetUsersSearchRequest) String() string
- func (this *GetUsersSearchRequest) Validate() error
- type Group
- func DefaultApplyFieldMaskGroup(ctx context.Context, patchee *Group, patcher *Group, ...) (*Group, error)
- func DefaultCreateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)
- func DefaultListGroup(ctx context.Context, db *gorm1.DB) ([]*Group, error)
- func DefaultPatchGroup(ctx context.Context, in *Group, updateMask *field_mask1.FieldMask, ...) (*Group, error)
- func DefaultPatchSetGroup(ctx context.Context, objects []*Group, updateMasks []*field_mask1.FieldMask, ...) ([]*Group, error)
- func DefaultReadGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)
- func DefaultStrictUpdateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetAdmin() *User
- func (x *Group) GetAvatarUrl() string
- func (x *Group) GetBio() string
- func (x *Group) GetCreatedAt() *timestamp.Timestamp
- func (x *Group) GetDeletedAt() *timestamp.Timestamp
- func (x *Group) GetGroupMembers() []*User
- func (x *Group) GetId() int32
- func (x *Group) GetIsPublic() bool
- func (x *Group) GetName() string
- func (x *Group) GetNumberOfMembers() int32
- func (x *Group) GetTags() []string
- func (x *Group) GetType() string
- func (x *Group) GetUpdatedAt() *timestamp.Timestamp
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- func (m *Group) ToORM(ctx context.Context) (GroupORM, error)
- func (this *Group) Validate() error
- type GroupORM
- type GroupORMWithAfterCreate_
- type GroupORMWithAfterDeleteSet
- type GroupORMWithAfterDelete_
- type GroupORMWithAfterListFind
- type GroupORMWithAfterReadFind
- type GroupORMWithAfterStrictUpdateSave
- type GroupORMWithBeforeCreate_
- type GroupORMWithBeforeDeleteSet
- type GroupORMWithBeforeDelete_
- type GroupORMWithBeforeListApplyQuery
- type GroupORMWithBeforeListFind
- type GroupORMWithBeforeReadApplyQuery
- type GroupORMWithBeforeReadFind
- type GroupORMWithBeforeStrictUpdateCleanup
- type GroupORMWithBeforeStrictUpdateSave
- type GroupRequest
- func (*GroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupRequest) GetGroup() *Group
- func (*GroupRequest) ProtoMessage()
- func (x *GroupRequest) ProtoReflect() protoreflect.Message
- func (x *GroupRequest) Reset()
- func (x *GroupRequest) String() string
- func (this *GroupRequest) Validate() error
- type GroupResponse
- func (*GroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupResponse) GetError() string
- func (x *GroupResponse) GetGroups() []*Group
- func (*GroupResponse) ProtoMessage()
- func (x *GroupResponse) ProtoReflect() protoreflect.Message
- func (x *GroupResponse) Reset()
- func (x *GroupResponse) String() string
- func (this *GroupResponse) Validate() error
- type GroupWithAfterPatchSave
- type GroupWithAfterToORM
- type GroupWithAfterToPB
- type GroupWithBeforePatchApplyFieldMask
- type GroupWithBeforePatchRead
- type GroupWithBeforePatchSave
- type GroupWithBeforeToORM
- type GroupWithBeforeToPB
- type Investment
- func DefaultApplyFieldMaskInvestment(ctx context.Context, patchee *Investment, patcher *Investment, ...) (*Investment, error)
- func DefaultCreateInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)
- func DefaultListInvestment(ctx context.Context, db *gorm1.DB) ([]*Investment, error)
- func DefaultPatchInvestment(ctx context.Context, in *Investment, updateMask *field_mask1.FieldMask, ...) (*Investment, error)
- func DefaultPatchSetInvestment(ctx context.Context, objects []*Investment, ...) ([]*Investment, error)
- func DefaultReadInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)
- func DefaultStrictUpdateInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)
- func (*Investment) Descriptor() ([]byte, []int)deprecated
- func (x *Investment) GetCompanyName() string
- func (x *Investment) GetId() int32
- func (x *Investment) GetIndustry() string
- func (*Investment) ProtoMessage()
- func (x *Investment) ProtoReflect() protoreflect.Message
- func (x *Investment) Reset()
- func (x *Investment) String() string
- func (m *Investment) ToORM(ctx context.Context) (InvestmentORM, error)
- func (this *Investment) Validate() error
- type InvestmentORM
- type InvestmentORMWithAfterCreate_
- type InvestmentORMWithAfterDeleteSet
- type InvestmentORMWithAfterDelete_
- type InvestmentORMWithAfterListFind
- type InvestmentORMWithAfterReadFind
- type InvestmentORMWithAfterStrictUpdateSave
- type InvestmentORMWithBeforeCreate_
- type InvestmentORMWithBeforeDeleteSet
- type InvestmentORMWithBeforeDelete_
- type InvestmentORMWithBeforeListApplyQuery
- type InvestmentORMWithBeforeListFind
- type InvestmentORMWithBeforeReadApplyQuery
- type InvestmentORMWithBeforeReadFind
- type InvestmentORMWithBeforeStrictUpdateCleanup
- type InvestmentORMWithBeforeStrictUpdateSave
- type InvestmentStage
- func (InvestmentStage) Descriptor() protoreflect.EnumDescriptor
- func (x InvestmentStage) Enum() *InvestmentStage
- func (InvestmentStage) EnumDescriptor() ([]byte, []int)deprecated
- func (x InvestmentStage) Number() protoreflect.EnumNumber
- func (x InvestmentStage) String() string
- func (InvestmentStage) Type() protoreflect.EnumType
- type InvestmentWithAfterPatchSave
- type InvestmentWithAfterToORM
- type InvestmentWithAfterToPB
- type InvestmentWithBeforePatchApplyFieldMask
- type InvestmentWithBeforePatchRead
- type InvestmentWithBeforePatchSave
- type InvestmentWithBeforeToORM
- type InvestmentWithBeforeToPB
- type InvestorDetail
- func DefaultApplyFieldMaskInvestorDetail(ctx context.Context, patchee *InvestorDetail, patcher *InvestorDetail, ...) (*InvestorDetail, error)
- func DefaultCreateInvestorDetail(ctx context.Context, in *InvestorDetail, db *gorm1.DB) (*InvestorDetail, error)
- func DefaultListInvestorDetail(ctx context.Context, db *gorm1.DB) ([]*InvestorDetail, error)
- func DefaultPatchInvestorDetail(ctx context.Context, in *InvestorDetail, updateMask *field_mask1.FieldMask, ...) (*InvestorDetail, error)
- func DefaultPatchSetInvestorDetail(ctx context.Context, objects []*InvestorDetail, ...) ([]*InvestorDetail, error)
- func DefaultReadInvestorDetail(ctx context.Context, in *InvestorDetail, db *gorm1.DB) (*InvestorDetail, error)
- func DefaultStrictUpdateInvestorDetail(ctx context.Context, in *InvestorDetail, db *gorm1.DB) (*InvestorDetail, error)
- func (*InvestorDetail) Descriptor() ([]byte, []int)deprecated
- func (x *InvestorDetail) GetCreatedAt() *timestamp.Timestamp
- func (x *InvestorDetail) GetDeletedAt() *timestamp.Timestamp
- func (x *InvestorDetail) GetId() uint32
- func (x *InvestorDetail) GetInvestmentStage() InvestmentStage
- func (x *InvestorDetail) GetInvestmentsId() []*Investment
- func (x *InvestorDetail) GetInvestorType() InvestorType
- func (x *InvestorDetail) GetNumberOfExits() int32
- func (x *InvestorDetail) GetNumberOfFunds() int32
- func (x *InvestorDetail) GetNumberOfInvestments() int32
- func (x *InvestorDetail) GetUpdatedAt() *timestamp.Timestamp
- func (*InvestorDetail) ProtoMessage()
- func (x *InvestorDetail) ProtoReflect() protoreflect.Message
- func (x *InvestorDetail) Reset()
- func (x *InvestorDetail) String() string
- func (m *InvestorDetail) ToORM(ctx context.Context) (InvestorDetailORM, error)
- func (this *InvestorDetail) Validate() error
- type InvestorDetailORM
- type InvestorDetailORMWithAfterCreate_
- type InvestorDetailORMWithAfterDeleteSet
- type InvestorDetailORMWithAfterDelete_
- type InvestorDetailORMWithAfterListFind
- type InvestorDetailORMWithAfterReadFind
- type InvestorDetailORMWithAfterStrictUpdateSave
- type InvestorDetailORMWithBeforeCreate_
- type InvestorDetailORMWithBeforeDeleteSet
- type InvestorDetailORMWithBeforeDelete_
- type InvestorDetailORMWithBeforeListApplyQuery
- type InvestorDetailORMWithBeforeListFind
- type InvestorDetailORMWithBeforeReadApplyQuery
- type InvestorDetailORMWithBeforeReadFind
- type InvestorDetailORMWithBeforeStrictUpdateCleanup
- type InvestorDetailORMWithBeforeStrictUpdateSave
- type InvestorDetailWithAfterPatchSave
- type InvestorDetailWithAfterToORM
- type InvestorDetailWithAfterToPB
- type InvestorDetailWithBeforePatchApplyFieldMask
- type InvestorDetailWithBeforePatchRead
- type InvestorDetailWithBeforePatchSave
- type InvestorDetailWithBeforeToORM
- type InvestorDetailWithBeforeToPB
- type InvestorType
- func (InvestorType) Descriptor() protoreflect.EnumDescriptor
- func (x InvestorType) Enum() *InvestorType
- func (InvestorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InvestorType) Number() protoreflect.EnumNumber
- func (x InvestorType) String() string
- func (InvestorType) Type() protoreflect.EnumType
- type LoginActivity
- func DefaultApplyFieldMaskLoginActivity(ctx context.Context, patchee *LoginActivity, patcher *LoginActivity, ...) (*LoginActivity, error)
- func DefaultCreateLoginActivity(ctx context.Context, in *LoginActivity, db *gorm1.DB) (*LoginActivity, error)
- func DefaultListLoginActivity(ctx context.Context, db *gorm1.DB) ([]*LoginActivity, error)
- func DefaultPatchLoginActivity(ctx context.Context, in *LoginActivity, updateMask *field_mask1.FieldMask, ...) (*LoginActivity, error)
- func DefaultPatchSetLoginActivity(ctx context.Context, objects []*LoginActivity, ...) ([]*LoginActivity, error)
- func DefaultReadLoginActivity(ctx context.Context, in *LoginActivity, db *gorm1.DB) (*LoginActivity, error)
- func DefaultStrictUpdateLoginActivity(ctx context.Context, in *LoginActivity, db *gorm1.DB) (*LoginActivity, error)
- func (*LoginActivity) Descriptor() ([]byte, []int)deprecated
- func (x *LoginActivity) GetDate() string
- func (x *LoginActivity) GetId() int32
- func (x *LoginActivity) GetLocation() *Address
- func (*LoginActivity) ProtoMessage()
- func (x *LoginActivity) ProtoReflect() protoreflect.Message
- func (x *LoginActivity) Reset()
- func (x *LoginActivity) String() string
- func (m *LoginActivity) ToORM(ctx context.Context) (LoginActivityORM, error)
- func (this *LoginActivity) Validate() error
- type LoginActivityORM
- type LoginActivityORMWithAfterCreate_
- type LoginActivityORMWithAfterDeleteSet
- type LoginActivityORMWithAfterDelete_
- type LoginActivityORMWithAfterListFind
- type LoginActivityORMWithAfterReadFind
- type LoginActivityORMWithAfterStrictUpdateSave
- type LoginActivityORMWithBeforeCreate_
- type LoginActivityORMWithBeforeDeleteSet
- type LoginActivityORMWithBeforeDelete_
- type LoginActivityORMWithBeforeListApplyQuery
- type LoginActivityORMWithBeforeListFind
- type LoginActivityORMWithBeforeReadApplyQuery
- type LoginActivityORMWithBeforeReadFind
- type LoginActivityORMWithBeforeStrictUpdateCleanup
- type LoginActivityORMWithBeforeStrictUpdateSave
- type LoginActivityWithAfterPatchSave
- type LoginActivityWithAfterToORM
- type LoginActivityWithAfterToPB
- type LoginActivityWithBeforePatchApplyFieldMask
- type LoginActivityWithBeforePatchRead
- type LoginActivityWithBeforePatchSave
- type LoginActivityWithBeforeToORM
- type LoginActivityWithBeforeToPB
- type Media
- func DefaultApplyFieldMaskMedia(ctx context.Context, patchee *Media, patcher *Media, ...) (*Media, error)
- func DefaultCreateMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)
- func DefaultListMedia(ctx context.Context, db *gorm1.DB) ([]*Media, error)
- func DefaultPatchMedia(ctx context.Context, in *Media, updateMask *field_mask1.FieldMask, ...) (*Media, error)
- func DefaultPatchSetMedia(ctx context.Context, objects []*Media, updateMasks []*field_mask1.FieldMask, ...) ([]*Media, error)
- func DefaultReadMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)
- func DefaultStrictUpdateMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)
- func (*Media) Descriptor() ([]byte, []int)deprecated
- func (x *Media) GetCreatedAt() *timestamp.Timestamp
- func (x *Media) GetDeletedAt() *timestamp.Timestamp
- func (x *Media) GetDocumentLinks() []string
- func (x *Media) GetId() int32
- func (x *Media) GetPhotoLinks() []string
- func (x *Media) GetPresentationLinks() []string
- func (x *Media) GetUpdatedAt() *timestamp.Timestamp
- func (x *Media) GetVideoLinks() []string
- func (*Media) ProtoMessage()
- func (x *Media) ProtoReflect() protoreflect.Message
- func (x *Media) Reset()
- func (x *Media) String() string
- func (m *Media) ToORM(ctx context.Context) (MediaORM, error)
- func (this *Media) Validate() error
- type MediaORM
- type MediaORMWithAfterCreate_
- type MediaORMWithAfterDeleteSet
- type MediaORMWithAfterDelete_
- type MediaORMWithAfterListFind
- type MediaORMWithAfterReadFind
- type MediaORMWithAfterStrictUpdateSave
- type MediaORMWithBeforeCreate_
- type MediaORMWithBeforeDeleteSet
- type MediaORMWithBeforeDelete_
- type MediaORMWithBeforeListApplyQuery
- type MediaORMWithBeforeListFind
- type MediaORMWithBeforeReadApplyQuery
- type MediaORMWithBeforeReadFind
- type MediaORMWithBeforeStrictUpdateCleanup
- type MediaORMWithBeforeStrictUpdateSave
- type MediaWithAfterPatchSave
- type MediaWithAfterToORM
- type MediaWithAfterToPB
- type MediaWithBeforePatchApplyFieldMask
- type MediaWithBeforePatchRead
- type MediaWithBeforePatchSave
- type MediaWithBeforeToORM
- type MediaWithBeforeToPB
- type Notification
- func DefaultApplyFieldMaskNotification(ctx context.Context, patchee *Notification, patcher *Notification, ...) (*Notification, error)
- func DefaultCreateNotification(ctx context.Context, in *Notification, db *gorm1.DB) (*Notification, error)
- func DefaultListNotification(ctx context.Context, db *gorm1.DB) ([]*Notification, error)
- func DefaultPatchNotification(ctx context.Context, in *Notification, updateMask *field_mask1.FieldMask, ...) (*Notification, error)
- func DefaultPatchSetNotification(ctx context.Context, objects []*Notification, ...) ([]*Notification, error)
- func DefaultReadNotification(ctx context.Context, in *Notification, db *gorm1.DB) (*Notification, error)
- func DefaultStrictUpdateNotification(ctx context.Context, in *Notification, db *gorm1.DB) (*Notification, error)
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCreatedAt() *timestamp.Timestamp
- func (x *Notification) GetDeletedAt() *timestamp.Timestamp
- func (x *Notification) GetDirectMessagesId() *DirectMessagesPushNotification
- func (x *Notification) GetEmailAndSmsId() *EmailAndSmsPushNotification
- func (x *Notification) GetFollowingAndFollowersId() *FollowingAndFollowersPushNotification
- func (x *Notification) GetId() int32
- func (x *Notification) GetPauseAll() bool
- func (x *Notification) GetPostAndCommentsId() *PostAndCommentsPushNotification
- func (x *Notification) GetUpdatedAt() *timestamp.Timestamp
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- func (m *Notification) ToORM(ctx context.Context) (NotificationORM, error)
- func (this *Notification) Validate() error
- type NotificationORM
- type NotificationORMWithAfterCreate_
- type NotificationORMWithAfterDeleteSet
- type NotificationORMWithAfterDelete_
- type NotificationORMWithAfterListFind
- type NotificationORMWithAfterReadFind
- type NotificationORMWithAfterStrictUpdateSave
- type NotificationORMWithBeforeCreate_
- type NotificationORMWithBeforeDeleteSet
- type NotificationORMWithBeforeDelete_
- type NotificationORMWithBeforeListApplyQuery
- type NotificationORMWithBeforeListFind
- type NotificationORMWithBeforeReadApplyQuery
- type NotificationORMWithBeforeReadFind
- type NotificationORMWithBeforeStrictUpdateCleanup
- type NotificationORMWithBeforeStrictUpdateSave
- type NotificationWithAfterPatchSave
- type NotificationWithAfterToORM
- type NotificationWithAfterToPB
- type NotificationWithBeforePatchApplyFieldMask
- type NotificationWithBeforePatchRead
- type NotificationWithBeforePatchSave
- type NotificationWithBeforeToORM
- type NotificationWithBeforeToPB
- type Payments
- func DefaultApplyFieldMaskPayments(ctx context.Context, patchee *Payments, patcher *Payments, ...) (*Payments, error)
- func DefaultCreatePayments(ctx context.Context, in *Payments, db *gorm1.DB) (*Payments, error)
- func DefaultListPayments(ctx context.Context, db *gorm1.DB) ([]*Payments, error)
- func DefaultPatchPayments(ctx context.Context, in *Payments, updateMask *field_mask1.FieldMask, ...) (*Payments, error)
- func DefaultPatchSetPayments(ctx context.Context, objects []*Payments, updateMasks []*field_mask1.FieldMask, ...) ([]*Payments, error)
- func DefaultReadPayments(ctx context.Context, in *Payments, db *gorm1.DB) (*Payments, error)
- func DefaultStrictUpdatePayments(ctx context.Context, in *Payments, db *gorm1.DB) (*Payments, error)
- func (*Payments) Descriptor() ([]byte, []int)deprecated
- func (x *Payments) GetCreatedAt() *timestamp.Timestamp
- func (x *Payments) GetCreditCard() *Card
- func (x *Payments) GetDebitCard() *Card
- func (x *Payments) GetDeletedAt() *timestamp.Timestamp
- func (x *Payments) GetId() int32
- func (x *Payments) GetLastLogin() *timestamp.Timestamp
- func (x *Payments) GetPin() *Pin
- func (x *Payments) GetUpdatedAt() *timestamp.Timestamp
- func (*Payments) ProtoMessage()
- func (x *Payments) ProtoReflect() protoreflect.Message
- func (x *Payments) Reset()
- func (x *Payments) String() string
- func (m *Payments) ToORM(ctx context.Context) (PaymentsORM, error)
- func (this *Payments) Validate() error
- type PaymentsORM
- type PaymentsORMWithAfterCreate_
- type PaymentsORMWithAfterDeleteSet
- type PaymentsORMWithAfterDelete_
- type PaymentsORMWithAfterListFind
- type PaymentsORMWithAfterReadFind
- type PaymentsORMWithAfterStrictUpdateSave
- type PaymentsORMWithBeforeCreate_
- type PaymentsORMWithBeforeDeleteSet
- type PaymentsORMWithBeforeDelete_
- type PaymentsORMWithBeforeListApplyQuery
- type PaymentsORMWithBeforeListFind
- type PaymentsORMWithBeforeReadApplyQuery
- type PaymentsORMWithBeforeReadFind
- type PaymentsORMWithBeforeStrictUpdateCleanup
- type PaymentsORMWithBeforeStrictUpdateSave
- type PaymentsWithAfterPatchSave
- type PaymentsWithAfterToORM
- type PaymentsWithAfterToPB
- type PaymentsWithBeforePatchApplyFieldMask
- type PaymentsWithBeforePatchRead
- type PaymentsWithBeforePatchSave
- type PaymentsWithBeforeToORM
- type PaymentsWithBeforeToPB
- type Pin
- func DefaultApplyFieldMaskPin(ctx context.Context, patchee *Pin, patcher *Pin, ...) (*Pin, error)
- func DefaultCreatePin(ctx context.Context, in *Pin, db *gorm1.DB) (*Pin, error)
- func DefaultListPin(ctx context.Context, db *gorm1.DB) ([]*Pin, error)
- func DefaultPatchPin(ctx context.Context, in *Pin, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Pin, error)
- func DefaultPatchSetPin(ctx context.Context, objects []*Pin, updateMasks []*field_mask1.FieldMask, ...) ([]*Pin, error)
- func DefaultReadPin(ctx context.Context, in *Pin, db *gorm1.DB) (*Pin, error)
- func DefaultStrictUpdatePin(ctx context.Context, in *Pin, db *gorm1.DB) (*Pin, error)
- func (*Pin) Descriptor() ([]byte, []int)deprecated
- func (x *Pin) GetCreatedAt() *timestamp.Timestamp
- func (x *Pin) GetDeletedAt() *timestamp.Timestamp
- func (x *Pin) GetId() int32
- func (x *Pin) GetLastLogin() *timestamp.Timestamp
- func (x *Pin) GetPin() string
- func (x *Pin) GetPinEnabled() bool
- func (x *Pin) GetUpdatedAt() *timestamp.Timestamp
- func (*Pin) ProtoMessage()
- func (x *Pin) ProtoReflect() protoreflect.Message
- func (x *Pin) Reset()
- func (x *Pin) String() string
- func (m *Pin) ToORM(ctx context.Context) (PinORM, error)
- func (this *Pin) Validate() error
- type PinORM
- type PinORMWithAfterCreate_
- type PinORMWithAfterDeleteSet
- type PinORMWithAfterDelete_
- type PinORMWithAfterListFind
- type PinORMWithAfterReadFind
- type PinORMWithAfterStrictUpdateSave
- type PinORMWithBeforeCreate_
- type PinORMWithBeforeDeleteSet
- type PinORMWithBeforeDelete_
- type PinORMWithBeforeListApplyQuery
- type PinORMWithBeforeListFind
- type PinORMWithBeforeReadApplyQuery
- type PinORMWithBeforeReadFind
- type PinORMWithBeforeStrictUpdateCleanup
- type PinORMWithBeforeStrictUpdateSave
- type PinWithAfterPatchSave
- type PinWithAfterToORM
- type PinWithAfterToPB
- type PinWithBeforePatchApplyFieldMask
- type PinWithBeforePatchRead
- type PinWithBeforePatchSave
- type PinWithBeforeToORM
- type PinWithBeforeToPB
- type PostAndCommentsPushNotification
- func DefaultApplyFieldMaskPostAndCommentsPushNotification(ctx context.Context, patchee *PostAndCommentsPushNotification, ...) (*PostAndCommentsPushNotification, error)
- func DefaultCreatePostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, db *gorm1.DB) (*PostAndCommentsPushNotification, error)
- func DefaultListPostAndCommentsPushNotification(ctx context.Context, db *gorm1.DB) ([]*PostAndCommentsPushNotification, error)
- func DefaultPatchPostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, ...) (*PostAndCommentsPushNotification, error)
- func DefaultPatchSetPostAndCommentsPushNotification(ctx context.Context, objects []*PostAndCommentsPushNotification, ...) ([]*PostAndCommentsPushNotification, error)
- func DefaultReadPostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, db *gorm1.DB) (*PostAndCommentsPushNotification, error)
- func DefaultStrictUpdatePostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, db *gorm1.DB) (*PostAndCommentsPushNotification, error)
- func (*PostAndCommentsPushNotification) Descriptor() ([]byte, []int)deprecated
- func (x *PostAndCommentsPushNotification) GetCommentLikes() *TieredPushNotificationSetting
- func (x *PostAndCommentsPushNotification) GetComments() *TieredPushNotificationSetting
- func (x *PostAndCommentsPushNotification) GetCreatedAt() *timestamp.Timestamp
- func (x *PostAndCommentsPushNotification) GetDeletedAt() *timestamp.Timestamp
- func (x *PostAndCommentsPushNotification) GetId() int32
- func (x *PostAndCommentsPushNotification) GetLikes() *TieredPushNotificationSetting
- func (x *PostAndCommentsPushNotification) GetLikesAndCommentsOnPostsOfYou() *TieredPushNotificationSetting
- func (x *PostAndCommentsPushNotification) GetPostsOfYou() *TieredPushNotificationSetting
- func (x *PostAndCommentsPushNotification) GetUpdatedAt() *timestamp.Timestamp
- func (*PostAndCommentsPushNotification) ProtoMessage()
- func (x *PostAndCommentsPushNotification) ProtoReflect() protoreflect.Message
- func (x *PostAndCommentsPushNotification) Reset()
- func (x *PostAndCommentsPushNotification) String() string
- func (m *PostAndCommentsPushNotification) ToORM(ctx context.Context) (PostAndCommentsPushNotificationORM, error)
- func (this *PostAndCommentsPushNotification) Validate() error
- type PostAndCommentsPushNotificationORM
- type PostAndCommentsPushNotificationORMWithAfterCreate_
- type PostAndCommentsPushNotificationORMWithAfterDeleteSet
- type PostAndCommentsPushNotificationORMWithAfterDelete_
- type PostAndCommentsPushNotificationORMWithAfterListFind
- type PostAndCommentsPushNotificationORMWithAfterReadFind
- type PostAndCommentsPushNotificationORMWithAfterStrictUpdateSave
- type PostAndCommentsPushNotificationORMWithBeforeCreate_
- type PostAndCommentsPushNotificationORMWithBeforeDeleteSet
- type PostAndCommentsPushNotificationORMWithBeforeDelete_
- type PostAndCommentsPushNotificationORMWithBeforeListApplyQuery
- type PostAndCommentsPushNotificationORMWithBeforeListFind
- type PostAndCommentsPushNotificationORMWithBeforeReadApplyQuery
- type PostAndCommentsPushNotificationORMWithBeforeReadFind
- type PostAndCommentsPushNotificationORMWithBeforeStrictUpdateCleanup
- type PostAndCommentsPushNotificationORMWithBeforeStrictUpdateSave
- type PostAndCommentsPushNotificationWithAfterPatchSave
- type PostAndCommentsPushNotificationWithAfterToORM
- type PostAndCommentsPushNotificationWithAfterToPB
- type PostAndCommentsPushNotificationWithBeforePatchApplyFieldMask
- type PostAndCommentsPushNotificationWithBeforePatchRead
- type PostAndCommentsPushNotificationWithBeforePatchSave
- type PostAndCommentsPushNotificationWithBeforeToORM
- type PostAndCommentsPushNotificationWithBeforeToPB
- type Privacy
- func DefaultApplyFieldMaskPrivacy(ctx context.Context, patchee *Privacy, patcher *Privacy, ...) (*Privacy, error)
- func DefaultCreatePrivacy(ctx context.Context, in *Privacy, db *gorm1.DB) (*Privacy, error)
- func DefaultListPrivacy(ctx context.Context, db *gorm1.DB) ([]*Privacy, error)
- func DefaultPatchPrivacy(ctx context.Context, in *Privacy, updateMask *field_mask1.FieldMask, ...) (*Privacy, error)
- func DefaultPatchSetPrivacy(ctx context.Context, objects []*Privacy, updateMasks []*field_mask1.FieldMask, ...) ([]*Privacy, error)
- func DefaultReadPrivacy(ctx context.Context, in *Privacy, db *gorm1.DB) (*Privacy, error)
- func DefaultStrictUpdatePrivacy(ctx context.Context, in *Privacy, db *gorm1.DB) (*Privacy, error)
- func (*Privacy) Descriptor() ([]byte, []int)deprecated
- func (x *Privacy) GetActivityStatus() bool
- func (x *Privacy) GetBlockedAccountsId() []*Profile
- func (x *Privacy) GetBlockedTeamAccountsId() []*TeamProfile
- func (x *Privacy) GetCreatedAt() *timestamp.Timestamp
- func (x *Privacy) GetDeletedAt() *timestamp.Timestamp
- func (x *Privacy) GetId() int32
- func (x *Privacy) GetMutedAccountsId() []*Profile
- func (x *Privacy) GetMutedTeamAccountsId() []*TeamProfile
- func (x *Privacy) GetPrivateAccount() bool
- func (x *Privacy) GetUpdatedAt() *timestamp.Timestamp
- func (*Privacy) ProtoMessage()
- func (x *Privacy) ProtoReflect() protoreflect.Message
- func (x *Privacy) Reset()
- func (x *Privacy) String() string
- func (m *Privacy) ToORM(ctx context.Context) (PrivacyORM, error)
- func (this *Privacy) Validate() error
- type PrivacyORM
- type PrivacyORMWithAfterCreate_
- type PrivacyORMWithAfterDeleteSet
- type PrivacyORMWithAfterDelete_
- type PrivacyORMWithAfterListFind
- type PrivacyORMWithAfterReadFind
- type PrivacyORMWithAfterStrictUpdateSave
- type PrivacyORMWithBeforeCreate_
- type PrivacyORMWithBeforeDeleteSet
- type PrivacyORMWithBeforeDelete_
- type PrivacyORMWithBeforeListApplyQuery
- type PrivacyORMWithBeforeListFind
- type PrivacyORMWithBeforeReadApplyQuery
- type PrivacyORMWithBeforeReadFind
- type PrivacyORMWithBeforeStrictUpdateCleanup
- type PrivacyORMWithBeforeStrictUpdateSave
- type PrivacyWithAfterPatchSave
- type PrivacyWithAfterToORM
- type PrivacyWithAfterToPB
- type PrivacyWithBeforePatchApplyFieldMask
- type PrivacyWithBeforePatchRead
- type PrivacyWithBeforePatchSave
- type PrivacyWithBeforeToORM
- type PrivacyWithBeforeToPB
- type Profile
- func DefaultApplyFieldMaskProfile(ctx context.Context, patchee *Profile, patcher *Profile, ...) (*Profile, error)
- func DefaultCreateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)
- func DefaultListProfile(ctx context.Context, db *gorm1.DB) ([]*Profile, error)
- func DefaultPatchProfile(ctx context.Context, in *Profile, updateMask *field_mask1.FieldMask, ...) (*Profile, error)
- func DefaultPatchSetProfile(ctx context.Context, objects []*Profile, updateMasks []*field_mask1.FieldMask, ...) ([]*Profile, error)
- func DefaultReadProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)
- func DefaultStrictUpdateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAddressId() *Address
- func (x *Profile) GetAvatarUrl() string
- func (x *Profile) GetBio() string
- func (x *Profile) GetCreatedAt() *timestamp.Timestamp
- func (x *Profile) GetDeletedAt() *timestamp.Timestamp
- func (x *Profile) GetEducationId() []*Education
- func (x *Profile) GetExperienceId() []*Experience
- func (x *Profile) GetGroupId() []*Group
- func (x *Profile) GetId() int32
- func (x *Profile) GetNationality() string
- func (x *Profile) GetProfileType() string
- func (x *Profile) GetSettingsId() *Settings
- func (x *Profile) GetSkills() []string
- func (x *Profile) GetSocialMedia() *SocialMedia
- func (x *Profile) GetTeamId() *Team
- func (x *Profile) GetUpdatedAt() *timestamp.Timestamp
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- func (m *Profile) ToORM(ctx context.Context) (ProfileORM, error)
- func (this *Profile) Validate() error
- type ProfileORM
- type ProfileORMWithAfterCreate_
- type ProfileORMWithAfterDeleteSet
- type ProfileORMWithAfterDelete_
- type ProfileORMWithAfterListFind
- type ProfileORMWithAfterReadFind
- type ProfileORMWithAfterStrictUpdateSave
- type ProfileORMWithBeforeCreate_
- type ProfileORMWithBeforeDeleteSet
- type ProfileORMWithBeforeDelete_
- type ProfileORMWithBeforeListApplyQuery
- type ProfileORMWithBeforeListFind
- type ProfileORMWithBeforeReadApplyQuery
- type ProfileORMWithBeforeReadFind
- type ProfileORMWithBeforeStrictUpdateCleanup
- type ProfileORMWithBeforeStrictUpdateSave
- type ProfileWithAfterPatchSave
- type ProfileWithAfterToORM
- type ProfileWithAfterToPB
- type ProfileWithBeforePatchApplyFieldMask
- type ProfileWithBeforePatchRead
- type ProfileWithBeforePatchSave
- type ProfileWithBeforeToORM
- type ProfileWithBeforeToPB
- type PushNotificationSetting
- func (*PushNotificationSetting) Descriptor() ([]byte, []int)deprecated
- func (x *PushNotificationSetting) GetOff() bool
- func (x *PushNotificationSetting) GetOn() bool
- func (*PushNotificationSetting) ProtoMessage()
- func (x *PushNotificationSetting) ProtoReflect() protoreflect.Message
- func (x *PushNotificationSetting) Reset()
- func (x *PushNotificationSetting) String() string
- func (this *PushNotificationSetting) Validate() error
- type Settings
- func DefaultApplyFieldMaskSettings(ctx context.Context, patchee *Settings, patcher *Settings, ...) (*Settings, error)
- func DefaultCreateSettings(ctx context.Context, in *Settings, db *gorm1.DB) (*Settings, error)
- func DefaultListSettings(ctx context.Context, db *gorm1.DB) ([]*Settings, error)
- func DefaultPatchSetSettings(ctx context.Context, objects []*Settings, updateMasks []*field_mask1.FieldMask, ...) ([]*Settings, error)
- func DefaultPatchSettings(ctx context.Context, in *Settings, updateMask *field_mask1.FieldMask, ...) (*Settings, error)
- func DefaultReadSettings(ctx context.Context, in *Settings, db *gorm1.DB) (*Settings, error)
- func DefaultStrictUpdateSettings(ctx context.Context, in *Settings, db *gorm1.DB) (*Settings, error)
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Settings) GetCreatedAt() *timestamp.Timestamp
- func (x *Settings) GetDeletedAt() *timestamp.Timestamp
- func (x *Settings) GetId() int32
- func (x *Settings) GetLastLogin() *timestamp.Timestamp
- func (x *Settings) GetLastLoginLocation() string
- func (x *Settings) GetNotificationId() *Notification
- func (x *Settings) GetPaymentId() *Payments
- func (x *Settings) GetPrivacyId() *Privacy
- func (x *Settings) GetUpdatedAt() *timestamp.Timestamp
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) String() string
- func (m *Settings) ToORM(ctx context.Context) (SettingsORM, error)
- func (this *Settings) Validate() error
- type SettingsORM
- type SettingsORMWithAfterCreate_
- type SettingsORMWithAfterDeleteSet
- type SettingsORMWithAfterDelete_
- type SettingsORMWithAfterListFind
- type SettingsORMWithAfterReadFind
- type SettingsORMWithAfterStrictUpdateSave
- type SettingsORMWithBeforeCreate_
- type SettingsORMWithBeforeDeleteSet
- type SettingsORMWithBeforeDelete_
- type SettingsORMWithBeforeListApplyQuery
- type SettingsORMWithBeforeListFind
- type SettingsORMWithBeforeReadApplyQuery
- type SettingsORMWithBeforeReadFind
- type SettingsORMWithBeforeStrictUpdateCleanup
- type SettingsORMWithBeforeStrictUpdateSave
- type SettingsWithAfterPatchSave
- type SettingsWithAfterToORM
- type SettingsWithAfterToPB
- type SettingsWithBeforePatchApplyFieldMask
- type SettingsWithBeforePatchRead
- type SettingsWithBeforePatchSave
- type SettingsWithBeforeToORM
- type SettingsWithBeforeToPB
- type SocialMedia
- func DefaultApplyFieldMaskSocialMedia(ctx context.Context, patchee *SocialMedia, patcher *SocialMedia, ...) (*SocialMedia, error)
- func DefaultCreateSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)
- func DefaultListSocialMedia(ctx context.Context, db *gorm1.DB) ([]*SocialMedia, error)
- func DefaultPatchSetSocialMedia(ctx context.Context, objects []*SocialMedia, ...) ([]*SocialMedia, error)
- func DefaultPatchSocialMedia(ctx context.Context, in *SocialMedia, updateMask *field_mask1.FieldMask, ...) (*SocialMedia, error)
- func DefaultReadSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)
- func DefaultStrictUpdateSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)
- func (*SocialMedia) Descriptor() ([]byte, []int)deprecated
- func (x *SocialMedia) GetCreatedAt() *timestamp.Timestamp
- func (x *SocialMedia) GetDeletedAt() *timestamp.Timestamp
- func (x *SocialMedia) GetFacebookUrl() string
- func (x *SocialMedia) GetGithubUrl() uint32
- func (x *SocialMedia) GetId() int32
- func (x *SocialMedia) GetLinkedUrl() string
- func (x *SocialMedia) GetTwitterUrl() string
- func (x *SocialMedia) GetUpdatedAt() *timestamp.Timestamp
- func (x *SocialMedia) GetWebsiteUrl() string
- func (x *SocialMedia) GetYoutubeUrl() string
- func (*SocialMedia) ProtoMessage()
- func (x *SocialMedia) ProtoReflect() protoreflect.Message
- func (x *SocialMedia) Reset()
- func (x *SocialMedia) String() string
- func (m *SocialMedia) ToORM(ctx context.Context) (SocialMediaORM, error)
- func (this *SocialMedia) Validate() error
- type SocialMediaORM
- type SocialMediaORMWithAfterCreate_
- type SocialMediaORMWithAfterDeleteSet
- type SocialMediaORMWithAfterDelete_
- type SocialMediaORMWithAfterListFind
- type SocialMediaORMWithAfterReadFind
- type SocialMediaORMWithAfterStrictUpdateSave
- type SocialMediaORMWithBeforeCreate_
- type SocialMediaORMWithBeforeDeleteSet
- type SocialMediaORMWithBeforeDelete_
- type SocialMediaORMWithBeforeListApplyQuery
- type SocialMediaORMWithBeforeListFind
- type SocialMediaORMWithBeforeReadApplyQuery
- type SocialMediaORMWithBeforeReadFind
- type SocialMediaORMWithBeforeStrictUpdateCleanup
- type SocialMediaORMWithBeforeStrictUpdateSave
- type SocialMediaWithAfterPatchSave
- type SocialMediaWithAfterToORM
- type SocialMediaWithAfterToPB
- type SocialMediaWithBeforePatchApplyFieldMask
- type SocialMediaWithBeforePatchRead
- type SocialMediaWithBeforePatchSave
- type SocialMediaWithBeforeToORM
- type SocialMediaWithBeforeToPB
- type StartupDetail
- func DefaultApplyFieldMaskStartupDetail(ctx context.Context, patchee *StartupDetail, patcher *StartupDetail, ...) (*StartupDetail, error)
- func DefaultCreateStartupDetail(ctx context.Context, in *StartupDetail, db *gorm1.DB) (*StartupDetail, error)
- func DefaultListStartupDetail(ctx context.Context, db *gorm1.DB) ([]*StartupDetail, error)
- func DefaultPatchSetStartupDetail(ctx context.Context, objects []*StartupDetail, ...) ([]*StartupDetail, error)
- func DefaultPatchStartupDetail(ctx context.Context, in *StartupDetail, updateMask *field_mask1.FieldMask, ...) (*StartupDetail, error)
- func DefaultReadStartupDetail(ctx context.Context, in *StartupDetail, db *gorm1.DB) (*StartupDetail, error)
- func DefaultStrictUpdateStartupDetail(ctx context.Context, in *StartupDetail, db *gorm1.DB) (*StartupDetail, error)
- func (*StartupDetail) Descriptor() ([]byte, []int)deprecated
- func (x *StartupDetail) GetCompanyName() string
- func (x *StartupDetail) GetCreatedAt() *timestamp.Timestamp
- func (x *StartupDetail) GetDeletedAt() *timestamp.Timestamp
- func (x *StartupDetail) GetFundingType() string
- func (x *StartupDetail) GetId() uint32
- func (x *StartupDetail) GetLatestRound() string
- func (x *StartupDetail) GetLatestRoundEndDate() *timestamp.Timestamp
- func (x *StartupDetail) GetLatestRoundFunding() int32
- func (x *StartupDetail) GetTotalFunding() int32
- func (x *StartupDetail) GetUpdatedAt() *timestamp.Timestamp
- func (*StartupDetail) ProtoMessage()
- func (x *StartupDetail) ProtoReflect() protoreflect.Message
- func (x *StartupDetail) Reset()
- func (x *StartupDetail) String() string
- func (m *StartupDetail) ToORM(ctx context.Context) (StartupDetailORM, error)
- func (this *StartupDetail) Validate() error
- type StartupDetailORM
- type StartupDetailORMWithAfterCreate_
- type StartupDetailORMWithAfterDeleteSet
- type StartupDetailORMWithAfterDelete_
- type StartupDetailORMWithAfterListFind
- type StartupDetailORMWithAfterReadFind
- type StartupDetailORMWithAfterStrictUpdateSave
- type StartupDetailORMWithBeforeCreate_
- type StartupDetailORMWithBeforeDeleteSet
- type StartupDetailORMWithBeforeDelete_
- type StartupDetailORMWithBeforeListApplyQuery
- type StartupDetailORMWithBeforeListFind
- type StartupDetailORMWithBeforeReadApplyQuery
- type StartupDetailORMWithBeforeReadFind
- type StartupDetailORMWithBeforeStrictUpdateCleanup
- type StartupDetailORMWithBeforeStrictUpdateSave
- type StartupDetailWithAfterPatchSave
- type StartupDetailWithAfterToORM
- type StartupDetailWithAfterToPB
- type StartupDetailWithBeforePatchApplyFieldMask
- type StartupDetailWithBeforePatchRead
- type StartupDetailWithBeforePatchSave
- type StartupDetailWithBeforeToORM
- type StartupDetailWithBeforeToPB
- type StringGroupTypeRequest
- func (*StringGroupTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StringGroupTypeRequest) GetQueryMessage() string
- func (*StringGroupTypeRequest) ProtoMessage()
- func (x *StringGroupTypeRequest) ProtoReflect() protoreflect.Message
- func (x *StringGroupTypeRequest) Reset()
- func (x *StringGroupTypeRequest) String() string
- func (this *StringGroupTypeRequest) Validate() error
- type StringTeamTypeRequest
- func (*StringTeamTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StringTeamTypeRequest) GetQueryMessage() string
- func (x *StringTeamTypeRequest) GetUserType() TeamAccountType
- func (*StringTeamTypeRequest) ProtoMessage()
- func (x *StringTeamTypeRequest) ProtoReflect() protoreflect.Message
- func (x *StringTeamTypeRequest) Reset()
- func (x *StringTeamTypeRequest) String() string
- func (this *StringTeamTypeRequest) Validate() error
- type StringUserTypeRequest
- func (*StringUserTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StringUserTypeRequest) GetQueryMessage() string
- func (x *StringUserTypeRequest) GetUserType() AccountType
- func (*StringUserTypeRequest) ProtoMessage()
- func (x *StringUserTypeRequest) ProtoReflect() protoreflect.Message
- func (x *StringUserTypeRequest) Reset()
- func (x *StringUserTypeRequest) String() string
- func (this *StringUserTypeRequest) Validate() error
- type Subscriptions
- func DefaultApplyFieldMaskSubscriptions(ctx context.Context, patchee *Subscriptions, patcher *Subscriptions, ...) (*Subscriptions, error)
- func DefaultCreateSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)
- func DefaultListSubscriptions(ctx context.Context, db *gorm1.DB) ([]*Subscriptions, error)
- func DefaultPatchSetSubscriptions(ctx context.Context, objects []*Subscriptions, ...) ([]*Subscriptions, error)
- func DefaultPatchSubscriptions(ctx context.Context, in *Subscriptions, updateMask *field_mask1.FieldMask, ...) (*Subscriptions, error)
- func DefaultReadSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)
- func DefaultStrictUpdateSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)
- func (*Subscriptions) Descriptor() ([]byte, []int)deprecated
- func (x *Subscriptions) GetAccessType() string
- func (x *Subscriptions) GetCreatedAt() *timestamp.Timestamp
- func (x *Subscriptions) GetDeletedAt() *timestamp.Timestamp
- func (x *Subscriptions) GetEndDate() *timestamp.Timestamp
- func (x *Subscriptions) GetId() int32
- func (x *Subscriptions) GetIsActive() bool
- func (x *Subscriptions) GetStartDate() *timestamp.Timestamp
- func (x *Subscriptions) GetSubscriptionName() string
- func (x *Subscriptions) GetSubscriptionStatus() string
- func (x *Subscriptions) GetUpdatedAt() *timestamp.Timestamp
- func (*Subscriptions) ProtoMessage()
- func (x *Subscriptions) ProtoReflect() protoreflect.Message
- func (x *Subscriptions) Reset()
- func (x *Subscriptions) String() string
- func (m *Subscriptions) ToORM(ctx context.Context) (SubscriptionsORM, error)
- func (this *Subscriptions) Validate() error
- type SubscriptionsORM
- type SubscriptionsORMWithAfterCreate_
- type SubscriptionsORMWithAfterDeleteSet
- type SubscriptionsORMWithAfterDelete_
- type SubscriptionsORMWithAfterListFind
- type SubscriptionsORMWithAfterReadFind
- type SubscriptionsORMWithAfterStrictUpdateSave
- type SubscriptionsORMWithBeforeCreate_
- type SubscriptionsORMWithBeforeDeleteSet
- type SubscriptionsORMWithBeforeDelete_
- type SubscriptionsORMWithBeforeListApplyQuery
- type SubscriptionsORMWithBeforeListFind
- type SubscriptionsORMWithBeforeReadApplyQuery
- type SubscriptionsORMWithBeforeReadFind
- type SubscriptionsORMWithBeforeStrictUpdateCleanup
- type SubscriptionsORMWithBeforeStrictUpdateSave
- type SubscriptionsWithAfterPatchSave
- type SubscriptionsWithAfterToORM
- type SubscriptionsWithAfterToPB
- type SubscriptionsWithBeforePatchApplyFieldMask
- type SubscriptionsWithBeforePatchRead
- type SubscriptionsWithBeforePatchSave
- type SubscriptionsWithBeforeToORM
- type SubscriptionsWithBeforeToPB
- type Team
- func DefaultApplyFieldMaskTeam(ctx context.Context, patchee *Team, patcher *Team, ...) (*Team, error)
- func DefaultCreateTeam(ctx context.Context, in *Team, db *gorm1.DB) (*Team, error)
- func DefaultListTeam(ctx context.Context, db *gorm1.DB) ([]*Team, error)
- func DefaultPatchSetTeam(ctx context.Context, objects []*Team, updateMasks []*field_mask1.FieldMask, ...) ([]*Team, error)
- func DefaultPatchTeam(ctx context.Context, in *Team, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Team, error)
- func DefaultReadTeam(ctx context.Context, in *Team, db *gorm1.DB) (*Team, error)
- func DefaultStrictUpdateTeam(ctx context.Context, in *Team, db *gorm1.DB) (*Team, error)
- func (*Team) Descriptor() ([]byte, []int)deprecated
- func (x *Team) GetAdminId() *User
- func (x *Team) GetAdvisors() []*User
- func (x *Team) GetBio() string
- func (x *Team) GetCreatedAt() *timestamp.Timestamp
- func (x *Team) GetDeletedAt() *timestamp.Timestamp
- func (x *Team) GetEmail() string
- func (x *Team) GetFoundedDate() *timestamp.Timestamp
- func (x *Team) GetHeadquartersId() *Address
- func (x *Team) GetId() int32
- func (x *Team) GetIndustry() string
- func (x *Team) GetIsActive() bool
- func (x *Team) GetMembers() []*User
- func (x *Team) GetName() string
- func (x *Team) GetNumberOfEmployees() int32
- func (x *Team) GetPassword() string
- func (x *Team) GetPhoneNumber() string
- func (x *Team) GetResetToken() string
- func (x *Team) GetResetTokenExpiration() *timestamp.Timestamp
- func (x *Team) GetSocialMedia() *SocialMedia
- func (x *Team) GetSubscriptions() []*Subscriptions
- func (x *Team) GetTags() []string
- func (x *Team) GetTeamProfileId() *TeamProfile
- func (x *Team) GetType() string
- func (x *Team) GetUpdatedAt() *timestamp.Timestamp
- func (*Team) ProtoMessage()
- func (x *Team) ProtoReflect() protoreflect.Message
- func (x *Team) Reset()
- func (x *Team) String() string
- func (m *Team) ToORM(ctx context.Context) (TeamORM, error)
- func (this *Team) Validate() error
- type TeamAccountType
- func (TeamAccountType) Descriptor() protoreflect.EnumDescriptor
- func (x TeamAccountType) Enum() *TeamAccountType
- func (TeamAccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TeamAccountType) Number() protoreflect.EnumNumber
- func (x TeamAccountType) String() string
- func (TeamAccountType) Type() protoreflect.EnumType
- type TeamORM
- type TeamORMWithAfterCreate_
- type TeamORMWithAfterDeleteSet
- type TeamORMWithAfterDelete_
- type TeamORMWithAfterListFind
- type TeamORMWithAfterReadFind
- type TeamORMWithAfterStrictUpdateSave
- type TeamORMWithBeforeCreate_
- type TeamORMWithBeforeDeleteSet
- type TeamORMWithBeforeDelete_
- type TeamORMWithBeforeListApplyQuery
- type TeamORMWithBeforeListFind
- type TeamORMWithBeforeReadApplyQuery
- type TeamORMWithBeforeReadFind
- type TeamORMWithBeforeStrictUpdateCleanup
- type TeamORMWithBeforeStrictUpdateSave
- type TeamProfile
- func DefaultApplyFieldMaskTeamProfile(ctx context.Context, patchee *TeamProfile, patcher *TeamProfile, ...) (*TeamProfile, error)
- func DefaultCreateTeamProfile(ctx context.Context, in *TeamProfile, db *gorm1.DB) (*TeamProfile, error)
- func DefaultListTeamProfile(ctx context.Context, db *gorm1.DB) ([]*TeamProfile, error)
- func DefaultPatchSetTeamProfile(ctx context.Context, objects []*TeamProfile, ...) ([]*TeamProfile, error)
- func DefaultPatchTeamProfile(ctx context.Context, in *TeamProfile, updateMask *field_mask1.FieldMask, ...) (*TeamProfile, error)
- func DefaultReadTeamProfile(ctx context.Context, in *TeamProfile, db *gorm1.DB) (*TeamProfile, error)
- func DefaultStrictUpdateTeamProfile(ctx context.Context, in *TeamProfile, db *gorm1.DB) (*TeamProfile, error)
- func (*TeamProfile) Descriptor() ([]byte, []int)deprecated
- func (x *TeamProfile) GetCreatedAt() *timestamp.Timestamp
- func (x *TeamProfile) GetDeletedAt() *timestamp.Timestamp
- func (x *TeamProfile) GetId() int32
- func (x *TeamProfile) GetInvestorDetailId() *InvestorDetail
- func (x *TeamProfile) GetMediaId() *Media
- func (x *TeamProfile) GetSettingsId() *Settings
- func (x *TeamProfile) GetStartupDetailId() *StartupDetail
- func (x *TeamProfile) GetUpdatedAt() *timestamp.Timestamp
- func (*TeamProfile) ProtoMessage()
- func (x *TeamProfile) ProtoReflect() protoreflect.Message
- func (x *TeamProfile) Reset()
- func (x *TeamProfile) String() string
- func (m *TeamProfile) ToORM(ctx context.Context) (TeamProfileORM, error)
- func (this *TeamProfile) Validate() error
- type TeamProfileORM
- type TeamProfileORMWithAfterCreate_
- type TeamProfileORMWithAfterDeleteSet
- type TeamProfileORMWithAfterDelete_
- type TeamProfileORMWithAfterListFind
- type TeamProfileORMWithAfterReadFind
- type TeamProfileORMWithAfterStrictUpdateSave
- type TeamProfileORMWithBeforeCreate_
- type TeamProfileORMWithBeforeDeleteSet
- type TeamProfileORMWithBeforeDelete_
- type TeamProfileORMWithBeforeListApplyQuery
- type TeamProfileORMWithBeforeListFind
- type TeamProfileORMWithBeforeReadApplyQuery
- type TeamProfileORMWithBeforeReadFind
- type TeamProfileORMWithBeforeStrictUpdateCleanup
- type TeamProfileORMWithBeforeStrictUpdateSave
- type TeamProfileWithAfterPatchSave
- type TeamProfileWithAfterToORM
- type TeamProfileWithAfterToPB
- type TeamProfileWithBeforePatchApplyFieldMask
- type TeamProfileWithBeforePatchRead
- type TeamProfileWithBeforePatchSave
- type TeamProfileWithBeforeToORM
- type TeamProfileWithBeforeToPB
- type TeamRequest
- func (*TeamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TeamRequest) GetTeam() *Team
- func (x *TeamRequest) GetTeamType() TeamAccountType
- func (*TeamRequest) ProtoMessage()
- func (x *TeamRequest) ProtoReflect() protoreflect.Message
- func (x *TeamRequest) Reset()
- func (x *TeamRequest) String() string
- func (this *TeamRequest) Validate() error
- type TeamResponse
- func (*TeamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TeamResponse) GetError() string
- func (x *TeamResponse) GetTeams() []*Team
- func (*TeamResponse) ProtoMessage()
- func (x *TeamResponse) ProtoReflect() protoreflect.Message
- func (x *TeamResponse) Reset()
- func (x *TeamResponse) String() string
- func (this *TeamResponse) Validate() error
- type TeamWithAfterPatchSave
- type TeamWithAfterToORM
- type TeamWithAfterToPB
- type TeamWithBeforePatchApplyFieldMask
- type TeamWithBeforePatchRead
- type TeamWithBeforePatchSave
- type TeamWithBeforeToORM
- type TeamWithBeforeToPB
- type TieredPushNotificationSetting
- func (*TieredPushNotificationSetting) Descriptor() ([]byte, []int)deprecated
- func (x *TieredPushNotificationSetting) GetFromEveryone() bool
- func (x *TieredPushNotificationSetting) GetFromPeopleIFollow() bool
- func (x *TieredPushNotificationSetting) GetOff() bool
- func (*TieredPushNotificationSetting) ProtoMessage()
- func (x *TieredPushNotificationSetting) ProtoReflect() protoreflect.Message
- func (x *TieredPushNotificationSetting) Reset()
- func (x *TieredPushNotificationSetting) String() string
- func (this *TieredPushNotificationSetting) Validate() error
- type Uint32GroupTypeRequest
- func (*Uint32GroupTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *Uint32GroupTypeRequest) GetID() uint32
- func (*Uint32GroupTypeRequest) ProtoMessage()
- func (x *Uint32GroupTypeRequest) ProtoReflect() protoreflect.Message
- func (x *Uint32GroupTypeRequest) Reset()
- func (x *Uint32GroupTypeRequest) String() string
- func (this *Uint32GroupTypeRequest) Validate() error
- type Uint32TeamTypeRequest
- func (*Uint32TeamTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *Uint32TeamTypeRequest) GetID() uint32
- func (x *Uint32TeamTypeRequest) GetUserType() TeamAccountType
- func (*Uint32TeamTypeRequest) ProtoMessage()
- func (x *Uint32TeamTypeRequest) ProtoReflect() protoreflect.Message
- func (x *Uint32TeamTypeRequest) Reset()
- func (x *Uint32TeamTypeRequest) String() string
- func (this *Uint32TeamTypeRequest) Validate() error
- type Uint32UserTypeRequest
- func (*Uint32UserTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *Uint32UserTypeRequest) GetID() uint32
- func (x *Uint32UserTypeRequest) GetUserType() AccountType
- func (*Uint32UserTypeRequest) ProtoMessage()
- func (x *Uint32UserTypeRequest) ProtoReflect() protoreflect.Message
- func (x *Uint32UserTypeRequest) Reset()
- func (x *Uint32UserTypeRequest) String() string
- func (this *Uint32UserTypeRequest) Validate() error
- type UnimplementedUsersServiceServer
- func (*UnimplementedUsersServiceServer) CreateGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) CreateTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) CreateUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) DeleteGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) DeleteProfileById(context.Context, *Uint32UserTypeRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) DeleteTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) DeleteUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) GetGroupByID(context.Context, *Uint32GroupTypeRequest) (*GroupResponse, error)
- func (*UnimplementedUsersServiceServer) GetGroupByName(context.Context, *StringGroupTypeRequest) (*GroupResponse, error)
- func (*UnimplementedUsersServiceServer) GetGroupsByType(context.Context, *StringGroupTypeRequest) (*GroupResponse, error)
- func (*UnimplementedUsersServiceServer) GetTeamByEmail(context.Context, *StringTeamTypeRequest) (*TeamResponse, error)
- func (*UnimplementedUsersServiceServer) GetTeamByID(context.Context, *Uint32TeamTypeRequest) (*TeamResponse, error)
- func (*UnimplementedUsersServiceServer) GetTeamByName(context.Context, *StringTeamTypeRequest) (*TeamResponse, error)
- func (*UnimplementedUsersServiceServer) GetTeamsByIndustry(context.Context, *StringTeamTypeRequest) (*TeamResponse, error)
- func (*UnimplementedUsersServiceServer) GetTeamsByType(context.Context, *StringTeamTypeRequest) (*Team, error)
- func (*UnimplementedUsersServiceServer) GetUserByEmail(context.Context, *StringUserTypeRequest) (*UserResponse, error)
- func (*UnimplementedUsersServiceServer) GetUserByID(context.Context, *Uint32UserTypeRequest) (*UserResponse, error)
- func (*UnimplementedUsersServiceServer) GetUserByUsername(context.Context, *StringUserTypeRequest) (*UserResponse, error)
- func (*UnimplementedUsersServiceServer) GetUsersByType(context.Context, *GetUsersSearchRequest) (*UserResponse, error)
- func (*UnimplementedUsersServiceServer) UpdateGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) UpdateTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error)
- func (*UnimplementedUsersServiceServer) UpdateUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error)
- type UpdateOrCreateEntityResponse
- func (*UpdateOrCreateEntityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrCreateEntityResponse) GetError() string
- func (x *UpdateOrCreateEntityResponse) GetSuccessful() bool
- func (*UpdateOrCreateEntityResponse) ProtoMessage()
- func (x *UpdateOrCreateEntityResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOrCreateEntityResponse) Reset()
- func (x *UpdateOrCreateEntityResponse) String() string
- func (this *UpdateOrCreateEntityResponse) Validate() error
- type User
- func DefaultApplyFieldMaskUser(ctx context.Context, patchee *User, patcher *User, ...) (*User, error)
- func DefaultCreateUser(ctx context.Context, in *User, db *gorm1.DB) (*User, error)
- func DefaultListUser(ctx context.Context, db *gorm1.DB) ([]*User, error)
- func DefaultPatchSetUser(ctx context.Context, objects []*User, updateMasks []*field_mask1.FieldMask, ...) ([]*User, error)
- func DefaultPatchUser(ctx context.Context, in *User, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*User, error)
- func DefaultReadUser(ctx context.Context, in *User, db *gorm1.DB) (*User, error)
- func DefaultStrictUpdateUser(ctx context.Context, in *User, db *gorm1.DB) (*User, error)
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAge() int32
- func (x *User) GetBirthDate() string
- func (x *User) GetCreatedAt() *timestamp.Timestamp
- func (x *User) GetDeletedAt() *timestamp.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetFirstName() string
- func (x *User) GetGender() string
- func (x *User) GetId() int32
- func (x *User) GetIntent() string
- func (x *User) GetIsActive() bool
- func (x *User) GetLanguages() string
- func (x *User) GetLastName() string
- func (x *User) GetPassword() string
- func (x *User) GetPasswordConfirmed() string
- func (x *User) GetPhoneNumber() string
- func (x *User) GetProfileId() *Profile
- func (x *User) GetResetToken() string
- func (x *User) GetResetTokenExpiration() *timestamp.Timestamp
- func (x *User) GetSubscriptionsId() []*Subscriptions
- func (x *User) GetUpdatedAt() *timestamp.Timestamp
- func (x *User) GetUserAccountType() string
- func (x *User) GetUserName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) ToORM(ctx context.Context) (UserORM, error)
- func (this *User) Validate() error
- type UserORM
- type UserORMWithAfterCreate_
- type UserORMWithAfterDeleteSet
- type UserORMWithAfterDelete_
- type UserORMWithAfterListFind
- type UserORMWithAfterReadFind
- type UserORMWithAfterStrictUpdateSave
- type UserORMWithBeforeCreate_
- type UserORMWithBeforeDeleteSet
- type UserORMWithBeforeDelete_
- type UserORMWithBeforeListApplyQuery
- type UserORMWithBeforeListFind
- type UserORMWithBeforeReadApplyQuery
- type UserORMWithBeforeReadFind
- type UserORMWithBeforeStrictUpdateCleanup
- type UserORMWithBeforeStrictUpdateSave
- type UserRequest
- func (*UserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRequest) GetUser() *User
- func (x *UserRequest) GetUserType() AccountType
- func (*UserRequest) ProtoMessage()
- func (x *UserRequest) ProtoReflect() protoreflect.Message
- func (x *UserRequest) Reset()
- func (x *UserRequest) String() string
- func (this *UserRequest) Validate() error
- type UserResponse
- func (*UserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserResponse) GetError() string
- func (x *UserResponse) GetUsers() []*User
- func (*UserResponse) ProtoMessage()
- func (x *UserResponse) ProtoReflect() protoreflect.Message
- func (x *UserResponse) Reset()
- func (x *UserResponse) String() string
- func (this *UserResponse) Validate() error
- type UserWithAfterPatchSave
- type UserWithAfterToORM
- type UserWithAfterToPB
- type UserWithBeforePatchApplyFieldMask
- type UserWithBeforePatchRead
- type UserWithBeforePatchSave
- type UserWithBeforeToORM
- type UserWithBeforeToPB
- type UsersServiceClient
- type UsersServiceDefaultServer
- func (m *UsersServiceDefaultServer) CreateGroup(ctx context.Context, in *GroupRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) CreateTeam(ctx context.Context, in *TeamRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) CreateUser(ctx context.Context, in *UserRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) DeleteGroup(ctx context.Context, in *GroupRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) DeleteProfileById(ctx context.Context, in *Uint32UserTypeRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) DeleteTeam(ctx context.Context, in *TeamRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) DeleteUser(ctx context.Context, in *UserRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) GetGroupByID(ctx context.Context, in *Uint32GroupTypeRequest) (*GroupResponse, error)
- func (m *UsersServiceDefaultServer) GetGroupByName(ctx context.Context, in *StringGroupTypeRequest) (*GroupResponse, error)
- func (m *UsersServiceDefaultServer) GetGroupsByType(ctx context.Context, in *StringGroupTypeRequest) (*GroupResponse, error)
- func (m *UsersServiceDefaultServer) GetTeamByEmail(ctx context.Context, in *StringTeamTypeRequest) (*TeamResponse, error)
- func (m *UsersServiceDefaultServer) GetTeamByID(ctx context.Context, in *Uint32TeamTypeRequest) (*TeamResponse, error)
- func (m *UsersServiceDefaultServer) GetTeamByName(ctx context.Context, in *StringTeamTypeRequest) (*TeamResponse, error)
- func (m *UsersServiceDefaultServer) GetTeamsByIndustry(ctx context.Context, in *StringTeamTypeRequest) (*TeamResponse, error)
- func (m *UsersServiceDefaultServer) GetTeamsByType(ctx context.Context, in *StringTeamTypeRequest) (*Team, error)
- func (m *UsersServiceDefaultServer) GetUserByEmail(ctx context.Context, in *StringUserTypeRequest) (*UserResponse, error)
- func (m *UsersServiceDefaultServer) GetUserByID(ctx context.Context, in *Uint32UserTypeRequest) (*UserResponse, error)
- func (m *UsersServiceDefaultServer) GetUserByUsername(ctx context.Context, in *StringUserTypeRequest) (*UserResponse, error)
- func (m *UsersServiceDefaultServer) GetUsersByType(ctx context.Context, in *GetUsersSearchRequest) (*UserResponse, error)
- func (m *UsersServiceDefaultServer) UpdateGroup(ctx context.Context, in *GroupRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) UpdateTeam(ctx context.Context, in *TeamRequest) (*UpdateOrCreateEntityResponse, error)
- func (m *UsersServiceDefaultServer) UpdateUser(ctx context.Context, in *UserRequest) (*UpdateOrCreateEntityResponse, error)
- type UsersServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( AccountType_name = map[int32]string{ 0: "RegularUser", 1: "Startup", 2: "Investor", } AccountType_value = map[string]int32{ "RegularUser": 0, "Startup": 1, "Investor": 2, } )
Enum value maps for AccountType.
var ( TeamAccountType_name = map[int32]string{ 0: "StartupTeam", 1: "InvestorTeam", } TeamAccountType_value = map[string]int32{ "StartupTeam": 0, "InvestorTeam": 1, } )
Enum value maps for TeamAccountType.
var ( InvestorType_name = map[int32]string{ 0: "banks", 1: "angel_Investors", 2: "peer_to_peer_lenders", 3: "venture_capitalists", 4: "personal_investors", } InvestorType_value = map[string]int32{ "banks": 0, "angel_Investors": 1, "peer_to_peer_lenders": 2, "venture_capitalists": 3, "personal_investors": 4, } )
Enum value maps for InvestorType.
var ( InvestmentStage_name = map[int32]string{ 0: "seed_capital", 1: "startup_capital", 2: "early_first_second_stage_capital", 3: "expansion_second_third_stage_capital", 4: "mezzanine_bridge_pre_public_stage_capital", } InvestmentStage_value = map[string]int32{ "seed_capital": 0, "startup_capital": 1, "early_first_second_stage_capital": 2, "expansion_second_third_stage_capital": 3, "mezzanine_bridge_pre_public_stage_capital": 4, } )
Enum value maps for InvestmentStage.
var File_proto_common_proto protoreflect.FileDescriptor
var File_proto_tables_proto protoreflect.FileDescriptor
var File_proto_user_service_proto protoreflect.FileDescriptor
Functions ¶
func DefaultDeleteAddress ¶
func DefaultDeleteAddressSet ¶
func DefaultDeleteCardSet ¶
func DefaultDeleteEducation ¶
func DefaultDeleteExperience ¶
func DefaultDeleteGroup ¶
func DefaultDeleteGroupSet ¶
func DefaultDeleteInvestment ¶
func DefaultDeleteMedia ¶
func DefaultDeleteMediaSet ¶
func DefaultDeletePayments ¶
func DefaultDeletePinSet ¶
func DefaultDeletePrivacy ¶
func DefaultDeletePrivacySet ¶
func DefaultDeleteProfile ¶
func DefaultDeleteProfileSet ¶
func DefaultDeleteSettings ¶
func DefaultDeleteTeamSet ¶
func DefaultDeleteUserSet ¶
func RegisterUsersServiceServer ¶
func RegisterUsersServiceServer(s *grpc.Server, srv UsersServiceServer)
Types ¶
type AccountType ¶
type AccountType int32
const ( AccountType_RegularUser AccountType = 0 AccountType_Startup AccountType = 1 AccountType_Investor AccountType = 2 )
func (AccountType) Descriptor ¶
func (AccountType) Descriptor() protoreflect.EnumDescriptor
func (AccountType) Enum ¶
func (x AccountType) Enum() *AccountType
func (AccountType) EnumDescriptor
deprecated
func (AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountType.Descriptor instead.
func (AccountType) Number ¶
func (x AccountType) Number() protoreflect.EnumNumber
func (AccountType) String ¶
func (x AccountType) String() string
func (AccountType) Type ¶
func (AccountType) Type() protoreflect.EnumType
type Address ¶
type Address struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Longitude string `protobuf:"bytes,2,opt,name=longitude,proto3" json:"longitude,omitempty"` Latitude string `protobuf:"bytes,3,opt,name=latitude,proto3" json:"latitude,omitempty"` City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"` ZipCode string `protobuf:"bytes,7,opt,name=zipCode,proto3" json:"zipCode,omitempty"` Street string `protobuf:"bytes,8,opt,name=street,proto3" json:"street,omitempty"` BuildingNumber string `protobuf:"bytes,9,opt,name=building_number,json=buildingNumber,proto3" json:"building_number,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,12,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskAddress ¶
func DefaultApplyFieldMaskAddress(ctx context.Context, patchee *Address, patcher *Address, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Address, error)
DefaultApplyFieldMaskAddress patches an pbObject with patcher according to a field mask.
func DefaultCreateAddress ¶
DefaultCreateAddress executes a basic gorm create call
func DefaultListAddress ¶
DefaultListAddress executes a gorm list call
func DefaultPatchAddress ¶
func DefaultPatchAddress(ctx context.Context, in *Address, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Address, error)
DefaultPatchAddress executes a basic gorm update call with patch behavior
func DefaultPatchSetAddress ¶
func DefaultPatchSetAddress(ctx context.Context, objects []*Address, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Address, error)
DefaultPatchSetAddress executes a bulk gorm update call with patch behavior
func DefaultReadAddress ¶
DefaultReadAddress executes a basic gorm read call
func DefaultStrictUpdateAddress ¶
DefaultStrictUpdateAddress clears first level 1:many children and then executes a gorm update call
func (*Address) Descriptor
deprecated
func (*Address) GetBuildingNumber ¶
func (*Address) GetCountry ¶
func (*Address) GetCreatedAt ¶
func (*Address) GetDeletedAt ¶
func (*Address) GetLatitude ¶
func (*Address) GetLongitude ¶
func (*Address) GetUpdatedAt ¶
func (*Address) GetZipCode ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type AddressORM ¶
type AddressORM struct { BuildingNumber string City string Country string CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` Latitude string LoginActivityId *int32 Longitude string State string Street string TeamId *int32 UpdatedAt *time.Time ZipCode string }
func (AddressORM) MigrateSchemaOrCreateTable ¶
func (table AddressORM) MigrateSchemaOrCreateTable(db *gorm.DB, logger *zap.Logger)
func (AddressORM) TableName ¶
func (AddressORM) TableName() string
TableName overrides the default tablename generated by GORM
type AddressWithAfterToORM ¶
type AddressWithAfterToORM interface {
AfterToORM(context.Context, *AddressORM) error
}
AddressAfterToORM called after default ToORM code
type AddressWithAfterToPB ¶
AddressAfterToPB called after default ToPB code
type AddressWithBeforeToORM ¶
type AddressWithBeforeToORM interface {
BeforeToORM(context.Context, *AddressORM) error
}
AddressBeforeToORM called before default ToORM code
type AddressWithBeforeToPB ¶
AddressBeforeToPB called before default ToPB code
type Card ¶
type Card struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` LastLogin *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` CardNumber string `protobuf:"bytes,6,opt,name=card_number,json=cardNumber,proto3" json:"card_number,omitempty"` SecurityCode string `protobuf:"bytes,7,opt,name=security_code,json=securityCode,proto3" json:"security_code,omitempty"` CardZipCode string `protobuf:"bytes,8,opt,name=card_zip_code,json=cardZipCode,proto3" json:"card_zip_code,omitempty"` FullName string `protobuf:"bytes,9,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` City string `protobuf:"bytes,10,opt,name=city,proto3" json:"city,omitempty"` State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"` Zipcode string `protobuf:"bytes,12,opt,name=zipcode,proto3" json:"zipcode,omitempty"` Address string `protobuf:"bytes,13,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskCard ¶
func DefaultApplyFieldMaskCard(ctx context.Context, patchee *Card, patcher *Card, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Card, error)
DefaultApplyFieldMaskCard patches an pbObject with patcher according to a field mask.
func DefaultCreateCard ¶
DefaultCreateCard executes a basic gorm create call
func DefaultListCard ¶
DefaultListCard executes a gorm list call
func DefaultPatchCard ¶
func DefaultPatchCard(ctx context.Context, in *Card, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Card, error)
DefaultPatchCard executes a basic gorm update call with patch behavior
func DefaultPatchSetCard ¶
func DefaultPatchSetCard(ctx context.Context, objects []*Card, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Card, error)
DefaultPatchSetCard executes a bulk gorm update call with patch behavior
func DefaultReadCard ¶
DefaultReadCard executes a basic gorm read call
func DefaultStrictUpdateCard ¶
DefaultStrictUpdateCard clears first level 1:many children and then executes a gorm update call
func (*Card) Descriptor
deprecated
func (*Card) GetAddress ¶
func (*Card) GetCardNumber ¶
func (*Card) GetCardZipCode ¶
func (*Card) GetCreatedAt ¶
func (*Card) GetDeletedAt ¶
func (*Card) GetFullName ¶
func (*Card) GetLastLogin ¶
func (*Card) GetSecurityCode ¶
func (*Card) GetUpdatedAt ¶
func (*Card) GetZipcode ¶
func (*Card) ProtoMessage ¶
func (*Card) ProtoMessage()
func (*Card) ProtoReflect ¶
func (x *Card) ProtoReflect() protoreflect.Message
type CardORM ¶
type CardORM struct { Address string CardNumber string CardZipCode string City string CreatedAt *time.Time CreditCardPaymentsId *int32 DebitCardPaymentsId *int32 DeletedAt *time.Time FullName string Id int32 `gorm:"type:integer;primary_key"` LastLogin *time.Time SecurityCode string State string UpdatedAt *time.Time Zipcode string }
type CardORMWithAfterCreate_ ¶
type CardORMWithAfterDelete_ ¶
type CardWithAfterPatchSave ¶
type CardWithAfterToORM ¶
CardAfterToORM called after default ToORM code
type CardWithAfterToPB ¶
CardAfterToPB called after default ToPB code
type CardWithBeforePatchRead ¶
type CardWithBeforePatchSave ¶
type CardWithBeforeToORM ¶
CardBeforeToORM called before default ToORM code
type CardWithBeforeToPB ¶
CardBeforeToPB called before default ToPB code
type Details ¶
type Details struct { IPOStatus string `protobuf:"bytes,1,opt,name=IPOStatus,proto3" json:"IPOStatus,omitempty"` CompanyType string `protobuf:"bytes,2,opt,name=CompanyType,proto3" json:"CompanyType,omitempty"` // for-profit // contains filtered or unexported fields }
func DefaultApplyFieldMaskDetails ¶
func DefaultApplyFieldMaskDetails(ctx context.Context, patchee *Details, patcher *Details, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Details, error)
DefaultApplyFieldMaskDetails patches an pbObject with patcher according to a field mask.
func DefaultCreateDetails ¶
DefaultCreateDetails executes a basic gorm create call
func DefaultListDetails ¶
DefaultListDetails executes a gorm list call
func (*Details) Descriptor
deprecated
func (*Details) GetCompanyType ¶
func (*Details) GetIPOStatus ¶
func (*Details) ProtoMessage ¶
func (*Details) ProtoMessage()
func (*Details) ProtoReflect ¶
func (x *Details) ProtoReflect() protoreflect.Message
type DetailsORM ¶
func (DetailsORM) TableName ¶
func (DetailsORM) TableName() string
TableName overrides the default tablename generated by GORM
type DetailsWithAfterToORM ¶
type DetailsWithAfterToORM interface {
AfterToORM(context.Context, *DetailsORM) error
}
DetailsAfterToORM called after default ToORM code
type DetailsWithAfterToPB ¶
DetailsAfterToPB called after default ToPB code
type DetailsWithBeforeToORM ¶
type DetailsWithBeforeToORM interface {
BeforeToORM(context.Context, *DetailsORM) error
}
DetailsBeforeToORM called before default ToORM code
type DetailsWithBeforeToPB ¶
DetailsBeforeToPB called before default ToPB code
type DirectMessagesPushNotification ¶
type DirectMessagesPushNotification struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` MessageRequests *PushNotificationSetting `protobuf:"bytes,5,opt,name=message_requests,json=messageRequests,proto3" json:"message_requests,omitempty"` // yoan wants to send you message Message *PushNotificationSetting `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` // yoan has sent you a message GroupRequests *PushNotificationSetting `protobuf:"bytes,7,opt,name=group_requests,json=groupRequests,proto3" json:"group_requests,omitempty"` // yoan wants to add willy to your group // contains filtered or unexported fields }
func DefaultApplyFieldMaskDirectMessagesPushNotification ¶
func DefaultApplyFieldMaskDirectMessagesPushNotification(ctx context.Context, patchee *DirectMessagesPushNotification, patcher *DirectMessagesPushNotification, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*DirectMessagesPushNotification, error)
DefaultApplyFieldMaskDirectMessagesPushNotification patches an pbObject with patcher according to a field mask.
func DefaultCreateDirectMessagesPushNotification ¶
func DefaultCreateDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, db *gorm1.DB) (*DirectMessagesPushNotification, error)
DefaultCreateDirectMessagesPushNotification executes a basic gorm create call
func DefaultListDirectMessagesPushNotification ¶
func DefaultListDirectMessagesPushNotification(ctx context.Context, db *gorm1.DB) ([]*DirectMessagesPushNotification, error)
DefaultListDirectMessagesPushNotification executes a gorm list call
func DefaultPatchDirectMessagesPushNotification ¶
func DefaultPatchDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*DirectMessagesPushNotification, error)
DefaultPatchDirectMessagesPushNotification executes a basic gorm update call with patch behavior
func DefaultPatchSetDirectMessagesPushNotification ¶
func DefaultPatchSetDirectMessagesPushNotification(ctx context.Context, objects []*DirectMessagesPushNotification, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*DirectMessagesPushNotification, error)
DefaultPatchSetDirectMessagesPushNotification executes a bulk gorm update call with patch behavior
func DefaultReadDirectMessagesPushNotification ¶
func DefaultReadDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, db *gorm1.DB) (*DirectMessagesPushNotification, error)
DefaultReadDirectMessagesPushNotification executes a basic gorm read call
func DefaultStrictUpdateDirectMessagesPushNotification ¶
func DefaultStrictUpdateDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, db *gorm1.DB) (*DirectMessagesPushNotification, error)
DefaultStrictUpdateDirectMessagesPushNotification clears first level 1:many children and then executes a gorm update call
func (*DirectMessagesPushNotification) Descriptor
deprecated
func (*DirectMessagesPushNotification) Descriptor() ([]byte, []int)
Deprecated: Use DirectMessagesPushNotification.ProtoReflect.Descriptor instead.
func (*DirectMessagesPushNotification) GetCreatedAt ¶
func (x *DirectMessagesPushNotification) GetCreatedAt() *timestamp.Timestamp
func (*DirectMessagesPushNotification) GetDeletedAt ¶
func (x *DirectMessagesPushNotification) GetDeletedAt() *timestamp.Timestamp
func (*DirectMessagesPushNotification) GetGroupRequests ¶
func (x *DirectMessagesPushNotification) GetGroupRequests() *PushNotificationSetting
func (*DirectMessagesPushNotification) GetId ¶
func (x *DirectMessagesPushNotification) GetId() int32
func (*DirectMessagesPushNotification) GetMessage ¶
func (x *DirectMessagesPushNotification) GetMessage() *PushNotificationSetting
func (*DirectMessagesPushNotification) GetMessageRequests ¶
func (x *DirectMessagesPushNotification) GetMessageRequests() *PushNotificationSetting
func (*DirectMessagesPushNotification) GetUpdatedAt ¶
func (x *DirectMessagesPushNotification) GetUpdatedAt() *timestamp.Timestamp
func (*DirectMessagesPushNotification) ProtoMessage ¶
func (*DirectMessagesPushNotification) ProtoMessage()
func (*DirectMessagesPushNotification) ProtoReflect ¶
func (x *DirectMessagesPushNotification) ProtoReflect() protoreflect.Message
func (*DirectMessagesPushNotification) Reset ¶
func (x *DirectMessagesPushNotification) Reset()
func (*DirectMessagesPushNotification) String ¶
func (x *DirectMessagesPushNotification) String() string
func (*DirectMessagesPushNotification) ToORM ¶
func (m *DirectMessagesPushNotification) ToORM(ctx context.Context) (DirectMessagesPushNotificationORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*DirectMessagesPushNotification) Validate ¶
func (this *DirectMessagesPushNotification) Validate() error
type DirectMessagesPushNotificationORM ¶
type DirectMessagesPushNotificationORM struct { CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` NotificationId *int32 UpdatedAt *time.Time }
func (DirectMessagesPushNotificationORM) TableName ¶
func (DirectMessagesPushNotificationORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*DirectMessagesPushNotificationORM) ToPB ¶
func (m *DirectMessagesPushNotificationORM) ToPB(ctx context.Context) (DirectMessagesPushNotification, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type DirectMessagesPushNotificationWithAfterPatchSave ¶
type DirectMessagesPushNotificationWithAfterPatchSave interface {
AfterPatchSave(context.Context, *DirectMessagesPushNotification, *field_mask1.FieldMask, *gorm1.DB) error
}
type DirectMessagesPushNotificationWithAfterToORM ¶
type DirectMessagesPushNotificationWithAfterToORM interface {
AfterToORM(context.Context, *DirectMessagesPushNotificationORM) error
}
DirectMessagesPushNotificationAfterToORM called after default ToORM code
type DirectMessagesPushNotificationWithAfterToPB ¶
type DirectMessagesPushNotificationWithAfterToPB interface {
AfterToPB(context.Context, *DirectMessagesPushNotification) error
}
DirectMessagesPushNotificationAfterToPB called after default ToPB code
type DirectMessagesPushNotificationWithBeforePatchApplyFieldMask ¶
type DirectMessagesPushNotificationWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *DirectMessagesPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type DirectMessagesPushNotificationWithBeforePatchRead ¶
type DirectMessagesPushNotificationWithBeforePatchRead interface {
BeforePatchRead(context.Context, *DirectMessagesPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type DirectMessagesPushNotificationWithBeforePatchSave ¶
type DirectMessagesPushNotificationWithBeforePatchSave interface {
BeforePatchSave(context.Context, *DirectMessagesPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type DirectMessagesPushNotificationWithBeforeToORM ¶
type DirectMessagesPushNotificationWithBeforeToORM interface {
BeforeToORM(context.Context, *DirectMessagesPushNotificationORM) error
}
DirectMessagesPushNotificationBeforeToORM called before default ToORM code
type DirectMessagesPushNotificationWithBeforeToPB ¶
type DirectMessagesPushNotificationWithBeforeToPB interface {
BeforeToPB(context.Context, *DirectMessagesPushNotification) error
}
DirectMessagesPushNotificationBeforeToPB called before default ToPB code
type Education ¶
type Education struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` School string `protobuf:"bytes,2,opt,name=school,proto3" json:"school,omitempty"` Degree string `protobuf:"bytes,3,opt,name=degree,proto3" json:"degree,omitempty"` FieldOfStudy string `protobuf:"bytes,4,opt,name=field_of_study,json=fieldOfStudy,proto3" json:"field_of_study,omitempty"` StartDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` CurrentlyAttending bool `protobuf:"varint,7,opt,name=currently_attending,json=currentlyAttending,proto3" json:"currently_attending,omitempty"` Gpa float32 `protobuf:"fixed32,8,opt,name=gpa,proto3" json:"gpa,omitempty"` Activities string `protobuf:"bytes,9,opt,name=activities,proto3" json:"activities,omitempty"` Societies string `protobuf:"bytes,10,opt,name=societies,proto3" json:"societies,omitempty"` Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,14,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` MediaId *Media `protobuf:"bytes,15,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskEducation ¶
func DefaultApplyFieldMaskEducation(ctx context.Context, patchee *Education, patcher *Education, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Education, error)
DefaultApplyFieldMaskEducation patches an pbObject with patcher according to a field mask.
func DefaultCreateEducation ¶
DefaultCreateEducation executes a basic gorm create call
func DefaultListEducation ¶
DefaultListEducation executes a gorm list call
func DefaultPatchEducation ¶
func DefaultPatchEducation(ctx context.Context, in *Education, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Education, error)
DefaultPatchEducation executes a basic gorm update call with patch behavior
func DefaultPatchSetEducation ¶
func DefaultPatchSetEducation(ctx context.Context, objects []*Education, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Education, error)
DefaultPatchSetEducation executes a bulk gorm update call with patch behavior
func DefaultReadEducation ¶
DefaultReadEducation executes a basic gorm read call
func DefaultStrictUpdateEducation ¶
func DefaultStrictUpdateEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)
DefaultStrictUpdateEducation clears first level 1:many children and then executes a gorm update call
func (*Education) Descriptor
deprecated
func (*Education) GetActivities ¶
func (*Education) GetCreatedAt ¶
func (*Education) GetCurrentlyAttending ¶
func (*Education) GetDeletedAt ¶
func (*Education) GetDescription ¶
func (*Education) GetEndDate ¶
func (*Education) GetFieldOfStudy ¶
func (*Education) GetMediaId ¶
func (*Education) GetSocieties ¶
func (*Education) GetStartDate ¶
func (*Education) GetUpdatedAt ¶
func (*Education) ProtoMessage ¶
func (*Education) ProtoMessage()
func (*Education) ProtoReflect ¶
func (x *Education) ProtoReflect() protoreflect.Message
type EducationORM ¶
type EducationORM struct { Activities string CreatedAt *time.Time CurrentlyAttending bool Degree string DeletedAt *time.Time Description string EndDate *time.Time FieldOfStudy string Gpa float32 Id int32 `gorm:"type:integer;primary_key"` MediaId *MediaORM `gorm:"foreignkey:EducationId;association_foreignkey:Id"` ProfileId *int32 School string Societies string StartDate *time.Time UpdatedAt *time.Time }
func (EducationORM) TableName ¶
func (EducationORM) TableName() string
TableName overrides the default tablename generated by GORM
type EducationWithAfterToORM ¶
type EducationWithAfterToORM interface {
AfterToORM(context.Context, *EducationORM) error
}
EducationAfterToORM called after default ToORM code
type EducationWithAfterToPB ¶
EducationAfterToPB called after default ToPB code
type EducationWithBeforeToORM ¶
type EducationWithBeforeToORM interface {
BeforeToORM(context.Context, *EducationORM) error
}
EducationBeforeToORM called before default ToORM code
type EducationWithBeforeToPB ¶
EducationBeforeToPB called before default ToPB code
type EmailAndSmsPushNotification ¶
type EmailAndSmsPushNotification struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` FeedbackEmail *PushNotificationSetting `protobuf:"bytes,5,opt,name=feedback_email,json=feedbackEmail,proto3" json:"feedback_email,omitempty"` ReminderEmails *PushNotificationSetting `protobuf:"bytes,6,opt,name=reminder_emails,json=reminderEmails,proto3" json:"reminder_emails,omitempty"` ProductEmails *PushNotificationSetting `protobuf:"bytes,7,opt,name=product_emails,json=productEmails,proto3" json:"product_emails,omitempty"` NewsEmails *PushNotificationSetting `protobuf:"bytes,8,opt,name=news_emails,json=newsEmails,proto3" json:"news_emails,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskEmailAndSmsPushNotification ¶
func DefaultApplyFieldMaskEmailAndSmsPushNotification(ctx context.Context, patchee *EmailAndSmsPushNotification, patcher *EmailAndSmsPushNotification, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*EmailAndSmsPushNotification, error)
DefaultApplyFieldMaskEmailAndSmsPushNotification patches an pbObject with patcher according to a field mask.
func DefaultCreateEmailAndSmsPushNotification ¶
func DefaultCreateEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, db *gorm1.DB) (*EmailAndSmsPushNotification, error)
DefaultCreateEmailAndSmsPushNotification executes a basic gorm create call
func DefaultListEmailAndSmsPushNotification ¶
func DefaultListEmailAndSmsPushNotification(ctx context.Context, db *gorm1.DB) ([]*EmailAndSmsPushNotification, error)
DefaultListEmailAndSmsPushNotification executes a gorm list call
func DefaultPatchEmailAndSmsPushNotification ¶
func DefaultPatchEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*EmailAndSmsPushNotification, error)
DefaultPatchEmailAndSmsPushNotification executes a basic gorm update call with patch behavior
func DefaultPatchSetEmailAndSmsPushNotification ¶
func DefaultPatchSetEmailAndSmsPushNotification(ctx context.Context, objects []*EmailAndSmsPushNotification, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*EmailAndSmsPushNotification, error)
DefaultPatchSetEmailAndSmsPushNotification executes a bulk gorm update call with patch behavior
func DefaultReadEmailAndSmsPushNotification ¶
func DefaultReadEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, db *gorm1.DB) (*EmailAndSmsPushNotification, error)
DefaultReadEmailAndSmsPushNotification executes a basic gorm read call
func DefaultStrictUpdateEmailAndSmsPushNotification ¶
func DefaultStrictUpdateEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, db *gorm1.DB) (*EmailAndSmsPushNotification, error)
DefaultStrictUpdateEmailAndSmsPushNotification clears first level 1:many children and then executes a gorm update call
func (*EmailAndSmsPushNotification) Descriptor
deprecated
func (*EmailAndSmsPushNotification) Descriptor() ([]byte, []int)
Deprecated: Use EmailAndSmsPushNotification.ProtoReflect.Descriptor instead.
func (*EmailAndSmsPushNotification) GetCreatedAt ¶
func (x *EmailAndSmsPushNotification) GetCreatedAt() *timestamp.Timestamp
func (*EmailAndSmsPushNotification) GetDeletedAt ¶
func (x *EmailAndSmsPushNotification) GetDeletedAt() *timestamp.Timestamp
func (*EmailAndSmsPushNotification) GetFeedbackEmail ¶
func (x *EmailAndSmsPushNotification) GetFeedbackEmail() *PushNotificationSetting
func (*EmailAndSmsPushNotification) GetId ¶
func (x *EmailAndSmsPushNotification) GetId() int32
func (*EmailAndSmsPushNotification) GetNewsEmails ¶
func (x *EmailAndSmsPushNotification) GetNewsEmails() *PushNotificationSetting
func (*EmailAndSmsPushNotification) GetProductEmails ¶
func (x *EmailAndSmsPushNotification) GetProductEmails() *PushNotificationSetting
func (*EmailAndSmsPushNotification) GetReminderEmails ¶
func (x *EmailAndSmsPushNotification) GetReminderEmails() *PushNotificationSetting
func (*EmailAndSmsPushNotification) GetUpdatedAt ¶
func (x *EmailAndSmsPushNotification) GetUpdatedAt() *timestamp.Timestamp
func (*EmailAndSmsPushNotification) ProtoMessage ¶
func (*EmailAndSmsPushNotification) ProtoMessage()
func (*EmailAndSmsPushNotification) ProtoReflect ¶
func (x *EmailAndSmsPushNotification) ProtoReflect() protoreflect.Message
func (*EmailAndSmsPushNotification) Reset ¶
func (x *EmailAndSmsPushNotification) Reset()
func (*EmailAndSmsPushNotification) String ¶
func (x *EmailAndSmsPushNotification) String() string
func (*EmailAndSmsPushNotification) ToORM ¶
func (m *EmailAndSmsPushNotification) ToORM(ctx context.Context) (EmailAndSmsPushNotificationORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*EmailAndSmsPushNotification) Validate ¶
func (this *EmailAndSmsPushNotification) Validate() error
type EmailAndSmsPushNotificationORM ¶
type EmailAndSmsPushNotificationORM struct { CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` NotificationId *int32 UpdatedAt *time.Time }
func (EmailAndSmsPushNotificationORM) TableName ¶
func (EmailAndSmsPushNotificationORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*EmailAndSmsPushNotificationORM) ToPB ¶
func (m *EmailAndSmsPushNotificationORM) ToPB(ctx context.Context) (EmailAndSmsPushNotification, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type EmailAndSmsPushNotificationWithAfterPatchSave ¶
type EmailAndSmsPushNotificationWithAfterPatchSave interface {
AfterPatchSave(context.Context, *EmailAndSmsPushNotification, *field_mask1.FieldMask, *gorm1.DB) error
}
type EmailAndSmsPushNotificationWithAfterToORM ¶
type EmailAndSmsPushNotificationWithAfterToORM interface {
AfterToORM(context.Context, *EmailAndSmsPushNotificationORM) error
}
EmailAndSmsPushNotificationAfterToORM called after default ToORM code
type EmailAndSmsPushNotificationWithAfterToPB ¶
type EmailAndSmsPushNotificationWithAfterToPB interface {
AfterToPB(context.Context, *EmailAndSmsPushNotification) error
}
EmailAndSmsPushNotificationAfterToPB called after default ToPB code
type EmailAndSmsPushNotificationWithBeforePatchApplyFieldMask ¶
type EmailAndSmsPushNotificationWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *EmailAndSmsPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type EmailAndSmsPushNotificationWithBeforePatchRead ¶
type EmailAndSmsPushNotificationWithBeforePatchRead interface {
BeforePatchRead(context.Context, *EmailAndSmsPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type EmailAndSmsPushNotificationWithBeforePatchSave ¶
type EmailAndSmsPushNotificationWithBeforePatchSave interface {
BeforePatchSave(context.Context, *EmailAndSmsPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type EmailAndSmsPushNotificationWithBeforeToORM ¶
type EmailAndSmsPushNotificationWithBeforeToORM interface {
BeforeToORM(context.Context, *EmailAndSmsPushNotificationORM) error
}
EmailAndSmsPushNotificationBeforeToORM called before default ToORM code
type EmailAndSmsPushNotificationWithBeforeToPB ¶
type EmailAndSmsPushNotificationWithBeforeToPB interface {
BeforeToPB(context.Context, *EmailAndSmsPushNotification) error
}
EmailAndSmsPushNotificationBeforeToPB called before default ToPB code
type Experience ¶
type Experience struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CompanyName string `protobuf:"bytes,2,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` EmploymentType string `protobuf:"bytes,4,opt,name=employment_type,json=employmentType,proto3" json:"employment_type,omitempty"` Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` // comma seperated value of location StartDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` IsCurrentJob bool `protobuf:"varint,8,opt,name=is_current_job,json=isCurrentJob,proto3" json:"is_current_job,omitempty"` Headline string `protobuf:"bytes,9,opt,name=headline,proto3" json:"headline,omitempty"` Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` MediaId *Media `protobuf:"bytes,11,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,14,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskExperience ¶
func DefaultApplyFieldMaskExperience(ctx context.Context, patchee *Experience, patcher *Experience, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Experience, error)
DefaultApplyFieldMaskExperience patches an pbObject with patcher according to a field mask.
func DefaultCreateExperience ¶
func DefaultCreateExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)
DefaultCreateExperience executes a basic gorm create call
func DefaultListExperience ¶
DefaultListExperience executes a gorm list call
func DefaultPatchExperience ¶
func DefaultPatchExperience(ctx context.Context, in *Experience, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Experience, error)
DefaultPatchExperience executes a basic gorm update call with patch behavior
func DefaultPatchSetExperience ¶
func DefaultPatchSetExperience(ctx context.Context, objects []*Experience, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Experience, error)
DefaultPatchSetExperience executes a bulk gorm update call with patch behavior
func DefaultReadExperience ¶
func DefaultReadExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)
DefaultReadExperience executes a basic gorm read call
func DefaultStrictUpdateExperience ¶
func DefaultStrictUpdateExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)
DefaultStrictUpdateExperience clears first level 1:many children and then executes a gorm update call
func (*Experience) Descriptor
deprecated
func (*Experience) Descriptor() ([]byte, []int)
Deprecated: Use Experience.ProtoReflect.Descriptor instead.
func (*Experience) GetCompanyName ¶
func (x *Experience) GetCompanyName() string
func (*Experience) GetCreatedAt ¶
func (x *Experience) GetCreatedAt() *timestamp.Timestamp
func (*Experience) GetDeletedAt ¶
func (x *Experience) GetDeletedAt() *timestamp.Timestamp
func (*Experience) GetDescription ¶
func (x *Experience) GetDescription() string
func (*Experience) GetEmploymentType ¶
func (x *Experience) GetEmploymentType() string
func (*Experience) GetEndDate ¶
func (x *Experience) GetEndDate() *timestamp.Timestamp
func (*Experience) GetHeadline ¶
func (x *Experience) GetHeadline() string
func (*Experience) GetId ¶
func (x *Experience) GetId() int32
func (*Experience) GetIsCurrentJob ¶
func (x *Experience) GetIsCurrentJob() bool
func (*Experience) GetLocation ¶
func (x *Experience) GetLocation() string
func (*Experience) GetMediaId ¶
func (x *Experience) GetMediaId() *Media
func (*Experience) GetStartDate ¶
func (x *Experience) GetStartDate() *timestamp.Timestamp
func (*Experience) GetTitle ¶
func (x *Experience) GetTitle() string
func (*Experience) GetUpdatedAt ¶
func (x *Experience) GetUpdatedAt() *timestamp.Timestamp
func (*Experience) ProtoMessage ¶
func (*Experience) ProtoMessage()
func (*Experience) ProtoReflect ¶
func (x *Experience) ProtoReflect() protoreflect.Message
func (*Experience) Reset ¶
func (x *Experience) Reset()
func (*Experience) String ¶
func (x *Experience) String() string
func (*Experience) ToORM ¶
func (m *Experience) ToORM(ctx context.Context) (ExperienceORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*Experience) Validate ¶
func (this *Experience) Validate() error
type ExperienceORM ¶
type ExperienceORM struct { CompanyName string CreatedAt *time.Time DeletedAt *time.Time Description string EmploymentType string EndDate *time.Time Headline string Id int32 `gorm:"type:integer;primary_key"` IsCurrentJob bool Location string MediaId *MediaORM `gorm:"foreignkey:ExperienceId;association_foreignkey:Id"` StartDate *time.Time Title string UpdatedAt *time.Time }
func (ExperienceORM) TableName ¶
func (ExperienceORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*ExperienceORM) ToPB ¶
func (m *ExperienceORM) ToPB(ctx context.Context) (Experience, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type ExperienceWithAfterPatchSave ¶
type ExperienceWithAfterPatchSave interface {
AfterPatchSave(context.Context, *Experience, *field_mask1.FieldMask, *gorm1.DB) error
}
type ExperienceWithAfterToORM ¶
type ExperienceWithAfterToORM interface {
AfterToORM(context.Context, *ExperienceORM) error
}
ExperienceAfterToORM called after default ToORM code
type ExperienceWithAfterToPB ¶
type ExperienceWithAfterToPB interface {
AfterToPB(context.Context, *Experience) error
}
ExperienceAfterToPB called after default ToPB code
type ExperienceWithBeforePatchApplyFieldMask ¶
type ExperienceWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *Experience, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type ExperienceWithBeforePatchRead ¶
type ExperienceWithBeforePatchRead interface {
BeforePatchRead(context.Context, *Experience, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type ExperienceWithBeforePatchSave ¶
type ExperienceWithBeforePatchSave interface {
BeforePatchSave(context.Context, *Experience, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type ExperienceWithBeforeToORM ¶
type ExperienceWithBeforeToORM interface {
BeforeToORM(context.Context, *ExperienceORM) error
}
ExperienceBeforeToORM called before default ToORM code
type ExperienceWithBeforeToPB ¶
type ExperienceWithBeforeToPB interface {
BeforeToPB(context.Context, *Experience) error
}
ExperienceBeforeToPB called before default ToPB code
type FollowingAndFollowersPushNotification ¶
type FollowingAndFollowersPushNotification struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` FollowerRequests *PushNotificationSetting `protobuf:"bytes,5,opt,name=follower_requests,json=followerRequests,proto3" json:"follower_requests,omitempty"` // yoan has requested to follow you AcceptedFollowerRequests *PushNotificationSetting `` // yoan accepted your follow request /* 135-byte string literal not displayed */ MentionsInBio *TieredPushNotificationSetting `protobuf:"bytes,7,opt,name=mentions_in_bio,json=mentionsInBio,proto3" json:"mentions_in_bio,omitempty"` // yoan mentioned you in his bio // contains filtered or unexported fields }
func DefaultApplyFieldMaskFollowingAndFollowersPushNotification ¶
func DefaultApplyFieldMaskFollowingAndFollowersPushNotification(ctx context.Context, patchee *FollowingAndFollowersPushNotification, patcher *FollowingAndFollowersPushNotification, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*FollowingAndFollowersPushNotification, error)
DefaultApplyFieldMaskFollowingAndFollowersPushNotification patches an pbObject with patcher according to a field mask.
func DefaultCreateFollowingAndFollowersPushNotification ¶
func DefaultCreateFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, db *gorm1.DB) (*FollowingAndFollowersPushNotification, error)
DefaultCreateFollowingAndFollowersPushNotification executes a basic gorm create call
func DefaultListFollowingAndFollowersPushNotification ¶
func DefaultListFollowingAndFollowersPushNotification(ctx context.Context, db *gorm1.DB) ([]*FollowingAndFollowersPushNotification, error)
DefaultListFollowingAndFollowersPushNotification executes a gorm list call
func DefaultPatchFollowingAndFollowersPushNotification ¶
func DefaultPatchFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*FollowingAndFollowersPushNotification, error)
DefaultPatchFollowingAndFollowersPushNotification executes a basic gorm update call with patch behavior
func DefaultPatchSetFollowingAndFollowersPushNotification ¶
func DefaultPatchSetFollowingAndFollowersPushNotification(ctx context.Context, objects []*FollowingAndFollowersPushNotification, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*FollowingAndFollowersPushNotification, error)
DefaultPatchSetFollowingAndFollowersPushNotification executes a bulk gorm update call with patch behavior
func DefaultReadFollowingAndFollowersPushNotification ¶
func DefaultReadFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, db *gorm1.DB) (*FollowingAndFollowersPushNotification, error)
DefaultReadFollowingAndFollowersPushNotification executes a basic gorm read call
func DefaultStrictUpdateFollowingAndFollowersPushNotification ¶
func DefaultStrictUpdateFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, db *gorm1.DB) (*FollowingAndFollowersPushNotification, error)
DefaultStrictUpdateFollowingAndFollowersPushNotification clears first level 1:many children and then executes a gorm update call
func (*FollowingAndFollowersPushNotification) Descriptor
deprecated
func (*FollowingAndFollowersPushNotification) Descriptor() ([]byte, []int)
Deprecated: Use FollowingAndFollowersPushNotification.ProtoReflect.Descriptor instead.
func (*FollowingAndFollowersPushNotification) GetAcceptedFollowerRequests ¶
func (x *FollowingAndFollowersPushNotification) GetAcceptedFollowerRequests() *PushNotificationSetting
func (*FollowingAndFollowersPushNotification) GetCreatedAt ¶
func (x *FollowingAndFollowersPushNotification) GetCreatedAt() *timestamp.Timestamp
func (*FollowingAndFollowersPushNotification) GetDeletedAt ¶
func (x *FollowingAndFollowersPushNotification) GetDeletedAt() *timestamp.Timestamp
func (*FollowingAndFollowersPushNotification) GetFollowerRequests ¶
func (x *FollowingAndFollowersPushNotification) GetFollowerRequests() *PushNotificationSetting
func (*FollowingAndFollowersPushNotification) GetId ¶
func (x *FollowingAndFollowersPushNotification) GetId() int32
func (*FollowingAndFollowersPushNotification) GetMentionsInBio ¶
func (x *FollowingAndFollowersPushNotification) GetMentionsInBio() *TieredPushNotificationSetting
func (*FollowingAndFollowersPushNotification) GetUpdatedAt ¶
func (x *FollowingAndFollowersPushNotification) GetUpdatedAt() *timestamp.Timestamp
func (*FollowingAndFollowersPushNotification) ProtoMessage ¶
func (*FollowingAndFollowersPushNotification) ProtoMessage()
func (*FollowingAndFollowersPushNotification) ProtoReflect ¶
func (x *FollowingAndFollowersPushNotification) ProtoReflect() protoreflect.Message
func (*FollowingAndFollowersPushNotification) Reset ¶
func (x *FollowingAndFollowersPushNotification) Reset()
func (*FollowingAndFollowersPushNotification) String ¶
func (x *FollowingAndFollowersPushNotification) String() string
func (*FollowingAndFollowersPushNotification) ToORM ¶
func (m *FollowingAndFollowersPushNotification) ToORM(ctx context.Context) (FollowingAndFollowersPushNotificationORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*FollowingAndFollowersPushNotification) Validate ¶
func (this *FollowingAndFollowersPushNotification) Validate() error
type FollowingAndFollowersPushNotificationORM ¶
type FollowingAndFollowersPushNotificationORM struct { CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` NotificationId *int32 UpdatedAt *time.Time }
func (FollowingAndFollowersPushNotificationORM) TableName ¶
func (FollowingAndFollowersPushNotificationORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*FollowingAndFollowersPushNotificationORM) ToPB ¶
func (m *FollowingAndFollowersPushNotificationORM) ToPB(ctx context.Context) (FollowingAndFollowersPushNotification, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type FollowingAndFollowersPushNotificationWithAfterPatchSave ¶
type FollowingAndFollowersPushNotificationWithAfterPatchSave interface {
AfterPatchSave(context.Context, *FollowingAndFollowersPushNotification, *field_mask1.FieldMask, *gorm1.DB) error
}
type FollowingAndFollowersPushNotificationWithAfterToORM ¶
type FollowingAndFollowersPushNotificationWithAfterToORM interface {
AfterToORM(context.Context, *FollowingAndFollowersPushNotificationORM) error
}
FollowingAndFollowersPushNotificationAfterToORM called after default ToORM code
type FollowingAndFollowersPushNotificationWithAfterToPB ¶
type FollowingAndFollowersPushNotificationWithAfterToPB interface {
AfterToPB(context.Context, *FollowingAndFollowersPushNotification) error
}
FollowingAndFollowersPushNotificationAfterToPB called after default ToPB code
type FollowingAndFollowersPushNotificationWithBeforePatchApplyFieldMask ¶
type FollowingAndFollowersPushNotificationWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *FollowingAndFollowersPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type FollowingAndFollowersPushNotificationWithBeforePatchRead ¶
type FollowingAndFollowersPushNotificationWithBeforePatchRead interface {
BeforePatchRead(context.Context, *FollowingAndFollowersPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type FollowingAndFollowersPushNotificationWithBeforePatchSave ¶
type FollowingAndFollowersPushNotificationWithBeforePatchSave interface {
BeforePatchSave(context.Context, *FollowingAndFollowersPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type FollowingAndFollowersPushNotificationWithBeforeToORM ¶
type FollowingAndFollowersPushNotificationWithBeforeToORM interface {
BeforeToORM(context.Context, *FollowingAndFollowersPushNotificationORM) error
}
FollowingAndFollowersPushNotificationBeforeToORM called before default ToORM code
type FollowingAndFollowersPushNotificationWithBeforeToPB ¶
type FollowingAndFollowersPushNotificationWithBeforeToPB interface {
BeforeToPB(context.Context, *FollowingAndFollowersPushNotification) error
}
FollowingAndFollowersPushNotificationBeforeToPB called before default ToPB code
type GetUsersSearchRequest ¶
type GetUsersSearchRequest struct { QueryMessage string `protobuf:"bytes,1,opt,name=QueryMessage,proto3" json:"QueryMessage,omitempty"` // investor or startup MaxResults int32 `protobuf:"varint,2,opt,name=MaxResults,proto3" json:"MaxResults,omitempty"` UserType AccountType `protobuf:"varint,3,opt,name=userType,proto3,enum=AccountType" json:"userType,omitempty"` // contains filtered or unexported fields }
func (*GetUsersSearchRequest) Descriptor
deprecated
func (*GetUsersSearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersSearchRequest.ProtoReflect.Descriptor instead.
func (*GetUsersSearchRequest) GetMaxResults ¶
func (x *GetUsersSearchRequest) GetMaxResults() int32
func (*GetUsersSearchRequest) GetQueryMessage ¶
func (x *GetUsersSearchRequest) GetQueryMessage() string
func (*GetUsersSearchRequest) GetUserType ¶
func (x *GetUsersSearchRequest) GetUserType() AccountType
func (*GetUsersSearchRequest) ProtoMessage ¶
func (*GetUsersSearchRequest) ProtoMessage()
func (*GetUsersSearchRequest) ProtoReflect ¶
func (x *GetUsersSearchRequest) ProtoReflect() protoreflect.Message
func (*GetUsersSearchRequest) Reset ¶
func (x *GetUsersSearchRequest) Reset()
func (*GetUsersSearchRequest) String ¶
func (x *GetUsersSearchRequest) String() string
func (*GetUsersSearchRequest) Validate ¶
func (this *GetUsersSearchRequest) Validate() error
type Group ¶
type Group struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Bio string `protobuf:"bytes,7,opt,name=bio,proto3" json:"bio,omitempty"` Tags []string `protobuf:"bytes,8,rep,name=Tags,proto3" json:"Tags,omitempty"` NumberOfMembers int32 `protobuf:"varint,9,opt,name=number_of_members,json=numberOfMembers,proto3" json:"number_of_members,omitempty"` GroupMembers []*User `protobuf:"bytes,10,rep,name=group_members,json=groupMembers,proto3" json:"group_members,omitempty"` IsPublic bool `protobuf:"varint,11,opt,name=isPublic,proto3" json:"isPublic,omitempty"` Admin *User `protobuf:"bytes,12,opt,name=Admin,proto3" json:"Admin,omitempty"` AvatarUrl string `protobuf:"bytes,13,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // contains filtered or unexported fields }
Group entities withold a many to many relationship with the User entities
func DefaultApplyFieldMaskGroup ¶
func DefaultApplyFieldMaskGroup(ctx context.Context, patchee *Group, patcher *Group, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Group, error)
DefaultApplyFieldMaskGroup patches an pbObject with patcher according to a field mask.
func DefaultCreateGroup ¶
DefaultCreateGroup executes a basic gorm create call
func DefaultListGroup ¶
DefaultListGroup executes a gorm list call
func DefaultPatchGroup ¶
func DefaultPatchGroup(ctx context.Context, in *Group, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Group, error)
DefaultPatchGroup executes a basic gorm update call with patch behavior
func DefaultPatchSetGroup ¶
func DefaultPatchSetGroup(ctx context.Context, objects []*Group, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Group, error)
DefaultPatchSetGroup executes a bulk gorm update call with patch behavior
func DefaultReadGroup ¶
DefaultReadGroup executes a basic gorm read call
func DefaultStrictUpdateGroup ¶
DefaultStrictUpdateGroup clears first level 1:many children and then executes a gorm update call
func (*Group) Descriptor
deprecated
func (*Group) GetAvatarUrl ¶
func (*Group) GetCreatedAt ¶
func (*Group) GetDeletedAt ¶
func (*Group) GetGroupMembers ¶
func (*Group) GetIsPublic ¶
func (*Group) GetNumberOfMembers ¶
func (*Group) GetUpdatedAt ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type GroupORM ¶
type GroupORM struct { Admin *UserORM `gorm:"foreignkey:AdminGroupId;association_foreignkey:Id"` AvatarUrl string Bio string CreatedAt *time.Time DeletedAt *time.Time GroupMembers []*UserORM `gorm:"foreignkey:GroupMembersGroupId;association_foreignkey:Id"` Id int32 `gorm:"type:integer;primary_key"` IsPublic bool Name string NumberOfMembers int32 Tags pq1.StringArray `gorm:"type:text[]"` Type string UpdatedAt *time.Time }
func (GroupORM) MigrateSchemaOrCreateTable ¶
type GroupRequest ¶
type GroupRequest struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*GroupRequest) Descriptor
deprecated
func (*GroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupRequest.ProtoReflect.Descriptor instead.
func (*GroupRequest) GetGroup ¶
func (x *GroupRequest) GetGroup() *Group
func (*GroupRequest) ProtoMessage ¶
func (*GroupRequest) ProtoMessage()
func (*GroupRequest) ProtoReflect ¶
func (x *GroupRequest) ProtoReflect() protoreflect.Message
func (*GroupRequest) Reset ¶
func (x *GroupRequest) Reset()
func (*GroupRequest) String ¶
func (x *GroupRequest) String() string
func (*GroupRequest) Validate ¶
func (this *GroupRequest) Validate() error
type GroupResponse ¶
type GroupResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=Groups,proto3" json:"Groups,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GroupResponse) Descriptor
deprecated
func (*GroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupResponse.ProtoReflect.Descriptor instead.
func (*GroupResponse) GetError ¶
func (x *GroupResponse) GetError() string
func (*GroupResponse) GetGroups ¶
func (x *GroupResponse) GetGroups() []*Group
func (*GroupResponse) ProtoMessage ¶
func (*GroupResponse) ProtoMessage()
func (*GroupResponse) ProtoReflect ¶
func (x *GroupResponse) ProtoReflect() protoreflect.Message
func (*GroupResponse) Reset ¶
func (x *GroupResponse) Reset()
func (*GroupResponse) String ¶
func (x *GroupResponse) String() string
func (*GroupResponse) Validate ¶
func (this *GroupResponse) Validate() error
type GroupWithAfterPatchSave ¶
type GroupWithAfterToORM ¶
GroupAfterToORM called after default ToORM code
type GroupWithAfterToPB ¶
GroupAfterToPB called after default ToPB code
type GroupWithBeforeToORM ¶
GroupBeforeToORM called before default ToORM code
type GroupWithBeforeToPB ¶
GroupBeforeToPB called before default ToPB code
type Investment ¶
type Investment struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CompanyName string `protobuf:"bytes,2,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"` Industry string `protobuf:"bytes,3,opt,name=industry,proto3" json:"industry,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskInvestment ¶
func DefaultApplyFieldMaskInvestment(ctx context.Context, patchee *Investment, patcher *Investment, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Investment, error)
DefaultApplyFieldMaskInvestment patches an pbObject with patcher according to a field mask.
func DefaultCreateInvestment ¶
func DefaultCreateInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)
DefaultCreateInvestment executes a basic gorm create call
func DefaultListInvestment ¶
DefaultListInvestment executes a gorm list call
func DefaultPatchInvestment ¶
func DefaultPatchInvestment(ctx context.Context, in *Investment, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Investment, error)
DefaultPatchInvestment executes a basic gorm update call with patch behavior
func DefaultPatchSetInvestment ¶
func DefaultPatchSetInvestment(ctx context.Context, objects []*Investment, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Investment, error)
DefaultPatchSetInvestment executes a bulk gorm update call with patch behavior
func DefaultReadInvestment ¶
func DefaultReadInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)
DefaultReadInvestment executes a basic gorm read call
func DefaultStrictUpdateInvestment ¶
func DefaultStrictUpdateInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)
DefaultStrictUpdateInvestment clears first level 1:many children and then executes a gorm update call
func (*Investment) Descriptor
deprecated
func (*Investment) Descriptor() ([]byte, []int)
Deprecated: Use Investment.ProtoReflect.Descriptor instead.
func (*Investment) GetCompanyName ¶
func (x *Investment) GetCompanyName() string
func (*Investment) GetId ¶
func (x *Investment) GetId() int32
func (*Investment) GetIndustry ¶
func (x *Investment) GetIndustry() string
func (*Investment) ProtoMessage ¶
func (*Investment) ProtoMessage()
func (*Investment) ProtoReflect ¶
func (x *Investment) ProtoReflect() protoreflect.Message
func (*Investment) Reset ¶
func (x *Investment) Reset()
func (*Investment) String ¶
func (x *Investment) String() string
func (*Investment) ToORM ¶
func (m *Investment) ToORM(ctx context.Context) (InvestmentORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*Investment) Validate ¶
func (this *Investment) Validate() error
type InvestmentORM ¶
type InvestmentORM struct { CompanyName string Id int32 `gorm:"type:integer;primary_key"` Industry string InvestorDetailId *uint32 }
func (InvestmentORM) TableName ¶
func (InvestmentORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*InvestmentORM) ToPB ¶
func (m *InvestmentORM) ToPB(ctx context.Context) (Investment, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type InvestmentStage ¶
type InvestmentStage int32
const ( InvestmentStage_seed_capital InvestmentStage = 0 InvestmentStage_startup_capital InvestmentStage = 1 InvestmentStage_early_first_second_stage_capital InvestmentStage = 2 InvestmentStage_expansion_second_third_stage_capital InvestmentStage = 3 InvestmentStage_mezzanine_bridge_pre_public_stage_capital InvestmentStage = 4 )
func (InvestmentStage) Descriptor ¶
func (InvestmentStage) Descriptor() protoreflect.EnumDescriptor
func (InvestmentStage) Enum ¶
func (x InvestmentStage) Enum() *InvestmentStage
func (InvestmentStage) EnumDescriptor
deprecated
func (InvestmentStage) EnumDescriptor() ([]byte, []int)
Deprecated: Use InvestmentStage.Descriptor instead.
func (InvestmentStage) Number ¶
func (x InvestmentStage) Number() protoreflect.EnumNumber
func (InvestmentStage) String ¶
func (x InvestmentStage) String() string
func (InvestmentStage) Type ¶
func (InvestmentStage) Type() protoreflect.EnumType
type InvestmentWithAfterPatchSave ¶
type InvestmentWithAfterPatchSave interface {
AfterPatchSave(context.Context, *Investment, *field_mask1.FieldMask, *gorm1.DB) error
}
type InvestmentWithAfterToORM ¶
type InvestmentWithAfterToORM interface {
AfterToORM(context.Context, *InvestmentORM) error
}
InvestmentAfterToORM called after default ToORM code
type InvestmentWithAfterToPB ¶
type InvestmentWithAfterToPB interface {
AfterToPB(context.Context, *Investment) error
}
InvestmentAfterToPB called after default ToPB code
type InvestmentWithBeforePatchApplyFieldMask ¶
type InvestmentWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *Investment, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type InvestmentWithBeforePatchRead ¶
type InvestmentWithBeforePatchRead interface {
BeforePatchRead(context.Context, *Investment, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type InvestmentWithBeforePatchSave ¶
type InvestmentWithBeforePatchSave interface {
BeforePatchSave(context.Context, *Investment, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type InvestmentWithBeforeToORM ¶
type InvestmentWithBeforeToORM interface {
BeforeToORM(context.Context, *InvestmentORM) error
}
InvestmentBeforeToORM called before default ToORM code
type InvestmentWithBeforeToPB ¶
type InvestmentWithBeforeToPB interface {
BeforeToPB(context.Context, *Investment) error
}
InvestmentBeforeToPB called before default ToPB code
type InvestorDetail ¶
type InvestorDetail struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Id serves as a primary key and references the associated user id CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` InvestorType InvestorType `protobuf:"varint,5,opt,name=investor_type,json=investorType,proto3,enum=InvestorType" json:"investor_type,omitempty"` InvestmentStage InvestmentStage `` /* 128-byte string literal not displayed */ NumberOfExits int32 `protobuf:"varint,7,opt,name=number_of_exits,json=numberOfExits,proto3" json:"number_of_exits,omitempty"` NumberOfInvestments int32 `protobuf:"varint,8,opt,name=number_of_investments,json=numberOfInvestments,proto3" json:"number_of_investments,omitempty"` NumberOfFunds int32 `protobuf:"varint,9,opt,name=number_of_funds,json=numberOfFunds,proto3" json:"number_of_funds,omitempty"` InvestmentsId []*Investment `protobuf:"bytes,10,rep,name=investments_id,json=investmentsId,proto3" json:"investments_id,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskInvestorDetail ¶
func DefaultApplyFieldMaskInvestorDetail(ctx context.Context, patchee *InvestorDetail, patcher *InvestorDetail, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*InvestorDetail, error)
DefaultApplyFieldMaskInvestorDetail patches an pbObject with patcher according to a field mask.
func DefaultCreateInvestorDetail ¶
func DefaultCreateInvestorDetail(ctx context.Context, in *InvestorDetail, db *gorm1.DB) (*InvestorDetail, error)
DefaultCreateInvestorDetail executes a basic gorm create call
func DefaultListInvestorDetail ¶
DefaultListInvestorDetail executes a gorm list call
func DefaultPatchInvestorDetail ¶
func DefaultPatchInvestorDetail(ctx context.Context, in *InvestorDetail, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*InvestorDetail, error)
DefaultPatchInvestorDetail executes a basic gorm update call with patch behavior
func DefaultPatchSetInvestorDetail ¶
func DefaultPatchSetInvestorDetail(ctx context.Context, objects []*InvestorDetail, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*InvestorDetail, error)
DefaultPatchSetInvestorDetail executes a bulk gorm update call with patch behavior
func DefaultReadInvestorDetail ¶
func DefaultReadInvestorDetail(ctx context.Context, in *InvestorDetail, db *gorm1.DB) (*InvestorDetail, error)
DefaultReadInvestorDetail executes a basic gorm read call
func DefaultStrictUpdateInvestorDetail ¶
func DefaultStrictUpdateInvestorDetail(ctx context.Context, in *InvestorDetail, db *gorm1.DB) (*InvestorDetail, error)
DefaultStrictUpdateInvestorDetail clears first level 1:many children and then executes a gorm update call
func (*InvestorDetail) Descriptor
deprecated
func (*InvestorDetail) Descriptor() ([]byte, []int)
Deprecated: Use InvestorDetail.ProtoReflect.Descriptor instead.
func (*InvestorDetail) GetCreatedAt ¶
func (x *InvestorDetail) GetCreatedAt() *timestamp.Timestamp
func (*InvestorDetail) GetDeletedAt ¶
func (x *InvestorDetail) GetDeletedAt() *timestamp.Timestamp
func (*InvestorDetail) GetId ¶
func (x *InvestorDetail) GetId() uint32
func (*InvestorDetail) GetInvestmentStage ¶
func (x *InvestorDetail) GetInvestmentStage() InvestmentStage
func (*InvestorDetail) GetInvestmentsId ¶
func (x *InvestorDetail) GetInvestmentsId() []*Investment
func (*InvestorDetail) GetInvestorType ¶
func (x *InvestorDetail) GetInvestorType() InvestorType
func (*InvestorDetail) GetNumberOfExits ¶
func (x *InvestorDetail) GetNumberOfExits() int32
func (*InvestorDetail) GetNumberOfFunds ¶
func (x *InvestorDetail) GetNumberOfFunds() int32
func (*InvestorDetail) GetNumberOfInvestments ¶
func (x *InvestorDetail) GetNumberOfInvestments() int32
func (*InvestorDetail) GetUpdatedAt ¶
func (x *InvestorDetail) GetUpdatedAt() *timestamp.Timestamp
func (*InvestorDetail) ProtoMessage ¶
func (*InvestorDetail) ProtoMessage()
func (*InvestorDetail) ProtoReflect ¶
func (x *InvestorDetail) ProtoReflect() protoreflect.Message
func (*InvestorDetail) Reset ¶
func (x *InvestorDetail) Reset()
func (*InvestorDetail) String ¶
func (x *InvestorDetail) String() string
func (*InvestorDetail) ToORM ¶
func (m *InvestorDetail) ToORM(ctx context.Context) (InvestorDetailORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*InvestorDetail) Validate ¶
func (this *InvestorDetail) Validate() error
type InvestorDetailORM ¶
type InvestorDetailORM struct { CreatedAt *time.Time DeletedAt *time.Time Id uint32 `gorm:"type:integer;primary_key"` InvestmentStage int32 InvestmentsId []*InvestmentORM `gorm:"foreignkey:InvestorDetailId;association_foreignkey:Id"` InvestorType int32 NumberOfExits int32 NumberOfFunds int32 NumberOfInvestments int32 TeamProfileId *int32 UpdatedAt *time.Time }
func (InvestorDetailORM) TableName ¶
func (InvestorDetailORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*InvestorDetailORM) ToPB ¶
func (m *InvestorDetailORM) ToPB(ctx context.Context) (InvestorDetail, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type InvestorDetailWithAfterPatchSave ¶
type InvestorDetailWithAfterPatchSave interface {
AfterPatchSave(context.Context, *InvestorDetail, *field_mask1.FieldMask, *gorm1.DB) error
}
type InvestorDetailWithAfterToORM ¶
type InvestorDetailWithAfterToORM interface {
AfterToORM(context.Context, *InvestorDetailORM) error
}
InvestorDetailAfterToORM called after default ToORM code
type InvestorDetailWithAfterToPB ¶
type InvestorDetailWithAfterToPB interface {
AfterToPB(context.Context, *InvestorDetail) error
}
InvestorDetailAfterToPB called after default ToPB code
type InvestorDetailWithBeforePatchApplyFieldMask ¶
type InvestorDetailWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *InvestorDetail, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type InvestorDetailWithBeforePatchRead ¶
type InvestorDetailWithBeforePatchRead interface {
BeforePatchRead(context.Context, *InvestorDetail, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type InvestorDetailWithBeforePatchSave ¶
type InvestorDetailWithBeforePatchSave interface {
BeforePatchSave(context.Context, *InvestorDetail, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type InvestorDetailWithBeforeToORM ¶
type InvestorDetailWithBeforeToORM interface {
BeforeToORM(context.Context, *InvestorDetailORM) error
}
InvestorDetailBeforeToORM called before default ToORM code
type InvestorDetailWithBeforeToPB ¶
type InvestorDetailWithBeforeToPB interface {
BeforeToPB(context.Context, *InvestorDetail) error
}
InvestorDetailBeforeToPB called before default ToPB code
type InvestorType ¶
type InvestorType int32
const ( InvestorType_banks InvestorType = 0 InvestorType_angel_Investors InvestorType = 1 InvestorType_peer_to_peer_lenders InvestorType = 2 InvestorType_venture_capitalists InvestorType = 3 InvestorType_personal_investors InvestorType = 4 )
func (InvestorType) Descriptor ¶
func (InvestorType) Descriptor() protoreflect.EnumDescriptor
func (InvestorType) Enum ¶
func (x InvestorType) Enum() *InvestorType
func (InvestorType) EnumDescriptor
deprecated
func (InvestorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InvestorType.Descriptor instead.
func (InvestorType) Number ¶
func (x InvestorType) Number() protoreflect.EnumNumber
func (InvestorType) String ¶
func (x InvestorType) String() string
func (InvestorType) Type ¶
func (InvestorType) Type() protoreflect.EnumType
type LoginActivity ¶
type LoginActivity struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Location *Address `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskLoginActivity ¶
func DefaultApplyFieldMaskLoginActivity(ctx context.Context, patchee *LoginActivity, patcher *LoginActivity, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*LoginActivity, error)
DefaultApplyFieldMaskLoginActivity patches an pbObject with patcher according to a field mask.
func DefaultCreateLoginActivity ¶
func DefaultCreateLoginActivity(ctx context.Context, in *LoginActivity, db *gorm1.DB) (*LoginActivity, error)
DefaultCreateLoginActivity executes a basic gorm create call
func DefaultListLoginActivity ¶
DefaultListLoginActivity executes a gorm list call
func DefaultPatchLoginActivity ¶
func DefaultPatchLoginActivity(ctx context.Context, in *LoginActivity, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*LoginActivity, error)
DefaultPatchLoginActivity executes a basic gorm update call with patch behavior
func DefaultPatchSetLoginActivity ¶
func DefaultPatchSetLoginActivity(ctx context.Context, objects []*LoginActivity, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*LoginActivity, error)
DefaultPatchSetLoginActivity executes a bulk gorm update call with patch behavior
func DefaultReadLoginActivity ¶
func DefaultReadLoginActivity(ctx context.Context, in *LoginActivity, db *gorm1.DB) (*LoginActivity, error)
DefaultReadLoginActivity executes a basic gorm read call
func DefaultStrictUpdateLoginActivity ¶
func DefaultStrictUpdateLoginActivity(ctx context.Context, in *LoginActivity, db *gorm1.DB) (*LoginActivity, error)
DefaultStrictUpdateLoginActivity clears first level 1:many children and then executes a gorm update call
func (*LoginActivity) Descriptor
deprecated
func (*LoginActivity) Descriptor() ([]byte, []int)
Deprecated: Use LoginActivity.ProtoReflect.Descriptor instead.
func (*LoginActivity) GetDate ¶
func (x *LoginActivity) GetDate() string
func (*LoginActivity) GetId ¶
func (x *LoginActivity) GetId() int32
func (*LoginActivity) GetLocation ¶
func (x *LoginActivity) GetLocation() *Address
func (*LoginActivity) ProtoMessage ¶
func (*LoginActivity) ProtoMessage()
func (*LoginActivity) ProtoReflect ¶
func (x *LoginActivity) ProtoReflect() protoreflect.Message
func (*LoginActivity) Reset ¶
func (x *LoginActivity) Reset()
func (*LoginActivity) String ¶
func (x *LoginActivity) String() string
func (*LoginActivity) ToORM ¶
func (m *LoginActivity) ToORM(ctx context.Context) (LoginActivityORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*LoginActivity) Validate ¶
func (this *LoginActivity) Validate() error
type LoginActivityORM ¶
type LoginActivityORM struct { Date string Id int32 `gorm:"type:integer;primary_key"` Location *AddressORM `gorm:"foreignkey:LoginActivityId;association_foreignkey:Id"` }
func (LoginActivityORM) TableName ¶
func (LoginActivityORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*LoginActivityORM) ToPB ¶
func (m *LoginActivityORM) ToPB(ctx context.Context) (LoginActivity, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type LoginActivityWithAfterPatchSave ¶
type LoginActivityWithAfterPatchSave interface {
AfterPatchSave(context.Context, *LoginActivity, *field_mask1.FieldMask, *gorm1.DB) error
}
type LoginActivityWithAfterToORM ¶
type LoginActivityWithAfterToORM interface {
AfterToORM(context.Context, *LoginActivityORM) error
}
LoginActivityAfterToORM called after default ToORM code
type LoginActivityWithAfterToPB ¶
type LoginActivityWithAfterToPB interface {
AfterToPB(context.Context, *LoginActivity) error
}
LoginActivityAfterToPB called after default ToPB code
type LoginActivityWithBeforePatchApplyFieldMask ¶
type LoginActivityWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *LoginActivity, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type LoginActivityWithBeforePatchRead ¶
type LoginActivityWithBeforePatchRead interface {
BeforePatchRead(context.Context, *LoginActivity, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type LoginActivityWithBeforePatchSave ¶
type LoginActivityWithBeforePatchSave interface {
BeforePatchSave(context.Context, *LoginActivity, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type LoginActivityWithBeforeToORM ¶
type LoginActivityWithBeforeToORM interface {
BeforeToORM(context.Context, *LoginActivityORM) error
}
LoginActivityBeforeToORM called before default ToORM code
type LoginActivityWithBeforeToPB ¶
type LoginActivityWithBeforeToPB interface {
BeforeToPB(context.Context, *LoginActivity) error
}
LoginActivityBeforeToPB called before default ToPB code
type Media ¶
type Media struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DocumentLinks []string `protobuf:"bytes,2,rep,name=document_links,json=documentLinks,proto3" json:"document_links,omitempty"` PhotoLinks []string `protobuf:"bytes,3,rep,name=photo_links,json=photoLinks,proto3" json:"photo_links,omitempty"` VideoLinks []string `protobuf:"bytes,4,rep,name=video_links,json=videoLinks,proto3" json:"video_links,omitempty"` PresentationLinks []string `protobuf:"bytes,5,rep,name=presentation_links,json=presentationLinks,proto3" json:"presentation_links,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskMedia ¶
func DefaultApplyFieldMaskMedia(ctx context.Context, patchee *Media, patcher *Media, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Media, error)
DefaultApplyFieldMaskMedia patches an pbObject with patcher according to a field mask.
func DefaultCreateMedia ¶
DefaultCreateMedia executes a basic gorm create call
func DefaultListMedia ¶
DefaultListMedia executes a gorm list call
func DefaultPatchMedia ¶
func DefaultPatchMedia(ctx context.Context, in *Media, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Media, error)
DefaultPatchMedia executes a basic gorm update call with patch behavior
func DefaultPatchSetMedia ¶
func DefaultPatchSetMedia(ctx context.Context, objects []*Media, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Media, error)
DefaultPatchSetMedia executes a bulk gorm update call with patch behavior
func DefaultReadMedia ¶
DefaultReadMedia executes a basic gorm read call
func DefaultStrictUpdateMedia ¶
DefaultStrictUpdateMedia clears first level 1:many children and then executes a gorm update call
func (*Media) Descriptor
deprecated
func (*Media) GetCreatedAt ¶
func (*Media) GetDeletedAt ¶
func (*Media) GetDocumentLinks ¶
func (*Media) GetPhotoLinks ¶
func (*Media) GetPresentationLinks ¶
func (*Media) GetUpdatedAt ¶
func (*Media) GetVideoLinks ¶
func (*Media) ProtoMessage ¶
func (*Media) ProtoMessage()
func (*Media) ProtoReflect ¶
func (x *Media) ProtoReflect() protoreflect.Message
type MediaORM ¶
type MediaORM struct { CreatedAt *time.Time DeletedAt *time.Time DocumentLinks pq1.StringArray `gorm:"type:text[]"` EducationId *int32 ExperienceId *int32 Id int32 `gorm:"type:integer;primary_key"` PhotoLinks pq1.StringArray `gorm:"type:text[]"` PresentationLinks pq1.StringArray `gorm:"type:text[]"` TeamProfileId *int32 UpdatedAt *time.Time VideoLinks pq1.StringArray `gorm:"type:text[]"` }
type MediaWithAfterPatchSave ¶
type MediaWithAfterToORM ¶
MediaAfterToORM called after default ToORM code
type MediaWithAfterToPB ¶
MediaAfterToPB called after default ToPB code
type MediaWithBeforeToORM ¶
MediaBeforeToORM called before default ToORM code
type MediaWithBeforeToPB ¶
MediaBeforeToPB called before default ToPB code
type Notification ¶
type Notification struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` PauseAll bool `protobuf:"varint,5,opt,name=pause_all,json=pauseAll,proto3" json:"pause_all,omitempty"` PostAndCommentsId *PostAndCommentsPushNotification `protobuf:"bytes,6,opt,name=post_and_comments_id,json=postAndCommentsId,proto3" json:"post_and_comments_id,omitempty"` FollowingAndFollowersId *FollowingAndFollowersPushNotification `` /* 134-byte string literal not displayed */ DirectMessagesId *DirectMessagesPushNotification `protobuf:"bytes,8,opt,name=direct_messages_id,json=directMessagesId,proto3" json:"direct_messages_id,omitempty"` EmailAndSmsId *EmailAndSmsPushNotification `protobuf:"bytes,9,opt,name=email_and_sms_id,json=emailAndSmsId,proto3" json:"email_and_sms_id,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskNotification ¶
func DefaultApplyFieldMaskNotification(ctx context.Context, patchee *Notification, patcher *Notification, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Notification, error)
DefaultApplyFieldMaskNotification patches an pbObject with patcher according to a field mask.
func DefaultCreateNotification ¶
func DefaultCreateNotification(ctx context.Context, in *Notification, db *gorm1.DB) (*Notification, error)
DefaultCreateNotification executes a basic gorm create call
func DefaultListNotification ¶
DefaultListNotification executes a gorm list call
func DefaultPatchNotification ¶
func DefaultPatchNotification(ctx context.Context, in *Notification, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Notification, error)
DefaultPatchNotification executes a basic gorm update call with patch behavior
func DefaultPatchSetNotification ¶
func DefaultPatchSetNotification(ctx context.Context, objects []*Notification, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Notification, error)
DefaultPatchSetNotification executes a bulk gorm update call with patch behavior
func DefaultReadNotification ¶
func DefaultReadNotification(ctx context.Context, in *Notification, db *gorm1.DB) (*Notification, error)
DefaultReadNotification executes a basic gorm read call
func DefaultStrictUpdateNotification ¶
func DefaultStrictUpdateNotification(ctx context.Context, in *Notification, db *gorm1.DB) (*Notification, error)
DefaultStrictUpdateNotification clears first level 1:many children and then executes a gorm update call
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetCreatedAt ¶
func (x *Notification) GetCreatedAt() *timestamp.Timestamp
func (*Notification) GetDeletedAt ¶
func (x *Notification) GetDeletedAt() *timestamp.Timestamp
func (*Notification) GetDirectMessagesId ¶
func (x *Notification) GetDirectMessagesId() *DirectMessagesPushNotification
func (*Notification) GetEmailAndSmsId ¶
func (x *Notification) GetEmailAndSmsId() *EmailAndSmsPushNotification
func (*Notification) GetFollowingAndFollowersId ¶
func (x *Notification) GetFollowingAndFollowersId() *FollowingAndFollowersPushNotification
func (*Notification) GetId ¶
func (x *Notification) GetId() int32
func (*Notification) GetPauseAll ¶
func (x *Notification) GetPauseAll() bool
func (*Notification) GetPostAndCommentsId ¶
func (x *Notification) GetPostAndCommentsId() *PostAndCommentsPushNotification
func (*Notification) GetUpdatedAt ¶
func (x *Notification) GetUpdatedAt() *timestamp.Timestamp
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
func (*Notification) ToORM ¶
func (m *Notification) ToORM(ctx context.Context) (NotificationORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*Notification) Validate ¶
func (this *Notification) Validate() error
type NotificationORM ¶
type NotificationORM struct { CreatedAt *time.Time DeletedAt *time.Time DirectMessagesId *DirectMessagesPushNotificationORM `gorm:"foreignkey:NotificationId;association_foreignkey:Id"` EmailAndSmsId *EmailAndSmsPushNotificationORM `gorm:"foreignkey:NotificationId;association_foreignkey:Id"` FollowingAndFollowersId *FollowingAndFollowersPushNotificationORM `gorm:"foreignkey:NotificationId;association_foreignkey:Id"` Id int32 `gorm:"type:integer;primary_key"` PauseAll bool PostAndCommentsId *PostAndCommentsPushNotificationORM `gorm:"foreignkey:NotificationId;association_foreignkey:Id"` SettingsId *int32 UpdatedAt *time.Time }
func (NotificationORM) TableName ¶
func (NotificationORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*NotificationORM) ToPB ¶
func (m *NotificationORM) ToPB(ctx context.Context) (Notification, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type NotificationWithAfterPatchSave ¶
type NotificationWithAfterPatchSave interface {
AfterPatchSave(context.Context, *Notification, *field_mask1.FieldMask, *gorm1.DB) error
}
type NotificationWithAfterToORM ¶
type NotificationWithAfterToORM interface {
AfterToORM(context.Context, *NotificationORM) error
}
NotificationAfterToORM called after default ToORM code
type NotificationWithAfterToPB ¶
type NotificationWithAfterToPB interface {
AfterToPB(context.Context, *Notification) error
}
NotificationAfterToPB called after default ToPB code
type NotificationWithBeforePatchApplyFieldMask ¶
type NotificationWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *Notification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type NotificationWithBeforePatchRead ¶
type NotificationWithBeforePatchRead interface {
BeforePatchRead(context.Context, *Notification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type NotificationWithBeforePatchSave ¶
type NotificationWithBeforePatchSave interface {
BeforePatchSave(context.Context, *Notification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type NotificationWithBeforeToORM ¶
type NotificationWithBeforeToORM interface {
BeforeToORM(context.Context, *NotificationORM) error
}
NotificationBeforeToORM called before default ToORM code
type NotificationWithBeforeToPB ¶
type NotificationWithBeforeToPB interface {
BeforeToPB(context.Context, *Notification) error
}
NotificationBeforeToPB called before default ToPB code
type Payments ¶
type Payments struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` LastLogin *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` DebitCard *Card `protobuf:"bytes,6,opt,name=debit_card,json=debitCard,proto3" json:"debit_card,omitempty"` CreditCard *Card `protobuf:"bytes,7,opt,name=credit_card,json=creditCard,proto3" json:"credit_card,omitempty"` Pin *Pin `protobuf:"bytes,8,opt,name=pin,proto3" json:"pin,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskPayments ¶
func DefaultApplyFieldMaskPayments(ctx context.Context, patchee *Payments, patcher *Payments, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Payments, error)
DefaultApplyFieldMaskPayments patches an pbObject with patcher according to a field mask.
func DefaultCreatePayments ¶
DefaultCreatePayments executes a basic gorm create call
func DefaultListPayments ¶
DefaultListPayments executes a gorm list call
func DefaultPatchPayments ¶
func DefaultPatchPayments(ctx context.Context, in *Payments, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Payments, error)
DefaultPatchPayments executes a basic gorm update call with patch behavior
func DefaultPatchSetPayments ¶
func DefaultPatchSetPayments(ctx context.Context, objects []*Payments, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Payments, error)
DefaultPatchSetPayments executes a bulk gorm update call with patch behavior
func DefaultReadPayments ¶
DefaultReadPayments executes a basic gorm read call
func DefaultStrictUpdatePayments ¶
func DefaultStrictUpdatePayments(ctx context.Context, in *Payments, db *gorm1.DB) (*Payments, error)
DefaultStrictUpdatePayments clears first level 1:many children and then executes a gorm update call
func (*Payments) Descriptor
deprecated
func (*Payments) GetCreatedAt ¶
func (*Payments) GetCreditCard ¶
func (*Payments) GetDebitCard ¶
func (*Payments) GetDeletedAt ¶
func (*Payments) GetLastLogin ¶
func (*Payments) GetUpdatedAt ¶
func (*Payments) ProtoMessage ¶
func (*Payments) ProtoMessage()
func (*Payments) ProtoReflect ¶
func (x *Payments) ProtoReflect() protoreflect.Message
type PaymentsORM ¶
type PaymentsORM struct { CreatedAt *time.Time CreditCard *CardORM `gorm:"foreignkey:CreditCardPaymentsId;association_foreignkey:Id"` DebitCard *CardORM `gorm:"foreignkey:DebitCardPaymentsId;association_foreignkey:Id"` DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` LastLogin *time.Time Pin *PinORM `gorm:"foreignkey:PaymentsId;association_foreignkey:Id"` SettingsId *int32 UpdatedAt *time.Time }
func (PaymentsORM) TableName ¶
func (PaymentsORM) TableName() string
TableName overrides the default tablename generated by GORM
type PaymentsWithAfterToORM ¶
type PaymentsWithAfterToORM interface {
AfterToORM(context.Context, *PaymentsORM) error
}
PaymentsAfterToORM called after default ToORM code
type PaymentsWithAfterToPB ¶
PaymentsAfterToPB called after default ToPB code
type PaymentsWithBeforeToORM ¶
type PaymentsWithBeforeToORM interface {
BeforeToORM(context.Context, *PaymentsORM) error
}
PaymentsBeforeToORM called before default ToORM code
type PaymentsWithBeforeToPB ¶
PaymentsBeforeToPB called before default ToPB code
type Pin ¶
type Pin struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` LastLogin *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` PinEnabled bool `protobuf:"varint,6,opt,name=pin_enabled,json=pinEnabled,proto3" json:"pin_enabled,omitempty"` Pin string `protobuf:"bytes,7,opt,name=pin,proto3" json:"pin,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskPin ¶
func DefaultApplyFieldMaskPin(ctx context.Context, patchee *Pin, patcher *Pin, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Pin, error)
DefaultApplyFieldMaskPin patches an pbObject with patcher according to a field mask.
func DefaultCreatePin ¶
DefaultCreatePin executes a basic gorm create call
func DefaultListPin ¶
DefaultListPin executes a gorm list call
func DefaultPatchPin ¶
func DefaultPatchPin(ctx context.Context, in *Pin, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Pin, error)
DefaultPatchPin executes a basic gorm update call with patch behavior
func DefaultPatchSetPin ¶
func DefaultPatchSetPin(ctx context.Context, objects []*Pin, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Pin, error)
DefaultPatchSetPin executes a bulk gorm update call with patch behavior
func DefaultReadPin ¶
DefaultReadPin executes a basic gorm read call
func DefaultStrictUpdatePin ¶
DefaultStrictUpdatePin clears first level 1:many children and then executes a gorm update call
func (*Pin) Descriptor
deprecated
func (*Pin) GetCreatedAt ¶
func (*Pin) GetDeletedAt ¶
func (*Pin) GetLastLogin ¶
func (*Pin) GetPinEnabled ¶
func (*Pin) GetUpdatedAt ¶
func (*Pin) ProtoMessage ¶
func (*Pin) ProtoMessage()
func (*Pin) ProtoReflect ¶
func (x *Pin) ProtoReflect() protoreflect.Message
type PinORM ¶
type PinORM struct { CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` LastLogin *time.Time PaymentsId *int32 Pin string PinEnabled bool UpdatedAt *time.Time }
type PinORMWithAfterCreate_ ¶
type PinORMWithAfterDelete_ ¶
type PinORMWithAfterListFind ¶
type PinORMWithAfterReadFind ¶
type PinORMWithBeforeCreate_ ¶
type PinORMWithBeforeDelete_ ¶
type PinWithAfterPatchSave ¶
type PinWithAfterToORM ¶
PinAfterToORM called after default ToORM code
type PinWithAfterToPB ¶
PinAfterToPB called after default ToPB code
type PinWithBeforePatchRead ¶
type PinWithBeforePatchSave ¶
type PinWithBeforeToORM ¶
PinBeforeToORM called before default ToORM code
type PinWithBeforeToPB ¶
PinBeforeToPB called before default ToPB code
type PostAndCommentsPushNotification ¶
type PostAndCommentsPushNotification struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` Likes *TieredPushNotificationSetting `protobuf:"bytes,5,opt,name=likes,proto3" json:"likes,omitempty"` // yoan liked your photo LikesAndCommentsOnPostsOfYou *TieredPushNotificationSetting `` // yoan commented on a post you're tagged in /* 155-byte string literal not displayed */ PostsOfYou *TieredPushNotificationSetting `protobuf:"bytes,7,opt,name=posts_of_you,json=postsOfYou,proto3" json:"posts_of_you,omitempty"` // yoan tagged you in a photo Comments *TieredPushNotificationSetting `protobuf:"bytes,8,opt,name=comments,proto3" json:"comments,omitempty"` // yoan commented nice pic CommentLikes *TieredPushNotificationSetting `protobuf:"bytes,9,opt,name=comment_likes,json=commentLikes,proto3" json:"comment_likes,omitempty"` // yoan liked your comment "nice shot" // contains filtered or unexported fields }
func DefaultApplyFieldMaskPostAndCommentsPushNotification ¶
func DefaultApplyFieldMaskPostAndCommentsPushNotification(ctx context.Context, patchee *PostAndCommentsPushNotification, patcher *PostAndCommentsPushNotification, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*PostAndCommentsPushNotification, error)
DefaultApplyFieldMaskPostAndCommentsPushNotification patches an pbObject with patcher according to a field mask.
func DefaultCreatePostAndCommentsPushNotification ¶
func DefaultCreatePostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, db *gorm1.DB) (*PostAndCommentsPushNotification, error)
DefaultCreatePostAndCommentsPushNotification executes a basic gorm create call
func DefaultListPostAndCommentsPushNotification ¶
func DefaultListPostAndCommentsPushNotification(ctx context.Context, db *gorm1.DB) ([]*PostAndCommentsPushNotification, error)
DefaultListPostAndCommentsPushNotification executes a gorm list call
func DefaultPatchPostAndCommentsPushNotification ¶
func DefaultPatchPostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*PostAndCommentsPushNotification, error)
DefaultPatchPostAndCommentsPushNotification executes a basic gorm update call with patch behavior
func DefaultPatchSetPostAndCommentsPushNotification ¶
func DefaultPatchSetPostAndCommentsPushNotification(ctx context.Context, objects []*PostAndCommentsPushNotification, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*PostAndCommentsPushNotification, error)
DefaultPatchSetPostAndCommentsPushNotification executes a bulk gorm update call with patch behavior
func DefaultReadPostAndCommentsPushNotification ¶
func DefaultReadPostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, db *gorm1.DB) (*PostAndCommentsPushNotification, error)
DefaultReadPostAndCommentsPushNotification executes a basic gorm read call
func DefaultStrictUpdatePostAndCommentsPushNotification ¶
func DefaultStrictUpdatePostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, db *gorm1.DB) (*PostAndCommentsPushNotification, error)
DefaultStrictUpdatePostAndCommentsPushNotification clears first level 1:many children and then executes a gorm update call
func (*PostAndCommentsPushNotification) Descriptor
deprecated
func (*PostAndCommentsPushNotification) Descriptor() ([]byte, []int)
Deprecated: Use PostAndCommentsPushNotification.ProtoReflect.Descriptor instead.
func (*PostAndCommentsPushNotification) GetCommentLikes ¶
func (x *PostAndCommentsPushNotification) GetCommentLikes() *TieredPushNotificationSetting
func (*PostAndCommentsPushNotification) GetComments ¶
func (x *PostAndCommentsPushNotification) GetComments() *TieredPushNotificationSetting
func (*PostAndCommentsPushNotification) GetCreatedAt ¶
func (x *PostAndCommentsPushNotification) GetCreatedAt() *timestamp.Timestamp
func (*PostAndCommentsPushNotification) GetDeletedAt ¶
func (x *PostAndCommentsPushNotification) GetDeletedAt() *timestamp.Timestamp
func (*PostAndCommentsPushNotification) GetId ¶
func (x *PostAndCommentsPushNotification) GetId() int32
func (*PostAndCommentsPushNotification) GetLikes ¶
func (x *PostAndCommentsPushNotification) GetLikes() *TieredPushNotificationSetting
func (*PostAndCommentsPushNotification) GetLikesAndCommentsOnPostsOfYou ¶
func (x *PostAndCommentsPushNotification) GetLikesAndCommentsOnPostsOfYou() *TieredPushNotificationSetting
func (*PostAndCommentsPushNotification) GetPostsOfYou ¶
func (x *PostAndCommentsPushNotification) GetPostsOfYou() *TieredPushNotificationSetting
func (*PostAndCommentsPushNotification) GetUpdatedAt ¶
func (x *PostAndCommentsPushNotification) GetUpdatedAt() *timestamp.Timestamp
func (*PostAndCommentsPushNotification) ProtoMessage ¶
func (*PostAndCommentsPushNotification) ProtoMessage()
func (*PostAndCommentsPushNotification) ProtoReflect ¶
func (x *PostAndCommentsPushNotification) ProtoReflect() protoreflect.Message
func (*PostAndCommentsPushNotification) Reset ¶
func (x *PostAndCommentsPushNotification) Reset()
func (*PostAndCommentsPushNotification) String ¶
func (x *PostAndCommentsPushNotification) String() string
func (*PostAndCommentsPushNotification) ToORM ¶
func (m *PostAndCommentsPushNotification) ToORM(ctx context.Context) (PostAndCommentsPushNotificationORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*PostAndCommentsPushNotification) Validate ¶
func (this *PostAndCommentsPushNotification) Validate() error
type PostAndCommentsPushNotificationORM ¶
type PostAndCommentsPushNotificationORM struct { CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` NotificationId *int32 UpdatedAt *time.Time }
func (PostAndCommentsPushNotificationORM) TableName ¶
func (PostAndCommentsPushNotificationORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*PostAndCommentsPushNotificationORM) ToPB ¶
func (m *PostAndCommentsPushNotificationORM) ToPB(ctx context.Context) (PostAndCommentsPushNotification, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type PostAndCommentsPushNotificationWithAfterPatchSave ¶
type PostAndCommentsPushNotificationWithAfterPatchSave interface {
AfterPatchSave(context.Context, *PostAndCommentsPushNotification, *field_mask1.FieldMask, *gorm1.DB) error
}
type PostAndCommentsPushNotificationWithAfterToORM ¶
type PostAndCommentsPushNotificationWithAfterToORM interface {
AfterToORM(context.Context, *PostAndCommentsPushNotificationORM) error
}
PostAndCommentsPushNotificationAfterToORM called after default ToORM code
type PostAndCommentsPushNotificationWithAfterToPB ¶
type PostAndCommentsPushNotificationWithAfterToPB interface {
AfterToPB(context.Context, *PostAndCommentsPushNotification) error
}
PostAndCommentsPushNotificationAfterToPB called after default ToPB code
type PostAndCommentsPushNotificationWithBeforePatchApplyFieldMask ¶
type PostAndCommentsPushNotificationWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *PostAndCommentsPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PostAndCommentsPushNotificationWithBeforePatchRead ¶
type PostAndCommentsPushNotificationWithBeforePatchRead interface {
BeforePatchRead(context.Context, *PostAndCommentsPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PostAndCommentsPushNotificationWithBeforePatchSave ¶
type PostAndCommentsPushNotificationWithBeforePatchSave interface {
BeforePatchSave(context.Context, *PostAndCommentsPushNotification, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type PostAndCommentsPushNotificationWithBeforeToORM ¶
type PostAndCommentsPushNotificationWithBeforeToORM interface {
BeforeToORM(context.Context, *PostAndCommentsPushNotificationORM) error
}
PostAndCommentsPushNotificationBeforeToORM called before default ToORM code
type PostAndCommentsPushNotificationWithBeforeToPB ¶
type PostAndCommentsPushNotificationWithBeforeToPB interface {
BeforeToPB(context.Context, *PostAndCommentsPushNotification) error
}
PostAndCommentsPushNotificationBeforeToPB called before default ToPB code
type Privacy ¶
type Privacy struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` ActivityStatus bool `protobuf:"varint,5,opt,name=activity_status,json=activityStatus,proto3" json:"activity_status,omitempty"` PrivateAccount bool `protobuf:"varint,6,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"` BlockedAccountsId []*Profile `protobuf:"bytes,7,rep,name=blocked_accounts_id,json=blockedAccountsId,proto3" json:"blocked_accounts_id,omitempty"` MutedAccountsId []*Profile `protobuf:"bytes,8,rep,name=muted_accounts_id,json=mutedAccountsId,proto3" json:"muted_accounts_id,omitempty"` BlockedTeamAccountsId []*TeamProfile `` /* 128-byte string literal not displayed */ MutedTeamAccountsId []*TeamProfile `protobuf:"bytes,10,rep,name=muted_team_accounts_id,json=mutedTeamAccountsId,proto3" json:"muted_team_accounts_id,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskPrivacy ¶
func DefaultApplyFieldMaskPrivacy(ctx context.Context, patchee *Privacy, patcher *Privacy, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Privacy, error)
DefaultApplyFieldMaskPrivacy patches an pbObject with patcher according to a field mask.
func DefaultCreatePrivacy ¶
DefaultCreatePrivacy executes a basic gorm create call
func DefaultListPrivacy ¶
DefaultListPrivacy executes a gorm list call
func DefaultPatchPrivacy ¶
func DefaultPatchPrivacy(ctx context.Context, in *Privacy, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Privacy, error)
DefaultPatchPrivacy executes a basic gorm update call with patch behavior
func DefaultPatchSetPrivacy ¶
func DefaultPatchSetPrivacy(ctx context.Context, objects []*Privacy, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Privacy, error)
DefaultPatchSetPrivacy executes a bulk gorm update call with patch behavior
func DefaultReadPrivacy ¶
DefaultReadPrivacy executes a basic gorm read call
func DefaultStrictUpdatePrivacy ¶
DefaultStrictUpdatePrivacy clears first level 1:many children and then executes a gorm update call
func (*Privacy) Descriptor
deprecated
func (*Privacy) GetActivityStatus ¶
func (*Privacy) GetBlockedAccountsId ¶
func (*Privacy) GetBlockedTeamAccountsId ¶
func (x *Privacy) GetBlockedTeamAccountsId() []*TeamProfile
func (*Privacy) GetCreatedAt ¶
func (*Privacy) GetDeletedAt ¶
func (*Privacy) GetMutedAccountsId ¶
func (*Privacy) GetMutedTeamAccountsId ¶
func (x *Privacy) GetMutedTeamAccountsId() []*TeamProfile
func (*Privacy) GetPrivateAccount ¶
func (*Privacy) GetUpdatedAt ¶
func (*Privacy) ProtoMessage ¶
func (*Privacy) ProtoMessage()
func (*Privacy) ProtoReflect ¶
func (x *Privacy) ProtoReflect() protoreflect.Message
type PrivacyORM ¶
type PrivacyORM struct { ActivityStatus bool BlockedAccountsId []*ProfileORM `gorm:"foreignkey:BlockedAccountsIdPrivacyId;association_foreignkey:Id"` BlockedTeamAccountsId []*TeamProfileORM `gorm:"foreignkey:BlockedTeamAccountsIdPrivacyId;association_foreignkey:Id"` CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` MutedAccountsId []*ProfileORM `gorm:"foreignkey:MutedAccountsIdPrivacyId;association_foreignkey:Id"` MutedTeamAccountsId []*TeamProfileORM `gorm:"foreignkey:MutedTeamAccountsIdPrivacyId;association_foreignkey:Id"` PrivateAccount bool SettingsId *int32 UpdatedAt *time.Time }
func (PrivacyORM) TableName ¶
func (PrivacyORM) TableName() string
TableName overrides the default tablename generated by GORM
type PrivacyWithAfterToORM ¶
type PrivacyWithAfterToORM interface {
AfterToORM(context.Context, *PrivacyORM) error
}
PrivacyAfterToORM called after default ToORM code
type PrivacyWithAfterToPB ¶
PrivacyAfterToPB called after default ToPB code
type PrivacyWithBeforeToORM ¶
type PrivacyWithBeforeToORM interface {
BeforeToORM(context.Context, *PrivacyORM) error
}
PrivacyBeforeToORM called before default ToORM code
type PrivacyWithBeforeToPB ¶
PrivacyBeforeToPB called before default ToPB code
type Profile ¶
type Profile struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Bio string `protobuf:"bytes,5,opt,name=bio,proto3" json:"bio,omitempty"` ExperienceId []*Experience `protobuf:"bytes,6,rep,name=experience_id,json=experienceId,proto3" json:"experience_id,omitempty"` AddressId *Address `protobuf:"bytes,7,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"` EducationId []*Education `protobuf:"bytes,8,rep,name=education_id,json=educationId,proto3" json:"education_id,omitempty"` Skills []string `protobuf:"bytes,9,rep,name=skills,proto3" json:"skills,omitempty"` TeamId *Team `protobuf:"bytes,10,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` GroupId []*Group `protobuf:"bytes,11,rep,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` SocialMedia *SocialMedia `protobuf:"bytes,12,opt,name=social_media,json=socialMedia,proto3" json:"social_media,omitempty"` SettingsId *Settings `protobuf:"bytes,13,opt,name=settings_id,json=settingsId,proto3" json:"settings_id,omitempty"` ProfileType string `protobuf:"bytes,14,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"` Nationality string `protobuf:"bytes,15,opt,name=nationality,proto3" json:"nationality,omitempty"` AvatarUrl string `protobuf:"bytes,16,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // contains filtered or unexported fields }
Based on user
func DefaultApplyFieldMaskProfile ¶
func DefaultApplyFieldMaskProfile(ctx context.Context, patchee *Profile, patcher *Profile, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Profile, error)
DefaultApplyFieldMaskProfile patches an pbObject with patcher according to a field mask.
func DefaultCreateProfile ¶
DefaultCreateProfile executes a basic gorm create call
func DefaultListProfile ¶
DefaultListProfile executes a gorm list call
func DefaultPatchProfile ¶
func DefaultPatchProfile(ctx context.Context, in *Profile, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Profile, error)
DefaultPatchProfile executes a basic gorm update call with patch behavior
func DefaultPatchSetProfile ¶
func DefaultPatchSetProfile(ctx context.Context, objects []*Profile, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Profile, error)
DefaultPatchSetProfile executes a bulk gorm update call with patch behavior
func DefaultReadProfile ¶
DefaultReadProfile executes a basic gorm read call
func DefaultStrictUpdateProfile ¶
DefaultStrictUpdateProfile clears first level 1:many children and then executes a gorm update call
func (*Profile) Descriptor
deprecated
func (*Profile) GetAddressId ¶
func (*Profile) GetAvatarUrl ¶
func (*Profile) GetCreatedAt ¶
func (*Profile) GetDeletedAt ¶
func (*Profile) GetEducationId ¶
func (*Profile) GetExperienceId ¶
func (x *Profile) GetExperienceId() []*Experience
func (*Profile) GetGroupId ¶
func (*Profile) GetNationality ¶
func (*Profile) GetProfileType ¶
func (*Profile) GetSettingsId ¶
func (*Profile) GetSocialMedia ¶
func (x *Profile) GetSocialMedia() *SocialMedia
func (*Profile) GetUpdatedAt ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type ProfileORM ¶
type ProfileORM struct { AddressId *AddressORM `gorm:"foreignkey:AddressId;association_foreignkey:Id"` AvatarUrl string Bio string BlockedAccountsIdPrivacyId *int32 CreatedAt *time.Time DeletedAt *time.Time EducationId []*EducationORM `gorm:"foreignkey:ProfileId;association_foreignkey:Id"` ExperienceId []*ExperienceORM `` /* 155-byte string literal not displayed */ GroupId []*GroupORM `` /* 145-byte string literal not displayed */ Id int32 `gorm:"type:integer;primary_key"` MutedAccountsIdPrivacyId *int32 Nationality string ProfileType string SettingsId *SettingsORM `gorm:"foreignkey:SettingsId;association_foreignkey:Id"` Skills pq1.StringArray `gorm:"type:text[]"` SocialMedia *SocialMediaORM `gorm:"foreignkey:SocialMediaId;association_foreignkey:Id"` SocialMediaId *int32 TeamId *TeamORM `gorm:"foreignkey:TeamId;association_foreignkey:Id"` UpdatedAt *time.Time }
func (ProfileORM) TableName ¶
func (ProfileORM) TableName() string
TableName overrides the default tablename generated by GORM
type ProfileWithAfterToORM ¶
type ProfileWithAfterToORM interface {
AfterToORM(context.Context, *ProfileORM) error
}
ProfileAfterToORM called after default ToORM code
type ProfileWithAfterToPB ¶
ProfileAfterToPB called after default ToPB code
type ProfileWithBeforeToORM ¶
type ProfileWithBeforeToORM interface {
BeforeToORM(context.Context, *ProfileORM) error
}
ProfileBeforeToORM called before default ToORM code
type ProfileWithBeforeToPB ¶
ProfileBeforeToPB called before default ToPB code
type PushNotificationSetting ¶
type PushNotificationSetting struct { Off bool `protobuf:"varint,1,opt,name=Off,proto3" json:"Off,omitempty"` On bool `protobuf:"varint,2,opt,name=On,proto3" json:"On,omitempty"` // contains filtered or unexported fields }
func (*PushNotificationSetting) Descriptor
deprecated
func (*PushNotificationSetting) Descriptor() ([]byte, []int)
Deprecated: Use PushNotificationSetting.ProtoReflect.Descriptor instead.
func (*PushNotificationSetting) GetOff ¶
func (x *PushNotificationSetting) GetOff() bool
func (*PushNotificationSetting) GetOn ¶
func (x *PushNotificationSetting) GetOn() bool
func (*PushNotificationSetting) ProtoMessage ¶
func (*PushNotificationSetting) ProtoMessage()
func (*PushNotificationSetting) ProtoReflect ¶
func (x *PushNotificationSetting) ProtoReflect() protoreflect.Message
func (*PushNotificationSetting) Reset ¶
func (x *PushNotificationSetting) Reset()
func (*PushNotificationSetting) String ¶
func (x *PushNotificationSetting) String() string
func (*PushNotificationSetting) Validate ¶
func (this *PushNotificationSetting) Validate() error
type Settings ¶
type Settings struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` LastLogin *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` LastLoginLocation string `protobuf:"bytes,6,opt,name=last_login_location,json=lastLoginLocation,proto3" json:"last_login_location,omitempty"` NotificationId *Notification `protobuf:"bytes,7,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` PrivacyId *Privacy `protobuf:"bytes,8,opt,name=privacy_id,json=privacyId,proto3" json:"privacy_id,omitempty"` PaymentId *Payments `protobuf:"bytes,9,opt,name=payment_id,json=paymentId,proto3" json:"payment_id,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskSettings ¶
func DefaultApplyFieldMaskSettings(ctx context.Context, patchee *Settings, patcher *Settings, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Settings, error)
DefaultApplyFieldMaskSettings patches an pbObject with patcher according to a field mask.
func DefaultCreateSettings ¶
DefaultCreateSettings executes a basic gorm create call
func DefaultListSettings ¶
DefaultListSettings executes a gorm list call
func DefaultPatchSetSettings ¶
func DefaultPatchSetSettings(ctx context.Context, objects []*Settings, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Settings, error)
DefaultPatchSetSettings executes a bulk gorm update call with patch behavior
func DefaultPatchSettings ¶
func DefaultPatchSettings(ctx context.Context, in *Settings, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Settings, error)
DefaultPatchSettings executes a basic gorm update call with patch behavior
func DefaultReadSettings ¶
DefaultReadSettings executes a basic gorm read call
func DefaultStrictUpdateSettings ¶
func DefaultStrictUpdateSettings(ctx context.Context, in *Settings, db *gorm1.DB) (*Settings, error)
DefaultStrictUpdateSettings clears first level 1:many children and then executes a gorm update call
func (*Settings) Descriptor
deprecated
func (*Settings) GetCreatedAt ¶
func (*Settings) GetDeletedAt ¶
func (*Settings) GetLastLogin ¶
func (*Settings) GetLastLoginLocation ¶
func (*Settings) GetNotificationId ¶
func (x *Settings) GetNotificationId() *Notification
func (*Settings) GetPaymentId ¶
func (*Settings) GetPrivacyId ¶
func (*Settings) GetUpdatedAt ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
type SettingsORM ¶
type SettingsORM struct { CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` LastLogin *time.Time LastLoginLocation string NotificationId *NotificationORM `gorm:"foreignkey:SettingsId;association_foreignkey:Id"` PaymentId *PaymentsORM `gorm:"foreignkey:SettingsId;association_foreignkey:Id"` PrivacyId *PrivacyORM `gorm:"foreignkey:SettingsId;association_foreignkey:Id"` TeamProfileId *int32 UpdatedAt *time.Time }
func (SettingsORM) TableName ¶
func (SettingsORM) TableName() string
TableName overrides the default tablename generated by GORM
type SettingsWithAfterToORM ¶
type SettingsWithAfterToORM interface {
AfterToORM(context.Context, *SettingsORM) error
}
SettingsAfterToORM called after default ToORM code
type SettingsWithAfterToPB ¶
SettingsAfterToPB called after default ToPB code
type SettingsWithBeforeToORM ¶
type SettingsWithBeforeToORM interface {
BeforeToORM(context.Context, *SettingsORM) error
}
SettingsBeforeToORM called before default ToORM code
type SettingsWithBeforeToPB ¶
SettingsBeforeToPB called before default ToPB code
type SocialMedia ¶
type SocialMedia struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` GithubUrl uint32 `protobuf:"varint,2,opt,name=github_url,json=githubUrl,proto3" json:"github_url,omitempty"` WebsiteUrl string `protobuf:"bytes,3,opt,name=website_url,json=websiteUrl,proto3" json:"website_url,omitempty"` FacebookUrl string `protobuf:"bytes,4,opt,name=facebook_url,json=facebookUrl,proto3" json:"facebook_url,omitempty"` TwitterUrl string `protobuf:"bytes,5,opt,name=twitter_url,json=twitterUrl,proto3" json:"twitter_url,omitempty"` LinkedUrl string `protobuf:"bytes,6,opt,name=linked_url,json=linkedUrl,proto3" json:"linked_url,omitempty"` YoutubeUrl string `protobuf:"bytes,7,opt,name=youtube_url,json=youtubeUrl,proto3" json:"youtube_url,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskSocialMedia ¶
func DefaultApplyFieldMaskSocialMedia(ctx context.Context, patchee *SocialMedia, patcher *SocialMedia, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*SocialMedia, error)
DefaultApplyFieldMaskSocialMedia patches an pbObject with patcher according to a field mask.
func DefaultCreateSocialMedia ¶
func DefaultCreateSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)
DefaultCreateSocialMedia executes a basic gorm create call
func DefaultListSocialMedia ¶
DefaultListSocialMedia executes a gorm list call
func DefaultPatchSetSocialMedia ¶
func DefaultPatchSetSocialMedia(ctx context.Context, objects []*SocialMedia, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*SocialMedia, error)
DefaultPatchSetSocialMedia executes a bulk gorm update call with patch behavior
func DefaultPatchSocialMedia ¶
func DefaultPatchSocialMedia(ctx context.Context, in *SocialMedia, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*SocialMedia, error)
DefaultPatchSocialMedia executes a basic gorm update call with patch behavior
func DefaultReadSocialMedia ¶
func DefaultReadSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)
DefaultReadSocialMedia executes a basic gorm read call
func DefaultStrictUpdateSocialMedia ¶
func DefaultStrictUpdateSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)
DefaultStrictUpdateSocialMedia clears first level 1:many children and then executes a gorm update call
func (*SocialMedia) Descriptor
deprecated
func (*SocialMedia) Descriptor() ([]byte, []int)
Deprecated: Use SocialMedia.ProtoReflect.Descriptor instead.
func (*SocialMedia) GetCreatedAt ¶
func (x *SocialMedia) GetCreatedAt() *timestamp.Timestamp
func (*SocialMedia) GetDeletedAt ¶
func (x *SocialMedia) GetDeletedAt() *timestamp.Timestamp
func (*SocialMedia) GetFacebookUrl ¶
func (x *SocialMedia) GetFacebookUrl() string
func (*SocialMedia) GetGithubUrl ¶
func (x *SocialMedia) GetGithubUrl() uint32
func (*SocialMedia) GetId ¶
func (x *SocialMedia) GetId() int32
func (*SocialMedia) GetLinkedUrl ¶
func (x *SocialMedia) GetLinkedUrl() string
func (*SocialMedia) GetTwitterUrl ¶
func (x *SocialMedia) GetTwitterUrl() string
func (*SocialMedia) GetUpdatedAt ¶
func (x *SocialMedia) GetUpdatedAt() *timestamp.Timestamp
func (*SocialMedia) GetWebsiteUrl ¶
func (x *SocialMedia) GetWebsiteUrl() string
func (*SocialMedia) GetYoutubeUrl ¶
func (x *SocialMedia) GetYoutubeUrl() string
func (*SocialMedia) ProtoMessage ¶
func (*SocialMedia) ProtoMessage()
func (*SocialMedia) ProtoReflect ¶
func (x *SocialMedia) ProtoReflect() protoreflect.Message
func (*SocialMedia) Reset ¶
func (x *SocialMedia) Reset()
func (*SocialMedia) String ¶
func (x *SocialMedia) String() string
func (*SocialMedia) ToORM ¶
func (m *SocialMedia) ToORM(ctx context.Context) (SocialMediaORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*SocialMedia) Validate ¶
func (this *SocialMedia) Validate() error
type SocialMediaORM ¶
type SocialMediaORM struct { CreatedAt *time.Time DeletedAt *time.Time FacebookUrl string GithubUrl uint32 Id int32 `gorm:"type:integer;primary_key"` LinkedUrl string TeamId *int32 TwitterUrl string UpdatedAt *time.Time WebsiteUrl string YoutubeUrl string }
func (SocialMediaORM) TableName ¶
func (SocialMediaORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*SocialMediaORM) ToPB ¶
func (m *SocialMediaORM) ToPB(ctx context.Context) (SocialMedia, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type SocialMediaWithAfterPatchSave ¶
type SocialMediaWithAfterPatchSave interface {
AfterPatchSave(context.Context, *SocialMedia, *field_mask1.FieldMask, *gorm1.DB) error
}
type SocialMediaWithAfterToORM ¶
type SocialMediaWithAfterToORM interface {
AfterToORM(context.Context, *SocialMediaORM) error
}
SocialMediaAfterToORM called after default ToORM code
type SocialMediaWithAfterToPB ¶
type SocialMediaWithAfterToPB interface {
AfterToPB(context.Context, *SocialMedia) error
}
SocialMediaAfterToPB called after default ToPB code
type SocialMediaWithBeforePatchApplyFieldMask ¶
type SocialMediaWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *SocialMedia, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type SocialMediaWithBeforePatchRead ¶
type SocialMediaWithBeforePatchRead interface {
BeforePatchRead(context.Context, *SocialMedia, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type SocialMediaWithBeforePatchSave ¶
type SocialMediaWithBeforePatchSave interface {
BeforePatchSave(context.Context, *SocialMedia, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type SocialMediaWithBeforeToORM ¶
type SocialMediaWithBeforeToORM interface {
BeforeToORM(context.Context, *SocialMediaORM) error
}
SocialMediaBeforeToORM called before default ToORM code
type SocialMediaWithBeforeToPB ¶
type SocialMediaWithBeforeToPB interface {
BeforeToPB(context.Context, *SocialMedia) error
}
SocialMediaBeforeToPB called before default ToPB code
type StartupDetail ¶
type StartupDetail struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Id serves as a primary key and references the associated user id CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` TotalFunding int32 `protobuf:"varint,5,opt,name=total_funding,json=totalFunding,proto3" json:"total_funding,omitempty"` LatestRoundFunding int32 `protobuf:"varint,6,opt,name=latest_round_funding,json=latestRoundFunding,proto3" json:"latest_round_funding,omitempty"` LatestRound string `protobuf:"bytes,7,opt,name=latest_round,json=latestRound,proto3" json:"latest_round,omitempty"` LatestRoundEndDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=latest_round_end_date,json=latestRoundEndDate,proto3" json:"latest_round_end_date,omitempty"` FundingType string `protobuf:"bytes,9,opt,name=funding_type,json=fundingType,proto3" json:"funding_type,omitempty"` CompanyName string `protobuf:"bytes,10,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskStartupDetail ¶
func DefaultApplyFieldMaskStartupDetail(ctx context.Context, patchee *StartupDetail, patcher *StartupDetail, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*StartupDetail, error)
DefaultApplyFieldMaskStartupDetail patches an pbObject with patcher according to a field mask.
func DefaultCreateStartupDetail ¶
func DefaultCreateStartupDetail(ctx context.Context, in *StartupDetail, db *gorm1.DB) (*StartupDetail, error)
DefaultCreateStartupDetail executes a basic gorm create call
func DefaultListStartupDetail ¶
DefaultListStartupDetail executes a gorm list call
func DefaultPatchSetStartupDetail ¶
func DefaultPatchSetStartupDetail(ctx context.Context, objects []*StartupDetail, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*StartupDetail, error)
DefaultPatchSetStartupDetail executes a bulk gorm update call with patch behavior
func DefaultPatchStartupDetail ¶
func DefaultPatchStartupDetail(ctx context.Context, in *StartupDetail, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*StartupDetail, error)
DefaultPatchStartupDetail executes a basic gorm update call with patch behavior
func DefaultReadStartupDetail ¶
func DefaultReadStartupDetail(ctx context.Context, in *StartupDetail, db *gorm1.DB) (*StartupDetail, error)
DefaultReadStartupDetail executes a basic gorm read call
func DefaultStrictUpdateStartupDetail ¶
func DefaultStrictUpdateStartupDetail(ctx context.Context, in *StartupDetail, db *gorm1.DB) (*StartupDetail, error)
DefaultStrictUpdateStartupDetail clears first level 1:many children and then executes a gorm update call
func (*StartupDetail) Descriptor
deprecated
func (*StartupDetail) Descriptor() ([]byte, []int)
Deprecated: Use StartupDetail.ProtoReflect.Descriptor instead.
func (*StartupDetail) GetCompanyName ¶
func (x *StartupDetail) GetCompanyName() string
func (*StartupDetail) GetCreatedAt ¶
func (x *StartupDetail) GetCreatedAt() *timestamp.Timestamp
func (*StartupDetail) GetDeletedAt ¶
func (x *StartupDetail) GetDeletedAt() *timestamp.Timestamp
func (*StartupDetail) GetFundingType ¶
func (x *StartupDetail) GetFundingType() string
func (*StartupDetail) GetId ¶
func (x *StartupDetail) GetId() uint32
func (*StartupDetail) GetLatestRound ¶
func (x *StartupDetail) GetLatestRound() string
func (*StartupDetail) GetLatestRoundEndDate ¶
func (x *StartupDetail) GetLatestRoundEndDate() *timestamp.Timestamp
func (*StartupDetail) GetLatestRoundFunding ¶
func (x *StartupDetail) GetLatestRoundFunding() int32
func (*StartupDetail) GetTotalFunding ¶
func (x *StartupDetail) GetTotalFunding() int32
func (*StartupDetail) GetUpdatedAt ¶
func (x *StartupDetail) GetUpdatedAt() *timestamp.Timestamp
func (*StartupDetail) ProtoMessage ¶
func (*StartupDetail) ProtoMessage()
func (*StartupDetail) ProtoReflect ¶
func (x *StartupDetail) ProtoReflect() protoreflect.Message
func (*StartupDetail) Reset ¶
func (x *StartupDetail) Reset()
func (*StartupDetail) String ¶
func (x *StartupDetail) String() string
func (*StartupDetail) ToORM ¶
func (m *StartupDetail) ToORM(ctx context.Context) (StartupDetailORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*StartupDetail) Validate ¶
func (this *StartupDetail) Validate() error
type StartupDetailORM ¶
type StartupDetailORM struct { CompanyName string CreatedAt *time.Time DeletedAt *time.Time FundingType string Id uint32 `gorm:"type:integer;primary_key"` LatestRound string LatestRoundEndDate *time.Time LatestRoundFunding int32 TeamProfileId *int32 TotalFunding int32 UpdatedAt *time.Time }
func (StartupDetailORM) TableName ¶
func (StartupDetailORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*StartupDetailORM) ToPB ¶
func (m *StartupDetailORM) ToPB(ctx context.Context) (StartupDetail, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type StartupDetailWithAfterPatchSave ¶
type StartupDetailWithAfterPatchSave interface {
AfterPatchSave(context.Context, *StartupDetail, *field_mask1.FieldMask, *gorm1.DB) error
}
type StartupDetailWithAfterToORM ¶
type StartupDetailWithAfterToORM interface {
AfterToORM(context.Context, *StartupDetailORM) error
}
StartupDetailAfterToORM called after default ToORM code
type StartupDetailWithAfterToPB ¶
type StartupDetailWithAfterToPB interface {
AfterToPB(context.Context, *StartupDetail) error
}
StartupDetailAfterToPB called after default ToPB code
type StartupDetailWithBeforePatchApplyFieldMask ¶
type StartupDetailWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *StartupDetail, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type StartupDetailWithBeforePatchRead ¶
type StartupDetailWithBeforePatchRead interface {
BeforePatchRead(context.Context, *StartupDetail, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type StartupDetailWithBeforePatchSave ¶
type StartupDetailWithBeforePatchSave interface {
BeforePatchSave(context.Context, *StartupDetail, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type StartupDetailWithBeforeToORM ¶
type StartupDetailWithBeforeToORM interface {
BeforeToORM(context.Context, *StartupDetailORM) error
}
StartupDetailBeforeToORM called before default ToORM code
type StartupDetailWithBeforeToPB ¶
type StartupDetailWithBeforeToPB interface {
BeforeToPB(context.Context, *StartupDetail) error
}
StartupDetailBeforeToPB called before default ToPB code
type StringGroupTypeRequest ¶
type StringGroupTypeRequest struct { QueryMessage string `protobuf:"bytes,1,opt,name=QueryMessage,proto3" json:"QueryMessage,omitempty"` // contains filtered or unexported fields }
func (*StringGroupTypeRequest) Descriptor
deprecated
func (*StringGroupTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use StringGroupTypeRequest.ProtoReflect.Descriptor instead.
func (*StringGroupTypeRequest) GetQueryMessage ¶
func (x *StringGroupTypeRequest) GetQueryMessage() string
func (*StringGroupTypeRequest) ProtoMessage ¶
func (*StringGroupTypeRequest) ProtoMessage()
func (*StringGroupTypeRequest) ProtoReflect ¶
func (x *StringGroupTypeRequest) ProtoReflect() protoreflect.Message
func (*StringGroupTypeRequest) Reset ¶
func (x *StringGroupTypeRequest) Reset()
func (*StringGroupTypeRequest) String ¶
func (x *StringGroupTypeRequest) String() string
func (*StringGroupTypeRequest) Validate ¶
func (this *StringGroupTypeRequest) Validate() error
type StringTeamTypeRequest ¶
type StringTeamTypeRequest struct { QueryMessage string `protobuf:"bytes,1,opt,name=QueryMessage,proto3" json:"QueryMessage,omitempty"` UserType TeamAccountType `protobuf:"varint,3,opt,name=userType,proto3,enum=TeamAccountType" json:"userType,omitempty"` // contains filtered or unexported fields }
func (*StringTeamTypeRequest) Descriptor
deprecated
func (*StringTeamTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use StringTeamTypeRequest.ProtoReflect.Descriptor instead.
func (*StringTeamTypeRequest) GetQueryMessage ¶
func (x *StringTeamTypeRequest) GetQueryMessage() string
func (*StringTeamTypeRequest) GetUserType ¶
func (x *StringTeamTypeRequest) GetUserType() TeamAccountType
func (*StringTeamTypeRequest) ProtoMessage ¶
func (*StringTeamTypeRequest) ProtoMessage()
func (*StringTeamTypeRequest) ProtoReflect ¶
func (x *StringTeamTypeRequest) ProtoReflect() protoreflect.Message
func (*StringTeamTypeRequest) Reset ¶
func (x *StringTeamTypeRequest) Reset()
func (*StringTeamTypeRequest) String ¶
func (x *StringTeamTypeRequest) String() string
func (*StringTeamTypeRequest) Validate ¶
func (this *StringTeamTypeRequest) Validate() error
type StringUserTypeRequest ¶
type StringUserTypeRequest struct { QueryMessage string `protobuf:"bytes,1,opt,name=QueryMessage,proto3" json:"QueryMessage,omitempty"` UserType AccountType `protobuf:"varint,3,opt,name=userType,proto3,enum=AccountType" json:"userType,omitempty"` // contains filtered or unexported fields }
func (*StringUserTypeRequest) Descriptor
deprecated
func (*StringUserTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use StringUserTypeRequest.ProtoReflect.Descriptor instead.
func (*StringUserTypeRequest) GetQueryMessage ¶
func (x *StringUserTypeRequest) GetQueryMessage() string
func (*StringUserTypeRequest) GetUserType ¶
func (x *StringUserTypeRequest) GetUserType() AccountType
func (*StringUserTypeRequest) ProtoMessage ¶
func (*StringUserTypeRequest) ProtoMessage()
func (*StringUserTypeRequest) ProtoReflect ¶
func (x *StringUserTypeRequest) ProtoReflect() protoreflect.Message
func (*StringUserTypeRequest) Reset ¶
func (x *StringUserTypeRequest) Reset()
func (*StringUserTypeRequest) String ¶
func (x *StringUserTypeRequest) String() string
func (*StringUserTypeRequest) Validate ¶
func (this *StringUserTypeRequest) Validate() error
type Subscriptions ¶
type Subscriptions struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` SubscriptionName string `protobuf:"bytes,2,opt,name=subscription_name,json=subscriptionName,proto3" json:"subscription_name,omitempty"` SubscriptionStatus string `protobuf:"bytes,3,opt,name=subscription_status,json=subscriptionStatus,proto3" json:"subscription_status,omitempty"` StartDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` AccessType string `protobuf:"bytes,6,opt,name=access_type,json=accessType,proto3" json:"access_type,omitempty"` IsActive bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskSubscriptions ¶
func DefaultApplyFieldMaskSubscriptions(ctx context.Context, patchee *Subscriptions, patcher *Subscriptions, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Subscriptions, error)
DefaultApplyFieldMaskSubscriptions patches an pbObject with patcher according to a field mask.
func DefaultCreateSubscriptions ¶
func DefaultCreateSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)
DefaultCreateSubscriptions executes a basic gorm create call
func DefaultListSubscriptions ¶
DefaultListSubscriptions executes a gorm list call
func DefaultPatchSetSubscriptions ¶
func DefaultPatchSetSubscriptions(ctx context.Context, objects []*Subscriptions, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Subscriptions, error)
DefaultPatchSetSubscriptions executes a bulk gorm update call with patch behavior
func DefaultPatchSubscriptions ¶
func DefaultPatchSubscriptions(ctx context.Context, in *Subscriptions, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Subscriptions, error)
DefaultPatchSubscriptions executes a basic gorm update call with patch behavior
func DefaultReadSubscriptions ¶
func DefaultReadSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)
DefaultReadSubscriptions executes a basic gorm read call
func DefaultStrictUpdateSubscriptions ¶
func DefaultStrictUpdateSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)
DefaultStrictUpdateSubscriptions clears first level 1:many children and then executes a gorm update call
func (*Subscriptions) Descriptor
deprecated
func (*Subscriptions) Descriptor() ([]byte, []int)
Deprecated: Use Subscriptions.ProtoReflect.Descriptor instead.
func (*Subscriptions) GetAccessType ¶
func (x *Subscriptions) GetAccessType() string
func (*Subscriptions) GetCreatedAt ¶
func (x *Subscriptions) GetCreatedAt() *timestamp.Timestamp
func (*Subscriptions) GetDeletedAt ¶
func (x *Subscriptions) GetDeletedAt() *timestamp.Timestamp
func (*Subscriptions) GetEndDate ¶
func (x *Subscriptions) GetEndDate() *timestamp.Timestamp
func (*Subscriptions) GetId ¶
func (x *Subscriptions) GetId() int32
func (*Subscriptions) GetIsActive ¶
func (x *Subscriptions) GetIsActive() bool
func (*Subscriptions) GetStartDate ¶
func (x *Subscriptions) GetStartDate() *timestamp.Timestamp
func (*Subscriptions) GetSubscriptionName ¶
func (x *Subscriptions) GetSubscriptionName() string
func (*Subscriptions) GetSubscriptionStatus ¶
func (x *Subscriptions) GetSubscriptionStatus() string
func (*Subscriptions) GetUpdatedAt ¶
func (x *Subscriptions) GetUpdatedAt() *timestamp.Timestamp
func (*Subscriptions) ProtoMessage ¶
func (*Subscriptions) ProtoMessage()
func (*Subscriptions) ProtoReflect ¶
func (x *Subscriptions) ProtoReflect() protoreflect.Message
func (*Subscriptions) Reset ¶
func (x *Subscriptions) Reset()
func (*Subscriptions) String ¶
func (x *Subscriptions) String() string
func (*Subscriptions) ToORM ¶
func (m *Subscriptions) ToORM(ctx context.Context) (SubscriptionsORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*Subscriptions) Validate ¶
func (this *Subscriptions) Validate() error
type SubscriptionsORM ¶
type SubscriptionsORM struct { AccessType string CreatedAt *time.Time DeletedAt *time.Time EndDate *time.Time Id int32 `gorm:"type:integer;primary_key"` IsActive bool StartDate *time.Time SubscriptionName string SubscriptionStatus string TeamId *int32 UpdatedAt *time.Time UserId *int32 }
func (SubscriptionsORM) TableName ¶
func (SubscriptionsORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*SubscriptionsORM) ToPB ¶
func (m *SubscriptionsORM) ToPB(ctx context.Context) (Subscriptions, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type SubscriptionsWithAfterPatchSave ¶
type SubscriptionsWithAfterPatchSave interface {
AfterPatchSave(context.Context, *Subscriptions, *field_mask1.FieldMask, *gorm1.DB) error
}
type SubscriptionsWithAfterToORM ¶
type SubscriptionsWithAfterToORM interface {
AfterToORM(context.Context, *SubscriptionsORM) error
}
SubscriptionsAfterToORM called after default ToORM code
type SubscriptionsWithAfterToPB ¶
type SubscriptionsWithAfterToPB interface {
AfterToPB(context.Context, *Subscriptions) error
}
SubscriptionsAfterToPB called after default ToPB code
type SubscriptionsWithBeforePatchApplyFieldMask ¶
type SubscriptionsWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *Subscriptions, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type SubscriptionsWithBeforePatchRead ¶
type SubscriptionsWithBeforePatchRead interface {
BeforePatchRead(context.Context, *Subscriptions, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type SubscriptionsWithBeforePatchSave ¶
type SubscriptionsWithBeforePatchSave interface {
BeforePatchSave(context.Context, *Subscriptions, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type SubscriptionsWithBeforeToORM ¶
type SubscriptionsWithBeforeToORM interface {
BeforeToORM(context.Context, *SubscriptionsORM) error
}
SubscriptionsBeforeToORM called before default ToORM code
type SubscriptionsWithBeforeToPB ¶
type SubscriptionsWithBeforeToPB interface {
BeforeToPB(context.Context, *Subscriptions) error
}
SubscriptionsBeforeToPB called before default ToPB code
type Team ¶
type Team struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Comma separated values of tags Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` // investor or startup team Industry string `protobuf:"bytes,9,opt,name=industry,proto3" json:"industry,omitempty"` // about the team FoundedDate *timestamp.Timestamp `protobuf:"bytes,10,opt,name=founded_date,json=foundedDate,proto3" json:"founded_date,omitempty"` NumberOfEmployees int32 `protobuf:"varint,11,opt,name=number_of_employees,json=numberOfEmployees,proto3" json:"number_of_employees,omitempty"` HeadquartersId *Address `protobuf:"bytes,12,opt,name=headquarters_id,json=headquartersId,proto3" json:"headquarters_id,omitempty"` Members []*User `protobuf:"bytes,13,rep,name=members,proto3" json:"members,omitempty"` Advisors []*User `protobuf:"bytes,14,rep,name=advisors,proto3" json:"advisors,omitempty"` SocialMedia *SocialMedia `protobuf:"bytes,15,opt,name=social_media,json=socialMedia,proto3" json:"social_media,omitempty"` PhoneNumber string `protobuf:"bytes,16,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` Password string `protobuf:"bytes,17,opt,name=password,proto3" json:"password,omitempty"` TeamProfileId *TeamProfile `protobuf:"bytes,18,opt,name=team_profile_id,json=teamProfileId,proto3" json:"team_profile_id,omitempty"` Subscriptions []*Subscriptions `protobuf:"bytes,19,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` IsActive bool `protobuf:"varint,20,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` ResetToken string `protobuf:"bytes,21,opt,name=reset_token,json=resetToken,proto3" json:"reset_token,omitempty"` ResetTokenExpiration *timestamp.Timestamp `protobuf:"bytes,22,opt,name=reset_token_expiration,json=resetTokenExpiration,proto3" json:"reset_token_expiration,omitempty"` AdminId *User `protobuf:"bytes,23,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` Bio string `protobuf:"bytes,24,opt,name=bio,proto3" json:"bio,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskTeam ¶
func DefaultApplyFieldMaskTeam(ctx context.Context, patchee *Team, patcher *Team, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Team, error)
DefaultApplyFieldMaskTeam patches an pbObject with patcher according to a field mask.
func DefaultCreateTeam ¶
DefaultCreateTeam executes a basic gorm create call
func DefaultListTeam ¶
DefaultListTeam executes a gorm list call
func DefaultPatchSetTeam ¶
func DefaultPatchSetTeam(ctx context.Context, objects []*Team, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Team, error)
DefaultPatchSetTeam executes a bulk gorm update call with patch behavior
func DefaultPatchTeam ¶
func DefaultPatchTeam(ctx context.Context, in *Team, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Team, error)
DefaultPatchTeam executes a basic gorm update call with patch behavior
func DefaultReadTeam ¶
DefaultReadTeam executes a basic gorm read call
func DefaultStrictUpdateTeam ¶
DefaultStrictUpdateTeam clears first level 1:many children and then executes a gorm update call
func (*Team) Descriptor
deprecated
func (*Team) GetAdminId ¶
func (*Team) GetAdvisors ¶
func (*Team) GetCreatedAt ¶
func (*Team) GetDeletedAt ¶
func (*Team) GetFoundedDate ¶
func (*Team) GetHeadquartersId ¶
func (*Team) GetIndustry ¶
func (*Team) GetIsActive ¶
func (*Team) GetMembers ¶
func (*Team) GetNumberOfEmployees ¶
func (*Team) GetPassword ¶
func (*Team) GetPhoneNumber ¶
func (*Team) GetResetToken ¶
func (*Team) GetResetTokenExpiration ¶
func (*Team) GetSocialMedia ¶
func (x *Team) GetSocialMedia() *SocialMedia
func (*Team) GetSubscriptions ¶
func (x *Team) GetSubscriptions() []*Subscriptions
func (*Team) GetTeamProfileId ¶
func (x *Team) GetTeamProfileId() *TeamProfile
func (*Team) GetUpdatedAt ¶
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) ProtoReflect ¶
func (x *Team) ProtoReflect() protoreflect.Message
type TeamAccountType ¶
type TeamAccountType int32
const ( TeamAccountType_StartupTeam TeamAccountType = 0 TeamAccountType_InvestorTeam TeamAccountType = 1 )
func (TeamAccountType) Descriptor ¶
func (TeamAccountType) Descriptor() protoreflect.EnumDescriptor
func (TeamAccountType) Enum ¶
func (x TeamAccountType) Enum() *TeamAccountType
func (TeamAccountType) EnumDescriptor
deprecated
func (TeamAccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TeamAccountType.Descriptor instead.
func (TeamAccountType) Number ¶
func (x TeamAccountType) Number() protoreflect.EnumNumber
func (TeamAccountType) String ¶
func (x TeamAccountType) String() string
func (TeamAccountType) Type ¶
func (TeamAccountType) Type() protoreflect.EnumType
type TeamORM ¶
type TeamORM struct { AdminId *UserORM `gorm:"foreignkey:AdminIdTeamId;association_foreignkey:Id"` Advisors []*UserORM `gorm:"foreignkey:AdvisorsTeamId;association_foreignkey:Id"` Bio string CreatedAt *time.Time DeletedAt *time.Time Email string FoundedDate *time.Time HeadquartersId *AddressORM `gorm:"foreignkey:TeamId;association_foreignkey:Id"` Id int32 `gorm:"type:integer;primary_key"` Industry string IsActive bool Members []*UserORM `gorm:"foreignkey:MembersTeamId;association_foreignkey:Id"` Name string NumberOfEmployees int32 Password string PhoneNumber string ResetToken string ResetTokenExpiration *time.Time SocialMedia *SocialMediaORM `gorm:"foreignkey:TeamId;association_foreignkey:Id"` Subscriptions []*SubscriptionsORM `gorm:"foreignkey:TeamId;association_foreignkey:Id"` Tags pq1.StringArray `gorm:"type:text[]"` TeamProfileId *TeamProfileORM `gorm:"foreignkey:TeamId;association_foreignkey:Id"` Type string UpdatedAt *time.Time }
func (TeamORM) MigrateSchemaOrCreateTable ¶
type TeamORMWithAfterCreate_ ¶
type TeamORMWithAfterDelete_ ¶
type TeamProfile ¶
type TeamProfile struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` SettingsId *Settings `protobuf:"bytes,5,opt,name=settings_id,json=settingsId,proto3" json:"settings_id,omitempty"` InvestorDetailId *InvestorDetail `protobuf:"bytes,6,opt,name=investor_detail_id,json=investorDetailId,proto3" json:"investor_detail_id,omitempty"` StartupDetailId *StartupDetail `protobuf:"bytes,7,opt,name=startup_detail_id,json=startupDetailId,proto3" json:"startup_detail_id,omitempty"` MediaId *Media `protobuf:"bytes,8,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskTeamProfile ¶
func DefaultApplyFieldMaskTeamProfile(ctx context.Context, patchee *TeamProfile, patcher *TeamProfile, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*TeamProfile, error)
DefaultApplyFieldMaskTeamProfile patches an pbObject with patcher according to a field mask.
func DefaultCreateTeamProfile ¶
func DefaultCreateTeamProfile(ctx context.Context, in *TeamProfile, db *gorm1.DB) (*TeamProfile, error)
DefaultCreateTeamProfile executes a basic gorm create call
func DefaultListTeamProfile ¶
DefaultListTeamProfile executes a gorm list call
func DefaultPatchSetTeamProfile ¶
func DefaultPatchSetTeamProfile(ctx context.Context, objects []*TeamProfile, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*TeamProfile, error)
DefaultPatchSetTeamProfile executes a bulk gorm update call with patch behavior
func DefaultPatchTeamProfile ¶
func DefaultPatchTeamProfile(ctx context.Context, in *TeamProfile, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*TeamProfile, error)
DefaultPatchTeamProfile executes a basic gorm update call with patch behavior
func DefaultReadTeamProfile ¶
func DefaultReadTeamProfile(ctx context.Context, in *TeamProfile, db *gorm1.DB) (*TeamProfile, error)
DefaultReadTeamProfile executes a basic gorm read call
func DefaultStrictUpdateTeamProfile ¶
func DefaultStrictUpdateTeamProfile(ctx context.Context, in *TeamProfile, db *gorm1.DB) (*TeamProfile, error)
DefaultStrictUpdateTeamProfile clears first level 1:many children and then executes a gorm update call
func (*TeamProfile) Descriptor
deprecated
func (*TeamProfile) Descriptor() ([]byte, []int)
Deprecated: Use TeamProfile.ProtoReflect.Descriptor instead.
func (*TeamProfile) GetCreatedAt ¶
func (x *TeamProfile) GetCreatedAt() *timestamp.Timestamp
func (*TeamProfile) GetDeletedAt ¶
func (x *TeamProfile) GetDeletedAt() *timestamp.Timestamp
func (*TeamProfile) GetId ¶
func (x *TeamProfile) GetId() int32
func (*TeamProfile) GetInvestorDetailId ¶
func (x *TeamProfile) GetInvestorDetailId() *InvestorDetail
func (*TeamProfile) GetMediaId ¶
func (x *TeamProfile) GetMediaId() *Media
func (*TeamProfile) GetSettingsId ¶
func (x *TeamProfile) GetSettingsId() *Settings
func (*TeamProfile) GetStartupDetailId ¶
func (x *TeamProfile) GetStartupDetailId() *StartupDetail
func (*TeamProfile) GetUpdatedAt ¶
func (x *TeamProfile) GetUpdatedAt() *timestamp.Timestamp
func (*TeamProfile) ProtoMessage ¶
func (*TeamProfile) ProtoMessage()
func (*TeamProfile) ProtoReflect ¶
func (x *TeamProfile) ProtoReflect() protoreflect.Message
func (*TeamProfile) Reset ¶
func (x *TeamProfile) Reset()
func (*TeamProfile) String ¶
func (x *TeamProfile) String() string
func (*TeamProfile) ToORM ¶
func (m *TeamProfile) ToORM(ctx context.Context) (TeamProfileORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*TeamProfile) Validate ¶
func (this *TeamProfile) Validate() error
type TeamProfileORM ¶
type TeamProfileORM struct { BlockedTeamAccountsIdPrivacyId *int32 CreatedAt *time.Time DeletedAt *time.Time Id int32 `gorm:"type:integer;primary_key"` InvestorDetailId *InvestorDetailORM `gorm:"foreignkey:TeamProfileId;association_foreignkey:Id"` MediaId *MediaORM `gorm:"foreignkey:TeamProfileId;association_foreignkey:Id"` MutedTeamAccountsIdPrivacyId *int32 SettingsId *SettingsORM `gorm:"foreignkey:TeamProfileId;association_foreignkey:Id"` StartupDetailId *StartupDetailORM `gorm:"foreignkey:TeamProfileId;association_foreignkey:Id"` TeamId *int32 UpdatedAt *time.Time }
func (TeamProfileORM) TableName ¶
func (TeamProfileORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TeamProfileORM) ToPB ¶
func (m *TeamProfileORM) ToPB(ctx context.Context) (TeamProfile, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TeamProfileWithAfterPatchSave ¶
type TeamProfileWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TeamProfile, *field_mask1.FieldMask, *gorm1.DB) error
}
type TeamProfileWithAfterToORM ¶
type TeamProfileWithAfterToORM interface {
AfterToORM(context.Context, *TeamProfileORM) error
}
TeamProfileAfterToORM called after default ToORM code
type TeamProfileWithAfterToPB ¶
type TeamProfileWithAfterToPB interface {
AfterToPB(context.Context, *TeamProfile) error
}
TeamProfileAfterToPB called after default ToPB code
type TeamProfileWithBeforePatchApplyFieldMask ¶
type TeamProfileWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TeamProfile, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TeamProfileWithBeforePatchRead ¶
type TeamProfileWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TeamProfile, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TeamProfileWithBeforePatchSave ¶
type TeamProfileWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TeamProfile, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type TeamProfileWithBeforeToORM ¶
type TeamProfileWithBeforeToORM interface {
BeforeToORM(context.Context, *TeamProfileORM) error
}
TeamProfileBeforeToORM called before default ToORM code
type TeamProfileWithBeforeToPB ¶
type TeamProfileWithBeforeToPB interface {
BeforeToPB(context.Context, *TeamProfile) error
}
TeamProfileBeforeToPB called before default ToPB code
type TeamRequest ¶
type TeamRequest struct { Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"` TeamType TeamAccountType `protobuf:"varint,2,opt,name=teamType,proto3,enum=TeamAccountType" json:"teamType,omitempty"` // contains filtered or unexported fields }
func (*TeamRequest) Descriptor
deprecated
func (*TeamRequest) Descriptor() ([]byte, []int)
Deprecated: Use TeamRequest.ProtoReflect.Descriptor instead.
func (*TeamRequest) GetTeam ¶
func (x *TeamRequest) GetTeam() *Team
func (*TeamRequest) GetTeamType ¶
func (x *TeamRequest) GetTeamType() TeamAccountType
func (*TeamRequest) ProtoMessage ¶
func (*TeamRequest) ProtoMessage()
func (*TeamRequest) ProtoReflect ¶
func (x *TeamRequest) ProtoReflect() protoreflect.Message
func (*TeamRequest) Reset ¶
func (x *TeamRequest) Reset()
func (*TeamRequest) String ¶
func (x *TeamRequest) String() string
func (*TeamRequest) Validate ¶
func (this *TeamRequest) Validate() error
type TeamResponse ¶
type TeamResponse struct { Teams []*Team `protobuf:"bytes,1,rep,name=Teams,proto3" json:"Teams,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*TeamResponse) Descriptor
deprecated
func (*TeamResponse) Descriptor() ([]byte, []int)
Deprecated: Use TeamResponse.ProtoReflect.Descriptor instead.
func (*TeamResponse) GetError ¶
func (x *TeamResponse) GetError() string
func (*TeamResponse) GetTeams ¶
func (x *TeamResponse) GetTeams() []*Team
func (*TeamResponse) ProtoMessage ¶
func (*TeamResponse) ProtoMessage()
func (*TeamResponse) ProtoReflect ¶
func (x *TeamResponse) ProtoReflect() protoreflect.Message
func (*TeamResponse) Reset ¶
func (x *TeamResponse) Reset()
func (*TeamResponse) String ¶
func (x *TeamResponse) String() string
func (*TeamResponse) Validate ¶
func (this *TeamResponse) Validate() error
type TeamWithAfterPatchSave ¶
type TeamWithAfterToORM ¶
TeamAfterToORM called after default ToORM code
type TeamWithAfterToPB ¶
TeamAfterToPB called after default ToPB code
type TeamWithBeforePatchRead ¶
type TeamWithBeforePatchSave ¶
type TeamWithBeforeToORM ¶
TeamBeforeToORM called before default ToORM code
type TeamWithBeforeToPB ¶
TeamBeforeToPB called before default ToPB code
type TieredPushNotificationSetting ¶
type TieredPushNotificationSetting struct { Off bool `protobuf:"varint,1,opt,name=Off,proto3" json:"Off,omitempty"` FromPeopleIFollow bool `protobuf:"varint,2,opt,name=FromPeopleIFollow,proto3" json:"FromPeopleIFollow,omitempty"` FromEveryone bool `protobuf:"varint,3,opt,name=FromEveryone,proto3" json:"FromEveryone,omitempty"` // contains filtered or unexported fields }
func (*TieredPushNotificationSetting) Descriptor
deprecated
func (*TieredPushNotificationSetting) Descriptor() ([]byte, []int)
Deprecated: Use TieredPushNotificationSetting.ProtoReflect.Descriptor instead.
func (*TieredPushNotificationSetting) GetFromEveryone ¶
func (x *TieredPushNotificationSetting) GetFromEveryone() bool
func (*TieredPushNotificationSetting) GetFromPeopleIFollow ¶
func (x *TieredPushNotificationSetting) GetFromPeopleIFollow() bool
func (*TieredPushNotificationSetting) GetOff ¶
func (x *TieredPushNotificationSetting) GetOff() bool
func (*TieredPushNotificationSetting) ProtoMessage ¶
func (*TieredPushNotificationSetting) ProtoMessage()
func (*TieredPushNotificationSetting) ProtoReflect ¶
func (x *TieredPushNotificationSetting) ProtoReflect() protoreflect.Message
func (*TieredPushNotificationSetting) Reset ¶
func (x *TieredPushNotificationSetting) Reset()
func (*TieredPushNotificationSetting) String ¶
func (x *TieredPushNotificationSetting) String() string
func (*TieredPushNotificationSetting) Validate ¶
func (this *TieredPushNotificationSetting) Validate() error
type Uint32GroupTypeRequest ¶
type Uint32GroupTypeRequest struct { ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*Uint32GroupTypeRequest) Descriptor
deprecated
func (*Uint32GroupTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use Uint32GroupTypeRequest.ProtoReflect.Descriptor instead.
func (*Uint32GroupTypeRequest) GetID ¶
func (x *Uint32GroupTypeRequest) GetID() uint32
func (*Uint32GroupTypeRequest) ProtoMessage ¶
func (*Uint32GroupTypeRequest) ProtoMessage()
func (*Uint32GroupTypeRequest) ProtoReflect ¶
func (x *Uint32GroupTypeRequest) ProtoReflect() protoreflect.Message
func (*Uint32GroupTypeRequest) Reset ¶
func (x *Uint32GroupTypeRequest) Reset()
func (*Uint32GroupTypeRequest) String ¶
func (x *Uint32GroupTypeRequest) String() string
func (*Uint32GroupTypeRequest) Validate ¶
func (this *Uint32GroupTypeRequest) Validate() error
type Uint32TeamTypeRequest ¶
type Uint32TeamTypeRequest struct { ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` UserType TeamAccountType `protobuf:"varint,2,opt,name=userType,proto3,enum=TeamAccountType" json:"userType,omitempty"` // contains filtered or unexported fields }
func (*Uint32TeamTypeRequest) Descriptor
deprecated
func (*Uint32TeamTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use Uint32TeamTypeRequest.ProtoReflect.Descriptor instead.
func (*Uint32TeamTypeRequest) GetID ¶
func (x *Uint32TeamTypeRequest) GetID() uint32
func (*Uint32TeamTypeRequest) GetUserType ¶
func (x *Uint32TeamTypeRequest) GetUserType() TeamAccountType
func (*Uint32TeamTypeRequest) ProtoMessage ¶
func (*Uint32TeamTypeRequest) ProtoMessage()
func (*Uint32TeamTypeRequest) ProtoReflect ¶
func (x *Uint32TeamTypeRequest) ProtoReflect() protoreflect.Message
func (*Uint32TeamTypeRequest) Reset ¶
func (x *Uint32TeamTypeRequest) Reset()
func (*Uint32TeamTypeRequest) String ¶
func (x *Uint32TeamTypeRequest) String() string
func (*Uint32TeamTypeRequest) Validate ¶
func (this *Uint32TeamTypeRequest) Validate() error
type Uint32UserTypeRequest ¶
type Uint32UserTypeRequest struct { ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` UserType AccountType `protobuf:"varint,2,opt,name=userType,proto3,enum=AccountType" json:"userType,omitempty"` // contains filtered or unexported fields }
func (*Uint32UserTypeRequest) Descriptor
deprecated
func (*Uint32UserTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use Uint32UserTypeRequest.ProtoReflect.Descriptor instead.
func (*Uint32UserTypeRequest) GetID ¶
func (x *Uint32UserTypeRequest) GetID() uint32
func (*Uint32UserTypeRequest) GetUserType ¶
func (x *Uint32UserTypeRequest) GetUserType() AccountType
func (*Uint32UserTypeRequest) ProtoMessage ¶
func (*Uint32UserTypeRequest) ProtoMessage()
func (*Uint32UserTypeRequest) ProtoReflect ¶
func (x *Uint32UserTypeRequest) ProtoReflect() protoreflect.Message
func (*Uint32UserTypeRequest) Reset ¶
func (x *Uint32UserTypeRequest) Reset()
func (*Uint32UserTypeRequest) String ¶
func (x *Uint32UserTypeRequest) String() string
func (*Uint32UserTypeRequest) Validate ¶
func (this *Uint32UserTypeRequest) Validate() error
type UnimplementedUsersServiceServer ¶
type UnimplementedUsersServiceServer struct { }
UnimplementedUsersServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUsersServiceServer) CreateGroup ¶
func (*UnimplementedUsersServiceServer) CreateGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) CreateTeam ¶
func (*UnimplementedUsersServiceServer) CreateTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) CreateUser ¶
func (*UnimplementedUsersServiceServer) CreateUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) DeleteGroup ¶
func (*UnimplementedUsersServiceServer) DeleteGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) DeleteProfileById ¶
func (*UnimplementedUsersServiceServer) DeleteProfileById(context.Context, *Uint32UserTypeRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) DeleteTeam ¶
func (*UnimplementedUsersServiceServer) DeleteTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) DeleteUser ¶
func (*UnimplementedUsersServiceServer) DeleteUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) GetGroupByID ¶
func (*UnimplementedUsersServiceServer) GetGroupByID(context.Context, *Uint32GroupTypeRequest) (*GroupResponse, error)
func (*UnimplementedUsersServiceServer) GetGroupByName ¶
func (*UnimplementedUsersServiceServer) GetGroupByName(context.Context, *StringGroupTypeRequest) (*GroupResponse, error)
func (*UnimplementedUsersServiceServer) GetGroupsByType ¶
func (*UnimplementedUsersServiceServer) GetGroupsByType(context.Context, *StringGroupTypeRequest) (*GroupResponse, error)
func (*UnimplementedUsersServiceServer) GetTeamByEmail ¶
func (*UnimplementedUsersServiceServer) GetTeamByEmail(context.Context, *StringTeamTypeRequest) (*TeamResponse, error)
func (*UnimplementedUsersServiceServer) GetTeamByID ¶
func (*UnimplementedUsersServiceServer) GetTeamByID(context.Context, *Uint32TeamTypeRequest) (*TeamResponse, error)
func (*UnimplementedUsersServiceServer) GetTeamByName ¶
func (*UnimplementedUsersServiceServer) GetTeamByName(context.Context, *StringTeamTypeRequest) (*TeamResponse, error)
func (*UnimplementedUsersServiceServer) GetTeamsByIndustry ¶
func (*UnimplementedUsersServiceServer) GetTeamsByIndustry(context.Context, *StringTeamTypeRequest) (*TeamResponse, error)
func (*UnimplementedUsersServiceServer) GetTeamsByType ¶
func (*UnimplementedUsersServiceServer) GetTeamsByType(context.Context, *StringTeamTypeRequest) (*Team, error)
func (*UnimplementedUsersServiceServer) GetUserByEmail ¶
func (*UnimplementedUsersServiceServer) GetUserByEmail(context.Context, *StringUserTypeRequest) (*UserResponse, error)
func (*UnimplementedUsersServiceServer) GetUserByID ¶
func (*UnimplementedUsersServiceServer) GetUserByID(context.Context, *Uint32UserTypeRequest) (*UserResponse, error)
func (*UnimplementedUsersServiceServer) GetUserByUsername ¶
func (*UnimplementedUsersServiceServer) GetUserByUsername(context.Context, *StringUserTypeRequest) (*UserResponse, error)
func (*UnimplementedUsersServiceServer) GetUsersByType ¶
func (*UnimplementedUsersServiceServer) GetUsersByType(context.Context, *GetUsersSearchRequest) (*UserResponse, error)
func (*UnimplementedUsersServiceServer) UpdateGroup ¶
func (*UnimplementedUsersServiceServer) UpdateGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) UpdateTeam ¶
func (*UnimplementedUsersServiceServer) UpdateTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error)
func (*UnimplementedUsersServiceServer) UpdateUser ¶
func (*UnimplementedUsersServiceServer) UpdateUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error)
type UpdateOrCreateEntityResponse ¶
type UpdateOrCreateEntityResponse struct { Successful bool `protobuf:"varint,1,opt,name=Successful,proto3" json:"Successful,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrCreateEntityResponse) Descriptor
deprecated
func (*UpdateOrCreateEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrCreateEntityResponse.ProtoReflect.Descriptor instead.
func (*UpdateOrCreateEntityResponse) GetError ¶
func (x *UpdateOrCreateEntityResponse) GetError() string
func (*UpdateOrCreateEntityResponse) GetSuccessful ¶
func (x *UpdateOrCreateEntityResponse) GetSuccessful() bool
func (*UpdateOrCreateEntityResponse) ProtoMessage ¶
func (*UpdateOrCreateEntityResponse) ProtoMessage()
func (*UpdateOrCreateEntityResponse) ProtoReflect ¶
func (x *UpdateOrCreateEntityResponse) ProtoReflect() protoreflect.Message
func (*UpdateOrCreateEntityResponse) Reset ¶
func (x *UpdateOrCreateEntityResponse) Reset()
func (*UpdateOrCreateEntityResponse) String ¶
func (x *UpdateOrCreateEntityResponse) String() string
func (*UpdateOrCreateEntityResponse) Validate ¶
func (this *UpdateOrCreateEntityResponse) Validate() error
type User ¶
type User struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UserAccountType string `protobuf:"bytes,5,opt,name=user_account_type,json=userAccountType,proto3" json:"user_account_type,omitempty"` FirstName string `protobuf:"bytes,6,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,7,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` UserName string `protobuf:"bytes,8,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` Gender string `protobuf:"bytes,9,opt,name=gender,proto3" json:"gender,omitempty"` Languages string `protobuf:"bytes,10,opt,name=languages,proto3" json:"languages,omitempty"` Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"` PasswordConfirmed string `protobuf:"bytes,12,opt,name=password_confirmed,json=passwordConfirmed,proto3" json:"password_confirmed,omitempty"` Age int32 `protobuf:"varint,13,opt,name=age,proto3" json:"age,omitempty"` BirthDate string `protobuf:"bytes,14,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` PhoneNumber string `protobuf:"bytes,15,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` Email string `protobuf:"bytes,16,opt,name=email,proto3" json:"email,omitempty"` Intent string `protobuf:"bytes,17,opt,name=intent,proto3" json:"intent,omitempty"` ProfileId *Profile `protobuf:"bytes,18,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` ResetToken string `protobuf:"bytes,19,opt,name=reset_token,json=resetToken,proto3" json:"reset_token,omitempty"` ResetTokenExpiration *timestamp.Timestamp `protobuf:"bytes,20,opt,name=reset_token_expiration,json=resetTokenExpiration,proto3" json:"reset_token_expiration,omitempty"` SubscriptionsId []*Subscriptions `protobuf:"bytes,21,rep,name=subscriptions_id,json=subscriptionsId,proto3" json:"subscriptions_id,omitempty"` IsActive bool `protobuf:"varint,22,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // contains filtered or unexported fields }
func DefaultApplyFieldMaskUser ¶
func DefaultApplyFieldMaskUser(ctx context.Context, patchee *User, patcher *User, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*User, error)
DefaultApplyFieldMaskUser patches an pbObject with patcher according to a field mask.
func DefaultCreateUser ¶
DefaultCreateUser executes a basic gorm create call
func DefaultListUser ¶
DefaultListUser executes a gorm list call
func DefaultPatchSetUser ¶
func DefaultPatchSetUser(ctx context.Context, objects []*User, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*User, error)
DefaultPatchSetUser executes a bulk gorm update call with patch behavior
func DefaultPatchUser ¶
func DefaultPatchUser(ctx context.Context, in *User, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*User, error)
DefaultPatchUser executes a basic gorm update call with patch behavior
func DefaultReadUser ¶
DefaultReadUser executes a basic gorm read call
func DefaultStrictUpdateUser ¶
DefaultStrictUpdateUser clears first level 1:many children and then executes a gorm update call
func (*User) Descriptor
deprecated
func (*User) GetBirthDate ¶
func (*User) GetCreatedAt ¶
func (*User) GetDeletedAt ¶
func (*User) GetFirstName ¶
func (*User) GetIsActive ¶
func (*User) GetLanguages ¶
func (*User) GetLastName ¶
func (*User) GetPassword ¶
func (*User) GetPasswordConfirmed ¶
func (*User) GetPhoneNumber ¶
func (*User) GetProfileId ¶
func (*User) GetResetToken ¶
func (*User) GetResetTokenExpiration ¶
func (*User) GetSubscriptionsId ¶
func (x *User) GetSubscriptionsId() []*Subscriptions
func (*User) GetUpdatedAt ¶
func (*User) GetUserAccountType ¶
func (*User) GetUserName ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserORM ¶
type UserORM struct { AccountID string AdminGroupId *int32 AdminIdTeamId *int32 AdvisorsTeamId *int32 Age int32 BirthDate string CreatedAt *time.Time DeletedAt *time.Time Email string FirstName string Gender string GroupMembersGroupId *int32 Id int32 `gorm:"type:integer;primary_key"` Intent string IsActive bool Languages string LastName string MembersTeamId *int32 Password string PasswordConfirmed string PhoneNumber string ProfileId *ProfileORM `gorm:"foreignkey:ProfileId;association_foreignkey:Id"` ResetToken string ResetTokenExpiration *time.Time SubscriptionsId []*SubscriptionsORM `gorm:"foreignkey:UserId;association_foreignkey:Id"` UpdatedAt *time.Time UserAccountType string UserName string }
func (UserORM) MigrateSchemaOrCreateTable ¶
type UserORMWithAfterCreate_ ¶
type UserORMWithAfterDelete_ ¶
type UserRequest ¶
type UserRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` UserType AccountType `protobuf:"varint,2,opt,name=userType,proto3,enum=AccountType" json:"userType,omitempty"` // contains filtered or unexported fields }
func (*UserRequest) Descriptor
deprecated
func (*UserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.
func (*UserRequest) GetUser ¶
func (x *UserRequest) GetUser() *User
func (*UserRequest) GetUserType ¶
func (x *UserRequest) GetUserType() AccountType
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) ProtoReflect ¶
func (x *UserRequest) ProtoReflect() protoreflect.Message
func (*UserRequest) Reset ¶
func (x *UserRequest) Reset()
func (*UserRequest) String ¶
func (x *UserRequest) String() string
func (*UserRequest) Validate ¶
func (this *UserRequest) Validate() error
type UserResponse ¶
type UserResponse struct { Users []*User `protobuf:"bytes,1,rep,name=Users,proto3" json:"Users,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*UserResponse) Descriptor
deprecated
func (*UserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.
func (*UserResponse) GetError ¶
func (x *UserResponse) GetError() string
func (*UserResponse) GetUsers ¶
func (x *UserResponse) GetUsers() []*User
func (*UserResponse) ProtoMessage ¶
func (*UserResponse) ProtoMessage()
func (*UserResponse) ProtoReflect ¶
func (x *UserResponse) ProtoReflect() protoreflect.Message
func (*UserResponse) Reset ¶
func (x *UserResponse) Reset()
func (*UserResponse) String ¶
func (x *UserResponse) String() string
func (*UserResponse) Validate ¶
func (this *UserResponse) Validate() error
type UserWithAfterPatchSave ¶
type UserWithAfterToORM ¶
UserAfterToORM called after default ToORM code
type UserWithAfterToPB ¶
UserAfterToPB called after default ToPB code
type UserWithBeforePatchRead ¶
type UserWithBeforePatchSave ¶
type UserWithBeforeToORM ¶
UserBeforeToORM called before default ToORM code
type UserWithBeforeToPB ¶
UserBeforeToPB called before default ToPB code
type UsersServiceClient ¶
type UsersServiceClient interface { // Define Get, Update, Create, Delete requests for all user types GetUserByID(ctx context.Context, in *Uint32UserTypeRequest, opts ...grpc.CallOption) (*UserResponse, error) GetUserByUsername(ctx context.Context, in *StringUserTypeRequest, opts ...grpc.CallOption) (*UserResponse, error) GetUserByEmail(ctx context.Context, in *StringUserTypeRequest, opts ...grpc.CallOption) (*UserResponse, error) GetUsersByType(ctx context.Context, in *GetUsersSearchRequest, opts ...grpc.CallOption) (*UserResponse, error) CreateUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) UpdateUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) DeleteUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) DeleteProfileById(ctx context.Context, in *Uint32UserTypeRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) // Define Get, Update, Create, Delete requests for all team types CreateTeam(ctx context.Context, in *TeamRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) UpdateTeam(ctx context.Context, in *TeamRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) DeleteTeam(ctx context.Context, in *TeamRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) GetTeamByID(ctx context.Context, in *Uint32TeamTypeRequest, opts ...grpc.CallOption) (*TeamResponse, error) GetTeamByName(ctx context.Context, in *StringTeamTypeRequest, opts ...grpc.CallOption) (*TeamResponse, error) GetTeamByEmail(ctx context.Context, in *StringTeamTypeRequest, opts ...grpc.CallOption) (*TeamResponse, error) GetTeamsByType(ctx context.Context, in *StringTeamTypeRequest, opts ...grpc.CallOption) (*Team, error) GetTeamsByIndustry(ctx context.Context, in *StringTeamTypeRequest, opts ...grpc.CallOption) (*TeamResponse, error) // Define Get, Update, Create, Delete requests for all group types CreateGroup(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) GetGroupByID(ctx context.Context, in *Uint32GroupTypeRequest, opts ...grpc.CallOption) (*GroupResponse, error) GetGroupByName(ctx context.Context, in *StringGroupTypeRequest, opts ...grpc.CallOption) (*GroupResponse, error) GetGroupsByType(ctx context.Context, in *StringGroupTypeRequest, opts ...grpc.CallOption) (*GroupResponse, error) UpdateGroup(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) DeleteGroup(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*UpdateOrCreateEntityResponse, error) }
UsersServiceClient is the client API for UsersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUsersServiceClient ¶
func NewUsersServiceClient(cc grpc.ClientConnInterface) UsersServiceClient
type UsersServiceDefaultServer ¶
func (*UsersServiceDefaultServer) CreateGroup ¶
func (m *UsersServiceDefaultServer) CreateGroup(ctx context.Context, in *GroupRequest) (*UpdateOrCreateEntityResponse, error)
CreateGroup ...
func (*UsersServiceDefaultServer) CreateTeam ¶
func (m *UsersServiceDefaultServer) CreateTeam(ctx context.Context, in *TeamRequest) (*UpdateOrCreateEntityResponse, error)
CreateTeam ...
func (*UsersServiceDefaultServer) CreateUser ¶
func (m *UsersServiceDefaultServer) CreateUser(ctx context.Context, in *UserRequest) (*UpdateOrCreateEntityResponse, error)
CreateUser ...
func (*UsersServiceDefaultServer) DeleteGroup ¶
func (m *UsersServiceDefaultServer) DeleteGroup(ctx context.Context, in *GroupRequest) (*UpdateOrCreateEntityResponse, error)
DeleteGroup ...
func (*UsersServiceDefaultServer) DeleteProfileById ¶
func (m *UsersServiceDefaultServer) DeleteProfileById(ctx context.Context, in *Uint32UserTypeRequest) (*UpdateOrCreateEntityResponse, error)
DeleteProfileById ...
func (*UsersServiceDefaultServer) DeleteTeam ¶
func (m *UsersServiceDefaultServer) DeleteTeam(ctx context.Context, in *TeamRequest) (*UpdateOrCreateEntityResponse, error)
DeleteTeam ...
func (*UsersServiceDefaultServer) DeleteUser ¶
func (m *UsersServiceDefaultServer) DeleteUser(ctx context.Context, in *UserRequest) (*UpdateOrCreateEntityResponse, error)
DeleteUser ...
func (*UsersServiceDefaultServer) GetGroupByID ¶
func (m *UsersServiceDefaultServer) GetGroupByID(ctx context.Context, in *Uint32GroupTypeRequest) (*GroupResponse, error)
GetGroupByID ...
func (*UsersServiceDefaultServer) GetGroupByName ¶
func (m *UsersServiceDefaultServer) GetGroupByName(ctx context.Context, in *StringGroupTypeRequest) (*GroupResponse, error)
GetGroupByName ...
func (*UsersServiceDefaultServer) GetGroupsByType ¶
func (m *UsersServiceDefaultServer) GetGroupsByType(ctx context.Context, in *StringGroupTypeRequest) (*GroupResponse, error)
GetGroupsByType ...
func (*UsersServiceDefaultServer) GetTeamByEmail ¶
func (m *UsersServiceDefaultServer) GetTeamByEmail(ctx context.Context, in *StringTeamTypeRequest) (*TeamResponse, error)
GetTeamByEmail ...
func (*UsersServiceDefaultServer) GetTeamByID ¶
func (m *UsersServiceDefaultServer) GetTeamByID(ctx context.Context, in *Uint32TeamTypeRequest) (*TeamResponse, error)
GetTeamByID ...
func (*UsersServiceDefaultServer) GetTeamByName ¶
func (m *UsersServiceDefaultServer) GetTeamByName(ctx context.Context, in *StringTeamTypeRequest) (*TeamResponse, error)
GetTeamByName ...
func (*UsersServiceDefaultServer) GetTeamsByIndustry ¶
func (m *UsersServiceDefaultServer) GetTeamsByIndustry(ctx context.Context, in *StringTeamTypeRequest) (*TeamResponse, error)
GetTeamsByIndustry ...
func (*UsersServiceDefaultServer) GetTeamsByType ¶
func (m *UsersServiceDefaultServer) GetTeamsByType(ctx context.Context, in *StringTeamTypeRequest) (*Team, error)
GetTeamsByType ...
func (*UsersServiceDefaultServer) GetUserByEmail ¶
func (m *UsersServiceDefaultServer) GetUserByEmail(ctx context.Context, in *StringUserTypeRequest) (*UserResponse, error)
GetUserByEmail ...
func (*UsersServiceDefaultServer) GetUserByID ¶
func (m *UsersServiceDefaultServer) GetUserByID(ctx context.Context, in *Uint32UserTypeRequest) (*UserResponse, error)
GetUserByID ...
func (*UsersServiceDefaultServer) GetUserByUsername ¶
func (m *UsersServiceDefaultServer) GetUserByUsername(ctx context.Context, in *StringUserTypeRequest) (*UserResponse, error)
GetUserByUsername ...
func (*UsersServiceDefaultServer) GetUsersByType ¶
func (m *UsersServiceDefaultServer) GetUsersByType(ctx context.Context, in *GetUsersSearchRequest) (*UserResponse, error)
GetUsersByType ...
func (*UsersServiceDefaultServer) UpdateGroup ¶
func (m *UsersServiceDefaultServer) UpdateGroup(ctx context.Context, in *GroupRequest) (*UpdateOrCreateEntityResponse, error)
UpdateGroup ...
func (*UsersServiceDefaultServer) UpdateTeam ¶
func (m *UsersServiceDefaultServer) UpdateTeam(ctx context.Context, in *TeamRequest) (*UpdateOrCreateEntityResponse, error)
UpdateTeam ...
func (*UsersServiceDefaultServer) UpdateUser ¶
func (m *UsersServiceDefaultServer) UpdateUser(ctx context.Context, in *UserRequest) (*UpdateOrCreateEntityResponse, error)
UpdateUser ...
type UsersServiceServer ¶
type UsersServiceServer interface { // Define Get, Update, Create, Delete requests for all user types GetUserByID(context.Context, *Uint32UserTypeRequest) (*UserResponse, error) GetUserByUsername(context.Context, *StringUserTypeRequest) (*UserResponse, error) GetUserByEmail(context.Context, *StringUserTypeRequest) (*UserResponse, error) GetUsersByType(context.Context, *GetUsersSearchRequest) (*UserResponse, error) CreateUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error) UpdateUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error) DeleteUser(context.Context, *UserRequest) (*UpdateOrCreateEntityResponse, error) DeleteProfileById(context.Context, *Uint32UserTypeRequest) (*UpdateOrCreateEntityResponse, error) // Define Get, Update, Create, Delete requests for all team types CreateTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error) UpdateTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error) DeleteTeam(context.Context, *TeamRequest) (*UpdateOrCreateEntityResponse, error) GetTeamByID(context.Context, *Uint32TeamTypeRequest) (*TeamResponse, error) GetTeamByName(context.Context, *StringTeamTypeRequest) (*TeamResponse, error) GetTeamByEmail(context.Context, *StringTeamTypeRequest) (*TeamResponse, error) GetTeamsByType(context.Context, *StringTeamTypeRequest) (*Team, error) GetTeamsByIndustry(context.Context, *StringTeamTypeRequest) (*TeamResponse, error) // Define Get, Update, Create, Delete requests for all group types CreateGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error) GetGroupByID(context.Context, *Uint32GroupTypeRequest) (*GroupResponse, error) GetGroupByName(context.Context, *StringGroupTypeRequest) (*GroupResponse, error) GetGroupsByType(context.Context, *StringGroupTypeRequest) (*GroupResponse, error) UpdateGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error) DeleteGroup(context.Context, *GroupRequest) (*UpdateOrCreateEntityResponse, error) }
UsersServiceServer is the server API for UsersService service.