project

package
v1.31.0-20230523112727... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmailProviderType_name = map[int32]string{
		0: "EMAIL_PROVIDER_TYPE_UNSPECIFIED",
		1: "EMAIL_PROVIDER_TYPE_DEFAULT",
		2: "EMAIL_PROVIDER_TYPE_SMTP",
		3: "EMAIL_PROVIDER_TYPE_MAILJET",
		4: "EMAIL_PROVIDER_TYPE_MOCKEMAIL",
	}
	EmailProviderType_value = map[string]int32{
		"EMAIL_PROVIDER_TYPE_UNSPECIFIED": 0,
		"EMAIL_PROVIDER_TYPE_DEFAULT":     1,
		"EMAIL_PROVIDER_TYPE_SMTP":        2,
		"EMAIL_PROVIDER_TYPE_MAILJET":     3,
		"EMAIL_PROVIDER_TYPE_MOCKEMAIL":   4,
	}
)

Enum value maps for EmailProviderType.

View Source
var (
	TextProviderType_name = map[int32]string{
		0: "TEXT_PROVIDER_TYPE_UNSPECIFIED",
		1: "TEXT_PROVIDER_TYPE_TWILIO",
		2: "TEXT_PROVIDER_TYPE_MOCKTEXT",
	}
	TextProviderType_value = map[string]int32{
		"TEXT_PROVIDER_TYPE_UNSPECIFIED": 0,
		"TEXT_PROVIDER_TYPE_TWILIO":      1,
		"TEXT_PROVIDER_TYPE_MOCKTEXT":    2,
	}
)

Enum value maps for TextProviderType.

View Source
var (
	TemplateType_name = map[int32]string{
		0: "TEMPLATE_TYPE_UNSPECIFIED",
		1: "TEMPLATE_TYPE_EMAIL_VERIFICATION",
		2: "TEMPLATE_TYPE_EMAIL_RESET_PASSWORD",
		3: "TEMPLATE_TYPE_EMAIL_MAGIC_LINK",
		4: "TEMPLATE_TYPE_TEXT_VERIFICATION",
		5: "TEMPLATE_TYPE_TEXT_RESET_PASSWORD",
		6: "TEMPLATE_TYPE_TEXT_MAGIC_LINK",
	}
	TemplateType_value = map[string]int32{
		"TEMPLATE_TYPE_UNSPECIFIED":          0,
		"TEMPLATE_TYPE_EMAIL_VERIFICATION":   1,
		"TEMPLATE_TYPE_EMAIL_RESET_PASSWORD": 2,
		"TEMPLATE_TYPE_EMAIL_MAGIC_LINK":     3,
		"TEMPLATE_TYPE_TEXT_VERIFICATION":    4,
		"TEMPLATE_TYPE_TEXT_RESET_PASSWORD":  5,
		"TEMPLATE_TYPE_TEXT_MAGIC_LINK":      6,
	}
)

Enum value maps for TemplateType.

View Source
var (
	OauthProvider_name = map[int32]string{
		0: "OAUTH_PROVIDER_UNSPECIFIED",
		1: "OAUTH_PROVIDER_GOOGLE",
		2: "OAUTH_PROVIDER_GITHUB",
		3: "OAUTH_PROVIDER_FACEBOOK",
	}
	OauthProvider_value = map[string]int32{
		"OAUTH_PROVIDER_UNSPECIFIED": 0,
		"OAUTH_PROVIDER_GOOGLE":      1,
		"OAUTH_PROVIDER_GITHUB":      2,
		"OAUTH_PROVIDER_FACEBOOK":    3,
	}
)

Enum value maps for OauthProvider.

View Source
var (
	Filter_Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_INC",
		2: "ORDER_DEC",
	}
	Filter_Order_value = map[string]int32{
		"ORDER_UNSPECIFIED": 0,
		"ORDER_INC":         1,
		"ORDER_DEC":         2,
	}
)

Enum value maps for Filter_Order.

View Source
var File_nuntio_management_model_project_project_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EmailProvider

