user

package
v0.0.0-...-e9c9027 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: MIT, MIT Imports: 24 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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.

View Source
var (
	TeamAccountType_name = map[int32]string{
		0: "StartupTeam",
		1: "InvestorTeam",
	}
	TeamAccountType_value = map[string]int32{
		"StartupTeam":  0,
		"InvestorTeam": 1,
	}
)

Enum value maps for TeamAccountType.

View Source
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.

View Source
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.

View Source
var File_proto_common_proto protoreflect.FileDescriptor
View Source
var File_proto_tables_proto protoreflect.FileDescriptor
View Source
var File_proto_user_service_proto protoreflect.FileDescriptor

Functions

func DefaultDeleteAddress

func DefaultDeleteAddress(ctx context.Context, in *Address, db *gorm1.DB) error

func DefaultDeleteAddressSet

func DefaultDeleteAddressSet(ctx context.Context, in []*Address, db *gorm1.DB) error

func DefaultDeleteCard

func DefaultDeleteCard(ctx context.Context, in *Card, db *gorm1.DB) error

func DefaultDeleteCardSet

func DefaultDeleteCardSet(ctx context.Context, in []*Card, db *gorm1.DB) error

func DefaultDeleteDirectMessagesPushNotification

func DefaultDeleteDirectMessagesPushNotification(ctx context.Context, in *DirectMessagesPushNotification, db *gorm1.DB) error

func DefaultDeleteDirectMessagesPushNotificationSet

func DefaultDeleteDirectMessagesPushNotificationSet(ctx context.Context, in []*DirectMessagesPushNotification, db *gorm1.DB) error

func DefaultDeleteEducation

func DefaultDeleteEducation(ctx context.Context, in *Education, db *gorm1.DB) error

func DefaultDeleteEducationSet

func DefaultDeleteEducationSet(ctx context.Context, in []*Education, db *gorm1.DB) error

func DefaultDeleteEmailAndSmsPushNotification

func DefaultDeleteEmailAndSmsPushNotification(ctx context.Context, in *EmailAndSmsPushNotification, db *gorm1.DB) error

func DefaultDeleteEmailAndSmsPushNotificationSet

func DefaultDeleteEmailAndSmsPushNotificationSet(ctx context.Context, in []*EmailAndSmsPushNotification, db *gorm1.DB) error

func DefaultDeleteExperience

func DefaultDeleteExperience(ctx context.Context, in *Experience, db *gorm1.DB) error

func DefaultDeleteExperienceSet

func DefaultDeleteExperienceSet(ctx context.Context, in []*Experience, db *gorm1.DB) error

func DefaultDeleteFollowingAndFollowersPushNotification

func DefaultDeleteFollowingAndFollowersPushNotification(ctx context.Context, in *FollowingAndFollowersPushNotification, db *gorm1.DB) error

func DefaultDeleteFollowingAndFollowersPushNotificationSet

func DefaultDeleteFollowingAndFollowersPushNotificationSet(ctx context.Context, in []*FollowingAndFollowersPushNotification, db *gorm1.DB) error

func DefaultDeleteGroup

func DefaultDeleteGroup(ctx context.Context, in *Group, db *gorm1.DB) error

func DefaultDeleteGroupSet

func DefaultDeleteGroupSet(ctx context.Context, in []*Group, db *gorm1.DB) error

func DefaultDeleteInvestment

func DefaultDeleteInvestment(ctx context.Context, in *Investment, db *gorm1.DB) error

func DefaultDeleteInvestmentSet

func DefaultDeleteInvestmentSet(ctx context.Context, in []*Investment, db *gorm1.DB) error

func DefaultDeleteInvestorDetail

func DefaultDeleteInvestorDetail(ctx context.Context, in *InvestorDetail, db *gorm1.DB) error

func DefaultDeleteInvestorDetailSet

func DefaultDeleteInvestorDetailSet(ctx context.Context, in []*InvestorDetail, db *gorm1.DB) error

func DefaultDeleteLoginActivity

func DefaultDeleteLoginActivity(ctx context.Context, in *LoginActivity, db *gorm1.DB) error

func DefaultDeleteLoginActivitySet

func DefaultDeleteLoginActivitySet(ctx context.Context, in []*LoginActivity, db *gorm1.DB) error

func DefaultDeleteMedia

func DefaultDeleteMedia(ctx context.Context, in *Media, db *gorm1.DB) error

func DefaultDeleteMediaSet

func DefaultDeleteMediaSet(ctx context.Context, in []*Media, db *gorm1.DB) error

func DefaultDeleteNotification

func DefaultDeleteNotification(ctx context.Context, in *Notification, db *gorm1.DB) error

func DefaultDeleteNotificationSet

func DefaultDeleteNotificationSet(ctx context.Context, in []*Notification, db *gorm1.DB) error

func DefaultDeletePayments

func DefaultDeletePayments(ctx context.Context, in *Payments, db *gorm1.DB) error

func DefaultDeletePaymentsSet

func DefaultDeletePaymentsSet(ctx context.Context, in []*Payments, db *gorm1.DB) error

func DefaultDeletePin

func DefaultDeletePin(ctx context.Context, in *Pin, db *gorm1.DB) error

func DefaultDeletePinSet

func DefaultDeletePinSet(ctx context.Context, in []*Pin, db *gorm1.DB) error

func DefaultDeletePostAndCommentsPushNotification

func DefaultDeletePostAndCommentsPushNotification(ctx context.Context, in *PostAndCommentsPushNotification, db *gorm1.DB) error

func DefaultDeletePostAndCommentsPushNotificationSet

func DefaultDeletePostAndCommentsPushNotificationSet(ctx context.Context, in []*PostAndCommentsPushNotification, db *gorm1.DB) error

func DefaultDeletePrivacy

func DefaultDeletePrivacy(ctx context.Context, in *Privacy, db *gorm1.DB) error

func DefaultDeletePrivacySet

func DefaultDeletePrivacySet(ctx context.Context, in []*Privacy, db *gorm1.DB) error

func DefaultDeleteProfile

func DefaultDeleteProfile(ctx context.Context, in *Profile, db *gorm1.DB) error

func DefaultDeleteProfileSet

func DefaultDeleteProfileSet(ctx context.Context, in []*Profile, db *gorm1.DB) error

func DefaultDeleteSettings

func DefaultDeleteSettings(ctx context.Context, in *Settings, db *gorm1.DB) error

func DefaultDeleteSettingsSet

func DefaultDeleteSettingsSet(ctx context.Context, in []*Settings, db *gorm1.DB) error

func DefaultDeleteSocialMedia

func DefaultDeleteSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) error

func DefaultDeleteSocialMediaSet

func DefaultDeleteSocialMediaSet(ctx context.Context, in []*SocialMedia, db *gorm1.DB) error

func DefaultDeleteStartupDetail

func DefaultDeleteStartupDetail(ctx context.Context, in *StartupDetail, db *gorm1.DB) error

func DefaultDeleteStartupDetailSet

func DefaultDeleteStartupDetailSet(ctx context.Context, in []*StartupDetail, db *gorm1.DB) error

func DefaultDeleteSubscriptions

func DefaultDeleteSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) error

func DefaultDeleteSubscriptionsSet

func DefaultDeleteSubscriptionsSet(ctx context.Context, in []*Subscriptions, db *gorm1.DB) error

func DefaultDeleteTeam

func DefaultDeleteTeam(ctx context.Context, in *Team, db *gorm1.DB) error

func DefaultDeleteTeamProfile

func DefaultDeleteTeamProfile(ctx context.Context, in *TeamProfile, db *gorm1.DB) error

func DefaultDeleteTeamProfileSet

func DefaultDeleteTeamProfileSet(ctx context.Context, in []*TeamProfile, db *gorm1.DB) error

func DefaultDeleteTeamSet

func DefaultDeleteTeamSet(ctx context.Context, in []*Team, db *gorm1.DB) error

func DefaultDeleteUser

func DefaultDeleteUser(ctx context.Context, in *User, db *gorm1.DB) error

func DefaultDeleteUserSet

func DefaultDeleteUserSet(ctx context.Context, in []*User, db *gorm1.DB) error

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) 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

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

func DefaultCreateAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)

DefaultCreateAddress executes a basic gorm create call

func DefaultListAddress

func DefaultListAddress(ctx context.Context, db *gorm1.DB) ([]*Address, error)

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

func DefaultReadAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)

DefaultReadAddress executes a basic gorm read call

func DefaultStrictUpdateAddress

func DefaultStrictUpdateAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)

DefaultStrictUpdateAddress clears first level 1:many children and then executes a gorm update call

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetBuildingNumber

func (x *Address) GetBuildingNumber() string

func (*Address) GetCity

func (x *Address) GetCity() string

func (*Address) GetCountry

func (x *Address) GetCountry() string

func (*Address) GetCreatedAt

func (x *Address) GetCreatedAt() *timestamp.Timestamp

func (*Address) GetDeletedAt

func (x *Address) GetDeletedAt() *timestamp.Timestamp

func (*Address) GetId

func (x *Address) GetId() int32

func (*Address) GetLatitude

func (x *Address) GetLatitude() string

func (*Address) GetLongitude

func (x *Address) GetLongitude() string

func (*Address) GetState

func (x *Address) GetState() string

func (*Address) GetStreet

func (x *Address) GetStreet() string

func (*Address) GetUpdatedAt

func (x *Address) GetUpdatedAt() *timestamp.Timestamp

func (*Address) GetZipCode

func (x *Address) GetZipCode() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

func (*Address) ToORM

func (m *Address) ToORM(ctx context.Context) (AddressORM, 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 (*Address) Validate

func (this *Address) Validate() error

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

func (*AddressORM) ToPB

func (m *AddressORM) ToPB(ctx context.Context) (Address, 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 AddressORMWithAfterCreate_

type AddressORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type AddressORMWithAfterDeleteSet

type AddressORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Address, *gorm1.DB) error
}

type AddressORMWithAfterDelete_

type AddressORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type AddressORMWithAfterListFind

type AddressORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]AddressORM) error
}

type AddressORMWithAfterReadFind

type AddressORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type AddressORMWithAfterStrictUpdateSave

type AddressORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type AddressORMWithBeforeCreate_

type AddressORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeDeleteSet

type AddressORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Address, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeDelete_

type AddressORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeListApplyQuery

type AddressORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeListFind

type AddressORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeReadApplyQuery

type AddressORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeReadFind

type AddressORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeStrictUpdateCleanup

type AddressORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeStrictUpdateSave

type AddressORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressWithAfterPatchSave

type AddressWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Address, *field_mask1.FieldMask, *gorm1.DB) error
}

type AddressWithAfterToORM

type AddressWithAfterToORM interface {
	AfterToORM(context.Context, *AddressORM) error
}

