model

package
v0.0.0-...-f616806 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package model is a generated protocol buffer package.

It is generated from these files:

schema/proto/models/common.proto

It has these top-level messages:

Address
Education
Media
Subscriptions
SocialMedia
Details
Experience
Investment

Index

Constants

This section is empty.

Variables

View Source
var AccountType_name = map[int32]string{
	0: "RegularUser",
	1: "Startup",
	2: "Investor",
}
View Source
var AccountType_value = map[string]int32{
	"RegularUser": 0,
	"Startup":     1,
	"Investor":    2,
}
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",
}
View Source
var 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,
}
View Source
var InvestorType_name = map[int32]string{
	0: "banks",
	1: "angel_Investors",
	2: "peer_to_peer_lenders",
	3: "venture_capitalists",
	4: "personal_investors",
}
View Source
var InvestorType_value = map[string]int32{
	"banks":                0,
	"angel_Investors":      1,
	"peer_to_peer_lenders": 2,
	"venture_capitalists":  3,
	"personal_investors":   4,
}
View Source
var TeamAccountType_name = map[int32]string{
	0: "StartupTeam",
	1: "InvestorTeam",
}
View Source
var TeamAccountType_value = map[string]int32{
	"StartupTeam":  0,
	"InvestorTeam": 1,
}

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

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

func (AccountType) String

func (x AccountType) String() string

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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Address) GetBuildingNumber

func (m *Address) GetBuildingNumber() string

func (*Address) GetCity

func (m *Address) GetCity() string

func (*Address) GetCountry

func (m *Address) GetCountry() string

func (*Address) GetCreatedAt

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

func (*Address) GetDeletedAt

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

func (*Address) GetId

func (m *Address) GetId() int32

func (*Address) GetLatitude

func (m *Address) GetLatitude() string

func (*Address) GetLongitude

func (m *Address) GetLongitude() string

func (*Address) GetState

func (m *Address) GetState() string

func (*Address) GetStreet

func (m *Address) GetStreet() string

func (*Address) GetUpdatedAt

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

func (*Address) GetZipCode

func (m *Address) GetZipCode() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (m *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

func (*Address) XXX_DiscardUnknown

func (m *Address) XXX_DiscardUnknown()

func (*Address) XXX_Marshal

func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Address) XXX_Merge

func (m *Address) XXX_Merge(src proto.Message)

func (*Address) XXX_Size

func (m *Address) XXX_Size() int

func (*Address) XXX_Unmarshal

func (m *Address) XXX_Unmarshal(b []byte) error

type AddressORM

type AddressORM struct {
	BuildingNumber string
	City           string
	Country        string
	CreatedAt      *time.Time
	DeletedAt      *time.Time
	Id             int32 `gorm:"type:serial;primary_key"`
	Latitude       string
	Longitude      string
	State          string
	Street         string
	UpdatedAt      *time.Time
	ZipCode        string
}

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                   uint32               `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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Card) GetAddress

func (m *Card) GetAddress() string

func (*Card) GetCardNumber

func (m *Card) GetCardNumber() string

func (*Card) GetCardZipCode

func (m *Card) GetCardZipCode() string

func (*Card) GetCity

func (m *Card) GetCity() string

func (*Card) GetCreatedAt

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

func (*Card) GetDeletedAt

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

func (*Card) GetFullName

func (m *Card) GetFullName() string

func (*Card) GetId

func (m *Card) GetId() uint32

func (*Card) GetLastLogin

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

func (*Card) GetSecurityCode

func (m *Card) GetSecurityCode() string

func (*Card) GetState

func (m *Card) GetState() string

func (*Card) GetUpdatedAt

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

func (*Card) GetZipcode

func (m *Card) GetZipcode() string

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) Reset

func (m *Card) Reset()

func (*Card) String

func (m *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

func (*Card) XXX_DiscardUnknown

func (m *Card) XXX_DiscardUnknown()

func (*Card) XXX_Marshal

func (m *Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Card) XXX_Merge

func (m *Card) XXX_Merge(src proto.Message)

func (*Card) XXX_Size

func (m *Card) XXX_Size() int

func (*Card) XXX_Unmarshal

func (m *Card) XXX_Unmarshal(b []byte) error

type CardORM

type CardORM struct {
	Address              string
	CardNumber           string
	CardZipCode          string
	City                 string
	CreatedAt            *time.Time
	CreditCardPaymentsId *uint32
	DebitCardPaymentsId  *uint32
	DeletedAt            *time.Time
	FullName             string
	Id                   uint32 `gorm:"type:serial;primary_key;auto_increment"`
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*Details) GetCompanyType

func (m *Details) GetCompanyType() string

func (*Details) GetIPOStatus

func (m *Details) GetIPOStatus() string

func (*Details) ProtoMessage

func (*Details) ProtoMessage()

func (*Details) Reset

func (m *Details) Reset()

func (*Details) String

func (m *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

func (*Details) XXX_DiscardUnknown

func (m *Details) XXX_DiscardUnknown()

func (*Details) XXX_Marshal

func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Details) XXX_Merge

func (m *Details) XXX_Merge(src proto.Message)

func (*Details) XXX_Size

func (m *Details) XXX_Size() int

func (*Details) XXX_Unmarshal

func (m *Details) XXX_Unmarshal(b []byte) 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                   uint32                   `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"`
	Message              *PushNotificationSetting `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	GroupRequests        *PushNotificationSetting `protobuf:"bytes,7,opt,name=group_requests,json=groupRequests,proto3" json:"group_requests,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

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

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

func (m *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

func (*DirectMessagesPushNotification) XXX_DiscardUnknown

func (m *DirectMessagesPushNotification) XXX_DiscardUnknown()

func (*DirectMessagesPushNotification) XXX_Marshal

func (m *DirectMessagesPushNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DirectMessagesPushNotification) XXX_Merge

func (m *DirectMessagesPushNotification) XXX_Merge(src proto.Message)

func (*DirectMessagesPushNotification) XXX_Size

func (m *DirectMessagesPushNotification) XXX_Size() int

func (*DirectMessagesPushNotification) XXX_Unmarshal

func (m *DirectMessagesPushNotification) XXX_Unmarshal(b []byte) error

type DirectMessagesPushNotificationORM

type DirectMessagesPushNotificationORM struct {
	CreatedAt      *time.Time
	DeletedAt      *time.Time
	Id             uint32 `gorm:"type:serial;primary_key;auto_increment"`
	NotificationId *uint32
	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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Education) GetActivities

func (m *Education) GetActivities() string

func (*Education) GetCreatedAt

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

func (*Education) GetCurrentlyAttending

func (m *Education) GetCurrentlyAttending() bool

func (*Education) GetDegree

func (m *Education) GetDegree() string

func (*Education) GetDeletedAt

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

func (*Education) GetDescription

func (m *Education) GetDescription() string

func (*Education) GetEndDate

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

func (*Education) GetFieldOfStudy

func (m *Education) GetFieldOfStudy() string

func (*Education) GetGpa

func (m *Education) GetGpa() float32

func (*Education) GetId

func (m *Education) GetId() int32

func (*Education) GetMediaId

func (m *Education) GetMediaId() *Media

func (*Education) GetSchool

func (m *Education) GetSchool() string

func (*Education) GetSocieties

func (m *Education) GetSocieties() string

func (*Education) GetStartDate

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

func (*Education) GetUpdatedAt

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

func (*Education) ProtoMessage

func (*Education) ProtoMessage()

func (*Education) Reset

func (m *Education) Reset()

func (*Education) String

func (m *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

func (*Education) XXX_DiscardUnknown

func (m *Education) XXX_DiscardUnknown()

func (*Education) XXX_Marshal

func (m *Education) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Education) XXX_Merge

func (m *Education) XXX_Merge(src proto.Message)

func (*Education) XXX_Size

func (m *Education) XXX_Size() int

func (*Education) XXX_Unmarshal

func (m *Education) XXX_Unmarshal(b []byte) 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:serial;primary_key"`
	MediaId            *MediaORM `gorm:"foreignkey:EducationId;association_foreignkey:Id;preload:true"`
	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                   uint32                   `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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

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

func (*EmailAndSmsPushNotification) GetCreatedAt

func (m *EmailAndSmsPushNotification) GetCreatedAt() *timestamp.Timestamp

func (*EmailAndSmsPushNotification) GetDeletedAt

func (m *EmailAndSmsPushNotification) GetDeletedAt() *timestamp.Timestamp

func (*EmailAndSmsPushNotification) GetFeedbackEmail

func (*EmailAndSmsPushNotification) GetId

func (*EmailAndSmsPushNotification) GetNewsEmails

func (*EmailAndSmsPushNotification) GetProductEmails

func (*EmailAndSmsPushNotification) GetReminderEmails

func (m *EmailAndSmsPushNotification) GetReminderEmails() *PushNotificationSetting

func (*EmailAndSmsPushNotification) GetUpdatedAt

func (m *EmailAndSmsPushNotification) GetUpdatedAt() *timestamp.Timestamp

func (*EmailAndSmsPushNotification) ProtoMessage

func (*EmailAndSmsPushNotification) ProtoMessage()

func (*EmailAndSmsPushNotification) Reset

func (m *EmailAndSmsPushNotification) Reset()

func (*EmailAndSmsPushNotification) String

func (m *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

func (*EmailAndSmsPushNotification) XXX_DiscardUnknown

func (m *EmailAndSmsPushNotification) XXX_DiscardUnknown()

func (*EmailAndSmsPushNotification) XXX_Marshal

func (m *EmailAndSmsPushNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmailAndSmsPushNotification) XXX_Merge

func (m *EmailAndSmsPushNotification) XXX_Merge(src proto.Message)

func (*EmailAndSmsPushNotification) XXX_Size

func (m *EmailAndSmsPushNotification) XXX_Size() int

func (*EmailAndSmsPushNotification) XXX_Unmarshal

func (m *EmailAndSmsPushNotification) XXX_Unmarshal(b []byte) error

type EmailAndSmsPushNotificationORM

type EmailAndSmsPushNotificationORM struct {
	CreatedAt      *time.Time
	DeletedAt      *time.Time
	Id             uint32 `gorm:"type:serial;primary_key;auto_increment"`
	NotificationId *uint32
	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"`
	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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Experience) GetCompanyName