type EmailProvider struct {
	Type       EmailProviderType `protobuf:"varint,1,opt,name=type,proto3,enum=nuntio.management.model.project.EmailProviderType" json:"type,omitempty"`
	PublicKey  string            `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PrivateKey string            `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	From       string            `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailProvider) Descriptor deprecated

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

Deprecated: Use EmailProvider.ProtoReflect.Descriptor instead.

func (*EmailProvider) GetFrom

func (x *EmailProvider) GetFrom() string

func (*EmailProvider) GetPrivateKey

func (x *EmailProvider) GetPrivateKey() string

func (*EmailProvider) GetPublicKey

func (x *EmailProvider) GetPublicKey() string

func (*EmailProvider) GetType

func (x *EmailProvider) GetType() EmailProviderType

func (*EmailProvider) ProtoMessage

func (*EmailProvider) ProtoMessage()

func (*EmailProvider) ProtoReflect

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

func (*EmailProvider) Reset

func (x *EmailProvider) Reset()

func (*EmailProvider) String

func (x *EmailProvider) String() string

type EmailProviderType

type EmailProviderType int32
const (
	EmailProviderType_EMAIL_PROVIDER_TYPE_UNSPECIFIED EmailProviderType = 0
	EmailProviderType_EMAIL_PROVIDER_TYPE_DEFAULT     EmailProviderType = 1
	EmailProviderType_EMAIL_PROVIDER_TYPE_SMTP        EmailProviderType = 2
	EmailProviderType_EMAIL_PROVIDER_TYPE_MAILJET     EmailProviderType = 3
	EmailProviderType_EMAIL_PROVIDER_TYPE_MOCKEMAIL   EmailProviderType = 4
)

func (EmailProviderType) Descriptor

func (EmailProviderType) Enum

func (EmailProviderType) EnumDescriptor deprecated

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

Deprecated: Use EmailProviderType.Descriptor instead.

func (EmailProviderType) Number

func (EmailProviderType) String

func (x EmailProviderType) String() string

func (EmailProviderType) Type

type Entry

type Entry struct {
	ProjectId *model.UUID `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Project   *Project    `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*Entry) Descriptor deprecated

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetProject

func (x *Entry) GetProject() *Project

func (*Entry) GetProjectId

func (x *Entry) GetProjectId() *model.UUID

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

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

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type Filter

type Filter struct {
	From  uint32       `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
	To    uint32       `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"`
	Order Filter_Order `protobuf:"varint,3,opt,name=order,proto3,enum=nuntio.management.model.project.Filter_Order" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetFrom

func (x *Filter) GetFrom() uint32

func (*Filter) GetOrder

func (x *Filter) GetOrder() Filter_Order

func (*Filter) GetTo

func (x *Filter) GetTo() uint32

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type Filter_Order

type Filter_Order int32
const (
	Filter_ORDER_UNSPECIFIED Filter_Order = 0
	Filter_ORDER_INC         Filter_Order = 1
	Filter_ORDER_DEC         Filter_Order = 2
)

func (Filter_Order) Descriptor

func (Filter_Order) Enum

func (x Filter_Order) Enum() *Filter_Order

func (Filter_Order) EnumDescriptor deprecated

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

Deprecated: Use Filter_Order.Descriptor instead.

func (Filter_Order) Number

func (Filter_Order) String

func (x Filter_Order) String() string

func (Filter_Order) Type

type OauthProvider

type OauthProvider int32
const (
	OauthProvider_OAUTH_PROVIDER_UNSPECIFIED OauthProvider = 0
	OauthProvider_OAUTH_PROVIDER_GOOGLE      OauthProvider = 1
	OauthProvider_OAUTH_PROVIDER_GITHUB      OauthProvider = 2
	OauthProvider_OAUTH_PROVIDER_FACEBOOK    OauthProvider = 3
)

func (OauthProvider) Descriptor

func (OauthProvider) Enum

func (x OauthProvider) Enum() *OauthProvider

func (OauthProvider) EnumDescriptor deprecated

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

Deprecated: Use OauthProvider.Descriptor instead.

func (OauthProvider) Number

func (OauthProvider) String

func (x OauthProvider) String() string

func (OauthProvider) Type

type OauthProviderSettings

type OauthProviderSettings struct {
	Provider      OauthProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=nuntio.management.model.project.OauthProvider" json:"provider,omitempty"`
	ClientId      string        `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret  string        `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	ProviderUrl   string        `protobuf:"bytes,4,opt,name=provider_url,json=providerUrl,proto3" json:"provider_url,omitempty"`
	Issuer        string        `protobuf:"bytes,5,opt,name=issuer,proto3" json:"issuer,omitempty"`
	AllowLogin    bool          `protobuf:"varint,6,opt,name=allow_login,json=allowLogin,proto3" json:"allow_login,omitempty"`
	AllowRegister bool          `protobuf:"varint,7,opt,name=allow_register,json=allowRegister,proto3" json:"allow_register,omitempty"`
	// contains filtered or unexported fields
}