AddressAfterToORM called after default ToORM code

type AddressWithAfterToPB

type AddressWithAfterToPB interface {
	AfterToPB(context.Context, *Address) error
}

AddressAfterToPB called after default ToPB code

type AddressWithBeforePatchApplyFieldMask

type AddressWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Address, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type AddressWithBeforePatchRead

type AddressWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Address, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type AddressWithBeforePatchSave

type AddressWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Address, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type AddressWithBeforeToORM

type AddressWithBeforeToORM interface {
	BeforeToORM(context.Context, *AddressORM) error
}

AddressBeforeToORM called before default ToORM code

type AddressWithBeforeToPB

type AddressWithBeforeToPB interface {
	BeforeToPB(context.Context, *Address) error
}

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

func DefaultCreateCard(ctx context.Context, in *Card, db *gorm1.DB) (*Card, error)

DefaultCreateCard executes a basic gorm create call

func DefaultListCard

func DefaultListCard(ctx context.Context, db *gorm1.DB) ([]*Card, error)

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

func DefaultReadCard(ctx context.Context, in *Card, db *gorm1.DB) (*Card, error)

DefaultReadCard executes a basic gorm read call

func DefaultStrictUpdateCard

func DefaultStrictUpdateCard(ctx context.Context, in *Card, db *gorm1.DB) (*Card, error)

DefaultStrictUpdateCard clears first level 1:many children and then executes a gorm update call

func (*Card) Descriptor deprecated

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

Deprecated: Use Card.ProtoReflect.Descriptor instead.

func (*Card) GetAddress

func (x *Card) GetAddress() string

func (*Card) GetCardNumber

func (x *Card) GetCardNumber() string

func (*Card) GetCardZipCode

func (x *Card) GetCardZipCode() string

func (*Card) GetCity

func (x *Card) GetCity() string

func (*Card) GetCreatedAt

func (x *Card) GetCreatedAt() *timestamp.Timestamp

func (*Card) GetDeletedAt

func (x *Card) GetDeletedAt() *timestamp.Timestamp

func (*Card) GetFullName

func (x *Card) GetFullName() string

func (*Card) GetId

func (x *Card) GetId() int32

func (*Card) GetLastLogin

func (x *Card) GetLastLogin() *timestamp.Timestamp

func (*Card) GetSecurityCode

func (x *Card) GetSecurityCode() string

func (*Card) GetState

func (x *Card) GetState() string

func (*Card) GetUpdatedAt

func (x *Card) GetUpdatedAt() *timestamp.Timestamp

func (*Card) GetZipcode

func (x *Card) GetZipcode() string

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) ProtoReflect

func (x *Card) ProtoReflect() protoreflect.Message

func (*Card) Reset

func (x *Card) Reset()

func (*Card) String

func (x *Card) String() string

func (*Card) ToORM

func (m *Card) ToORM(ctx context.Context) (CardORM, 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 (*Card) Validate

func (this *Card) Validate() error

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
}

func (CardORM) TableName

func (CardORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*CardORM) ToPB

func (m *CardORM) ToPB(ctx context.Context) (Card, 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 CardORMWithAfterCreate_

type CardORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type CardORMWithAfterDeleteSet

type CardORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Card, *gorm1.DB) error
}

type CardORMWithAfterDelete_

type CardORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type CardORMWithAfterListFind

type CardORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]CardORM) error
}

type CardORMWithAfterReadFind

type CardORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type CardORMWithAfterStrictUpdateSave

type CardORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type CardORMWithBeforeCreate_

type CardORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CardORMWithBeforeDeleteSet

type CardORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Card, *gorm1.DB) (*gorm1.DB, error)
}

type CardORMWithBeforeDelete_

type CardORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CardORMWithBeforeListApplyQuery

type CardORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CardORMWithBeforeListFind

type CardORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CardORMWithBeforeReadApplyQuery

type CardORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CardORMWithBeforeReadFind

type CardORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CardORMWithBeforeStrictUpdateCleanup

type CardORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CardORMWithBeforeStrictUpdateSave

type CardORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CardWithAfterPatchSave

type CardWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Card, *field_mask1.FieldMask, *gorm1.DB) error
}

type CardWithAfterToORM

type CardWithAfterToORM interface {
	AfterToORM(context.Context, *CardORM) error
}

CardAfterToORM called after default ToORM code

type CardWithAfterToPB

type CardWithAfterToPB interface {
	AfterToPB(context.Context, *Card) error
}

CardAfterToPB called after default ToPB code

type CardWithBeforePatchApplyFieldMask

type CardWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Card, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type CardWithBeforePatchRead

type CardWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Card, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type CardWithBeforePatchSave

type CardWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Card, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type CardWithBeforeToORM

type CardWithBeforeToORM interface {
	BeforeToORM(context.Context, *CardORM) error
}

CardBeforeToORM called before default ToORM code

type CardWithBeforeToPB

type CardWithBeforeToPB interface {
	BeforeToPB(context.Context, *Card) error
}

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

func DefaultCreateDetails(ctx context.Context, in *Details, db *gorm1.DB) (*Details, error)

DefaultCreateDetails executes a basic gorm create call

func DefaultListDetails

func DefaultListDetails(ctx context.Context, db *gorm1.DB) ([]*Details, error)

DefaultListDetails executes a gorm list call

func (*Details) Descriptor deprecated

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

Deprecated: Use Details.ProtoReflect.Descriptor instead.

func (*Details) GetCompanyType

func (x *Details) GetCompanyType() string

func (*Details) GetIPOStatus

func (x *Details) GetIPOStatus() string

func (*Details) ProtoMessage

func (*Details) ProtoMessage()

func (*Details) ProtoReflect

func (x *Details) ProtoReflect() protoreflect.Message

func (*Details) Reset

func (x *Details) Reset()

func (*Details) String

func (x *Details) String() string

func (*Details) ToORM

func (m *Details) ToORM(ctx context.Context) (DetailsORM, 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 (*Details) Validate

func (this *Details) Validate() error

type DetailsORM

type DetailsORM struct {
	CompanyType string
	IPOStatus   string
}

func (DetailsORM) TableName

func (DetailsORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*DetailsORM) ToPB

func (m *DetailsORM) ToPB(ctx context.Context) (Details, 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 DetailsORMWithAfterCreate_

type DetailsORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type DetailsORMWithAfterListFind

type DetailsORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]DetailsORM) error
}

type DetailsORMWithBeforeCreate_

type DetailsORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DetailsORMWithBeforeListApplyQuery

type DetailsORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DetailsORMWithBeforeListFind

type DetailsORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DetailsWithAfterToORM

type DetailsWithAfterToORM interface {
	AfterToORM(context.Context, *DetailsORM) error
}

DetailsAfterToORM called after default ToORM code

type DetailsWithAfterToPB

type DetailsWithAfterToPB interface {
	AfterToPB(context.Context, *Details) error
}

DetailsAfterToPB called after default ToPB code

type DetailsWithBeforeToORM

type DetailsWithBeforeToORM interface {
	BeforeToORM(context.Context, *DetailsORM) error
}

DetailsBeforeToORM called before default ToORM code

type DetailsWithBeforeToPB

type DetailsWithBeforeToPB interface {
	BeforeToPB(context.Context, *Details) error
}

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 (*DirectMessagesPushNotification) GetDeletedAt

func (*DirectMessagesPushNotification) GetGroupRequests

func (*DirectMessagesPushNotification) GetId

func (*DirectMessagesPushNotification) GetMessage

func (*DirectMessagesPushNotification) GetMessageRequests

func (*DirectMessagesPushNotification) GetUpdatedAt

func (*DirectMessagesPushNotification) ProtoMessage

func (*DirectMessagesPushNotification) ProtoMessage()

func (*DirectMessagesPushNotification) ProtoReflect

func (*DirectMessagesPushNotification) Reset

func (x *DirectMessagesPushNotification) Reset()

func (*DirectMessagesPushNotification) String

func (*DirectMessagesPushNotification) ToORM

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

TableName overrides the default tablename generated by GORM

func (*DirectMessagesPushNotificationORM) ToPB

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 DirectMessagesPushNotificationORMWithAfterCreate_

type DirectMessagesPushNotificationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type DirectMessagesPushNotificationORMWithAfterDeleteSet

type DirectMessagesPushNotificationORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*DirectMessagesPushNotification, *gorm1.DB) error
}

type DirectMessagesPushNotificationORMWithAfterDelete_

type DirectMessagesPushNotificationORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type DirectMessagesPushNotificationORMWithAfterListFind

type DirectMessagesPushNotificationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]DirectMessagesPushNotificationORM) error
}

type DirectMessagesPushNotificationORMWithAfterReadFind

type DirectMessagesPushNotificationORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type DirectMessagesPushNotificationORMWithAfterStrictUpdateSave

type DirectMessagesPushNotificationORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type DirectMessagesPushNotificationORMWithBeforeCreate_

type DirectMessagesPushNotificationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DirectMessagesPushNotificationORMWithBeforeDeleteSet

type DirectMessagesPushNotificationORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*DirectMessagesPushNotification, *gorm1.DB) (*gorm1.DB, error)
}

type DirectMessagesPushNotificationORMWithBeforeDelete_

type DirectMessagesPushNotificationORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DirectMessagesPushNotificationORMWithBeforeListApplyQuery

type DirectMessagesPushNotificationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DirectMessagesPushNotificationORMWithBeforeListFind

type DirectMessagesPushNotificationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DirectMessagesPushNotificationORMWithBeforeReadApplyQuery

type DirectMessagesPushNotificationORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DirectMessagesPushNotificationORMWithBeforeReadFind

type DirectMessagesPushNotificationORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DirectMessagesPushNotificationORMWithBeforeStrictUpdateCleanup

type DirectMessagesPushNotificationORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DirectMessagesPushNotificationORMWithBeforeStrictUpdateSave

type DirectMessagesPushNotificationORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultCreateEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)

DefaultCreateEducation executes a basic gorm create call

func DefaultListEducation

func DefaultListEducation(ctx context.Context, db *gorm1.DB) ([]*Education, error)

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

func DefaultReadEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)

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) Descriptor() ([]byte, []int)

Deprecated: Use Education.ProtoReflect.Descriptor instead.

func (*Education) GetActivities

func (x *Education) GetActivities() string

func (*Education) GetCreatedAt

func (x *Education) GetCreatedAt() *timestamp.Timestamp

func (*Education) GetCurrentlyAttending

func (x *Education) GetCurrentlyAttending() bool

func (*Education) GetDegree

func (x *Education) GetDegree() string

func (*Education) GetDeletedAt

func (x *Education) GetDeletedAt() *timestamp.Timestamp

func (*Education) GetDescription

func (x *Education) GetDescription() string

func (*Education) GetEndDate