func (m *Experience) GetCompanyName() string

func (*Experience) GetCreatedAt

func (m *Experience) GetCreatedAt() *timestamp.Timestamp

func (*Experience) GetDeletedAt

func (m *Experience) GetDeletedAt() *timestamp.Timestamp

func (*Experience) GetDescription

func (m *Experience) GetDescription() string

func (*Experience) GetEmploymentType

func (m *Experience) GetEmploymentType() string

func (*Experience) GetEndDate

func (m *Experience) GetEndDate() *timestamp.Timestamp

func (*Experience) GetHeadline

func (m *Experience) GetHeadline() string

func (*Experience) GetId

func (m *Experience) GetId() int32

func (*Experience) GetIsCurrentJob

func (m *Experience) GetIsCurrentJob() bool

func (*Experience) GetLocation

func (m *Experience) GetLocation() string

func (*Experience) GetMediaId

func (m *Experience) GetMediaId() *Media

func (*Experience) GetStartDate

func (m *Experience) GetStartDate() *timestamp.Timestamp

func (*Experience) GetTitle

func (m *Experience) GetTitle() string

func (*Experience) GetUpdatedAt

func (m *Experience) GetUpdatedAt() *timestamp.Timestamp

func (*Experience) ProtoMessage

func (*Experience) ProtoMessage()

func (*Experience) Reset

func (m *Experience) Reset()

func (*Experience) String

func (m *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

func (*Experience) XXX_DiscardUnknown

func (m *Experience) XXX_DiscardUnknown()

func (*Experience) XXX_Marshal

func (m *Experience) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Experience) XXX_Merge

func (m *Experience) XXX_Merge(src proto.Message)

func (*Experience) XXX_Size

func (m *Experience) XXX_Size() int

func (*Experience) XXX_Unmarshal

func (m *Experience) XXX_Unmarshal(b []byte) 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:serial;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                       uint32                         `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"`
	AcceptedFollowerRequests *PushNotificationSetting       `` /* 135-byte string literal not displayed */
	MentionsInBio            *TieredPushNotificationSetting `protobuf:"bytes,7,opt,name=mentions_in_bio,json=mentionsInBio,proto3" json:"mentions_in_bio,omitempty"`
	XXX_NoUnkeyedLiteral     struct{}                       `json:"-"`
	XXX_unrecognized         []byte                         `json:"-"`
	XXX_sizecache            int32                          `json:"-"`
}

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

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

func (*FollowingAndFollowersPushNotification) GetAcceptedFollowerRequests

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

func (*FollowingAndFollowersPushNotification) XXX_DiscardUnknown

func (m *FollowingAndFollowersPushNotification) XXX_DiscardUnknown()

func (*FollowingAndFollowersPushNotification) XXX_Marshal

func (m *FollowingAndFollowersPushNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FollowingAndFollowersPushNotification) XXX_Merge

func (*FollowingAndFollowersPushNotification) XXX_Size

func (*FollowingAndFollowersPushNotification) XXX_Unmarshal

func (m *FollowingAndFollowersPushNotification) XXX_Unmarshal(b []byte) error

type FollowingAndFollowersPushNotificationORM

type FollowingAndFollowersPushNotificationORM struct {
	CreatedAt      *time.Time
	DeletedAt      *time.Time
	Id             uint32 `gorm:"type:serial;primary_key;auto_increment"`
	NotificationId *uint32
	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"`
	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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetUsersSearchRequest) Descriptor

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

func (*GetUsersSearchRequest) GetMaxResults

func (m *GetUsersSearchRequest) GetMaxResults() int32

func (*GetUsersSearchRequest) GetQueryMessage

func (m *GetUsersSearchRequest) GetQueryMessage() string

func (*GetUsersSearchRequest) GetUserType

func (m *GetUsersSearchRequest) GetUserType() AccountType

func (*GetUsersSearchRequest) ProtoMessage

func (*GetUsersSearchRequest) ProtoMessage()

func (*GetUsersSearchRequest) Reset

func (m *GetUsersSearchRequest) Reset()

func (*GetUsersSearchRequest) String

func (m *GetUsersSearchRequest) String() string

func (*GetUsersSearchRequest) Validate

func (this *GetUsersSearchRequest) Validate() error

func (*GetUsersSearchRequest) XXX_DiscardUnknown

func (m *GetUsersSearchRequest) XXX_DiscardUnknown()

func (*GetUsersSearchRequest) XXX_Marshal

func (m *GetUsersSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsersSearchRequest) XXX_Merge

func (m *GetUsersSearchRequest) XXX_Merge(src proto.Message)

func (*GetUsersSearchRequest) XXX_Size

func (m *GetUsersSearchRequest) XXX_Size() int

func (*GetUsersSearchRequest) XXX_Unmarshal

func (m *GetUsersSearchRequest) XXX_Unmarshal(b []byte) error

type Group

type Group struct {
	Id                   uint32               `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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Group) GetAdmin

func (m *Group) GetAdmin() *User

func (*Group) GetAvatarUrl

func (m *Group) GetAvatarUrl() string

func (*Group) GetBio

func (m *Group) GetBio() string

func (*Group) GetCreatedAt

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

func (*Group) GetDeletedAt

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

func (*Group) GetGroupMembers

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

func (*Group) GetId

func (m *Group) GetId() uint32

func (*Group) GetIsPublic

func (m *Group) GetIsPublic() bool

func (*Group) GetName

func (m *Group) GetName() string

func (*Group) GetNumberOfMembers

func (m *Group) GetNumberOfMembers() int32

func (*Group) GetTags

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

func (*Group) GetType

func (m *Group) GetType() string

func (*Group) GetUpdatedAt

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

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) Reset

func (m *Group) Reset()

func (*Group) String

func (m *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

func (*Group) XXX_DiscardUnknown

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal

func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Group) XXX_Merge

func (m *Group) XXX_Merge(src proto.Message)

func (*Group) XXX_Size

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal

func (m *Group) XXX_Unmarshal(b []byte) error

type GroupORM

type GroupORM struct {
	Admin           *UserORM `gorm:"foreignkey:AdminGroupId;association_foreignkey:Id;preload:true"`
	AvatarUrl       string
	Bio             string
	CreatedAt       *time.Time
	DeletedAt       *time.Time
	GroupMembers    []*UserORM `gorm:"foreignkey:GroupMembersGroupId;association_foreignkey:Id;preload:true"`
	Id              uint32     `gorm:"type:serial;primary_key;auto_increment"`
	IsPublic        bool
	Name            string
	NumberOfMembers int32
	Tags            pq1.StringArray `gorm:"type:text[]"`
	Type            string
	UpdatedAt       *time.Time
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GroupRequest) Descriptor

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

func (*GroupRequest) GetGroup

func (m *GroupRequest) GetGroup() *Group

func (*GroupRequest) ProtoMessage

func (*GroupRequest) ProtoMessage()

func (*GroupRequest) Reset

func (m *GroupRequest) Reset()

func (*GroupRequest) String

func (m *GroupRequest) String() string

func (*GroupRequest) Validate

func (this *GroupRequest) Validate() error

func (*GroupRequest) XXX_DiscardUnknown

func (m *GroupRequest) XXX_DiscardUnknown()

func (*GroupRequest) XXX_Marshal

func (m *GroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupRequest) XXX_Merge

func (m *GroupRequest) XXX_Merge(src proto.Message)

func (*GroupRequest) XXX_Size

func (m *GroupRequest) XXX_Size() int

func (*GroupRequest) XXX_Unmarshal

func (m *GroupRequest) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GroupResponse) Descriptor

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

func (*GroupResponse) GetError

func (m *GroupResponse) GetError() string

func (*GroupResponse) GetGroups

func (m *GroupResponse) GetGroups() []*Group

func (*GroupResponse) ProtoMessage

func (*GroupResponse) ProtoMessage()

func (*GroupResponse) Reset

func (m *GroupResponse) Reset()

func (*GroupResponse) String

func (m *GroupResponse) String() string

func (*GroupResponse) Validate

func (this *GroupResponse) Validate() error

func (*GroupResponse) XXX_DiscardUnknown

func (m *GroupResponse) XXX_DiscardUnknown()

func (*GroupResponse) XXX_Marshal

func (m *GroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupResponse) XXX_Merge

func (m *GroupResponse) XXX_Merge(src proto.Message)

func (*GroupResponse) XXX_Size

func (m *GroupResponse) XXX_Size() int

func (*GroupResponse) XXX_Unmarshal

func (m *GroupResponse) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*Investment) GetCompanyName

func (m *Investment) GetCompanyName() string

func (*Investment) GetId

func (m *Investment) GetId() int32

func (*Investment) GetIndustry

func (m *Investment) GetIndustry() string

func (*Investment) ProtoMessage

func (*Investment) ProtoMessage()

func (*Investment) Reset

func (m *Investment) Reset()

func (*Investment) String

func (m *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

func (*Investment) XXX_DiscardUnknown

func (m *Investment) XXX_DiscardUnknown()

func (*Investment) XXX_Marshal

func (m *Investment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Investment) XXX_Merge

func (m *Investment) XXX_Merge(src proto.Message)

func (*Investment) XXX_Size

func (m *Investment) XXX_Size() int

func (*Investment) XXX_Unmarshal

func (m *Investment) XXX_Unmarshal(b []byte) error

type InvestmentORM

type InvestmentORM struct {
	CompanyName string
	Id          int32 `gorm:"type:serial;primary_key"`
	Industry    string
}

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

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

func (InvestmentStage) String

func (x InvestmentStage) String() string

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"`
	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"`
	Investments          []*Investment        `protobuf:"bytes,10,rep,name=investments,proto3" json:"investments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*InvestorDetail) GetCreatedAt

func (m *InvestorDetail) GetCreatedAt() *timestamp.Timestamp

func (*InvestorDetail) GetDeletedAt

func (m *InvestorDetail) GetDeletedAt() *timestamp.Timestamp

func (*InvestorDetail) GetId

func (m *InvestorDetail) GetId() uint32

func (*InvestorDetail) GetInvestmentStage

func (m *InvestorDetail) GetInvestmentStage() InvestmentStage

func (*InvestorDetail) GetInvestments

func (m *InvestorDetail) GetInvestments() []*Investment

func (*InvestorDetail) GetInvestorType

func (m *InvestorDetail) GetInvestorType() InvestorType

func (*InvestorDetail) GetNumberOfExits

func (m *InvestorDetail) GetNumberOfExits() int32

func (*InvestorDetail) GetNumberOfFunds

func (m *InvestorDetail) GetNumberOfFunds() int32

func (*InvestorDetail) GetNumberOfInvestments

func (m *InvestorDetail) GetNumberOfInvestments() int32

func (*InvestorDetail) GetUpdatedAt

func (m *InvestorDetail) GetUpdatedAt() *timestamp.Timestamp

func (*InvestorDetail) ProtoMessage

func (*InvestorDetail) ProtoMessage()

func (*InvestorDetail) Reset

func (m *InvestorDetail) Reset()

func (*InvestorDetail) String

func (m *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

func (*InvestorDetail) XXX_DiscardUnknown

func (m *InvestorDetail) XXX_DiscardUnknown()

func (*InvestorDetail) XXX_Marshal

func (m *InvestorDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InvestorDetail) XXX_Merge

func (m *InvestorDetail) XXX_Merge(src proto.Message)

func (*InvestorDetail) XXX_Size

func (m *InvestorDetail) XXX_Size() int

func (*InvestorDetail) XXX_Unmarshal

func (m *InvestorDetail) XXX_Unmarshal(b []byte) error

type InvestorDetailORM

type InvestorDetailORM struct {
	CreatedAt           *time.Time
	DeletedAt           *time.Time
	Id                  uint32 `gorm:"type:serial;primary_key;auto_increment"`
	InvestmentStage     int32
	Investments         []*InvestmentORM `gorm:"foreignkey:InvestorDetailId;association_foreignkey:Id;preload:true"`
	InvestorType        int32
	NumberOfExits       int32
	NumberOfFunds       int32
	NumberOfInvestments int32
	TeamProfileId       *uint32
	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) EnumDescriptor

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

func (InvestorType) String

func (x InvestorType) String() string

type LoginActivity

type LoginActivity struct {
	Id                   uint32   `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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*LoginActivity) GetDate