func (*OauthProviderSettings) Descriptor deprecated

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

Deprecated: Use OauthProviderSettings.ProtoReflect.Descriptor instead.

func (*OauthProviderSettings) GetAllowLogin

func (x *OauthProviderSettings) GetAllowLogin() bool

func (*OauthProviderSettings) GetAllowRegister

func (x *OauthProviderSettings) GetAllowRegister() bool

func (*OauthProviderSettings) GetClientId

func (x *OauthProviderSettings) GetClientId() string

func (*OauthProviderSettings) GetClientSecret

func (x *OauthProviderSettings) GetClientSecret() string

func (*OauthProviderSettings) GetIssuer

func (x *OauthProviderSettings) GetIssuer() string

func (*OauthProviderSettings) GetProvider

func (x *OauthProviderSettings) GetProvider() OauthProvider

func (*OauthProviderSettings) GetProviderUrl

func (x *OauthProviderSettings) GetProviderUrl() string

func (*OauthProviderSettings) ProtoMessage

func (*OauthProviderSettings) ProtoMessage()

func (*OauthProviderSettings) ProtoReflect

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

func (*OauthProviderSettings) Reset

func (x *OauthProviderSettings) Reset()

func (*OauthProviderSettings) String

func (x *OauthProviderSettings) String() string

type OauthSettings

type OauthSettings struct {
	CallbackUrls []string               `protobuf:"bytes,1,rep,name=callback_urls,json=callbackUrls,proto3" json:"callback_urls,omitempty"`
	Google       *OauthProviderSettings `protobuf:"bytes,2,opt,name=google,proto3" json:"google,omitempty"`
	Github       *OauthProviderSettings `protobuf:"bytes,3,opt,name=github,proto3" json:"github,omitempty"`
	// contains filtered or unexported fields
}

func (*OauthSettings) Descriptor deprecated

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

Deprecated: Use OauthSettings.ProtoReflect.Descriptor instead.

func (*OauthSettings) GetCallbackUrls

func (x *OauthSettings) GetCallbackUrls() []string

func (*OauthSettings) GetGithub

func (x *OauthSettings) GetGithub() *OauthProviderSettings

func (*OauthSettings) GetGoogle

func (x *OauthSettings) GetGoogle() *OauthProviderSettings

func (*OauthSettings) ProtoMessage

func (*OauthSettings) ProtoMessage()

func (*OauthSettings) ProtoReflect

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

func (*OauthSettings) Reset

func (x *OauthSettings) Reset()

func (*OauthSettings) String

func (x *OauthSettings) String() string

type Project

