models

package
v1.3.1-herb-verified-e... Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_external_models_metadata_proto protoreflect.FileDescriptor
View Source
var File_proto_external_models_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Address

type Address struct {
	Street     string `protobuf:"bytes,1,opt,name=street,proto3" json:"street,omitempty"`
	City       string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"`
	State      string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	Country    string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetCity

func (x *Address) GetCity() string

func (*Address) GetCountry

func (x *Address) GetCountry() string

func (*Address) GetPostalCode

func (x *Address) GetPostalCode() string

func (*Address) GetState

func (x *Address) GetState() string

func (*Address) GetStreet

func (x *Address) GetStreet() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type AddressUpdate

type AddressUpdate struct {
	Street     *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=street,proto3" json:"street,omitempty"`
	City       *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"`
	State      *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	PostalCode *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	Country    *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressUpdate) Descriptor deprecated

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

Deprecated: Use AddressUpdate.ProtoReflect.Descriptor instead.

func (*AddressUpdate) GetCity

func (x *AddressUpdate) GetCity() *wrapperspb.StringValue

func (*AddressUpdate) GetCountry

func (x *AddressUpdate) GetCountry() *wrapperspb.StringValue

func (*AddressUpdate) GetPostalCode

func (x *AddressUpdate) GetPostalCode() *wrapperspb.StringValue

func (*AddressUpdate) GetState

func (x *AddressUpdate) GetState() *wrapperspb.StringValue

func (*AddressUpdate) GetStreet

func (x *AddressUpdate) GetStreet() *wrapperspb.StringValue

func (*AddressUpdate) ProtoMessage

func (*AddressUpdate) ProtoMessage()

func (*AddressUpdate) ProtoReflect

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

func (*AddressUpdate) Reset

func (x *AddressUpdate) Reset()

func (*AddressUpdate) String

func (x *AddressUpdate) String() string

type ExampleUser

type ExampleUser struct {
	Id       string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RageUser *models.RageUser  `protobuf:"bytes,2,opt,name=rage_user,json=rageUser,proto3" json:"rage_user,omitempty"`
	Profile  *Profile          `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	Metadata []*MetadataRecord `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// Timestamp of when this user was created
	Created *timestamppb.Timestamp `protobuf:"bytes,50,opt,name=created,proto3" json:"created,omitempty"`
	// Timestamp of when this user was last updated
	Updated *timestamppb.Timestamp `protobuf:"bytes,51,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*ExampleUser) Descriptor deprecated

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

Deprecated: Use ExampleUser.ProtoReflect.Descriptor instead.

func (*ExampleUser) GetCreated

func (x *ExampleUser) GetCreated() *timestamppb.Timestamp

func (*ExampleUser) GetId

func (x *ExampleUser) GetId() string

func (*ExampleUser) GetMetadata added in v1.1.6

func (x *ExampleUser) GetMetadata() []*MetadataRecord

func (*ExampleUser) GetProfile

func (x *ExampleUser) GetProfile() *Profile

func (*ExampleUser) GetRageUser

func (x *ExampleUser) GetRageUser() *models.RageUser

func (*ExampleUser) GetUpdated

func (x *ExampleUser) GetUpdated() *timestamppb.Timestamp

func (*ExampleUser) ProtoMessage

func (*ExampleUser) ProtoMessage()

func (*ExampleUser) ProtoReflect

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

func (*ExampleUser) Reset

func (x *ExampleUser) Reset()

func (*ExampleUser) String

func (x *ExampleUser) String() string

type ExampleUserFilter

type ExampleUserFilter struct {
	Id                    *types.IDFilterExpression     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Email                 *types.StringFilterExpression `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	LinkedIdentitySubject *types.IDFilterExpression     `` /* 126-byte string literal not displayed */
	LinkedIdentityIdpSlug *types.IDFilterExpression     `` /* 128-byte string literal not displayed */
	LinkedIdentityEmail   *types.StringFilterExpression `protobuf:"bytes,6,opt,name=linked_identity_email,json=linkedIdentityEmail,proto3" json:"linked_identity_email,omitempty"`
	MetadataKey           *types.StringFilterExpression `protobuf:"bytes,7,opt,name=metadata_key,json=metadataKey,proto3" json:"metadata_key,omitempty"`
	MetadataValue         *types.StringFilterExpression `protobuf:"bytes,8,opt,name=metadata_value,json=metadataValue,proto3" json:"metadata_value,omitempty"`
	// AST
	And []*ExampleUserFilter `protobuf:"bytes,100,rep,name=and,proto3" json:"and,omitempty"`
	Or  []*ExampleUserFilter `protobuf:"bytes,101,rep,name=or,proto3" json:"or,omitempty"`
	Not []*ExampleUserFilter `protobuf:"bytes,102,rep,name=not,proto3" json:"not,omitempty"`
	// contains filtered or unexported fields
}

func (*ExampleUserFilter) Descriptor deprecated

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

Deprecated: Use ExampleUserFilter.ProtoReflect.Descriptor instead.

func (*ExampleUserFilter) GetAnd

func (x *ExampleUserFilter) GetAnd() []*ExampleUserFilter

func (*ExampleUserFilter) GetEmail

func (*ExampleUserFilter) GetId

func (*ExampleUserFilter) GetLinkedIdentityEmail

func (x *ExampleUserFilter) GetLinkedIdentityEmail() *types.StringFilterExpression

func (*ExampleUserFilter) GetLinkedIdentityIdpSlug

func (x *ExampleUserFilter) GetLinkedIdentityIdpSlug() *types.IDFilterExpression

func (*ExampleUserFilter) GetLinkedIdentitySubject

func (x *ExampleUserFilter) GetLinkedIdentitySubject() *types.IDFilterExpression

func (*ExampleUserFilter) GetMetadataKey added in v1.1.6

func (x *ExampleUserFilter) GetMetadataKey() *types.StringFilterExpression

func (*ExampleUserFilter) GetMetadataValue added in v1.1.6

func (x *ExampleUserFilter) GetMetadataValue() *types.StringFilterExpression

func (*ExampleUserFilter) GetNot

func (x *ExampleUserFilter) GetNot() []*ExampleUserFilter

func (*ExampleUserFilter) GetOr

func (x *ExampleUserFilter) GetOr() []*ExampleUserFilter

func (*ExampleUserFilter) ProtoMessage

func (*ExampleUserFilter) ProtoMessage()

func (*ExampleUserFilter) ProtoReflect

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

func (*ExampleUserFilter) Reset

func (x *ExampleUserFilter) Reset()

func (*ExampleUserFilter) String

func (x *ExampleUserFilter) String() string

type ExampleUserUpdate

type ExampleUserUpdate struct {
	Id       string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RageUser *models.RageUserUpdate `protobuf:"bytes,2,opt,name=rage_user,json=rageUser,proto3" json:"rage_user,omitempty"`
	Profile  *ProfileUpdate         `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	Metadata *MetadataUpdate        `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ExampleUserUpdate) Descriptor deprecated

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

Deprecated: Use ExampleUserUpdate.ProtoReflect.Descriptor instead.

func (*ExampleUserUpdate) GetId

func (x *ExampleUserUpdate) GetId() string

func (*ExampleUserUpdate) GetMetadata added in v1.1.6

func (x *ExampleUserUpdate) GetMetadata() *MetadataUpdate

func (*ExampleUserUpdate) GetProfile

func (x *ExampleUserUpdate) GetProfile() *ProfileUpdate

func (*ExampleUserUpdate) GetRageUser

func (x *ExampleUserUpdate) GetRageUser() *models.RageUserUpdate

func (*ExampleUserUpdate) ProtoMessage

func (*ExampleUserUpdate) ProtoMessage()

func (*ExampleUserUpdate) ProtoReflect

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

func (*ExampleUserUpdate) Reset

func (x *ExampleUserUpdate) Reset()

func (*ExampleUserUpdate) String

func (x *ExampleUserUpdate) String() string

type MetadataRecord added in v1.1.6

type MetadataRecord struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataRecord) Descriptor deprecated added in v1.1.6

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