func (m *LoginActivity) GetDate() string

func (*LoginActivity) GetId

func (m *LoginActivity) GetId() uint32

func (*LoginActivity) GetLocation

func (m *LoginActivity) GetLocation() *Address

func (*LoginActivity) ProtoMessage

func (*LoginActivity) ProtoMessage()

func (*LoginActivity) Reset

func (m *LoginActivity) Reset()

func (*LoginActivity) String

func (m *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

func (*LoginActivity) XXX_DiscardUnknown

func (m *LoginActivity) XXX_DiscardUnknown()

func (*LoginActivity) XXX_Marshal

func (m *LoginActivity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginActivity) XXX_Merge

func (m *LoginActivity) XXX_Merge(src proto.Message)

func (*LoginActivity) XXX_Size

func (m *LoginActivity) XXX_Size() int

func (*LoginActivity) XXX_Unmarshal

func (m *LoginActivity) XXX_Unmarshal(b []byte) error

type LoginActivityORM

type LoginActivityORM struct {
	Date     string
	Id       uint32      `gorm:"type:serial;primary_key;auto_increment"`
	Location *AddressORM `gorm:"foreignkey:LoginActivityId;association_foreignkey:Id;preload:true"`
}

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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Media) GetCreatedAt

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

func (*Media) GetDeletedAt

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

func (*Media) GetId

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

func (*Media) GetUpdatedAt

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

func (*Media) ProtoMessage

func (*Media) ProtoMessage()

func (*Media) Reset

func (m *Media) Reset()

func (*Media) String

func (m *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

func (*Media) XXX_DiscardUnknown

func (m *Media) XXX_DiscardUnknown()

func (*Media) XXX_Marshal

func (m *Media) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Media) XXX_Merge

func (m *Media) XXX_Merge(src proto.Message)

func (*Media) XXX_Size

func (m *Media) XXX_Size() int

func (*Media) XXX_Unmarshal

func (m *Media) XXX_Unmarshal(b []byte) 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:serial;primary_key"`
	PhotoLinks        pq1.StringArray `gorm:"type:text[]"`
	PresentationLinks pq1.StringArray `gorm:"type:text[]"`
	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                    uint32                                 `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"`
	PostAndComments       *PostAndCommentsPushNotification       `protobuf:"bytes,6,opt,name=post_and_comments,json=postAndComments,proto3" json:"post_and_comments,omitempty"`
	FollowingAndFollowers *FollowingAndFollowersPushNotification `` /* 126-byte string literal not displayed */
	DirectMessages        *DirectMessagesPushNotification        `protobuf:"bytes,8,opt,name=direct_messages,json=directMessages,proto3" json:"direct_messages,omitempty"`
	EmailAndSms           *EmailAndSmsPushNotification           `protobuf:"bytes,9,opt,name=email_and_sms,json=emailAndSms,proto3" json:"email_and_sms,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}                               `json:"-"`
	XXX_unrecognized      []byte                                 `json:"-"`
	XXX_sizecache         int32                                  `json:"-"`
}

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

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

func (*Notification) GetCreatedAt

func (m *Notification) GetCreatedAt() *timestamp.Timestamp

func (*Notification) GetDeletedAt

func (m *Notification) GetDeletedAt() *timestamp.Timestamp

func (*Notification) GetDirectMessages

func (m *Notification) GetDirectMessages() *DirectMessagesPushNotification

func (*Notification) GetEmailAndSms

func (m *Notification) GetEmailAndSms() *EmailAndSmsPushNotification

func (*Notification) GetFollowingAndFollowers

func (m *Notification) GetFollowingAndFollowers() *FollowingAndFollowersPushNotification

func (*Notification) GetId

func (m *Notification) GetId() uint32

func (*Notification) GetPauseAll

func (m *Notification) GetPauseAll() bool

func (*Notification) GetPostAndComments

func (m *Notification) GetPostAndComments() *PostAndCommentsPushNotification

func (*Notification) GetUpdatedAt

func (m *Notification) GetUpdatedAt() *timestamp.Timestamp

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) Reset

func (m *Notification) Reset()

func (*Notification) String

func (m *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

func (*Notification) XXX_DiscardUnknown

func (m *Notification) XXX_DiscardUnknown()

func (*Notification) XXX_Marshal

func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Notification) XXX_Merge

func (m *Notification) XXX_Merge(src proto.Message)

func (*Notification) XXX_Size

func (m *Notification) XXX_Size() int

func (*Notification) XXX_Unmarshal

func (m *Notification) XXX_Unmarshal(b []byte) error

type NotificationORM

type NotificationORM struct {
	CreatedAt             *time.Time
	DeletedAt             *time.Time
	DirectMessages        *DirectMessagesPushNotificationORM        `gorm:"foreignkey:NotificationId;association_foreignkey:Id;preload:true"`
	EmailAndSms           *EmailAndSmsPushNotificationORM           `gorm:"foreignkey:NotificationId;association_foreignkey:Id;preload:true"`
	FollowingAndFollowers *FollowingAndFollowersPushNotificationORM `gorm:"foreignkey:NotificationId;association_foreignkey:Id;preload:true"`
	Id                    uint32                                    `gorm:"type:serial;primary_key;auto_increment"`
	PauseAll              bool
	PostAndComments       *PostAndCommentsPushNotificationORM `gorm:"foreignkey:NotificationId;association_foreignkey:Id;preload:true"`
	SettingsId            *uint32
	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                   uint32               `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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Payments) GetCreatedAt

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

func (*Payments) GetCreditCard

func (m *Payments) GetCreditCard() *Card

func (*Payments) GetDebitCard

func (m *Payments) GetDebitCard() *Card

func (*Payments) GetDeletedAt

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

func (*Payments) GetId

func (m *Payments) GetId() uint32

func (*Payments) GetLastLogin

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

func (*Payments) GetPin

func (m *Payments) GetPin() *Pin