type Project struct {
	Info         *ProjectInfo           `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	Settings     *ProjectSettings       `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	UserSettings *UserSettings          `protobuf:"bytes,5,opt,name=user_settings,json=userSettings,proto3" json:"user_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetCreatedAt

func (x *Project) GetCreatedAt() *timestamppb.Timestamp

func (*Project) GetInfo

func (x *Project) GetInfo() *ProjectInfo

func (*Project) GetSettings

func (x *Project) GetSettings() *ProjectSettings

func (*Project) GetUpdatedAt

func (x *Project) GetUpdatedAt() *timestamppb.Timestamp

func (*Project) GetUserSettings

func (x *Project) GetUserSettings() *UserSettings

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectInfo

type ProjectInfo struct {
	Name string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectInfo) Descriptor deprecated

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

Deprecated: Use ProjectInfo.ProtoReflect.Descriptor instead.

func (x *ProjectInfo) GetLogo() *common.Image

func (*ProjectInfo) GetName

func (x *ProjectInfo) GetName() string

func (*ProjectInfo) ProtoMessage

func (*ProjectInfo) ProtoMessage()

func (*ProjectInfo) ProtoReflect

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

func (*ProjectInfo) Reset

func (x *ProjectInfo) Reset()

func (*ProjectInfo) String

func (x *ProjectInfo) String() string

type ProjectSettings

type ProjectSettings struct {
	EmailProvider *EmailProvider `protobuf:"bytes,1,opt,name=email_provider,json=emailProvider,proto3" json:"email_provider,omitempty"`
	TextProvider  *TextProvider  `protobuf:"bytes,2,opt,name=text_provider,json=textProvider,proto3" json:"text_provider,omitempty"`
	Templates     *Templates     `protobuf:"bytes,3,opt,name=templates,proto3" json:"templates,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectSettings) Descriptor deprecated

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

Deprecated: Use ProjectSettings.ProtoReflect.Descriptor instead.

func (*ProjectSettings) GetEmailProvider

func (x *ProjectSettings) GetEmailProvider() *EmailProvider

func (*ProjectSettings) GetTemplates

func (x *ProjectSettings) GetTemplates() *Templates

func (*ProjectSettings) GetTextProvider

func (x *ProjectSettings) GetTextProvider() *TextProvider

func (*ProjectSettings) ProtoMessage

func (*ProjectSettings) ProtoMessage()

func (*ProjectSettings) ProtoReflect

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

func (*ProjectSettings) Reset

func (x *ProjectSettings) Reset()

func (*ProjectSettings) String

func (x *ProjectSettings) String() string

type Template

type Template struct {
	Body    string       `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	Type    TemplateType `protobuf:"varint,2,opt,name=type,proto3,enum=nuntio.management.model.project.TemplateType" json:"type,omitempty"`
	Subject string       `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Format  []string     `protobuf:"bytes,4,rep,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*Template) Descriptor deprecated

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

Deprecated: Use Template.ProtoReflect.Descriptor instead.

func (*Template) GetBody

func (x *Template) GetBody() string

func (*Template) GetFormat

func (x *Template) GetFormat() []string

func (*Template) GetSubject

func (x *Template) GetSubject() string

func (*Template) GetType

func (x *Template) GetType() TemplateType

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) ProtoReflect

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

func (*Template) Reset

func (x *Template) Reset()

func (*Template) String

func (x *Template) String() string

type TemplateType

type TemplateType int32
const (
	TemplateType_TEMPLATE_TYPE_UNSPECIFIED          TemplateType = 0
	TemplateType_TEMPLATE_TYPE_EMAIL_VERIFICATION   TemplateType = 1
	TemplateType_TEMPLATE_TYPE_EMAIL_RESET_PASSWORD TemplateType = 2
	TemplateType_TEMPLATE_TYPE_EMAIL_MAGIC_LINK     TemplateType = 3
	TemplateType_TEMPLATE_TYPE_TEXT_VERIFICATION    TemplateType = 4
	TemplateType_TEMPLATE_TYPE_TEXT_RESET_PASSWORD  TemplateType = 5
	TemplateType_TEMPLATE_TYPE_TEXT_MAGIC_LINK      TemplateType = 6
)

func (TemplateType) Descriptor

func (TemplateType) Enum

func (x TemplateType) Enum() *TemplateType

func (TemplateType) EnumDescriptor deprecated

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

Deprecated: Use TemplateType.Descriptor instead.

func (TemplateType) Number

func (TemplateType) String

func (x TemplateType) String() string

func (TemplateType) Type

type Templates

type Templates struct {
	ResetPasswordEmail *Template `protobuf:"bytes,1,opt,name=reset_password_email,json=resetPasswordEmail,proto3" json:"reset_password_email,omitempty"`
	ResetPasswordText  *Template `protobuf:"bytes,2,opt,name=reset_password_text,json=resetPasswordText,proto3" json:"reset_password_text,omitempty"`
	VerifyEmail        *Template `protobuf:"bytes,3,opt,name=verify_email,json=verifyEmail,proto3" json:"verify_email,omitempty"`
	VerifyPhoneNumber  *Template `protobuf:"bytes,4,opt,name=verify_phone_number,json=verifyPhoneNumber,proto3" json:"verify_phone_number,omitempty"`
	MagicEmail         *Template `protobuf:"bytes,5,opt,name=magic_email,json=magicEmail,proto3" json:"magic_email,omitempty"`
	MagicText          *Template `protobuf:"bytes,6,opt,name=magic_text,json=magicText,proto3" json:"magic_text,omitempty"`
	// contains filtered or unexported fields
}

func (*Templates) Descriptor deprecated

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

Deprecated: Use Templates.ProtoReflect.Descriptor instead.

func (*Templates) GetMagicEmail

func (x *Templates) GetMagicEmail() *Template

func (*Templates) GetMagicText

func (x *Templates) GetMagicText() *Template

func (*Templates) GetResetPasswordEmail

func (x *Templates) GetResetPasswordEmail() *Template

func (*Templates) GetResetPasswordText

func (x *Templates) GetResetPasswordText() *Template

func (*Templates) GetVerifyEmail

func (x *Templates) GetVerifyEmail() *Template

func (*Templates) GetVerifyPhoneNumber

func (x *Templates) GetVerifyPhoneNumber() *Template

func (*Templates) ProtoMessage

func (*Templates) ProtoMessage()

func (*Templates) ProtoReflect

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

func (*Templates) Reset

func (x *Templates) Reset()

func (*Templates) String

func (x *Templates) String() string

type TextProvider

type TextProvider struct {
	Type       TextProviderType `protobuf:"varint,1,opt,name=type,proto3,enum=nuntio.management.model.project.TextProviderType" json:"type,omitempty"`
	PublicKey  string           `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PrivateKey string           `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	From       string           `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
	// contains filtered or unexported fields
}

func (*TextProvider) Descriptor deprecated

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

Deprecated: Use TextProvider.ProtoReflect.Descriptor instead.

func (*TextProvider) GetFrom

func (x *TextProvider) GetFrom() string

func (*TextProvider) GetPrivateKey

func (x *TextProvider) GetPrivateKey() string

func (*TextProvider) GetPublicKey

func (x *TextProvider) GetPublicKey() string

func (*TextProvider) GetType

func (x *TextProvider) GetType() TextProviderType

func (*TextProvider) ProtoMessage

func (*TextProvider) ProtoMessage()

func (*TextProvider) ProtoReflect

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

func (*TextProvider) Reset

func (x *TextProvider) Reset()

func (*TextProvider) String

func (x *TextProvider) String() string

type TextProviderType

type TextProviderType int32
const (
	TextProviderType_TEXT_PROVIDER_TYPE_UNSPECIFIED TextProviderType = 0
	TextProviderType_TEXT_PROVIDER_TYPE_TWILIO      TextProviderType = 1
	TextProviderType_TEXT_PROVIDER_TYPE_MOCKTEXT    TextProviderType = 2
)

func (TextProviderType) Descriptor

func (TextProviderType) Enum

func (TextProviderType) EnumDescriptor deprecated

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

Deprecated: Use TextProviderType.Descriptor instead.

func (TextProviderType) Number

func (TextProviderType) String

func (x TextProviderType) String() string

func (TextProviderType) Type

type Update

type Update struct {

	// Types that are assignable to Field:
	//
	//	*Update_Name
	//	*Update_Logo
	//	*Update_ProjectSettings
	//	*Update_UserSettings
	Field isUpdate_Field `protobuf_oneof:"field"`
	// contains filtered or unexported fields
}

func (*Update) Descriptor deprecated

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

Deprecated: Use Update.ProtoReflect.Descriptor instead.

func (*Update) GetField

func (m *Update) GetField() isUpdate_Field
func (x *Update) GetLogo() *common.Image

func (*Update) GetName

func (x *Update) GetName() string

func (*Update) GetProjectSettings

func (x *Update) GetProjectSettings() *ProjectSettings

func (*Update) GetUserSettings

func (x *Update) GetUserSettings() *UserSettings

func (*Update) ProtoMessage

func (*Update) ProtoMessage()

func (*Update) ProtoReflect

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

func (*Update) Reset

func (x *Update) Reset()

func (*Update) String

func (x *Update) String() string
type Update_Logo struct {
}

type Update_Name

type Update_Name struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}