func (x *Education) GetEndDate() *timestamp.Timestamp

func (*Education) GetFieldOfStudy

func (x *Education) GetFieldOfStudy() string

func (*Education) GetGpa

func (x *Education) GetGpa() float32

func (*Education) GetId

func (x *Education) GetId() int32

func (*Education) GetMediaId

func (x *Education) GetMediaId() *Media

func (*Education) GetSchool

func (x *Education) GetSchool() string

func (*Education) GetSocieties

func (x *Education) GetSocieties() string

func (*Education) GetStartDate

func (x *Education) GetStartDate() *timestamp.Timestamp

func (*Education) GetUpdatedAt

func (x *Education) GetUpdatedAt() *timestamp.Timestamp

func (*Education) ProtoMessage

func (*Education) ProtoMessage()

func (*Education) ProtoReflect

func (x *Education) ProtoReflect() protoreflect.Message

func (*Education) Reset

func (x *Education) Reset()

func (*Education) String

func (x *Education) String() string

func (*Education) ToORM

func (m *Education) ToORM(ctx context.Context) (EducationORM, 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 (*Education) Validate

func (this *Education) Validate() error

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

func (*EducationORM) ToPB

func (m *EducationORM) ToPB(ctx context.Context) (Education, 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 EducationORMWithAfterCreate_

type EducationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type EducationORMWithAfterDeleteSet

type EducationORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Education, *gorm1.DB) error
}

type EducationORMWithAfterDelete_

type EducationORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type EducationORMWithAfterListFind

type EducationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]EducationORM) error
}

type EducationORMWithAfterReadFind

type EducationORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type EducationORMWithAfterStrictUpdateSave

type EducationORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type EducationORMWithBeforeCreate_

type EducationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeDeleteSet

type EducationORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Education, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeDelete_

type EducationORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeListApplyQuery

type EducationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeListFind

type EducationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeReadApplyQuery

type EducationORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeReadFind

type EducationORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeStrictUpdateCleanup

type EducationORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeStrictUpdateSave

type EducationORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationWithAfterPatchSave

type EducationWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Education, *field_mask1.FieldMask, *gorm1.DB) error
}

type EducationWithAfterToORM

type EducationWithAfterToORM interface {
	AfterToORM(context.Context, *EducationORM) error
}

EducationAfterToORM called after default ToORM code

type EducationWithAfterToPB

type EducationWithAfterToPB interface {
	AfterToPB(context.Context, *Education) error
}

EducationAfterToPB called after default ToPB code

type EducationWithBeforePatchApplyFieldMask

type EducationWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Education, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type EducationWithBeforePatchRead

type EducationWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Education, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type EducationWithBeforePatchSave

type EducationWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Education, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type EducationWithBeforeToORM

type EducationWithBeforeToORM interface {
	BeforeToORM(context.Context, *EducationORM) error
}

EducationBeforeToORM called before default ToORM code

type EducationWithBeforeToPB

type EducationWithBeforeToPB interface {
	BeforeToPB(context.Context, *Education) error
}

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 (*EmailAndSmsPushNotification) GetId

func (*EmailAndSmsPushNotification) GetNewsEmails

func (*EmailAndSmsPushNotification) GetProductEmails

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 (*EmailAndSmsPushNotification) Reset

func (x *EmailAndSmsPushNotification) Reset()

func (*EmailAndSmsPushNotification) String

func (x *EmailAndSmsPushNotification) String() string

func (*EmailAndSmsPushNotification) ToORM

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

TableName overrides the default tablename generated by GORM

func (*EmailAndSmsPushNotificationORM) ToPB

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 EmailAndSmsPushNotificationORMWithAfterCreate_

type EmailAndSmsPushNotificationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type EmailAndSmsPushNotificationORMWithAfterDeleteSet

type EmailAndSmsPushNotificationORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*EmailAndSmsPushNotification, *gorm1.DB) error
}

type EmailAndSmsPushNotificationORMWithAfterDelete_

type EmailAndSmsPushNotificationORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type EmailAndSmsPushNotificationORMWithAfterListFind

type EmailAndSmsPushNotificationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]EmailAndSmsPushNotificationORM) error
}

type EmailAndSmsPushNotificationORMWithAfterReadFind

type EmailAndSmsPushNotificationORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type EmailAndSmsPushNotificationORMWithAfterStrictUpdateSave

type EmailAndSmsPushNotificationORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type EmailAndSmsPushNotificationORMWithBeforeCreate_

type EmailAndSmsPushNotificationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EmailAndSmsPushNotificationORMWithBeforeDeleteSet

type EmailAndSmsPushNotificationORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*EmailAndSmsPushNotification, *gorm1.DB) (*gorm1.DB, error)
}

type EmailAndSmsPushNotificationORMWithBeforeDelete_

type EmailAndSmsPushNotificationORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EmailAndSmsPushNotificationORMWithBeforeListApplyQuery

type EmailAndSmsPushNotificationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EmailAndSmsPushNotificationORMWithBeforeListFind

type EmailAndSmsPushNotificationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EmailAndSmsPushNotificationORMWithBeforeReadApplyQuery

type EmailAndSmsPushNotificationORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EmailAndSmsPushNotificationORMWithBeforeReadFind

type EmailAndSmsPushNotificationORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EmailAndSmsPushNotificationORMWithBeforeStrictUpdateCleanup

type EmailAndSmsPushNotificationORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EmailAndSmsPushNotificationORMWithBeforeStrictUpdateSave

type EmailAndSmsPushNotificationORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultListExperience(ctx context.Context, db *gorm1.DB) ([]*Experience, error)

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 ExperienceORMWithAfterCreate_

type ExperienceORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type ExperienceORMWithAfterDeleteSet

type ExperienceORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Experience, *gorm1.DB) error
}

type ExperienceORMWithAfterDelete_

type ExperienceORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type ExperienceORMWithAfterListFind

type ExperienceORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]ExperienceORM) error
}

type ExperienceORMWithAfterReadFind

type ExperienceORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type ExperienceORMWithAfterStrictUpdateSave

type ExperienceORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type ExperienceORMWithBeforeCreate_

type ExperienceORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeDeleteSet

type ExperienceORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Experience, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeDelete_

type ExperienceORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeListApplyQuery

type ExperienceORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeListFind

type ExperienceORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeReadApplyQuery

type ExperienceORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeReadFind

type ExperienceORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeStrictUpdateCleanup

type ExperienceORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeStrictUpdateSave

type ExperienceORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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 (*FollowingAndFollowersPushNotification) GetDeletedAt

func (*FollowingAndFollowersPushNotification) GetFollowerRequests

func (*FollowingAndFollowersPushNotification) GetId

func (*FollowingAndFollowersPushNotification) GetMentionsInBio

func (*FollowingAndFollowersPushNotification) GetUpdatedAt

func (*FollowingAndFollowersPushNotification) ProtoMessage

func (*FollowingAndFollowersPushNotification) ProtoMessage()

func (*FollowingAndFollowersPushNotification) ProtoReflect

func (*FollowingAndFollowersPushNotification) Reset

func (*FollowingAndFollowersPushNotification) String

func (*FollowingAndFollowersPushNotification) ToORM

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

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

TableName overrides the default tablename generated by GORM

func (*FollowingAndFollowersPushNotificationORM) ToPB

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 FollowingAndFollowersPushNotificationORMWithAfterCreate_

type FollowingAndFollowersPushNotificationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type FollowingAndFollowersPushNotificationORMWithAfterDeleteSet

type FollowingAndFollowersPushNotificationORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*FollowingAndFollowersPushNotification, *gorm1.DB) error
}

type FollowingAndFollowersPushNotificationORMWithAfterDelete_

type FollowingAndFollowersPushNotificationORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type FollowingAndFollowersPushNotificationORMWithAfterListFind

type FollowingAndFollowersPushNotificationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]FollowingAndFollowersPushNotificationORM) error
}

type FollowingAndFollowersPushNotificationORMWithAfterReadFind

type FollowingAndFollowersPushNotificationORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type FollowingAndFollowersPushNotificationORMWithAfterStrictUpdateSave

type FollowingAndFollowersPushNotificationORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type FollowingAndFollowersPushNotificationORMWithBeforeCreate_

type FollowingAndFollowersPushNotificationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type FollowingAndFollowersPushNotificationORMWithBeforeDeleteSet

type FollowingAndFollowersPushNotificationORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*FollowingAndFollowersPushNotification, *gorm1.DB) (*gorm1.DB, error)
}

type FollowingAndFollowersPushNotificationORMWithBeforeDelete_

type FollowingAndFollowersPushNotificationORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type FollowingAndFollowersPushNotificationORMWithBeforeListApplyQuery

type FollowingAndFollowersPushNotificationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type FollowingAndFollowersPushNotificationORMWithBeforeListFind

type FollowingAndFollowersPushNotificationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type FollowingAndFollowersPushNotificationORMWithBeforeReadApplyQuery

type FollowingAndFollowersPushNotificationORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type FollowingAndFollowersPushNotificationORMWithBeforeReadFind

type FollowingAndFollowersPushNotificationORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type FollowingAndFollowersPushNotificationORMWithBeforeStrictUpdateCleanup

type FollowingAndFollowersPushNotificationORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type FollowingAndFollowersPushNotificationORMWithBeforeStrictUpdateSave

type FollowingAndFollowersPushNotificationORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultCreateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)

DefaultCreateGroup executes a basic gorm create call

func DefaultListGroup

func DefaultListGroup(ctx context.Context, db *gorm1.DB) ([]*Group, error)

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

func DefaultReadGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)

DefaultReadGroup executes a basic gorm read call

func DefaultStrictUpdateGroup

func DefaultStrictUpdateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)

DefaultStrictUpdateGroup clears first level 1:many children and then executes a gorm update call

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetAdmin

func (x *Group) GetAdmin() *User

func (*Group) GetAvatarUrl

func (x *Group) GetAvatarUrl() string

func (*Group) GetBio

func (x *Group) GetBio() string

func (*Group) GetCreatedAt

func (x *Group) GetCreatedAt() *timestamp.Timestamp

func (*Group) GetDeletedAt

func (x *Group) GetDeletedAt() *timestamp.Timestamp

func (*Group) GetGroupMembers

func (x *Group) GetGroupMembers() []*User

func (*Group) GetId

func (x *Group) GetId() int32

func (*Group) GetIsPublic

func (x *Group) GetIsPublic() bool

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetNumberOfMembers

func (x *Group) GetNumberOfMembers() int32

func (*Group) GetTags

func (x *Group) GetTags() []string

func (*Group) GetType

func (x *Group) GetType() string

func (*Group) GetUpdatedAt

func (x *Group) GetUpdatedAt() *timestamp.Timestamp

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