func (*Payments) GetUpdatedAt

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

func (*Payments) ProtoMessage

func (*Payments) ProtoMessage()

func (*Payments) Reset

func (m *Payments) Reset()

func (*Payments) String

func (m *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

func (*Payments) XXX_DiscardUnknown

func (m *Payments) XXX_DiscardUnknown()

func (*Payments) XXX_Marshal

func (m *Payments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payments) XXX_Merge

func (m *Payments) XXX_Merge(src proto.Message)

func (*Payments) XXX_Size

func (m *Payments) XXX_Size() int

func (*Payments) XXX_Unmarshal

func (m *Payments) XXX_Unmarshal(b []byte) error

type PaymentsORM

type PaymentsORM struct {
	CreatedAt  *time.Time
	CreditCard *CardORM `gorm:"foreignkey:CreditCardPaymentsId;association_foreignkey:Id;preload:true"`
	DebitCard  *CardORM `gorm:"foreignkey:DebitCardPaymentsId;association_foreignkey:Id;preload:true"`
	DeletedAt  *time.Time
	Id         uint32 `gorm:"type:serial;primary_key;auto_increment"`
	LastLogin  *time.Time
	Pin        *PinORM `gorm:"foreignkey:PaymentsId;association_foreignkey:Id;preload:true"`
	SettingsId *uint32
	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                   uint32               `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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Pin) GetCreatedAt

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

func (*Pin) GetDeletedAt

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

func (*Pin) GetId

func (m *Pin) GetId() uint32

func (*Pin) GetLastLogin

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

func (*Pin) GetPin

func (m *Pin) GetPin() string

func (*Pin) GetPinEnabled

func (m *Pin) GetPinEnabled() bool

func (*Pin) GetUpdatedAt

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

func (*Pin) ProtoMessage

func (*Pin) ProtoMessage()

func (*Pin) Reset

func (m *Pin) Reset()

func (*Pin) String

func (m *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

func (*Pin) XXX_DiscardUnknown

func (m *Pin) XXX_DiscardUnknown()

func (*Pin) XXX_Marshal

func (m *Pin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pin) XXX_Merge

func (m *Pin) XXX_Merge(src proto.Message)

func (*Pin) XXX_Size

func (m *Pin) XXX_Size() int

func (*Pin) XXX_Unmarshal

func (m *Pin) XXX_Unmarshal(b []byte) error

type PinORM

type PinORM struct {
	CreatedAt  *time.Time
	DeletedAt  *time.Time
	Id         uint32 `gorm:"type:serial;primary_key;auto_increment"`
	LastLogin  *time.Time
	PaymentsId *uint32
	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                           uint32                         `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"`
	LikesAndCommentsOnPostsOfYou *TieredPushNotificationSetting `` /* 155-byte string literal not displayed */
	PostsOfYou                   *TieredPushNotificationSetting `protobuf:"bytes,7,opt,name=posts_of_you,json=postsOfYou,proto3" json:"posts_of_you,omitempty"`
	Comments                     *TieredPushNotificationSetting `protobuf:"bytes,8,opt,name=comments,proto3" json:"comments,omitempty"`
	CommentLikes                 *TieredPushNotificationSetting `protobuf:"bytes,9,opt,name=comment_likes,json=commentLikes,proto3" json:"comment_likes,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}                       `json:"-"`
	XXX_unrecognized             []byte                         `json:"-"`
	XXX_sizecache                int32                          `json:"-"`
}

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

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

func (*PostAndCommentsPushNotification) GetCommentLikes

func (*PostAndCommentsPushNotification) GetComments

func (*PostAndCommentsPushNotification) GetCreatedAt

func (*PostAndCommentsPushNotification) GetDeletedAt

func (*PostAndCommentsPushNotification) GetId

func (*PostAndCommentsPushNotification) GetLikes

func (*PostAndCommentsPushNotification) GetLikesAndCommentsOnPostsOfYou

func (m *PostAndCommentsPushNotification) GetLikesAndCommentsOnPostsOfYou() *TieredPushNotificationSetting

func (*PostAndCommentsPushNotification) GetPostsOfYou

func (*PostAndCommentsPushNotification) GetUpdatedAt

func (*PostAndCommentsPushNotification) ProtoMessage

func (*PostAndCommentsPushNotification) ProtoMessage()

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

func (*PostAndCommentsPushNotification) XXX_DiscardUnknown

func (m *PostAndCommentsPushNotification) XXX_DiscardUnknown()

func (*PostAndCommentsPushNotification) XXX_Marshal

func (m *PostAndCommentsPushNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostAndCommentsPushNotification) XXX_Merge

func (m *PostAndCommentsPushNotification) XXX_Merge(src proto.Message)

func (*PostAndCommentsPushNotification) XXX_Size

func (m *PostAndCommentsPushNotification) XXX_Size() int

func (*PostAndCommentsPushNotification) XXX_Unmarshal

func (m *PostAndCommentsPushNotification) XXX_Unmarshal(b []byte) error

type PostAndCommentsPushNotificationORM

type PostAndCommentsPushNotificationORM struct {
	CreatedAt      *time.Time
	DeletedAt      *time.Time
	Id             uint32 `gorm:"type:serial;primary_key;auto_increment"`
	NotificationId *uint32
	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                   uint32               `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"`
	BlockedAccounts      []*Profile           `protobuf:"bytes,7,rep,name=blocked_accounts,json=blockedAccounts,proto3" json:"blocked_accounts,omitempty"`
	MutedAccounts        []*Profile           `protobuf:"bytes,8,rep,name=muted_accounts,json=mutedAccounts,proto3" json:"muted_accounts,omitempty"`
	BlockedTeamAccounts  []*TeamProfile       `protobuf:"bytes,9,rep,name=blocked_team_accounts,json=blockedTeamAccounts,proto3" json:"blocked_team_accounts,omitempty"`
	MutedTeamAccounts    []*TeamProfile       `protobuf:"bytes,10,rep,name=muted_team_accounts,json=mutedTeamAccounts,proto3" json:"muted_team_accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Privacy) GetActivityStatus

func (m *Privacy) GetActivityStatus() bool

func (*Privacy) GetBlockedAccounts

func (m *Privacy) GetBlockedAccounts() []*Profile

func (*Privacy) GetBlockedTeamAccounts

func (m *Privacy) GetBlockedTeamAccounts() []*TeamProfile

func (*Privacy) GetCreatedAt

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

func (*Privacy) GetDeletedAt

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

func (*Privacy) GetId

func (m *Privacy) GetId() uint32

func (*Privacy) GetMutedAccounts

func (m *Privacy) GetMutedAccounts() []*Profile

func (*Privacy) GetMutedTeamAccounts

func (m *Privacy) GetMutedTeamAccounts() []*TeamProfile

func (*Privacy) GetPrivateAccount

func (m *Privacy) GetPrivateAccount() bool

func (*Privacy) GetUpdatedAt

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

func (*Privacy) ProtoMessage

func (*Privacy) ProtoMessage()

func (*Privacy) Reset

func (m *Privacy) Reset()

func (*Privacy) String

func (m *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

func (*Privacy) XXX_DiscardUnknown

func (m *Privacy) XXX_DiscardUnknown()

func (*Privacy) XXX_Marshal

func (m *Privacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Privacy) XXX_Merge

func (m *Privacy) XXX_Merge(src proto.Message)

func (*Privacy) XXX_Size

func (m *Privacy) XXX_Size() int

func (*Privacy) XXX_Unmarshal

func (m *Privacy) XXX_Unmarshal(b []byte) error

type PrivacyORM

type PrivacyORM struct {
	ActivityStatus      bool
	BlockedAccounts     []*ProfileORM     `gorm:"foreignkey:BlockedAccountsPrivacyId;association_foreignkey:Id;preload:true"`
	BlockedTeamAccounts []*TeamProfileORM `gorm:"foreignkey:BlockedTeamAccountsPrivacyId;association_foreignkey:Id;preload:true"`
	CreatedAt           *time.Time
	DeletedAt           *time.Time
	Id                  uint32            `gorm:"type:serial;primary_key;auto_increment"`
	MutedAccounts       []*ProfileORM     `gorm:"foreignkey:MutedAccountsPrivacyId;association_foreignkey:Id;preload:true"`
	MutedTeamAccounts   []*TeamProfileORM `gorm:"foreignkey:MutedTeamAccountsPrivacyId;association_foreignkey:Id;preload:true"`
	PrivateAccount      bool
	SettingsId          *uint32
	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                   uint32               `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"`
	Experience           []*Experience        `protobuf:"bytes,6,rep,name=experience,proto3" json:"experience,omitempty"`
	Address              *Address             `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	Education            []*Education         `protobuf:"bytes,8,rep,name=education,proto3" json:"education,omitempty"`
	Skills               []string             `protobuf:"bytes,9,rep,name=skills,proto3" json:"skills,omitempty"`
	Team                 *Team                `protobuf:"bytes,10,opt,name=team,proto3" json:"team,omitempty"`
	Group                []*Group             `protobuf:"bytes,11,rep,name=group,proto3" json:"group,omitempty"`
	SocialMedia          *SocialMedia         `protobuf:"bytes,12,opt,name=social_media,json=socialMedia,proto3" json:"social_media,omitempty"`
	Settings             *Settings            `protobuf:"bytes,13,opt,name=settings,proto3" json:"settings,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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Profile) GetAddress

func (m *Profile) GetAddress() *Address

func (*Profile) GetAvatarUrl

func (m *Profile) GetAvatarUrl() string

func (*Profile) GetBio

func (m *Profile) GetBio() string

func (*Profile) GetCreatedAt

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

func (*Profile) GetDeletedAt

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

func (*Profile) GetEducation

func (m *Profile) GetEducation() []*Education

func (*Profile) GetExperience

func (m *Profile) GetExperience() []*Experience

func (*Profile) GetGroup

func (m *Profile) GetGroup() []*Group

func (*Profile) GetId

func (m *Profile) GetId() uint32

func (*Profile) GetNationality

func (m *Profile) GetNationality() string

func (*Profile) GetProfileType

func (m *Profile) GetProfileType() string

func (*Profile) GetSettings

func (m *Profile) GetSettings() *Settings

func (*Profile) GetSkills

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

func (*Profile) GetSocialMedia

func (m *Profile) GetSocialMedia() *SocialMedia

func (*Profile) GetTeam

func (m *Profile) GetTeam() *Team

func (*Profile) GetUpdatedAt

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

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) Reset

func (m *Profile) Reset()

func (*Profile) String

func (m *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

func (*Profile) XXX_DiscardUnknown

func (m *Profile) XXX_DiscardUnknown()

func (*Profile) XXX_Marshal

func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Profile) XXX_Merge

func (m *Profile) XXX_Merge(src proto.Message)

func (*Profile) XXX_Size

func (m *Profile) XXX_Size() int

func (*Profile) XXX_Unmarshal

func (m *Profile) XXX_Unmarshal(b []byte) error

type ProfileORM

type ProfileORM struct {
	Address                  *AddressORM `gorm:"foreignkey:ProfileId;association_foreignkey:Id;preload:true"`
	AvatarUrl                string
	Bio                      string
	BlockedAccountsPrivacyId *uint32
	CreatedAt                *time.Time
	DeletedAt                *time.Time
	Education                []*EducationORM  `gorm:"foreignkey:ProfileId;association_foreignkey:Id"`
	Experience               []*ExperienceORM `gorm:"foreignkey:ProfileId;association_foreignkey:Id;preload:true"`
	Group                    []*GroupORM      `` /* 158-byte string literal not displayed */
	Id                       uint32           `gorm:"type:serial;primary_key;auto_increment"`
	MutedAccountsPrivacyId   *uint32
	Nationality              string
	ProfileType              string
	Settings                 *SettingsORM    `gorm:"foreignkey:ProfileId;association_foreignkey:Id;preload:true"`
	Skills                   pq1.StringArray `gorm:"type:text[]"`
	SocialMedia              *SocialMediaORM `gorm:"foreignkey:ProfileId;association_foreignkey:Id;preload:true"`
	Team                     *TeamORM        `gorm:"foreignkey:ProfileId;association_foreignkey:Id;preload:true"`
	UpdatedAt                *time.Time
	UserId                   *uint32
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PushNotificationSetting) Descriptor

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

func (*PushNotificationSetting) GetOff

func (m *PushNotificationSetting) GetOff() bool

func (*PushNotificationSetting) GetOn

func (m *PushNotificationSetting) GetOn() bool

func (*PushNotificationSetting) ProtoMessage

func (*PushNotificationSetting) ProtoMessage()

func (*PushNotificationSetting) Reset

func (m *PushNotificationSetting) Reset()

func (*PushNotificationSetting) String

func (m *PushNotificationSetting) String() string

func (*PushNotificationSetting) Validate

func (this *PushNotificationSetting) Validate() error

func (*PushNotificationSetting) XXX_DiscardUnknown

func (m *PushNotificationSetting) XXX_DiscardUnknown()

func (*PushNotificationSetting) XXX_Marshal

func (m *PushNotificationSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationSetting) XXX_Merge

func (m *PushNotificationSetting) XXX_Merge(src proto.Message)

func (*PushNotificationSetting) XXX_Size

func (m *PushNotificationSetting) XXX_Size() int

func (*PushNotificationSetting) XXX_Unmarshal

func (m *PushNotificationSetting) XXX_Unmarshal(b []byte) error

type Settings

type Settings struct {
	Id                   uint32               `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"`
	Notification         *Notification        `protobuf:"bytes,7,opt,name=notification,proto3" json:"notification,omitempty"`
	Privacy              *Privacy             `protobuf:"bytes,8,opt,name=privacy,proto3" json:"privacy,omitempty"`
	Payment              *Payments            `protobuf:"bytes,9,opt,name=payment,proto3" json:"payment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Settings) GetCreatedAt

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

func (*Settings) GetDeletedAt

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

func (*Settings) GetId

func (m *Settings) GetId() uint32

func (*Settings) GetLastLogin

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

func (*Settings) GetLastLoginLocation

func (m *Settings) GetLastLoginLocation() string

func (*Settings) GetNotification

func (m *Settings) GetNotification() *Notification

func (*Settings) GetPayment

func (m *Settings) GetPayment() *Payments

func (*Settings) GetPrivacy

func (m *Settings) GetPrivacy() *Privacy

func (*Settings) GetUpdatedAt

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

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) Reset

func (m *Settings) Reset()

func (*Settings) String

func (m *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

func (*Settings) XXX_DiscardUnknown

func (m *Settings) XXX_DiscardUnknown()

func (*Settings) XXX_Marshal

func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Settings) XXX_Merge

func (m *Settings) XXX_Merge(src proto.Message)

func (*Settings) XXX_Size

func (m *Settings) XXX_Size() int

func (*Settings) XXX_Unmarshal

func (m *Settings) XXX_Unmarshal(b []byte) error

type SettingsORM

type SettingsORM struct {
	CreatedAt         *time.Time
	DeletedAt         *time.Time
	Id                uint32 `gorm:"type:serial;primary_key;auto_increment"`
	LastLogin         *time.Time
	LastLoginLocation string
	Notification      *NotificationORM `gorm:"foreignkey:SettingsId;association_foreignkey:Id;preload:true"`
	Payment           *PaymentsORM     `gorm:"foreignkey:SettingsId;association_foreignkey:Id;preload:true"`
	Privacy           *PrivacyORM      `gorm:"foreignkey:SettingsId;association_foreignkey:Id;preload:true"`
	ProfileId         *uint32
	TeamProfileId     *uint32
	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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*SocialMedia) GetCreatedAt

func (m *SocialMedia) GetCreatedAt() *timestamp.Timestamp

func (*SocialMedia) GetDeletedAt

func (m *SocialMedia) GetDeletedAt() *timestamp.Timestamp

func (*SocialMedia) GetFacebookUrl

func (m *SocialMedia) GetFacebookUrl() string

func (*SocialMedia) GetGithubUrl

func (m *SocialMedia) GetGithubUrl() uint32

func (*SocialMedia) GetId

func (m *SocialMedia) GetId() int32

func (*SocialMedia) GetLinkedUrl

func (m *SocialMedia) GetLinkedUrl() string

func (*SocialMedia) GetTwitterUrl

func (m *SocialMedia) GetTwitterUrl() string

func (*SocialMedia) GetUpdatedAt

func (m *SocialMedia) GetUpdatedAt() *timestamp.Timestamp

func (*SocialMedia) GetWebsiteUrl

func (m *SocialMedia) GetWebsiteUrl() string

func (*SocialMedia) GetYoutubeUrl

func (m *SocialMedia) GetYoutubeUrl() string

func (*SocialMedia) ProtoMessage

func (*SocialMedia) ProtoMessage()

func (*SocialMedia) Reset

func (m *SocialMedia) Reset()

func (*SocialMedia) String

func (m *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

func (*SocialMedia) XXX_DiscardUnknown

func (m *SocialMedia) XXX_DiscardUnknown()

func (*SocialMedia) XXX_Marshal

func (m *SocialMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SocialMedia) XXX_Merge

func (m *SocialMedia) XXX_Merge(src proto.Message)

func (*SocialMedia) XXX_Size

func (m *SocialMedia) XXX_Size() int

func (*SocialMedia) XXX_Unmarshal

func (m *SocialMedia) XXX_Unmarshal(b []byte) error

type SocialMediaORM

type SocialMediaORM struct {
	CreatedAt   *time.Time
	DeletedAt   *time.Time
	FacebookUrl string
	GithubUrl   uint32
	Id          int32 `gorm:"type:serial;primary_key"`
	LinkedUrl   string
	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"`
	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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*StartupDetail) GetCompanyName

func (m *StartupDetail) GetCompanyName() string

func (*StartupDetail) GetCreatedAt

func (m *StartupDetail) GetCreatedAt() *timestamp.Timestamp

func (*StartupDetail) GetDeletedAt

func (m *StartupDetail) GetDeletedAt() *timestamp.Timestamp

func (*StartupDetail) GetFundingType

func (m *StartupDetail) GetFundingType() string

func (*StartupDetail) GetId

func (m *StartupDetail) GetId() uint32

func (*StartupDetail) GetLatestRound

func (m *StartupDetail) GetLatestRound() string

func (*StartupDetail) GetLatestRoundEndDate

func (m *StartupDetail) GetLatestRoundEndDate() *timestamp.Timestamp

func (*StartupDetail) GetLatestRoundFunding

func (m *StartupDetail) GetLatestRoundFunding() int32

func (*StartupDetail) GetTotalFunding

func (m *StartupDetail) GetTotalFunding() int32

func (*StartupDetail) GetUpdatedAt

func (m *StartupDetail) GetUpdatedAt() *timestamp.Timestamp

func (*StartupDetail) ProtoMessage

func (*StartupDetail) ProtoMessage()

func (*StartupDetail) Reset

func (m *StartupDetail) Reset()

func (*StartupDetail) String

func (m *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

func (*StartupDetail) XXX_DiscardUnknown

func (m *StartupDetail) XXX_DiscardUnknown()

func (*StartupDetail) XXX_Marshal

func (m *StartupDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartupDetail) XXX_Merge

func (m *StartupDetail) XXX_Merge(src proto.Message)

func (*StartupDetail) XXX_Size

func (m *StartupDetail) XXX_Size() int

func (*StartupDetail) XXX_Unmarshal

func (m *StartupDetail) XXX_Unmarshal(b []byte) error

type StartupDetailORM

type StartupDetailORM struct {
	CompanyName        string
	CreatedAt          *time.Time
	DeletedAt          *time.Time
	FundingType        string
	Id                 uint32 `gorm:"type:serial;primary_key;auto_increment"`
	LatestRound        string
	LatestRoundEndDate *time.Time
	LatestRoundFunding int32
	TeamProfileId      *uint32
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StringGroupTypeRequest) Descriptor

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

func (*StringGroupTypeRequest) GetQueryMessage

func (m *StringGroupTypeRequest) GetQueryMessage() string

func (*StringGroupTypeRequest) ProtoMessage

func (*StringGroupTypeRequest) ProtoMessage()

func (*StringGroupTypeRequest) Reset

func (m *StringGroupTypeRequest) Reset()

func (*StringGroupTypeRequest) String

func (m *StringGroupTypeRequest) String() string

func (*StringGroupTypeRequest) Validate

func (this *StringGroupTypeRequest) Validate() error

func (*StringGroupTypeRequest) XXX_DiscardUnknown

func (m *StringGroupTypeRequest) XXX_DiscardUnknown()

func (*StringGroupTypeRequest) XXX_Marshal

func (m *StringGroupTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringGroupTypeRequest) XXX_Merge

func (m *StringGroupTypeRequest) XXX_Merge(src proto.Message)

func (*StringGroupTypeRequest) XXX_Size

func (m *StringGroupTypeRequest) XXX_Size() int

func (*StringGroupTypeRequest) XXX_Unmarshal

func (m *StringGroupTypeRequest) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*StringTeamTypeRequest) Descriptor

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

func (*StringTeamTypeRequest) GetQueryMessage

func (m *StringTeamTypeRequest) GetQueryMessage() string

func (*StringTeamTypeRequest) GetUserType

func (m *StringTeamTypeRequest) GetUserType() TeamAccountType

func (*StringTeamTypeRequest) ProtoMessage

func (*StringTeamTypeRequest) ProtoMessage()

func (*StringTeamTypeRequest) Reset

func (m *StringTeamTypeRequest) Reset()

func (*StringTeamTypeRequest) String

func (m *StringTeamTypeRequest) String() string

func (*StringTeamTypeRequest) Validate

func (this *StringTeamTypeRequest) Validate() error

func (*StringTeamTypeRequest) XXX_DiscardUnknown

func (m *StringTeamTypeRequest) XXX_DiscardUnknown()

func (*StringTeamTypeRequest) XXX_Marshal

func (m *StringTeamTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringTeamTypeRequest) XXX_Merge

func (m *StringTeamTypeRequest) XXX_Merge(src proto.Message)

func (*StringTeamTypeRequest) XXX_Size

func (m *StringTeamTypeRequest) XXX_Size() int

func (*StringTeamTypeRequest) XXX_Unmarshal

func (m *StringTeamTypeRequest) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*StringUserTypeRequest) Descriptor

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