type Update_ProjectSettings

type Update_ProjectSettings struct {
	ProjectSettings *ProjectSettings `protobuf:"bytes,3,opt,name=project_settings,json=projectSettings,proto3,oneof"`
}

type Update_UserSettings

type Update_UserSettings struct {
	UserSettings *UserSettings `protobuf:"bytes,4,opt,name=user_settings,json=userSettings,proto3,oneof"`
}

type UserSettings

type UserSettings struct {
	AllowRegister           bool                          `protobuf:"varint,1,opt,name=allow_register,json=allowRegister,proto3" json:"allow_register,omitempty"`
	IsVerifiedEmailRequired bool                          `` /* 135-byte string literal not displayed */
	IsVerifiedPhoneRequired bool                          `` /* 135-byte string literal not displayed */
	AccessTokenTtl          *durationpb.Duration          `protobuf:"bytes,4,opt,name=access_token_ttl,json=accessTokenTtl,proto3" json:"access_token_ttl,omitempty"`
	RefreshTokenTtl         *durationpb.Duration          `protobuf:"bytes,5,opt,name=refresh_token_ttl,json=refreshTokenTtl,proto3" json:"refresh_token_ttl,omitempty"`
	VerificationCodeTtl     *durationpb.Duration          `protobuf:"bytes,6,opt,name=verification_code_ttl,json=verificationCodeTtl,proto3" json:"verification_code_ttl,omitempty"`
	PasswordHashing         *common.PasswordHashingConfig `protobuf:"bytes,7,opt,name=password_hashing,json=passwordHashing,proto3" json:"password_hashing,omitempty"`
	LoginMechanisms         []auth.LoginType              `` /* 151-byte string literal not displayed */
	OauthSettings           *OauthSettings                `protobuf:"bytes,9,opt,name=oauth_settings,json=oauthSettings,proto3" json:"oauth_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSettings) Descriptor deprecated

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

Deprecated: Use UserSettings.ProtoReflect.Descriptor instead.

func (*UserSettings) GetAccessTokenTtl

func (x *UserSettings) GetAccessTokenTtl() *durationpb.Duration

func (*UserSettings) GetAllowRegister

func (x *UserSettings) GetAllowRegister() bool

func (*UserSettings) GetIsVerifiedEmailRequired

func (x *UserSettings) GetIsVerifiedEmailRequired() bool

func (*UserSettings) GetIsVerifiedPhoneRequired

func (x *UserSettings) GetIsVerifiedPhoneRequired() bool

func (*UserSettings) GetLoginMechanisms

func (x *UserSettings) GetLoginMechanisms() []auth.LoginType

func (*UserSettings) GetOauthSettings

func (x *UserSettings) GetOauthSettings() *OauthSettings

func (*UserSettings) GetPasswordHashing

func (x *UserSettings) GetPasswordHashing() *common.PasswordHashingConfig

func (*UserSettings) GetRefreshTokenTtl

func (x *UserSettings) GetRefreshTokenTtl() *durationpb.Duration

func (*UserSettings) GetVerificationCodeTtl

func (x *UserSettings) GetVerificationCodeTtl() *durationpb.Duration

func (*UserSettings) ProtoMessage

func (*UserSettings) ProtoMessage()

func (*UserSettings) ProtoReflect

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

func (*UserSettings) Reset

func (x *UserSettings) Reset()

func (*UserSettings) String

func (x *UserSettings) String() string

Jump to

Keyboard shortcuts

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