func (*Group) ToORM

func (m *Group) ToORM(ctx context.Context) (GroupORM, 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 (*Group) Validate

func (this *Group) Validate() error

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

func (table GroupORM) MigrateSchemaOrCreateTable(db *gorm.DB, logger *zap.Logger)

func (GroupORM) TableName

func (GroupORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*GroupORM) ToPB

func (m *GroupORM) ToPB(ctx context.Context) (Group, 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 GroupORMWithAfterCreate_

type GroupORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type GroupORMWithAfterDeleteSet

type GroupORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Group, *gorm1.DB) error
}

type GroupORMWithAfterDelete_

type GroupORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type GroupORMWithAfterListFind

type GroupORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]GroupORM) error
}

type GroupORMWithAfterReadFind

type GroupORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type GroupORMWithAfterStrictUpdateSave

type GroupORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type GroupORMWithBeforeCreate_

type GroupORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeDeleteSet

type GroupORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Group, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeDelete_

type GroupORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeListApplyQuery

type GroupORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeListFind

type GroupORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeReadApplyQuery

type GroupORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeReadFind

type GroupORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeStrictUpdateCleanup

type GroupORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type GroupORMWithBeforeStrictUpdateSave

type GroupORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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 GroupWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) error
}

type GroupWithAfterToORM

type GroupWithAfterToORM interface {
	AfterToORM(context.Context, *GroupORM) error
}

GroupAfterToORM called after default ToORM code

type GroupWithAfterToPB

type GroupWithAfterToPB interface {
	AfterToPB(context.Context, *Group) error
}

GroupAfterToPB called after default ToPB code

type GroupWithBeforePatchApplyFieldMask

type GroupWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type GroupWithBeforePatchRead

type GroupWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type GroupWithBeforePatchSave

type GroupWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type GroupWithBeforeToORM

type GroupWithBeforeToORM interface {
	BeforeToORM(context.Context, *GroupORM) error
}

GroupBeforeToORM called before default ToORM code

type GroupWithBeforeToPB

type GroupWithBeforeToPB interface {
	BeforeToPB(context.Context, *Group) error
}

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

func DefaultListInvestment(ctx context.Context, db *gorm1.DB) ([]*Investment, error)

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 InvestmentORMWithAfterCreate_

type InvestmentORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type InvestmentORMWithAfterDeleteSet

type InvestmentORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Investment, *gorm1.DB) error
}

type InvestmentORMWithAfterDelete_

type InvestmentORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type InvestmentORMWithAfterListFind

type InvestmentORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]InvestmentORM) error
}

type InvestmentORMWithAfterReadFind

type InvestmentORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type InvestmentORMWithAfterStrictUpdateSave

type InvestmentORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type InvestmentORMWithBeforeCreate_

type InvestmentORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeDeleteSet

type InvestmentORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Investment, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeDelete_

type InvestmentORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeListApplyQuery

type InvestmentORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeListFind

type InvestmentORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeReadApplyQuery

type InvestmentORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeReadFind

type InvestmentORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeStrictUpdateCleanup

type InvestmentORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeStrictUpdateSave

type InvestmentORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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) Enum

func (x InvestmentStage) Enum() *InvestmentStage

func (InvestmentStage) EnumDescriptor deprecated

func (InvestmentStage) EnumDescriptor() ([]byte, []int)

Deprecated: Use InvestmentStage.Descriptor instead.

func (InvestmentStage) Number

func (InvestmentStage) String

func (x InvestmentStage) String() string

func (InvestmentStage) Type

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

func DefaultListInvestorDetail(ctx context.Context, db *gorm1.DB) ([]*InvestorDetail, error)

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

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

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 InvestorDetailORMWithAfterCreate_

type InvestorDetailORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type InvestorDetailORMWithAfterDeleteSet

type InvestorDetailORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*InvestorDetail, *gorm1.DB) error
}

type InvestorDetailORMWithAfterDelete_

type InvestorDetailORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type InvestorDetailORMWithAfterListFind

type InvestorDetailORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]InvestorDetailORM) error
}

type InvestorDetailORMWithAfterReadFind

type InvestorDetailORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type InvestorDetailORMWithAfterStrictUpdateSave

type InvestorDetailORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type InvestorDetailORMWithBeforeCreate_

type InvestorDetailORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestorDetailORMWithBeforeDeleteSet

type InvestorDetailORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*InvestorDetail, *gorm1.DB) (*gorm1.DB, error)
}

type InvestorDetailORMWithBeforeDelete_

type InvestorDetailORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestorDetailORMWithBeforeListApplyQuery

type InvestorDetailORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestorDetailORMWithBeforeListFind

type InvestorDetailORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestorDetailORMWithBeforeReadApplyQuery

type InvestorDetailORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestorDetailORMWithBeforeReadFind

type InvestorDetailORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestorDetailORMWithBeforeStrictUpdateCleanup

type InvestorDetailORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestorDetailORMWithBeforeStrictUpdateSave

type InvestorDetailORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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) Enum

func (x InvestorType) Enum() *InvestorType

func (InvestorType) EnumDescriptor deprecated

func (InvestorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InvestorType.Descriptor instead.

func (InvestorType) Number

func (InvestorType) String

func (x InvestorType) String() string

func (InvestorType) Type

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

func DefaultListLoginActivity(ctx context.Context, db *gorm1.DB) ([]*LoginActivity, error)

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

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

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 LoginActivityORMWithAfterCreate_

type LoginActivityORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type LoginActivityORMWithAfterDeleteSet

type LoginActivityORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*LoginActivity, *gorm1.DB) error
}

type LoginActivityORMWithAfterDelete_

type LoginActivityORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type LoginActivityORMWithAfterListFind

type LoginActivityORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]LoginActivityORM) error
}

type LoginActivityORMWithAfterReadFind

type LoginActivityORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type LoginActivityORMWithAfterStrictUpdateSave

type LoginActivityORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type LoginActivityORMWithBeforeCreate_

type LoginActivityORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type LoginActivityORMWithBeforeDeleteSet

type LoginActivityORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*LoginActivity, *gorm1.DB) (*gorm1.DB, error)
}

type LoginActivityORMWithBeforeDelete_

type LoginActivityORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type LoginActivityORMWithBeforeListApplyQuery

type LoginActivityORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type LoginActivityORMWithBeforeListFind

type LoginActivityORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type LoginActivityORMWithBeforeReadApplyQuery

type LoginActivityORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type LoginActivityORMWithBeforeReadFind

type LoginActivityORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type LoginActivityORMWithBeforeStrictUpdateCleanup

type LoginActivityORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type LoginActivityORMWithBeforeStrictUpdateSave

type LoginActivityORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultCreateMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)

DefaultCreateMedia executes a basic gorm create call

func DefaultListMedia

func DefaultListMedia(ctx context.Context, db *gorm1.DB) ([]*Media, error)

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

func DefaultReadMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)

DefaultReadMedia executes a basic gorm read call

func DefaultStrictUpdateMedia

func DefaultStrictUpdateMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)

DefaultStrictUpdateMedia clears first level 1:many children and then executes a gorm update call

func (*Media) Descriptor deprecated

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

Deprecated: Use Media.ProtoReflect.Descriptor instead.

func (*Media) GetCreatedAt

func (x *Media) GetCreatedAt() *timestamp.Timestamp

func (*Media) GetDeletedAt

func (x *Media) GetDeletedAt() *timestamp.Timestamp
func (x *Media) GetDocumentLinks() []string

func (*Media) GetId

func (x *Media) GetId() int32
func (x *Media) GetPhotoLinks() []string
func (x *Media) GetPresentationLinks() []string

func (*Media) GetUpdatedAt

func (x *Media) GetUpdatedAt() *timestamp.Timestamp
func (x *Media) GetVideoLinks() []string

func (*Media) ProtoMessage

func (*Media) ProtoMessage()

func (*Media) ProtoReflect

func (x *Media) ProtoReflect() protoreflect.Message

func (*Media) Reset

func (x *Media) Reset()

func (*Media) String

func (x *Media) String() string

func (*Media) ToORM

func (m *Media) ToORM(ctx context.Context) (MediaORM, 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 (*Media) Validate

func (this *Media) Validate() error

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[]"`
}

func (MediaORM) TableName

func (MediaORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*MediaORM) ToPB

func (m *MediaORM) ToPB(ctx context.Context) (Media, 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 MediaORMWithAfterCreate_

type MediaORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type MediaORMWithAfterDeleteSet

type MediaORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Media, *gorm1.DB) error
}

type MediaORMWithAfterDelete_

type MediaORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type MediaORMWithAfterListFind

type MediaORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]MediaORM) error
}

type MediaORMWithAfterReadFind

type MediaORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type MediaORMWithAfterStrictUpdateSave

type MediaORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type MediaORMWithBeforeCreate_

type MediaORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeDeleteSet

type MediaORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Media, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeDelete_

type MediaORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeListApplyQuery

type MediaORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeListFind

type MediaORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeReadApplyQuery

type MediaORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeReadFind

type MediaORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeStrictUpdateCleanup

type MediaORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeStrictUpdateSave

type MediaORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaWithAfterPatchSave

type MediaWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Media, *field_mask1.FieldMask, *gorm1.DB) error
}

type MediaWithAfterToORM

type MediaWithAfterToORM interface {
	AfterToORM(context.Context, *MediaORM) error
}

MediaAfterToORM called after default ToORM code

type MediaWithAfterToPB

type MediaWithAfterToPB interface {
	AfterToPB(context.Context, *Media) error
}

MediaAfterToPB called after default ToPB code

type MediaWithBeforePatchApplyFieldMask

type MediaWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Media, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MediaWithBeforePatchRead

type MediaWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Media, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MediaWithBeforePatchSave

type MediaWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Media, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MediaWithBeforeToORM

type MediaWithBeforeToORM interface {
	BeforeToORM(context.Context, *MediaORM) error
}

MediaBeforeToORM called before default ToORM code

type MediaWithBeforeToPB

type MediaWithBeforeToPB interface {
	BeforeToPB(context.Context, *Media) error
}

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

func DefaultListNotification(ctx context.Context, db *gorm1.DB) ([]*Notification, error)

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

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

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 NotificationORMWithAfterCreate_

type NotificationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type NotificationORMWithAfterDeleteSet

type NotificationORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Notification, *gorm1.DB) error
}

type NotificationORMWithAfterDelete_

type NotificationORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type NotificationORMWithAfterListFind

type NotificationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]NotificationORM) error
}

type NotificationORMWithAfterReadFind

type NotificationORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type NotificationORMWithAfterStrictUpdateSave

type NotificationORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type NotificationORMWithBeforeCreate_

type NotificationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type NotificationORMWithBeforeDeleteSet

type NotificationORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Notification, *gorm1.DB) (*gorm1.DB, error)
}

type NotificationORMWithBeforeDelete_

type NotificationORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type NotificationORMWithBeforeListApplyQuery

type NotificationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type NotificationORMWithBeforeListFind

type NotificationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type NotificationORMWithBeforeReadApplyQuery

type NotificationORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type NotificationORMWithBeforeReadFind

type NotificationORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type NotificationORMWithBeforeStrictUpdateCleanup

type NotificationORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type NotificationORMWithBeforeStrictUpdateSave

type NotificationORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultCreatePayments(ctx context.Context, in *Payments, db *gorm1.DB) (*Payments, error)

DefaultCreatePayments executes a basic gorm create call

func DefaultListPayments

func DefaultListPayments(ctx context.Context, db *gorm1.DB) ([]*Payments, error)

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

func DefaultReadPayments(ctx context.Context, in *Payments, db *gorm1.DB) (*Payments, error)

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) Descriptor() ([]byte, []int)

Deprecated: Use Payments.ProtoReflect.Descriptor instead.

func (*Payments) GetCreatedAt

func (x *Payments) GetCreatedAt() *timestamp.Timestamp

func (*Payments) GetCreditCard

func (x *Payments) GetCreditCard() *Card

func (*Payments) GetDebitCard

func (x *Payments) GetDebitCard() *Card

func (*Payments) GetDeletedAt

func (x *Payments) GetDeletedAt() *timestamp.Timestamp

func (*Payments) GetId

func (x *Payments) GetId() int32

func (*Payments) GetLastLogin

func (x *Payments) GetLastLogin() *timestamp.Timestamp

func (*Payments) GetPin

func (x *Payments) GetPin() *Pin

func (*Payments) GetUpdatedAt

func (x *Payments) GetUpdatedAt() *timestamp.Timestamp

func (*Payments) ProtoMessage

func (*Payments) ProtoMessage()

func (*Payments) ProtoReflect

func (x *Payments) ProtoReflect() protoreflect.Message

func (*Payments) Reset

func (x *Payments) Reset()

func (*Payments) String

func (x *Payments) String() string

func (*Payments) ToORM

func (m *Payments) ToORM(ctx context.Context) (PaymentsORM, 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 (*Payments) Validate

func (this *Payments) Validate() error

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

func (*PaymentsORM) ToPB

func (m *PaymentsORM) ToPB(ctx context.Context) (Payments, 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 PaymentsORMWithAfterCreate_

type PaymentsORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type PaymentsORMWithAfterDeleteSet

type PaymentsORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Payments, *gorm1.DB) error
}

type PaymentsORMWithAfterDelete_

type PaymentsORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type PaymentsORMWithAfterListFind

type PaymentsORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]PaymentsORM) error
}

type PaymentsORMWithAfterReadFind

type PaymentsORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type PaymentsORMWithAfterStrictUpdateSave

type PaymentsORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type PaymentsORMWithBeforeCreate_

type PaymentsORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsORMWithBeforeDeleteSet

type PaymentsORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Payments, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsORMWithBeforeDelete_

type PaymentsORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsORMWithBeforeListApplyQuery

type PaymentsORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsORMWithBeforeListFind

type PaymentsORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsORMWithBeforeReadApplyQuery

type PaymentsORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsORMWithBeforeReadFind

type PaymentsORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsORMWithBeforeStrictUpdateCleanup

type PaymentsORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsORMWithBeforeStrictUpdateSave

type PaymentsORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsWithAfterPatchSave

type PaymentsWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Payments, *field_mask1.FieldMask, *gorm1.DB) error
}

type PaymentsWithAfterToORM

type PaymentsWithAfterToORM interface {
	AfterToORM(context.Context, *PaymentsORM) error
}

PaymentsAfterToORM called after default ToORM code

type PaymentsWithAfterToPB

type PaymentsWithAfterToPB interface {
	AfterToPB(context.Context, *Payments) error
}

PaymentsAfterToPB called after default ToPB code

type PaymentsWithBeforePatchApplyFieldMask

type PaymentsWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Payments, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsWithBeforePatchRead

type PaymentsWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Payments, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsWithBeforePatchSave

type PaymentsWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Payments, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PaymentsWithBeforeToORM

type PaymentsWithBeforeToORM interface {
	BeforeToORM(context.Context, *PaymentsORM) error
}

PaymentsBeforeToORM called before default ToORM code

type PaymentsWithBeforeToPB

type PaymentsWithBeforeToPB interface {
	BeforeToPB(context.Context, *Payments) error
}

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

func DefaultCreatePin(ctx context.Context, in *Pin, db *gorm1.DB) (*Pin, error)

DefaultCreatePin executes a basic gorm create call

func DefaultListPin

func DefaultListPin(ctx context.Context, db *gorm1.DB) ([]*Pin, error)

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

func DefaultReadPin(ctx context.Context, in *Pin, db *gorm1.DB) (*Pin, error)

DefaultReadPin executes a basic gorm read call

func DefaultStrictUpdatePin

func DefaultStrictUpdatePin(ctx context.Context, in *Pin, db *gorm1.DB) (*Pin, error)

DefaultStrictUpdatePin clears first level 1:many children and then executes a gorm update call

func (*Pin) Descriptor deprecated

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

Deprecated: Use Pin.ProtoReflect.Descriptor instead.

func (*Pin) GetCreatedAt

func (x *Pin) GetCreatedAt() *timestamp.Timestamp

func (*Pin) GetDeletedAt

func (x *Pin) GetDeletedAt() *timestamp.Timestamp

func (*Pin) GetId

func (x *Pin) GetId() int32

func (*Pin) GetLastLogin

func (x *Pin) GetLastLogin() *timestamp.Timestamp

func (*Pin) GetPin

func (x *Pin) GetPin() string

func (*Pin) GetPinEnabled

func (x *Pin) GetPinEnabled() bool

func (*Pin) GetUpdatedAt

func (x *Pin) GetUpdatedAt() *timestamp.Timestamp

func (*Pin) ProtoMessage

func (*Pin) ProtoMessage()

func (*Pin) ProtoReflect

func (x *Pin) ProtoReflect() protoreflect.Message

func (*Pin) Reset

func (x *Pin) Reset()

func (*Pin) String

func (x *Pin) String() string

func (*Pin) ToORM

func (m *Pin) ToORM(ctx context.Context) (PinORM, 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 (*Pin) Validate

func (this *Pin) Validate() error

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
}

func (PinORM) TableName

func (PinORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PinORM) ToPB

func (m *PinORM) ToPB(ctx context.Context) (Pin, 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 PinORMWithAfterCreate_

type PinORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type PinORMWithAfterDeleteSet

type PinORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Pin, *gorm1.DB) error
}

type PinORMWithAfterDelete_

type PinORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type PinORMWithAfterListFind

type PinORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]PinORM) error
}

type PinORMWithAfterReadFind

type PinORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type PinORMWithAfterStrictUpdateSave

type PinORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type PinORMWithBeforeCreate_

type PinORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PinORMWithBeforeDeleteSet

type PinORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Pin, *gorm1.DB) (*gorm1.DB, error)
}

type PinORMWithBeforeDelete_

type PinORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PinORMWithBeforeListApplyQuery

type PinORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PinORMWithBeforeListFind

type PinORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PinORMWithBeforeReadApplyQuery

type PinORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PinORMWithBeforeReadFind

type PinORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PinORMWithBeforeStrictUpdateCleanup

type PinORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PinORMWithBeforeStrictUpdateSave

type PinORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PinWithAfterPatchSave

type PinWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Pin, *field_mask1.FieldMask, *gorm1.DB) error
}

type PinWithAfterToORM

type PinWithAfterToORM interface {
	AfterToORM(context.Context, *PinORM) error
}

PinAfterToORM called after default ToORM code

type PinWithAfterToPB

type PinWithAfterToPB interface {
	AfterToPB(context.Context, *Pin) error
}

PinAfterToPB called after default ToPB code

type PinWithBeforePatchApplyFieldMask

type PinWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Pin, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PinWithBeforePatchRead

type PinWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Pin, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PinWithBeforePatchSave

type PinWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Pin, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PinWithBeforeToORM

type PinWithBeforeToORM interface {
	BeforeToORM(context.Context, *PinORM) error
}

PinBeforeToORM called before default ToORM code

type PinWithBeforeToPB

type PinWithBeforeToPB interface {
	BeforeToPB(context.Context, *Pin) error
}

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 (*PostAndCommentsPushNotification) GetComments

func (*PostAndCommentsPushNotification) GetCreatedAt

func (*PostAndCommentsPushNotification) GetDeletedAt

func (*PostAndCommentsPushNotification) GetId

func (*PostAndCommentsPushNotification) GetLikes

func (*PostAndCommentsPushNotification) GetLikesAndCommentsOnPostsOfYou

func (x *PostAndCommentsPushNotification) GetLikesAndCommentsOnPostsOfYou() *TieredPushNotificationSetting

func (*PostAndCommentsPushNotification) GetPostsOfYou

func (*PostAndCommentsPushNotification) GetUpdatedAt

func (*PostAndCommentsPushNotification) ProtoMessage

func (*PostAndCommentsPushNotification) ProtoMessage()

func (*PostAndCommentsPushNotification) ProtoReflect

func (*PostAndCommentsPushNotification) Reset

func (*PostAndCommentsPushNotification) String

func (*PostAndCommentsPushNotification) ToORM

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

TableName overrides the default tablename generated by GORM

func (*PostAndCommentsPushNotificationORM) ToPB

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 PostAndCommentsPushNotificationORMWithAfterCreate_

type PostAndCommentsPushNotificationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type PostAndCommentsPushNotificationORMWithAfterDeleteSet

type PostAndCommentsPushNotificationORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*PostAndCommentsPushNotification, *gorm1.DB) error
}

type PostAndCommentsPushNotificationORMWithAfterDelete_

type PostAndCommentsPushNotificationORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type PostAndCommentsPushNotificationORMWithAfterListFind

type PostAndCommentsPushNotificationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]PostAndCommentsPushNotificationORM) error
}

type PostAndCommentsPushNotificationORMWithAfterReadFind

type PostAndCommentsPushNotificationORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type PostAndCommentsPushNotificationORMWithAfterStrictUpdateSave

type PostAndCommentsPushNotificationORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type PostAndCommentsPushNotificationORMWithBeforeCreate_

type PostAndCommentsPushNotificationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PostAndCommentsPushNotificationORMWithBeforeDeleteSet

type PostAndCommentsPushNotificationORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*PostAndCommentsPushNotification, *gorm1.DB) (*gorm1.DB, error)
}