func (*StringUserTypeRequest) GetQueryMessage

func (m *StringUserTypeRequest) GetQueryMessage() string

func (*StringUserTypeRequest) GetUserType

func (m *StringUserTypeRequest) GetUserType() AccountType

func (*StringUserTypeRequest) ProtoMessage

func (*StringUserTypeRequest) ProtoMessage()

func (*StringUserTypeRequest) Reset

func (m *StringUserTypeRequest) Reset()

func (*StringUserTypeRequest) String

func (m *StringUserTypeRequest) String() string

func (*StringUserTypeRequest) Validate

func (this *StringUserTypeRequest) Validate() error

func (*StringUserTypeRequest) XXX_DiscardUnknown

func (m *StringUserTypeRequest) XXX_DiscardUnknown()

func (*StringUserTypeRequest) XXX_Marshal

func (m *StringUserTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringUserTypeRequest) XXX_Merge

func (m *StringUserTypeRequest) XXX_Merge(src proto.Message)

func (*StringUserTypeRequest) XXX_Size

func (m *StringUserTypeRequest) XXX_Size() int

func (*StringUserTypeRequest) XXX_Unmarshal

func (m *StringUserTypeRequest) XXX_Unmarshal(b []byte) error

type Subscriptions

type Subscriptions struct {
	Id                   uint32               `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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Subscriptions) GetAccessType

func (m *Subscriptions) GetAccessType() string

func (*Subscriptions) GetCreatedAt

func (m *Subscriptions) GetCreatedAt() *timestamp.Timestamp

func (*Subscriptions) GetDeletedAt

func (m *Subscriptions) GetDeletedAt() *timestamp.Timestamp

func (*Subscriptions) GetEndDate

func (m *Subscriptions) GetEndDate() *timestamp.Timestamp

func (*Subscriptions) GetId

func (m *Subscriptions) GetId() uint32

func (*Subscriptions) GetIsActive

func (m *Subscriptions) GetIsActive() bool

func (*Subscriptions) GetStartDate

func (m *Subscriptions) GetStartDate() *timestamp.Timestamp

func (*Subscriptions) GetSubscriptionName

func (m *Subscriptions) GetSubscriptionName() string

func (*Subscriptions) GetSubscriptionStatus

func (m *Subscriptions) GetSubscriptionStatus() string

func (*Subscriptions) GetUpdatedAt

func (m *Subscriptions) GetUpdatedAt() *timestamp.Timestamp

func (*Subscriptions) ProtoMessage

func (*Subscriptions) ProtoMessage()

func (*Subscriptions) Reset

func (m *Subscriptions) Reset()

func (*Subscriptions) String

func (m *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

func (*Subscriptions) XXX_DiscardUnknown

func (m *Subscriptions) XXX_DiscardUnknown()

func (*Subscriptions) XXX_Marshal

func (m *Subscriptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subscriptions) XXX_Merge

func (m *Subscriptions) XXX_Merge(src proto.Message)

func (*Subscriptions) XXX_Size

func (m *Subscriptions) XXX_Size() int

func (*Subscriptions) XXX_Unmarshal

func (m *Subscriptions) XXX_Unmarshal(b []byte) error

type SubscriptionsORM

type SubscriptionsORM struct {
	AccessType         string
	CreatedAt          *time.Time
	DeletedAt          *time.Time
	EndDate            *time.Time
	Id                 uint32 `gorm:"type:serial;primary_key"`
	IsActive           bool
	StartDate          *time.Time
	SubscriptionName   string
	SubscriptionStatus string
	UpdatedAt          *time.Time
}

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        uint32               `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"`
	Industry             string               `protobuf:"bytes,9,opt,name=industry,proto3" json:"industry,omitempty"`
	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"`
	Headquarters         *Address             `protobuf:"bytes,12,opt,name=headquarters,proto3" json:"headquarters,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"`
	TeamProfile          *TeamProfile         `protobuf:"bytes,18,opt,name=team_profile,json=teamProfile,proto3" json:"team_profile,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"`
	Admin                *User                `protobuf:"bytes,23,opt,name=admin,proto3" json:"admin,omitempty"`
	Bio                  string               `protobuf:"bytes,24,opt,name=bio,proto3" json:"bio,omitempty"`
	AuthnAccountId       uint32               `protobuf:"varint,25,opt,name=authnAccountId,proto3" json:"authnAccountId,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*Team) GetAdmin

func (m *Team) GetAdmin() *User

func (*Team) GetAdvisors

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

func (*Team) GetAuthnAccountId

func (m *Team) GetAuthnAccountId() uint32

func (*Team) GetBio

func (m *Team) GetBio() string

func (*Team) GetCreatedAt

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

func (*Team) GetDeletedAt

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

func (*Team) GetEmail

func (m *Team) GetEmail() string

func (*Team) GetFoundedDate

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

func (*Team) GetHeadquarters

func (m *Team) GetHeadquarters() *Address

func (*Team) GetId

func (m *Team) GetId() uint32

func (*Team) GetIndustry

func (m *Team) GetIndustry() string

func (*Team) GetIsActive

func (m *Team) GetIsActive() bool

func (*Team) GetMembers

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

func (*Team) GetName

func (m *Team) GetName() string

func (*Team) GetNumberOfEmployees

func (m *Team) GetNumberOfEmployees() int32

func (*Team) GetPassword

func (m *Team) GetPassword() string

func (*Team) GetPhoneNumber

func (m *Team) GetPhoneNumber() string

func (*Team) GetResetToken

func (m *Team) GetResetToken() string

func (*Team) GetResetTokenExpiration

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

func (*Team) GetSocialMedia

func (m *Team) GetSocialMedia() *SocialMedia

func (*Team) GetSubscriptions

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

func (*Team) GetTags

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

func (*Team) GetTeamProfile

func (m *Team) GetTeamProfile() *TeamProfile

func (*Team) GetType

func (m *Team) GetType() string

func (*Team) GetUpdatedAt

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

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) Reset

func (m *Team) Reset()

func (*Team) String

func (m *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

func (*Team) XXX_DiscardUnknown

func (m *Team) XXX_DiscardUnknown()

func (*Team) XXX_Marshal

func (m *Team) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Team) XXX_Merge

func (m *Team) XXX_Merge(src proto.Message)

func (*Team) XXX_Size

func (m *Team) XXX_Size() int

func (*Team) XXX_Unmarshal

func (m *Team) XXX_Unmarshal(b []byte) error

type TeamAccountType

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

func (TeamAccountType) EnumDescriptor

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

func (TeamAccountType) String

func (x TeamAccountType) String() string

type TeamORM

type TeamORM struct {
	Admin                *UserORM   `gorm:"foreignkey:AdminTeamId;association_foreignkey:Id;preload:true"`
	Advisors             []*UserORM `gorm:"foreignkey:AdvisorsTeamId;association_foreignkey:Id;preload:true"`
	AuthnAccountId       uint32
	Bio                  string
	CreatedAt            *time.Time
	DeletedAt            *time.Time
	Email                string
	FoundedDate          *time.Time
	Headquarters         *AddressORM `gorm:"foreignkey:TeamId;association_foreignkey:Id;preload:true"`
	Id                   uint32      `gorm:"type:serial;primary_key;auto_increment"`
	Industry             string
	IsActive             bool
	Members              []*UserORM `gorm:"foreignkey:MembersTeamId;association_foreignkey:Id;preload:true"`
	Name                 string
	NumberOfEmployees    int32
	Password             string
	PhoneNumber          string
	ProfileId            *uint32
	ResetToken           string
	ResetTokenExpiration *time.Time
	SocialMedia          *SocialMediaORM     `gorm:"foreignkey:TeamId;association_foreignkey:Id;preload:true"`
	Subscriptions        []*SubscriptionsORM `gorm:"foreignkey:TeamId;association_foreignkey:Id;preload:true"`
	Tags                 pq1.StringArray     `gorm:"type:text[]"`
	TeamProfile          *TeamProfileORM     `gorm:"foreignkey:TeamId;association_foreignkey:Id;preload:true"`
	Type                 string
	UpdatedAt            *time.Time
}

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                   uint32               `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"`
	Settings             *Settings            `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"`
	InvestorDetail       *InvestorDetail      `protobuf:"bytes,6,opt,name=investor_detail,json=investorDetail,proto3" json:"investor_detail,omitempty"`
	StartupDetail        *StartupDetail       `protobuf:"bytes,7,opt,name=startup_detail,json=startupDetail,proto3" json:"startup_detail,omitempty"`
	Media                *Media               `protobuf:"bytes,8,opt,name=media,proto3" json:"media,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*TeamProfile) GetCreatedAt

func (m *TeamProfile) GetCreatedAt() *timestamp.Timestamp

func (*TeamProfile) GetDeletedAt

func (m *TeamProfile) GetDeletedAt() *timestamp.Timestamp

func (*TeamProfile) GetId

func (m *TeamProfile) GetId() uint32

func (*TeamProfile) GetInvestorDetail

func (m *TeamProfile) GetInvestorDetail() *InvestorDetail

func (*TeamProfile) GetMedia

func (m *TeamProfile) GetMedia() *Media

func (*TeamProfile) GetSettings

func (m *TeamProfile) GetSettings() *Settings

func (*TeamProfile) GetStartupDetail

func (m *TeamProfile) GetStartupDetail() *StartupDetail

func (*TeamProfile) GetUpdatedAt

func (m *TeamProfile) GetUpdatedAt() *timestamp.Timestamp

func (*TeamProfile) ProtoMessage

func (*TeamProfile) ProtoMessage()

func (*TeamProfile) Reset

func (m *TeamProfile) Reset()

func (*TeamProfile) String

func (m *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

func (*TeamProfile) XXX_DiscardUnknown

func (m *TeamProfile) XXX_DiscardUnknown()

func (*TeamProfile) XXX_Marshal

func (m *TeamProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeamProfile) XXX_Merge

func (m *TeamProfile) XXX_Merge(src proto.Message)

func (*TeamProfile) XXX_Size

func (m *TeamProfile) XXX_Size() int

func (*TeamProfile) XXX_Unmarshal

func (m *TeamProfile) XXX_Unmarshal(b []byte) error

type TeamProfileORM

type TeamProfileORM struct {
	BlockedTeamAccountsPrivacyId *uint32
	CreatedAt                    *time.Time
	DeletedAt                    *time.Time
	Id                           uint32             `gorm:"type:serial;primary_key;auto_increment"`
	InvestorDetail               *InvestorDetailORM `gorm:"foreignkey:TeamProfileId;association_foreignkey:Id;preload:true"`
	Media                        *MediaORM          `gorm:"foreignkey:TeamProfileId;association_foreignkey:Id;preload:true"`
	MutedTeamAccountsPrivacyId   *uint32
	Settings                     *SettingsORM      `gorm:"foreignkey:TeamProfileId;association_foreignkey:Id;preload:true"`
	StartupDetail                *StartupDetailORM `gorm:"foreignkey:TeamProfileId;association_foreignkey:Id;preload:true"`
	TeamId                       *uint32
	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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*TeamRequest) Descriptor

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

func (*TeamRequest) GetTeam

func (m *TeamRequest) GetTeam() *Team

func (*TeamRequest) GetTeamType

func (m *TeamRequest) GetTeamType() TeamAccountType

func (*TeamRequest) ProtoMessage

func (*TeamRequest) ProtoMessage()

func (*TeamRequest) Reset

func (m *TeamRequest) Reset()

func (*TeamRequest) String

func (m *TeamRequest) String() string

func (*TeamRequest) Validate

func (this *TeamRequest) Validate() error

func (*TeamRequest) XXX_DiscardUnknown

func (m *TeamRequest) XXX_DiscardUnknown()

func (*TeamRequest) XXX_Marshal

func (m *TeamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeamRequest) XXX_Merge

func (m *TeamRequest) XXX_Merge(src proto.Message)

func (*TeamRequest) XXX_Size

func (m *TeamRequest) XXX_Size() int

func (*TeamRequest) XXX_Unmarshal

func (m *TeamRequest) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TeamResponse) Descriptor

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

func (*TeamResponse) GetError

func (m *TeamResponse) GetError() string

func (*TeamResponse) GetTeams

func (m *TeamResponse) GetTeams() []*Team

func (*TeamResponse) ProtoMessage

func (*TeamResponse) ProtoMessage()

func (*TeamResponse) Reset

func (m *TeamResponse) Reset()

func (*TeamResponse) String

func (m *TeamResponse) String() string

func (*TeamResponse) Validate

func (this *TeamResponse) Validate() error

func (*TeamResponse) XXX_DiscardUnknown

func (m *TeamResponse) XXX_DiscardUnknown()

func (*TeamResponse) XXX_Marshal

func (m *TeamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeamResponse) XXX_Merge

func (m *TeamResponse) XXX_Merge(src proto.Message)

func (*TeamResponse) XXX_Size

func (m *TeamResponse) XXX_Size() int

func (*TeamResponse) XXX_Unmarshal

func (m *TeamResponse) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TieredPushNotificationSetting) Descriptor

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

func (*TieredPushNotificationSetting) GetFromEveryone

func (m *TieredPushNotificationSetting) GetFromEveryone() bool

func (*TieredPushNotificationSetting) GetFromPeopleIFollow

func (m *TieredPushNotificationSetting) GetFromPeopleIFollow() bool

func (*TieredPushNotificationSetting) GetOff

func (m *TieredPushNotificationSetting) GetOff() bool

func (*TieredPushNotificationSetting) ProtoMessage

func (*TieredPushNotificationSetting) ProtoMessage()

func (*TieredPushNotificationSetting) Reset

func (m *TieredPushNotificationSetting) Reset()

func (*TieredPushNotificationSetting) String

func (*TieredPushNotificationSetting) Validate

func (this *TieredPushNotificationSetting) Validate() error

func (*TieredPushNotificationSetting) XXX_DiscardUnknown

func (m *TieredPushNotificationSetting) XXX_DiscardUnknown()

func (*TieredPushNotificationSetting) XXX_Marshal

func (m *TieredPushNotificationSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TieredPushNotificationSetting) XXX_Merge

func (m *TieredPushNotificationSetting) XXX_Merge(src proto.Message)

func (*TieredPushNotificationSetting) XXX_Size

func (m *TieredPushNotificationSetting) XXX_Size() int

func (*TieredPushNotificationSetting) XXX_Unmarshal

func (m *TieredPushNotificationSetting) XXX_Unmarshal(b []byte) error

type Uint32GroupTypeRequest

type Uint32GroupTypeRequest struct {
	ID                   uint32   `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Uint32GroupTypeRequest) Descriptor

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