Deprecated: Use MetadataRecord.ProtoReflect.Descriptor instead.

func (*MetadataRecord) GetKey added in v1.1.6

func (x *MetadataRecord) GetKey() string

func (*MetadataRecord) GetValue added in v1.1.6

func (x *MetadataRecord) GetValue() string

func (*MetadataRecord) ProtoMessage added in v1.1.6

func (*MetadataRecord) ProtoMessage()

func (*MetadataRecord) ProtoReflect added in v1.1.6

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

func (*MetadataRecord) Reset added in v1.1.6

func (x *MetadataRecord) Reset()

func (*MetadataRecord) String added in v1.1.6

func (x *MetadataRecord) String() string

type MetadataUpdate added in v1.1.6

type MetadataUpdate struct {

	// Types that are assignable to Update:
	//
	//	*MetadataUpdate_Granular_
	//	*MetadataUpdate_Replace
	Update isMetadataUpdate_Update `protobuf_oneof:"update"`
	// contains filtered or unexported fields
}

func (*MetadataUpdate) Descriptor deprecated added in v1.1.6

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

Deprecated: Use MetadataUpdate.ProtoReflect.Descriptor instead.

func (*MetadataUpdate) GetGranular added in v1.1.6

func (x *MetadataUpdate) GetGranular() *MetadataUpdate_Granular

func (*MetadataUpdate) GetReplace added in v1.1.6

func (x *MetadataUpdate) GetReplace() *MetadataValue

func (*MetadataUpdate) GetUpdate added in v1.1.6

func (m *MetadataUpdate) GetUpdate() isMetadataUpdate_Update

func (*MetadataUpdate) ProtoMessage added in v1.1.6

func (*MetadataUpdate) ProtoMessage()

func (*MetadataUpdate) ProtoReflect added in v1.1.6

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

func (*MetadataUpdate) Reset added in v1.1.6