type PostAndCommentsPushNotificationORMWithBeforeDelete_

type PostAndCommentsPushNotificationORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PostAndCommentsPushNotificationORMWithBeforeListApplyQuery

type PostAndCommentsPushNotificationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PostAndCommentsPushNotificationORMWithBeforeListFind

type PostAndCommentsPushNotificationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PostAndCommentsPushNotificationORMWithBeforeReadApplyQuery

type PostAndCommentsPushNotificationORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PostAndCommentsPushNotificationORMWithBeforeReadFind

type PostAndCommentsPushNotificationORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PostAndCommentsPushNotificationORMWithBeforeStrictUpdateCleanup

type PostAndCommentsPushNotificationORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PostAndCommentsPushNotificationORMWithBeforeStrictUpdateSave

type PostAndCommentsPushNotificationORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultCreatePrivacy(ctx context.Context, in *Privacy, db *gorm1.DB) (*Privacy, error)

DefaultCreatePrivacy executes a basic gorm create call

func DefaultListPrivacy

func DefaultListPrivacy(ctx context.Context, db *gorm1.DB) ([]*Privacy, error)

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

func DefaultReadPrivacy(ctx context.Context, in *Privacy, db *gorm1.DB) (*Privacy, error)

DefaultReadPrivacy executes a basic gorm read call

func DefaultStrictUpdatePrivacy

func DefaultStrictUpdatePrivacy(ctx context.Context, in *Privacy, db *gorm1.DB) (*Privacy, error)

DefaultStrictUpdatePrivacy clears first level 1:many children and then executes a gorm update call

func (*Privacy) Descriptor deprecated

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

Deprecated: Use Privacy.ProtoReflect.Descriptor instead.

func (*Privacy) GetActivityStatus

func (x *Privacy) GetActivityStatus() bool

func (*Privacy) GetBlockedAccountsId

func (x *Privacy) GetBlockedAccountsId() []*Profile

func (*Privacy) GetBlockedTeamAccountsId

func (x *Privacy) GetBlockedTeamAccountsId() []*TeamProfile

func (*Privacy) GetCreatedAt

func (x *Privacy) GetCreatedAt() *timestamp.Timestamp

func (*Privacy) GetDeletedAt

func (x *Privacy) GetDeletedAt() *timestamp.Timestamp

func (*Privacy) GetId

func (x *Privacy) GetId() int32

func (*Privacy) GetMutedAccountsId

func (x *Privacy) GetMutedAccountsId() []*Profile

func (*Privacy) GetMutedTeamAccountsId

func (x *Privacy) GetMutedTeamAccountsId() []*TeamProfile

func (*Privacy) GetPrivateAccount

func (x *Privacy) GetPrivateAccount() bool

func (*Privacy) GetUpdatedAt

func (x *Privacy) GetUpdatedAt() *timestamp.Timestamp

func (*Privacy) ProtoMessage

func (*Privacy) ProtoMessage()

func (*Privacy) ProtoReflect

func (x *Privacy) ProtoReflect() protoreflect.Message

func (*Privacy) Reset

func (x *Privacy) Reset()

func (*Privacy) String

func (x *Privacy) String() string

func (*Privacy) ToORM

func (m *Privacy) ToORM(ctx context.Context) (PrivacyORM, 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 (*Privacy) Validate

func (this *Privacy) Validate() error

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

func (*PrivacyORM) ToPB

func (m *PrivacyORM) ToPB(ctx context.Context) (Privacy, 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 PrivacyORMWithAfterCreate_

type PrivacyORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type PrivacyORMWithAfterDeleteSet

type PrivacyORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Privacy, *gorm1.DB) error
}

type PrivacyORMWithAfterDelete_

type PrivacyORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type PrivacyORMWithAfterListFind

type PrivacyORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]PrivacyORM) error
}

type PrivacyORMWithAfterReadFind

type PrivacyORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type PrivacyORMWithAfterStrictUpdateSave

type PrivacyORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type PrivacyORMWithBeforeCreate_

type PrivacyORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyORMWithBeforeDeleteSet

type PrivacyORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Privacy, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyORMWithBeforeDelete_

type PrivacyORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyORMWithBeforeListApplyQuery

type PrivacyORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyORMWithBeforeListFind

type PrivacyORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyORMWithBeforeReadApplyQuery

type PrivacyORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyORMWithBeforeReadFind

type PrivacyORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyORMWithBeforeStrictUpdateCleanup

type PrivacyORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyORMWithBeforeStrictUpdateSave

type PrivacyORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyWithAfterPatchSave

type PrivacyWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Privacy, *field_mask1.FieldMask, *gorm1.DB) error
}

type PrivacyWithAfterToORM

type PrivacyWithAfterToORM interface {
	AfterToORM(context.Context, *PrivacyORM) error
}

PrivacyAfterToORM called after default ToORM code

type PrivacyWithAfterToPB

type PrivacyWithAfterToPB interface {
	AfterToPB(context.Context, *Privacy) error
}

PrivacyAfterToPB called after default ToPB code

type PrivacyWithBeforePatchApplyFieldMask

type PrivacyWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Privacy, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyWithBeforePatchRead

type PrivacyWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Privacy, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyWithBeforePatchSave

type PrivacyWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Privacy, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type PrivacyWithBeforeToORM

type PrivacyWithBeforeToORM interface {
	BeforeToORM(context.Context, *PrivacyORM) error
}

PrivacyBeforeToORM called before default ToORM code

type PrivacyWithBeforeToPB

type PrivacyWithBeforeToPB interface {
	BeforeToPB(context.Context, *Privacy) error
}

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

func DefaultCreateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)

DefaultCreateProfile executes a basic gorm create call

func DefaultListProfile

func DefaultListProfile(ctx context.Context, db *gorm1.DB) ([]*Profile, error)

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

func DefaultReadProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)

DefaultReadProfile executes a basic gorm read call

func DefaultStrictUpdateProfile

func DefaultStrictUpdateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)

DefaultStrictUpdateProfile clears first level 1:many children and then executes a gorm update call

func (*Profile) Descriptor deprecated

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

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAddressId

func (x *Profile) GetAddressId() *Address

func (*Profile) GetAvatarUrl

func (x *Profile) GetAvatarUrl() string

func (*Profile) GetBio

func (x *Profile) GetBio() string

func (*Profile) GetCreatedAt

func (x *Profile) GetCreatedAt() *timestamp.Timestamp

func (*Profile) GetDeletedAt

func (x *Profile) GetDeletedAt() *timestamp.Timestamp

func (*Profile) GetEducationId

func (x *Profile) GetEducationId() []*Education

func (*Profile) GetExperienceId

func (x *Profile) GetExperienceId() []*Experience

func (*Profile) GetGroupId

func (x *Profile) GetGroupId() []*Group

func (*Profile) GetId

func (x *Profile) GetId() int32

func (*Profile) GetNationality

func (x *Profile) GetNationality() string

func (*Profile) GetProfileType

func (x *Profile) GetProfileType() string

func (*Profile) GetSettingsId

func (x *Profile) GetSettingsId() *Settings

func (*Profile) GetSkills

func (x *Profile) GetSkills() []string

func (*Profile) GetSocialMedia

func (x *Profile) GetSocialMedia() *SocialMedia

func (*Profile) GetTeamId

func (x *Profile) GetTeamId() *Team

func (*Profile) GetUpdatedAt

func (x *Profile) GetUpdatedAt() *timestamp.Timestamp

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

func (*Profile) ToORM

func (m *Profile) ToORM(ctx context.Context) (ProfileORM, 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 (*Profile) Validate

func (this *Profile) Validate() error

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

func (*ProfileORM) ToPB

func (m *ProfileORM) ToPB(ctx context.Context) (Profile, 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 ProfileORMWithAfterCreate_

type ProfileORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type ProfileORMWithAfterDeleteSet

type ProfileORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Profile, *gorm1.DB) error
}

type ProfileORMWithAfterDelete_

type ProfileORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type ProfileORMWithAfterListFind

type ProfileORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]ProfileORM) error
}

type ProfileORMWithAfterReadFind

type ProfileORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type ProfileORMWithAfterStrictUpdateSave

type ProfileORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type ProfileORMWithBeforeCreate_

type ProfileORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileORMWithBeforeDeleteSet

type ProfileORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Profile, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileORMWithBeforeDelete_

type ProfileORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileORMWithBeforeListApplyQuery

type ProfileORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileORMWithBeforeListFind

type ProfileORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileORMWithBeforeReadApplyQuery

type ProfileORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileORMWithBeforeReadFind

type ProfileORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileORMWithBeforeStrictUpdateCleanup

type ProfileORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileORMWithBeforeStrictUpdateSave

type ProfileORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileWithAfterPatchSave

type ProfileWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Profile, *field_mask1.FieldMask, *gorm1.DB) error
}

type ProfileWithAfterToORM

type ProfileWithAfterToORM interface {
	AfterToORM(context.Context, *ProfileORM) error
}

ProfileAfterToORM called after default ToORM code

type ProfileWithAfterToPB

type ProfileWithAfterToPB interface {
	AfterToPB(context.Context, *Profile) error
}

ProfileAfterToPB called after default ToPB code

type ProfileWithBeforePatchApplyFieldMask

type ProfileWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Profile, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileWithBeforePatchRead

type ProfileWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Profile, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileWithBeforePatchSave

type ProfileWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Profile, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ProfileWithBeforeToORM

type ProfileWithBeforeToORM interface {
	BeforeToORM(context.Context, *ProfileORM) error
}

ProfileBeforeToORM called before default ToORM code

type ProfileWithBeforeToPB

type ProfileWithBeforeToPB interface {
	BeforeToPB(context.Context, *Profile) error
}

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

func DefaultCreateSettings(ctx context.Context, in *Settings, db *gorm1.DB) (*Settings, error)

DefaultCreateSettings executes a basic gorm create call

func DefaultListSettings

func DefaultListSettings(ctx context.Context, db *gorm1.DB) ([]*Settings, error)

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

func DefaultReadSettings(ctx context.Context, in *Settings, db *gorm1.DB) (*Settings, error)

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) Descriptor() ([]byte, []int)

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetCreatedAt

func (x *Settings) GetCreatedAt() *timestamp.Timestamp

func (*Settings) GetDeletedAt

func (x *Settings) GetDeletedAt() *timestamp.Timestamp

func (*Settings) GetId

func (x *Settings) GetId() int32

func (*Settings) GetLastLogin

func (x *Settings) GetLastLogin() *timestamp.Timestamp

func (*Settings) GetLastLoginLocation

func (x *Settings) GetLastLoginLocation() string

func (*Settings) GetNotificationId