func (*Uint32GroupTypeRequest) GetID

func (m *Uint32GroupTypeRequest) GetID() uint32

func (*Uint32GroupTypeRequest) ProtoMessage

func (*Uint32GroupTypeRequest) ProtoMessage()

func (*Uint32GroupTypeRequest) Reset

func (m *Uint32GroupTypeRequest) Reset()

func (*Uint32GroupTypeRequest) String

func (m *Uint32GroupTypeRequest) String() string

func (*Uint32GroupTypeRequest) Validate

func (this *Uint32GroupTypeRequest) Validate() error

func (*Uint32GroupTypeRequest) XXX_DiscardUnknown

func (m *Uint32GroupTypeRequest) XXX_DiscardUnknown()

func (*Uint32GroupTypeRequest) XXX_Marshal

func (m *Uint32GroupTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Uint32GroupTypeRequest) XXX_Merge

func (m *Uint32GroupTypeRequest) XXX_Merge(src proto.Message)

func (*Uint32GroupTypeRequest) XXX_Size

func (m *Uint32GroupTypeRequest) XXX_Size() int

func (*Uint32GroupTypeRequest) XXX_Unmarshal

func (m *Uint32GroupTypeRequest) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Uint32TeamTypeRequest) Descriptor

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

func (*Uint32TeamTypeRequest) GetID