func (x *MetadataUpdate) Reset()

func (*MetadataUpdate) String added in v1.1.6

func (x *MetadataUpdate) String() string

type MetadataUpdate_Granular added in v1.1.6

type MetadataUpdate_Granular struct {
	Add       []*MetadataRecord `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`
	Remove    []*MetadataRecord `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
	RemoveAll []string          `protobuf:"bytes,3,rep,name=remove_all,json=removeAll,proto3" json:"remove_all,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataUpdate_Granular) Descriptor deprecated added in v1.1.6

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

Deprecated: Use MetadataUpdate_Granular.ProtoReflect.Descriptor instead.

func (*MetadataUpdate_Granular) GetAdd added in v1.1.6

func (x *MetadataUpdate_Granular) GetAdd() []*MetadataRecord

func (*MetadataUpdate_Granular) GetRemove added in v1.1.6

func (x *MetadataUpdate_Granular) GetRemove() []*MetadataRecord

func (*MetadataUpdate_Granular) GetRemoveAll added in v1.1.6

func (x *MetadataUpdate_Granular) GetRemoveAll() []string

func (*MetadataUpdate_Granular) ProtoMessage added in v1.1.6

func (*MetadataUpdate_Granular) ProtoMessage()

func (*MetadataUpdate_Granular) ProtoReflect added in v1.1.6

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

func (*MetadataUpdate_Granular) Reset added in v1.1.6

func (x *MetadataUpdate_Granular) Reset()

func (*MetadataUpdate_Granular) String added in v1.1.6

func (x *MetadataUpdate_Granular) String() string

type MetadataUpdate_Granular_ added in v1.1.6

type MetadataUpdate_Granular_ struct {
	Granular *MetadataUpdate_Granular `protobuf:"bytes,1,opt,name=granular,proto3,oneof"`
}

type MetadataUpdate_Replace added in v1.1.6

type MetadataUpdate_Replace struct {
	Replace *MetadataValue `protobuf:"bytes,2,opt,name=replace,proto3,oneof"`
}

type MetadataValue added in v1.1.6

type MetadataValue struct {
	Values []*MetadataRecord `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataValue) Descriptor deprecated added in v1.1.6

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

Deprecated: Use MetadataValue.ProtoReflect.Descriptor instead.

func (*MetadataValue) GetValues added in v1.1.6

func (x *MetadataValue) GetValues() []*MetadataRecord

func (*MetadataValue) ProtoMessage added in v1.1.6

func (*MetadataValue) ProtoMessage()

func (*MetadataValue) ProtoReflect added in v1.1.6

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

func (*MetadataValue) Reset added in v1.1.6

func (x *MetadataValue) Reset()

func (*MetadataValue) String added in v1.1.6

func (x *MetadataValue) String() string

type Profile

type Profile struct {
	GivenName    string                  `protobuf:"bytes,1,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
	FamilyName   string                  `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
	PhoneNumbers []*types.PhoneNumberDTO `protobuf:"bytes,3,rep,name=phone_numbers,json=phoneNumbers,proto3" json:"phone_numbers,omitempty"`
	Address      *Address                `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated

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

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAddress

func (x *Profile) GetAddress() *Address

func (*Profile) GetFamilyName

func (x *Profile) GetFamilyName() string

func (*Profile) GetGivenName

func (x *Profile) GetGivenName() string

func (*Profile) GetPhoneNumbers

func (x *Profile) GetPhoneNumbers() []*types.PhoneNumberDTO

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

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

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

type ProfileUpdate

type ProfileUpdate struct {
	GivenName    *wrapperspb.StringValue       `protobuf:"bytes,1,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
	FamilyName   *wrapperspb.StringValue       `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
	PhoneNumbers []*types.PhoneNumberDTOUpdate `protobuf:"bytes,3,rep,name=phone_numbers,json=phoneNumbers,proto3" json:"phone_numbers,omitempty"`
	Address      *AddressUpdate                `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileUpdate) Descriptor deprecated

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

Deprecated: Use ProfileUpdate.ProtoReflect.Descriptor instead.

func (*ProfileUpdate) GetAddress

func (x *ProfileUpdate) GetAddress() *AddressUpdate

func (*ProfileUpdate) GetFamilyName

func (x *ProfileUpdate) GetFamilyName() *wrapperspb.StringValue

func (*ProfileUpdate) GetGivenName

func (x *ProfileUpdate) GetGivenName() *wrapperspb.StringValue

func (*ProfileUpdate) GetPhoneNumbers

func (x *ProfileUpdate) GetPhoneNumbers() []*types.PhoneNumberDTOUpdate

func (*ProfileUpdate) ProtoMessage

func (*ProfileUpdate) ProtoMessage()

func (*ProfileUpdate) ProtoReflect

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

func (*ProfileUpdate) Reset

func (x *ProfileUpdate) Reset()

func (*ProfileUpdate) String

func (x *ProfileUpdate) String() string

Jump to

Keyboard shortcuts

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