func (x *Settings) GetNotificationId() *Notification

func (*Settings) GetPaymentId

func (x *Settings) GetPaymentId() *Payments

func (*Settings) GetPrivacyId

func (x *Settings) GetPrivacyId() *Privacy

func (*Settings) GetUpdatedAt

func (x *Settings) GetUpdatedAt() *timestamp.Timestamp

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect

func (x *Settings) ProtoReflect() protoreflect.Message

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

func (*Settings) ToORM

func (m *Settings) ToORM(ctx context.Context) (SettingsORM, 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 (*Settings) Validate

func (this *Settings) Validate() error

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

func (*SettingsORM) ToPB

func (m *SettingsORM) ToPB(ctx context.Context) (Settings, 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 SettingsORMWithAfterCreate_

type SettingsORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type SettingsORMWithAfterDeleteSet

type SettingsORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Settings, *gorm1.DB) error
}

type SettingsORMWithAfterDelete_

type SettingsORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type SettingsORMWithAfterListFind

type SettingsORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]SettingsORM) error
}

type SettingsORMWithAfterReadFind

type SettingsORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type SettingsORMWithAfterStrictUpdateSave

type SettingsORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type SettingsORMWithBeforeCreate_

type SettingsORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsORMWithBeforeDeleteSet

type SettingsORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Settings, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsORMWithBeforeDelete_

type SettingsORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsORMWithBeforeListApplyQuery

type SettingsORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsORMWithBeforeListFind

type SettingsORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsORMWithBeforeReadApplyQuery

type SettingsORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsORMWithBeforeReadFind

type SettingsORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsORMWithBeforeStrictUpdateCleanup

type SettingsORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsORMWithBeforeStrictUpdateSave

type SettingsORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsWithAfterPatchSave

type SettingsWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Settings, *field_mask1.FieldMask, *gorm1.DB) error
}

type SettingsWithAfterToORM

type SettingsWithAfterToORM interface {
	AfterToORM(context.Context, *SettingsORM) error
}

SettingsAfterToORM called after default ToORM code

type SettingsWithAfterToPB

type SettingsWithAfterToPB interface {
	AfterToPB(context.Context, *Settings) error
}

SettingsAfterToPB called after default ToPB code

type SettingsWithBeforePatchApplyFieldMask

type SettingsWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Settings, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsWithBeforePatchRead

type SettingsWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Settings, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsWithBeforePatchSave

type SettingsWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Settings, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SettingsWithBeforeToORM

type SettingsWithBeforeToORM interface {
	BeforeToORM(context.Context, *SettingsORM) error
}

SettingsBeforeToORM called before default ToORM code

type SettingsWithBeforeToPB

type SettingsWithBeforeToPB interface {
	BeforeToPB(context.Context, *Settings) error
}

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

func DefaultListSocialMedia(ctx context.Context, db *gorm1.DB) ([]*SocialMedia, error)

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

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 SocialMediaORMWithAfterCreate_

type SocialMediaORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type SocialMediaORMWithAfterDeleteSet

type SocialMediaORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*SocialMedia, *gorm1.DB) error
}

type SocialMediaORMWithAfterDelete_

type SocialMediaORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type SocialMediaORMWithAfterListFind

type SocialMediaORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]SocialMediaORM) error
}

type SocialMediaORMWithAfterReadFind

type SocialMediaORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type SocialMediaORMWithAfterStrictUpdateSave

type SocialMediaORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type SocialMediaORMWithBeforeCreate_

type SocialMediaORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeDeleteSet

type SocialMediaORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*SocialMedia, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeDelete_

type SocialMediaORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeListApplyQuery

type SocialMediaORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeListFind

type SocialMediaORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeReadApplyQuery

type SocialMediaORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeReadFind

type SocialMediaORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeStrictUpdateCleanup

type SocialMediaORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeStrictUpdateSave

type SocialMediaORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultListStartupDetail(ctx context.Context, db *gorm1.DB) ([]*StartupDetail, error)

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

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

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 StartupDetailORMWithAfterCreate_

type StartupDetailORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type StartupDetailORMWithAfterDeleteSet

type StartupDetailORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*StartupDetail, *gorm1.DB) error
}

type StartupDetailORMWithAfterDelete_

type StartupDetailORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type StartupDetailORMWithAfterListFind

type StartupDetailORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]StartupDetailORM) error
}

type StartupDetailORMWithAfterReadFind

type StartupDetailORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type StartupDetailORMWithAfterStrictUpdateSave

type StartupDetailORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type StartupDetailORMWithBeforeCreate_

type StartupDetailORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type StartupDetailORMWithBeforeDeleteSet

type StartupDetailORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*StartupDetail, *gorm1.DB) (*gorm1.DB, error)
}

type StartupDetailORMWithBeforeDelete_

type StartupDetailORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type StartupDetailORMWithBeforeListApplyQuery

type StartupDetailORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type StartupDetailORMWithBeforeListFind

type StartupDetailORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type StartupDetailORMWithBeforeReadApplyQuery

type StartupDetailORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type StartupDetailORMWithBeforeReadFind

type StartupDetailORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type StartupDetailORMWithBeforeStrictUpdateCleanup

type StartupDetailORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type StartupDetailORMWithBeforeStrictUpdateSave

type StartupDetailORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultListSubscriptions(ctx context.Context, db *gorm1.DB) ([]*Subscriptions, error)

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

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

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 SubscriptionsORMWithAfterCreate_

type SubscriptionsORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type SubscriptionsORMWithAfterDeleteSet

type SubscriptionsORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Subscriptions, *gorm1.DB) error
}

type SubscriptionsORMWithAfterDelete_

type SubscriptionsORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type SubscriptionsORMWithAfterListFind

type SubscriptionsORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]SubscriptionsORM) error
}

type SubscriptionsORMWithAfterReadFind

type SubscriptionsORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type SubscriptionsORMWithAfterStrictUpdateSave

type SubscriptionsORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type SubscriptionsORMWithBeforeCreate_

type SubscriptionsORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeDeleteSet

type SubscriptionsORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Subscriptions, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeDelete_

type SubscriptionsORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeListApplyQuery

type SubscriptionsORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeListFind

type SubscriptionsORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeReadApplyQuery

type SubscriptionsORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeReadFind

type SubscriptionsORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeStrictUpdateCleanup

type SubscriptionsORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeStrictUpdateSave

type SubscriptionsORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultCreateTeam(ctx context.Context, in *Team, db *gorm1.DB) (*Team, error)

DefaultCreateTeam executes a basic gorm create call

func DefaultListTeam

func DefaultListTeam(ctx context.Context, db *gorm1.DB) ([]*Team, error)

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

func DefaultReadTeam(ctx context.Context, in *Team, db *gorm1.DB) (*Team, error)

DefaultReadTeam executes a basic gorm read call

func DefaultStrictUpdateTeam

func DefaultStrictUpdateTeam(ctx context.Context, in *Team, db *gorm1.DB) (*Team, error)

DefaultStrictUpdateTeam clears first level 1:many children and then executes a gorm update call

func (*Team) Descriptor deprecated

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

Deprecated: Use Team.ProtoReflect.Descriptor instead.

func (*Team) GetAdminId

func (x *Team) GetAdminId() *User

func (*Team) GetAdvisors

func (x *Team) GetAdvisors() []*User

func (*Team) GetBio

func (x *Team) GetBio() string

func (*Team) GetCreatedAt

func (x *Team) GetCreatedAt() *timestamp.Timestamp

func (*Team) GetDeletedAt

func (x *Team) GetDeletedAt() *timestamp.Timestamp

func (*Team) GetEmail

func (x *Team) GetEmail() string

func (*Team) GetFoundedDate

func (x *Team) GetFoundedDate() *timestamp.Timestamp

func (*Team) GetHeadquartersId

func (x *Team) GetHeadquartersId() *Address

func (*Team) GetId

func (x *Team) GetId() int32

func (*Team) GetIndustry

func (x *Team) GetIndustry() string

func (*Team) GetIsActive

func (x *Team) GetIsActive() bool

func (*Team) GetMembers

func (x *Team) GetMembers() []*User

func (*Team) GetName

func (x *Team) GetName() string

func (*Team) GetNumberOfEmployees

func (x *Team) GetNumberOfEmployees() int32

func (*Team) GetPassword

func (x *Team) GetPassword() string

func (*Team) GetPhoneNumber

func (x *Team) GetPhoneNumber() string

func (*Team) GetResetToken

func (x *Team) GetResetToken() string

func (*Team) GetResetTokenExpiration

func (x *Team) GetResetTokenExpiration() *timestamp.Timestamp

func (*Team) GetSocialMedia

func (x *Team) GetSocialMedia() *SocialMedia

func (*Team) GetSubscriptions

func (x *Team) GetSubscriptions() []*Subscriptions

func (*Team) GetTags

func (x *Team) GetTags() []string

func (*Team) GetTeamProfileId

func (x *Team) GetTeamProfileId() *TeamProfile

func (*Team) GetType

func (x *Team) GetType() string

func (*Team) GetUpdatedAt

func (x *Team) GetUpdatedAt() *timestamp.Timestamp

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) ProtoReflect

func (x *Team) ProtoReflect() protoreflect.Message

func (*Team) Reset

func (x *Team) Reset()

func (*Team) String

func (x *Team) String() string

func (*Team) ToORM

func (m *Team) ToORM(ctx context.Context) (TeamORM, 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 (*Team) Validate

func (this *Team) Validate() error

type TeamAccountType

type TeamAccountType int32
const (
	TeamAccountType_StartupTeam  TeamAccountType = 0
	TeamAccountType_InvestorTeam TeamAccountType = 1
)

func (TeamAccountType) Descriptor

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 (TeamAccountType) String

func (x TeamAccountType) String() string

func (TeamAccountType) Type

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

func (table TeamORM) MigrateSchemaOrCreateTable(db *gorm.DB, logger *zap.Logger)

func (TeamORM) TableName

func (TeamORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*TeamORM) ToPB

func (m *TeamORM) ToPB(ctx context.Context) (Team, 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 TeamORMWithAfterCreate_

type TeamORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TeamORMWithAfterDeleteSet

type TeamORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Team, *gorm1.DB) error
}

type TeamORMWithAfterDelete_

type TeamORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type TeamORMWithAfterListFind

type TeamORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TeamORM) error
}

type TeamORMWithAfterReadFind

type TeamORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type TeamORMWithAfterStrictUpdateSave

type TeamORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type TeamORMWithBeforeCreate_

type TeamORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamORMWithBeforeDeleteSet

type TeamORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Team, *gorm1.DB) (*gorm1.DB, error)
}