func (m *Uint32TeamTypeRequest) GetID() uint32

func (*Uint32TeamTypeRequest) GetUserType

func (m *Uint32TeamTypeRequest) GetUserType() TeamAccountType

func (*Uint32TeamTypeRequest) ProtoMessage

func (*Uint32TeamTypeRequest) ProtoMessage()

func (*Uint32TeamTypeRequest) Reset

func (m *Uint32TeamTypeRequest) Reset()

func (*Uint32TeamTypeRequest) String

func (m *Uint32TeamTypeRequest) String() string

func (*Uint32TeamTypeRequest) Validate

func (this *Uint32TeamTypeRequest) Validate() error

func (*Uint32TeamTypeRequest) XXX_DiscardUnknown

func (m *Uint32TeamTypeRequest) XXX_DiscardUnknown()

func (*Uint32TeamTypeRequest) XXX_Marshal

func (m *Uint32TeamTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Uint32TeamTypeRequest) XXX_Merge

func (m *Uint32TeamTypeRequest) XXX_Merge(src proto.Message)

func (*Uint32TeamTypeRequest) XXX_Size

func (m *Uint32TeamTypeRequest) XXX_Size() int

func (*Uint32TeamTypeRequest) XXX_Unmarshal

func (m *Uint32TeamTypeRequest) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Uint32UserTypeRequest) Descriptor

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

