Documentation
¶
Index ¶
- Constants
- Variables
- type EmailProvider
- func (x *EmailProvider) GetFrom() string
- func (x *EmailProvider) GetPrivateKey() string
- func (x *EmailProvider) GetPublicKey() string
- func (x *EmailProvider) GetType() EmailProviderType
- func (*EmailProvider) ProtoMessage()
- func (x *EmailProvider) ProtoReflect() protoreflect.Message
- func (x *EmailProvider) Reset()
- func (x *EmailProvider) SetFrom(v string)
- func (x *EmailProvider) SetPrivateKey(v string)
- func (x *EmailProvider) SetPublicKey(v string)
- func (x *EmailProvider) SetType(v EmailProviderType)
- func (x *EmailProvider) String() string
- type EmailProviderType
- type EmailProvider_builder
- type Entry
- func (x *Entry) ClearCreatedAt()
- func (x *Entry) ClearImage()
- func (x *Entry) ClearProjectId()
- func (x *Entry) GetCreatedAt() *timestamppb.Timestamp
- func (x *Entry) GetImage() *common.Image
- func (x *Entry) GetName() string
- func (x *Entry) GetProjectId() *model.UUID
- func (x *Entry) HasCreatedAt() bool
- func (x *Entry) HasImage() bool
- func (x *Entry) HasProjectId() bool
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *Entry) SetImage(v *common.Image)
- func (x *Entry) SetName(v string)
- func (x *Entry) SetProjectId(v *model.UUID)
- func (x *Entry) String() string
- type Entry_builder
- type Project
- func (x *Project) ClearCreatedAt()
- func (x *Project) ClearInfo()
- func (x *Project) ClearSettings()
- func (x *Project) ClearUpdatedAt()
- func (x *Project) GetCreatedAt() *timestamppb.Timestamp
- func (x *Project) GetInfo() *ProjectInfo
- func (x *Project) GetSettings() *Settings
- func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Project) HasCreatedAt() bool
- func (x *Project) HasInfo() bool
- func (x *Project) HasSettings() bool
- func (x *Project) HasUpdatedAt() bool
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *Project) SetInfo(v *ProjectInfo)
- func (x *Project) SetSettings(v *Settings)
- func (x *Project) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *Project) String() string
- type ProjectInfo
- func (x *ProjectInfo) ClearImage()
- func (x *ProjectInfo) GetImage() *common.Image
- func (x *ProjectInfo) GetName() string
- func (x *ProjectInfo) HasImage() bool
- func (*ProjectInfo) ProtoMessage()
- func (x *ProjectInfo) ProtoReflect() protoreflect.Message
- func (x *ProjectInfo) Reset()
- func (x *ProjectInfo) SetImage(v *common.Image)
- func (x *ProjectInfo) SetName(v string)
- func (x *ProjectInfo) String() string
- type ProjectInfo_builder
- type Project_builder
- type Settings
- func (x *Settings) ClearEmailProvider()
- func (x *Settings) ClearTemplates()
- func (x *Settings) ClearTextProvider()
- func (x *Settings) GetEmailProvider() *EmailProvider
- func (x *Settings) GetTemplates() *Templates
- func (x *Settings) GetTextProvider() *TextProvider
- func (x *Settings) HasEmailProvider() bool
- func (x *Settings) HasTemplates() bool
- func (x *Settings) HasTextProvider() bool
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) SetEmailProvider(v *EmailProvider)
- func (x *Settings) SetTemplates(v *Templates)
- func (x *Settings) SetTextProvider(v *TextProvider)
- func (x *Settings) String() string
- type Settings_builder
- type Template
- func (x *Template) GetBody() string
- func (x *Template) GetFormat() []string
- func (x *Template) GetSubject() string
- func (x *Template) GetType() TemplateType
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) SetBody(v string)
- func (x *Template) SetFormat(v []string)
- func (x *Template) SetSubject(v string)
- func (x *Template) SetType(v TemplateType)
- func (x *Template) String() string
- type TemplateType
- type Template_builder
- type Templates
- func (x *Templates) ClearMagicEmail()
- func (x *Templates) ClearMagicText()
- func (x *Templates) ClearResetPasswordEmail()
- func (x *Templates) ClearResetPasswordText()
- func (x *Templates) ClearVerifyEmail()
- func (x *Templates) ClearVerifyPhoneNumber()
- func (x *Templates) GetMagicEmail() *Template
- func (x *Templates) GetMagicText() *Template
- func (x *Templates) GetResetPasswordEmail() *Template
- func (x *Templates) GetResetPasswordText() *Template
- func (x *Templates) GetVerifyEmail() *Template
- func (x *Templates) GetVerifyPhoneNumber() *Template
- func (x *Templates) HasMagicEmail() bool
- func (x *Templates) HasMagicText() bool
- func (x *Templates) HasResetPasswordEmail() bool
- func (x *Templates) HasResetPasswordText() bool
- func (x *Templates) HasVerifyEmail() bool
- func (x *Templates) HasVerifyPhoneNumber() bool
- func (*Templates) ProtoMessage()
- func (x *Templates) ProtoReflect() protoreflect.Message
- func (x *Templates) Reset()
- func (x *Templates) SetMagicEmail(v *Template)
- func (x *Templates) SetMagicText(v *Template)
- func (x *Templates) SetResetPasswordEmail(v *Template)
- func (x *Templates) SetResetPasswordText(v *Template)
- func (x *Templates) SetVerifyEmail(v *Template)
- func (x *Templates) SetVerifyPhoneNumber(v *Template)
- func (x *Templates) String() string
- type Templates_builder
- type TextProvider
- func (x *TextProvider) GetFrom() string
- func (x *TextProvider) GetPrivateKey() string
- func (x *TextProvider) GetPublicKey() string
- func (x *TextProvider) GetType() TextProviderType
- func (*TextProvider) ProtoMessage()
- func (x *TextProvider) ProtoReflect() protoreflect.Message
- func (x *TextProvider) Reset()
- func (x *TextProvider) SetFrom(v string)
- func (x *TextProvider) SetPrivateKey(v string)
- func (x *TextProvider) SetPublicKey(v string)
- func (x *TextProvider) SetType(v TextProviderType)
- func (x *TextProvider) String() string
- type TextProviderType
- type TextProvider_builder
- type Update
- func (x *Update) ClearField()
- func (x *Update) ClearImage()
- func (x *Update) ClearName()
- func (x *Update) ClearProjectSettings()
- func (x *Update) GetField() isUpdate_Field
- func (x *Update) GetImage() *common.Image
- func (x *Update) GetName() string
- func (x *Update) GetProjectSettings() *Settings
- func (x *Update) HasField() bool
- func (x *Update) HasImage() bool
- func (x *Update) HasName() bool
- func (x *Update) HasProjectSettings() bool
- func (*Update) ProtoMessage()
- func (x *Update) ProtoReflect() protoreflect.Message
- func (x *Update) Reset()
- func (x *Update) SetImage(v *common.Image)
- func (x *Update) SetName(v string)
- func (x *Update) SetProjectSettings(v *Settings)
- func (x *Update) String() string
- func (x *Update) WhichField() case_Update_Field
- type Update_Image
- type Update_Name
- type Update_ProjectSettings
- type Update_builder
Constants ¶
View Source
const Update_Field_not_set_case case_Update_Field = 0
View Source
const Update_Image_case case_Update_Field = 2
View Source
const Update_Name_case case_Update_Field = 1
View Source
const Update_ProjectSettings_case case_Update_Field = 3
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 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) 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) SetFrom ¶
func (x *EmailProvider) SetFrom(v string)
func (*EmailProvider) SetPrivateKey ¶
func (x *EmailProvider) SetPrivateKey(v string)
func (*EmailProvider) SetPublicKey ¶
func (x *EmailProvider) SetPublicKey(v string)
func (*EmailProvider) SetType ¶
func (x *EmailProvider) SetType(v EmailProviderType)
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) Descriptor() protoreflect.EnumDescriptor
func (EmailProviderType) Enum ¶
func (x EmailProviderType) Enum() *EmailProviderType
func (EmailProviderType) Number ¶
func (x EmailProviderType) Number() protoreflect.EnumNumber
func (EmailProviderType) String ¶
func (x EmailProviderType) String() string
func (EmailProviderType) Type ¶
func (EmailProviderType) Type() protoreflect.EnumType
type EmailProvider_builder ¶
type EmailProvider_builder struct {
Type EmailProviderType
PublicKey string
PrivateKey string
From string
// contains filtered or unexported fields
}
func (EmailProvider_builder) Build ¶
func (b0 EmailProvider_builder) Build() *EmailProvider
type Entry ¶
type Entry struct {
ProjectId *model.UUID `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
Image *common.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
Wrapper entry for returning a collection of projects.
func (*Entry) GetCreatedAt ¶
func (x *Entry) GetCreatedAt() *timestamppb.Timestamp
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
func (*Entry) SetCreatedAt ¶
func (x *Entry) SetCreatedAt(v *timestamppb.Timestamp)
type Entry_builder ¶
type Entry_builder struct {
ProjectId *model.UUID
Image *common.Image
Name string
CreatedAt *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (Entry_builder) Build ¶
func (b0 Entry_builder) Build() *Entry
type Project ¶
type Project struct {
Info *ProjectInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
Settings *Settings `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"`
// contains filtered or unexported fields
}
func (*Project) GetCreatedAt ¶
func (x *Project) GetCreatedAt() *timestamppb.Timestamp
func (*Project) GetInfo ¶
func (x *Project) GetInfo() *ProjectInfo
func (*Project) GetUpdatedAt ¶
func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
func (*Project) SetCreatedAt ¶
func (x *Project) SetCreatedAt(v *timestamppb.Timestamp)
func (*Project) SetInfo ¶
func (x *Project) SetInfo(v *ProjectInfo)
func (*Project) SetUpdatedAt ¶
func (x *Project) SetUpdatedAt(v *timestamppb.Timestamp)
type ProjectInfo ¶
type ProjectInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Image *common.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}
func (*ProjectInfo) ClearImage ¶
func (x *ProjectInfo) ClearImage()
func (*ProjectInfo) GetImage ¶
func (x *ProjectInfo) GetImage() *common.Image
func (*ProjectInfo) GetName ¶
func (x *ProjectInfo) GetName() string
func (*ProjectInfo) HasImage ¶
func (x *ProjectInfo) HasImage() bool
func (*ProjectInfo) ProtoMessage ¶
func (*ProjectInfo) ProtoMessage()
func (*ProjectInfo) ProtoReflect ¶
func (x *ProjectInfo) ProtoReflect() protoreflect.Message
func (*ProjectInfo) Reset ¶
func (x *ProjectInfo) Reset()
func (*ProjectInfo) SetImage ¶
func (x *ProjectInfo) SetImage(v *common.Image)
func (*ProjectInfo) SetName ¶
func (x *ProjectInfo) SetName(v string)
func (*ProjectInfo) String ¶
func (x *ProjectInfo) String() string
type ProjectInfo_builder ¶
type ProjectInfo_builder struct {
Name string
Image *common.Image
// contains filtered or unexported fields
}
func (ProjectInfo_builder) Build ¶
func (b0 ProjectInfo_builder) Build() *ProjectInfo
type Project_builder ¶
type Project_builder struct {
Info *ProjectInfo
Settings *Settings
CreatedAt *timestamppb.Timestamp
UpdatedAt *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (Project_builder) Build ¶
func (b0 Project_builder) Build() *Project
type Settings ¶
type Settings 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 (*Settings) GetEmailProvider ¶
func (x *Settings) GetEmailProvider() *EmailProvider
func (*Settings) GetTextProvider ¶
func (x *Settings) GetTextProvider() *TextProvider
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
func (*Settings) SetEmailProvider ¶
func (x *Settings) SetEmailProvider(v *EmailProvider)
func (*Settings) SetTextProvider ¶
func (x *Settings) SetTextProvider(v *TextProvider)
type Settings_builder ¶
type Settings_builder struct {
EmailProvider *EmailProvider
TextProvider *TextProvider
Templates *Templates
// contains filtered or unexported fields
}
func (Settings_builder) Build ¶
func (b0 Settings_builder) Build() *Settings
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) GetType ¶
func (x *Template) GetType() TemplateType
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
func (*Template) SetType ¶
func (x *Template) SetType(v TemplateType)
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) Descriptor() protoreflect.EnumDescriptor
func (TemplateType) Enum ¶
func (x TemplateType) Enum() *TemplateType
func (TemplateType) Number ¶
func (x TemplateType) Number() protoreflect.EnumNumber
func (TemplateType) String ¶
func (x TemplateType) String() string
func (TemplateType) Type ¶
func (TemplateType) Type() protoreflect.EnumType
type Template_builder ¶
type Template_builder struct {
Body string
Type TemplateType
Subject string
Format []string
// contains filtered or unexported fields
}
func (Template_builder) Build ¶
func (b0 Template_builder) Build() *Template
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) ProtoReflect ¶
func (x *Templates) ProtoReflect() protoreflect.Message
type Templates_builder ¶
type Templates_builder struct {
ResetPasswordEmail *Template
ResetPasswordText *Template
VerifyEmail *Template
VerifyPhoneNumber *Template
MagicEmail *Template
MagicText *Template
// contains filtered or unexported fields
}
func (Templates_builder) Build ¶
func (b0 Templates_builder) Build() *Templates
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) 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) SetFrom ¶
func (x *TextProvider) SetFrom(v string)
func (*TextProvider) SetPrivateKey ¶
func (x *TextProvider) SetPrivateKey(v string)
func (*TextProvider) SetPublicKey ¶
func (x *TextProvider) SetPublicKey(v string)
func (*TextProvider) SetType ¶
func (x *TextProvider) SetType(v TextProviderType)
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) Descriptor() protoreflect.EnumDescriptor
func (TextProviderType) Enum ¶
func (x TextProviderType) Enum() *TextProviderType
func (TextProviderType) Number ¶
func (x TextProviderType) Number() protoreflect.EnumNumber
func (TextProviderType) String ¶
func (x TextProviderType) String() string
func (TextProviderType) Type ¶
func (TextProviderType) Type() protoreflect.EnumType
type TextProvider_builder ¶
type TextProvider_builder struct {
Type TextProviderType
PublicKey string
PrivateKey string
From string
// contains filtered or unexported fields
}
func (TextProvider_builder) Build ¶
func (b0 TextProvider_builder) Build() *TextProvider
type Update ¶
type Update struct {
// Types that are valid to be assigned to Field:
//
// *Update_Name
// *Update_Image
// *Update_ProjectSettings
Field isUpdate_Field `protobuf_oneof:"field"`
// contains filtered or unexported fields
}
func (*Update) ProtoReflect ¶
func (x *Update) ProtoReflect() protoreflect.Message
type Update_Image ¶
type Update_Name ¶
type Update_Name struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}
Source Files
¶
- project.pb.go
Click to show internal directories.
Click to hide internal directories.