type TeamORMWithBeforeDelete_

type TeamORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamORMWithBeforeListApplyQuery

type TeamORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamORMWithBeforeListFind

type TeamORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamORMWithBeforeReadApplyQuery

type TeamORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamORMWithBeforeReadFind

type TeamORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamORMWithBeforeStrictUpdateCleanup

type TeamORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamORMWithBeforeStrictUpdateSave

type TeamORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

func DefaultListTeamProfile(ctx context.Context, db *gorm1.DB) ([]*TeamProfile, error)

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

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 TeamProfileORMWithAfterCreate_

type TeamProfileORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type TeamProfileORMWithAfterDeleteSet

type TeamProfileORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*TeamProfile, *gorm1.DB) error
}

type TeamProfileORMWithAfterDelete_

type TeamProfileORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type TeamProfileORMWithAfterListFind

type TeamProfileORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]TeamProfileORM) error
}

type TeamProfileORMWithAfterReadFind

type TeamProfileORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type TeamProfileORMWithAfterStrictUpdateSave

type TeamProfileORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type TeamProfileORMWithBeforeCreate_

type TeamProfileORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamProfileORMWithBeforeDeleteSet

type TeamProfileORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*TeamProfile, *gorm1.DB) (*gorm1.DB, error)
}

type TeamProfileORMWithBeforeDelete_

type TeamProfileORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamProfileORMWithBeforeListApplyQuery

type TeamProfileORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamProfileORMWithBeforeListFind

type TeamProfileORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamProfileORMWithBeforeReadApplyQuery

type TeamProfileORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamProfileORMWithBeforeReadFind

type TeamProfileORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamProfileORMWithBeforeStrictUpdateCleanup

type TeamProfileORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type TeamProfileORMWithBeforeStrictUpdateSave

type TeamProfileORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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 TeamWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Team, *field_mask1.FieldMask, *gorm1.DB) error
}

type TeamWithAfterToORM

type TeamWithAfterToORM interface {
	AfterToORM(context.Context, *TeamORM) error
}

TeamAfterToORM called after default ToORM code

type TeamWithAfterToPB

type TeamWithAfterToPB interface {
	AfterToPB(context.Context, *Team) error
}

TeamAfterToPB called after default ToPB code

type TeamWithBeforePatchApplyFieldMask

type TeamWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Team, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TeamWithBeforePatchRead

type TeamWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Team, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TeamWithBeforePatchSave

type TeamWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Team, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type TeamWithBeforeToORM

type TeamWithBeforeToORM interface {
	BeforeToORM(context.Context, *TeamORM) error
}

TeamBeforeToORM called before default ToORM code

type TeamWithBeforeToPB

type TeamWithBeforeToPB interface {
	BeforeToPB(context.Context, *Team) error
}

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 (*TieredPushNotificationSetting) Reset

func (x *TieredPushNotificationSetting) Reset()

func (*TieredPushNotificationSetting) 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) CreateTeam

func (*UnimplementedUsersServiceServer) CreateUser

func (*UnimplementedUsersServiceServer) DeleteGroup

func (*UnimplementedUsersServiceServer) DeleteProfileById

func (*UnimplementedUsersServiceServer) DeleteTeam

func (*UnimplementedUsersServiceServer) DeleteUser

func (*UnimplementedUsersServiceServer) GetGroupByID

func (*UnimplementedUsersServiceServer) GetGroupByName

func (*UnimplementedUsersServiceServer) GetGroupsByType

func (*UnimplementedUsersServiceServer) GetTeamByEmail

func (*UnimplementedUsersServiceServer) GetTeamByID

func (*UnimplementedUsersServiceServer) GetTeamByName

func (*UnimplementedUsersServiceServer) GetTeamsByIndustry

func (*UnimplementedUsersServiceServer) GetTeamsByType

func (*UnimplementedUsersServiceServer) GetUserByEmail

func (*UnimplementedUsersServiceServer) GetUserByID

func (*UnimplementedUsersServiceServer) GetUserByUsername

func (*UnimplementedUsersServiceServer) GetUsersByType

func (*UnimplementedUsersServiceServer) UpdateGroup

func (*UnimplementedUsersServiceServer) UpdateTeam

func (*UnimplementedUsersServiceServer) UpdateUser

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 (*UpdateOrCreateEntityResponse) Reset

func (x *UpdateOrCreateEntityResponse) Reset()

func (*UpdateOrCreateEntityResponse) 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

func DefaultCreateUser(ctx context.Context, in *User, db *gorm1.DB) (*User, error)

DefaultCreateUser executes a basic gorm create call

func DefaultListUser

func DefaultListUser(ctx context.Context, db *gorm1.DB) ([]*User, error)

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

func DefaultReadUser(ctx context.Context, in *User, db *gorm1.DB) (*User, error)

DefaultReadUser executes a basic gorm read call

func DefaultStrictUpdateUser

func DefaultStrictUpdateUser(ctx context.Context, in *User, db *gorm1.DB) (*User, error)

DefaultStrictUpdateUser clears first level 1:many children and then executes a gorm update call

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAge

func (x *User) GetAge() int32

func (*User) GetBirthDate

func (x *User) GetBirthDate() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamp.Timestamp

func (*User) GetDeletedAt

func (x *User) GetDeletedAt() *timestamp.Timestamp

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetFirstName

func (x *User) GetFirstName() string

func (*User) GetGender

func (x *User) GetGender() string

func (*User) GetId

func (x *User) GetId() int32

func (*User) GetIntent

func (x *User) GetIntent() string

func (*User) GetIsActive

func (x *User) GetIsActive() bool

func (*User) GetLanguages

func (x *User) GetLanguages() string

func (*User) GetLastName

func (x *User) GetLastName() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetPasswordConfirmed

func (x *User) GetPasswordConfirmed() string

func (*User) GetPhoneNumber

func (x *User) GetPhoneNumber() string

func (*User) GetProfileId

func (x *User) GetProfileId() *Profile

func (*User) GetResetToken

func (x *User) GetResetToken() string

func (*User) GetResetTokenExpiration

func (x *User) GetResetTokenExpiration() *timestamp.Timestamp

func (*User) GetSubscriptionsId

func (x *User) GetSubscriptionsId() []*Subscriptions

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamp.Timestamp

func (*User) GetUserAccountType

func (x *User) GetUserAccountType() string

func (*User) GetUserName

func (x *User) GetUserName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) ToORM

func (m *User) ToORM(ctx context.Context) (UserORM, 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 (*User) Validate

func (this *User) Validate() error

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

func (table UserORM) MigrateSchemaOrCreateTable(db *gorm.DB, logger *zap.Logger)

func (UserORM) TableName

func (UserORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*UserORM) ToPB

func (m *UserORM) ToPB(ctx context.Context) (User, 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 UserORMWithAfterCreate_

type UserORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type UserORMWithAfterDeleteSet

type UserORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*User, *gorm1.DB) error
}

type UserORMWithAfterDelete_

type UserORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type UserORMWithAfterListFind

type UserORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]UserORM) error
}

type UserORMWithAfterReadFind

type UserORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type UserORMWithAfterStrictUpdateSave

type UserORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type UserORMWithBeforeCreate_

type UserORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type UserORMWithBeforeDeleteSet

type UserORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*User, *gorm1.DB) (*gorm1.DB, error)
}

type UserORMWithBeforeDelete_

type UserORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type UserORMWithBeforeListApplyQuery

type UserORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type UserORMWithBeforeListFind

type UserORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type UserORMWithBeforeReadApplyQuery

type UserORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type UserORMWithBeforeReadFind

type UserORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type UserORMWithBeforeStrictUpdateCleanup

type UserORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type UserORMWithBeforeStrictUpdateSave

type UserORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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 UserWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *User, *field_mask1.FieldMask, *gorm1.DB) error
}

type UserWithAfterToORM

type UserWithAfterToORM interface {
	AfterToORM(context.Context, *UserORM) error
}

UserAfterToORM called after default ToORM code

type UserWithAfterToPB

type UserWithAfterToPB interface {
	AfterToPB(context.Context, *User) error
}

UserAfterToPB called after default ToPB code

type UserWithBeforePatchApplyFieldMask

type UserWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *User, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type UserWithBeforePatchRead

type UserWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *User, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type UserWithBeforePatchSave

type UserWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *User, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type UserWithBeforeToORM

type UserWithBeforeToORM interface {
	BeforeToORM(context.Context, *UserORM) error
}

UserBeforeToORM called before default ToORM code

type UserWithBeforeToPB

type UserWithBeforeToPB interface {
	BeforeToPB(context.Context, *User) error
}

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.

type UsersServiceDefaultServer

type UsersServiceDefaultServer struct {
	DB *gorm1.DB
}

func (*UsersServiceDefaultServer) CreateGroup

CreateGroup ...

func (*UsersServiceDefaultServer) CreateTeam

CreateTeam ...

func (*UsersServiceDefaultServer) CreateUser

CreateUser ...

func (*UsersServiceDefaultServer) DeleteGroup

DeleteGroup ...

func (*UsersServiceDefaultServer) DeleteProfileById

DeleteProfileById ...

func (*UsersServiceDefaultServer) DeleteTeam

DeleteTeam ...

func (*UsersServiceDefaultServer) DeleteUser

DeleteUser ...

func (*UsersServiceDefaultServer) GetGroupByID

GetGroupByID ...

func (*UsersServiceDefaultServer) GetGroupByName

GetGroupByName ...

func (*UsersServiceDefaultServer) GetGroupsByType

GetGroupsByType ...

func (*UsersServiceDefaultServer) GetTeamByEmail

GetTeamByEmail ...

func (*UsersServiceDefaultServer) GetTeamByID

GetTeamByID ...

func (*UsersServiceDefaultServer) GetTeamByName

GetTeamByName ...

func (*UsersServiceDefaultServer) GetTeamsByIndustry

GetTeamsByIndustry ...

func (*UsersServiceDefaultServer) GetTeamsByType

func (m *UsersServiceDefaultServer) GetTeamsByType(ctx context.Context, in *StringTeamTypeRequest) (*Team, error)

GetTeamsByType ...

func (*UsersServiceDefaultServer) GetUserByEmail

GetUserByEmail ...

func (*UsersServiceDefaultServer) GetUserByID

GetUserByID ...

func (*UsersServiceDefaultServer) GetUserByUsername

GetUserByUsername ...

func (*UsersServiceDefaultServer) GetUsersByType

GetUsersByType ...

func (*UsersServiceDefaultServer) UpdateGroup

UpdateGroup ...

func (*UsersServiceDefaultServer) UpdateTeam

UpdateTeam ...

func (*UsersServiceDefaultServer) UpdateUser

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.

Jump to

Keyboard shortcuts

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