func (*Uint32UserTypeRequest) GetID

func (m *Uint32UserTypeRequest) GetID() uint32

func (*Uint32UserTypeRequest) GetUserType

func (m *Uint32UserTypeRequest) GetUserType() AccountType

func (*Uint32UserTypeRequest) ProtoMessage

func (*Uint32UserTypeRequest) ProtoMessage()

func (*Uint32UserTypeRequest) Reset

func (m *Uint32UserTypeRequest) Reset()

func (*Uint32UserTypeRequest) String

func (m *Uint32UserTypeRequest) String() string

func (*Uint32UserTypeRequest) Validate

func (this *Uint32UserTypeRequest) Validate() error

func (*Uint32UserTypeRequest) XXX_DiscardUnknown

func (m *Uint32UserTypeRequest) XXX_DiscardUnknown()

func (*Uint32UserTypeRequest) XXX_Marshal

func (m *Uint32UserTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Uint32UserTypeRequest) XXX_Merge

func (m *Uint32UserTypeRequest) XXX_Merge(src proto.Message)

func (*Uint32UserTypeRequest) XXX_Size

func (m *Uint32UserTypeRequest) XXX_Size() int

func (*Uint32UserTypeRequest) XXX_Unmarshal

func (m *Uint32UserTypeRequest) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateOrCreateEntityResponse) Descriptor

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

func (*UpdateOrCreateEntityResponse) GetError

func (m *UpdateOrCreateEntityResponse) GetError() string

func (*UpdateOrCreateEntityResponse) GetSuccessful

func (m *UpdateOrCreateEntityResponse) GetSuccessful() bool

func (*UpdateOrCreateEntityResponse) ProtoMessage

func (*UpdateOrCreateEntityResponse) ProtoMessage()

func (*UpdateOrCreateEntityResponse) Reset

func (m *UpdateOrCreateEntityResponse) Reset()

func (*UpdateOrCreateEntityResponse) String

func (*UpdateOrCreateEntityResponse) Validate

func (this *UpdateOrCreateEntityResponse) Validate() error

func (*UpdateOrCreateEntityResponse) XXX_DiscardUnknown

func (m *UpdateOrCreateEntityResponse) XXX_DiscardUnknown()

func (*UpdateOrCreateEntityResponse) XXX_Marshal

func (m *UpdateOrCreateEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateOrCreateEntityResponse) XXX_Merge

func (m *UpdateOrCreateEntityResponse) XXX_Merge(src proto.Message)

func (*UpdateOrCreateEntityResponse) XXX_Size

func (m *UpdateOrCreateEntityResponse) XXX_Size() int

func (*UpdateOrCreateEntityResponse) XXX_Unmarshal

func (m *UpdateOrCreateEntityResponse) XXX_Unmarshal(b []byte) error

type User

type User struct {
	Id                   uint32               `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"`
	Profile              *Profile             `protobuf:"bytes,18,opt,name=profile,proto3" json:"profile,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"`
	Subscriptions        []*Subscriptions     `protobuf:"bytes,21,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	IsActive             bool                 `protobuf:"varint,22,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	AuthnAccountId       uint32               `protobuf:"varint,23,opt,name=authnAccountId,proto3" json:"authnAccountId,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

func (*User) GetAge

func (m *User) GetAge() int32

func (*User) GetAuthnAccountId

func (m *User) GetAuthnAccountId() uint32

func (*User) GetBirthDate

func (m *User) GetBirthDate() string

func (*User) GetCreatedAt

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

func (*User) GetDeletedAt

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

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetFirstName

func (m *User) GetFirstName() string

func (*User) GetGender

func (m *User) GetGender() string

func (*User) GetId

func (m *User) GetId() uint32

func (*User) GetIntent

func (m *User) GetIntent() string

func (*User) GetIsActive

func (m *User) GetIsActive() bool

func (*User) GetLanguages

func (m *User) GetLanguages() string

func (*User) GetLastName

func (m *User) GetLastName() string

func (*User) GetPassword

func (m *User) GetPassword() string

func (*User) GetPasswordConfirmed

func (m *User) GetPasswordConfirmed() string

func (*User) GetPhoneNumber

func (m *User) GetPhoneNumber() string

func (*User) GetProfile

func (m *User) GetProfile() *Profile

func (*User) GetResetToken

func (m *User) GetResetToken() string

func (*User) GetResetTokenExpiration

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

func (*User) GetSubscriptions

func (m *User) GetSubscriptions() []*Subscriptions

func (*User) GetUpdatedAt

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

func (*User) GetUserAccountType

func (m *User) GetUserAccountType() string

func (*User) GetUserName

func (m *User) GetUserName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *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

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

type UserORM

type UserORM struct {
	AdminGroupId         *uint32
	AdminTeamId          *uint32
	AdvisorsTeamId       *uint32
	Age                  int32
	AuthnAccountId       uint32
	BirthDate            string
	CreatedAt            *time.Time
	DeletedAt            *time.Time
	Email                string
	FirstName            string
	Gender               string
	GroupMembersGroupId  *uint32
	Id                   uint32 `gorm:"type:serial;primary_key;auto_increment"`
	Intent               string
	IsActive             bool
	Languages            string
	LastName             string
	MembersTeamId        *uint32
	Password             string
	PasswordConfirmed    string
	PhoneNumber          string
	Profile              *ProfileORM `gorm:"foreignkey:UserId;association_foreignkey:Id;preload:true"`
	ResetToken           string
	ResetTokenExpiration *time.Time
	Subscriptions        []*SubscriptionsORM `gorm:"foreignkey:UserId;association_foreignkey:Id;preload:true"`
	UpdatedAt            *time.Time
	UserAccountType      string
	UserName             string
}

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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*UserRequest) Descriptor

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

func (*UserRequest) GetUser

func (m *UserRequest) GetUser() *User

func (*UserRequest) GetUserType

func (m *UserRequest) GetUserType() AccountType

func (*UserRequest) ProtoMessage

func (*UserRequest) ProtoMessage()

func (*UserRequest) Reset

func (m *UserRequest) Reset()

func (*UserRequest) String

func (m *UserRequest) String() string

func (*UserRequest) Validate

func (this *UserRequest) Validate() error

func (*UserRequest) XXX_DiscardUnknown

func (m *UserRequest) XXX_DiscardUnknown()

func (*UserRequest) XXX_Marshal

func (m *UserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserRequest) XXX_Merge

func (m *UserRequest) XXX_Merge(src proto.Message)

func (*UserRequest) XXX_Size

func (m *UserRequest) XXX_Size() int

func (*UserRequest) XXX_Unmarshal

func (m *UserRequest) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserResponse) Descriptor

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

func (*UserResponse) GetError

func (m *UserResponse) GetError() string

func (*UserResponse) GetUsers

func (m *UserResponse) GetUsers() []*User

func (*UserResponse) ProtoMessage

func (*UserResponse) ProtoMessage()

func (*UserResponse) Reset

func (m *UserResponse) Reset()

func (*UserResponse) String

func (m *UserResponse) String() string

func (*UserResponse) Validate

func (this *UserResponse) Validate() error

func (*UserResponse) XXX_DiscardUnknown

func (m *UserResponse) XXX_DiscardUnknown()

func (*UserResponse) XXX_Marshal

func (m *UserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserResponse) XXX_Merge

func (m *UserResponse) XXX_Merge(src proto.Message)

func (*UserResponse) XXX_Size

func (m *UserResponse) XXX_Size() int

func (*UserResponse) XXX_Unmarshal

func (m *UserResponse) XXX_Unmarshal(b []byte) 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