pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_notify_proto protoreflect.FileDescriptor

Functions

func NotifyServiceClientType

func NotifyServiceClientType() reflect.Type

NotifyServiceClientType .

func NotifyServiceHandlerType

func NotifyServiceHandlerType() reflect.Type

NotifyServiceHandlerType .

func NotifyServiceServerType

func NotifyServiceServerType() reflect.Type

NotifyServiceServerType .

func RegisterNotifyServiceHandler

func RegisterNotifyServiceHandler(r http.Router, srv NotifyServiceHandler, opts ...http.HandleOption)

RegisterNotifyServiceHandler register NotifyServiceHandler to http.Router.

func RegisterNotifyServiceImp

func RegisterNotifyServiceImp(regester transport.Register, srv NotifyServiceServer, opts ...transport.ServiceOption)

RegisterNotifyServiceImp notify.proto

func RegisterNotifyServiceServer

func RegisterNotifyServiceServer(s grpc1.ServiceRegistrar, srv NotifyServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type Behavior

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

func (*Behavior) Descriptor deprecated

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

Deprecated: Use Behavior.ProtoReflect.Descriptor instead.

func (*Behavior) GetGroup

func (x *Behavior) GetGroup() string

func (*Behavior) MarshalJSON

func (m *Behavior) MarshalJSON() ([]byte, error)

Behavior implement json.Marshaler.

func (*Behavior) ProtoMessage

func (*Behavior) ProtoMessage()

func (*Behavior) ProtoReflect

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

func (*Behavior) Reset

func (x *Behavior) Reset()

func (*Behavior) String

func (x *Behavior) String() string

func (*Behavior) UnmarshalJSON

func (m *Behavior) UnmarshalJSON(b []byte) error

Behavior implement json.Marshaler.

func (*Behavior) UnmarshalURLValues

func (m *Behavior) UnmarshalURLValues(prefix string, values url.Values) error

Behavior implement urlenc.URLValuesUnmarshaler.

func (*Behavior) Validate

func (this *Behavior) Validate() error

type CreateNotifyRequest

type CreateNotifyRequest struct {
	ScopeId       string            `protobuf:"bytes,1,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	Scope         string            `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	TemplateId    []string          `protobuf:"bytes,3,rep,name=templateId,proto3" json:"templateId,omitempty"`
	NotifyName    string            `protobuf:"bytes,4,opt,name=notifyName,proto3" json:"notifyName,omitempty"`
	NotifyGroupId int64             `protobuf:"varint,5,opt,name=notifyGroupId,proto3" json:"notifyGroupId,omitempty"`
	Channels      []string          `protobuf:"bytes,6,rep,name=channels,proto3" json:"channels,omitempty"`
	Attribute     map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateNotifyRequest) Descriptor deprecated

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

Deprecated: Use CreateNotifyRequest.ProtoReflect.Descriptor instead.

func (*CreateNotifyRequest) GetAttribute

func (x *CreateNotifyRequest) GetAttribute() map[string]string

func (*CreateNotifyRequest) GetChannels

func (x *CreateNotifyRequest) GetChannels() []string

func (*CreateNotifyRequest) GetNotifyGroupId

func (x *CreateNotifyRequest) GetNotifyGroupId() int64

func (*CreateNotifyRequest) GetNotifyName

func (x *CreateNotifyRequest) GetNotifyName() string

func (*CreateNotifyRequest) GetScope

func (x *CreateNotifyRequest) GetScope() string

func (*CreateNotifyRequest) GetScopeId

func (x *CreateNotifyRequest) GetScopeId() string

func (*CreateNotifyRequest) GetTemplateId

func (x *CreateNotifyRequest) GetTemplateId() []string

func (*CreateNotifyRequest) MarshalJSON

func (m *CreateNotifyRequest) MarshalJSON() ([]byte, error)

CreateNotifyRequest implement json.Marshaler.

func (*CreateNotifyRequest) ProtoMessage

func (*CreateNotifyRequest) ProtoMessage()

func (*CreateNotifyRequest) ProtoReflect

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

func (*CreateNotifyRequest) Reset

func (x *CreateNotifyRequest) Reset()

func (*CreateNotifyRequest) String

func (x *CreateNotifyRequest) String() string

func (*CreateNotifyRequest) UnmarshalJSON

func (m *CreateNotifyRequest) UnmarshalJSON(b []byte) error

CreateNotifyRequest implement json.Marshaler.

func (*CreateNotifyRequest) UnmarshalURLValues

func (m *CreateNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error

CreateNotifyRequest implement urlenc.URLValuesUnmarshaler.

func (*CreateNotifyRequest) Validate

func (this *CreateNotifyRequest) Validate() error

type CreateNotifyResponse

type CreateNotifyResponse struct {
	Data uint64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNotifyResponse) Descriptor deprecated

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

Deprecated: Use CreateNotifyResponse.ProtoReflect.Descriptor instead.

func (*CreateNotifyResponse) GetData

func (x *CreateNotifyResponse) GetData() uint64

func (*CreateNotifyResponse) MarshalJSON

func (m *CreateNotifyResponse) MarshalJSON() ([]byte, error)

CreateNotifyResponse implement json.Marshaler.

func (*CreateNotifyResponse) ProtoMessage

func (*CreateNotifyResponse) ProtoMessage()

func (*CreateNotifyResponse) ProtoReflect

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

func (*CreateNotifyResponse) Reset

func (x *CreateNotifyResponse) Reset()

func (*CreateNotifyResponse) String

func (x *CreateNotifyResponse) String() string

func (*CreateNotifyResponse) UnmarshalJSON

func (m *CreateNotifyResponse) UnmarshalJSON(b []byte) error

CreateNotifyResponse implement json.Marshaler.

func (*CreateNotifyResponse) UnmarshalURLValues

func (m *CreateNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error

CreateNotifyResponse implement urlenc.URLValuesUnmarshaler.

func (*CreateNotifyResponse) Validate

func (this *CreateNotifyResponse) Validate() error

type CreateUserDefineNotifyTemplateRequest

type CreateUserDefineNotifyTemplateRequest struct {
	Name     string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Group    string            `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	Trigger  []string          `protobuf:"bytes,3,rep,name=trigger,proto3" json:"trigger,omitempty"`
	Formats  map[string]string `` /* 155-byte string literal not displayed */
	Title    []string          `protobuf:"bytes,5,rep,name=title,proto3" json:"title,omitempty"`
	Template []string          `protobuf:"bytes,6,rep,name=template,proto3" json:"template,omitempty"`
	Scope    string            `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId  string            `protobuf:"bytes,8,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	Targets  []string          `protobuf:"bytes,9,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserDefineNotifyTemplateRequest) Descriptor deprecated

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

Deprecated: Use CreateUserDefineNotifyTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateUserDefineNotifyTemplateRequest) GetFormats

func (*CreateUserDefineNotifyTemplateRequest) GetGroup

func (*CreateUserDefineNotifyTemplateRequest) GetName

func (*CreateUserDefineNotifyTemplateRequest) GetScope

func (*CreateUserDefineNotifyTemplateRequest) GetScopeId

func (*CreateUserDefineNotifyTemplateRequest) GetTargets

func (*CreateUserDefineNotifyTemplateRequest) GetTemplate

func (x *CreateUserDefineNotifyTemplateRequest) GetTemplate() []string

func (*CreateUserDefineNotifyTemplateRequest) GetTitle

func (*CreateUserDefineNotifyTemplateRequest) GetTrigger

func (*CreateUserDefineNotifyTemplateRequest) MarshalJSON

func (m *CreateUserDefineNotifyTemplateRequest) MarshalJSON() ([]byte, error)

CreateUserDefineNotifyTemplateRequest implement json.Marshaler.

func (*CreateUserDefineNotifyTemplateRequest) ProtoMessage

func (*CreateUserDefineNotifyTemplateRequest) ProtoMessage()

func (*CreateUserDefineNotifyTemplateRequest) ProtoReflect

func (*CreateUserDefineNotifyTemplateRequest) Reset

func (*CreateUserDefineNotifyTemplateRequest) String

func (*CreateUserDefineNotifyTemplateRequest) UnmarshalJSON

func (m *CreateUserDefineNotifyTemplateRequest) UnmarshalJSON(b []byte) error

CreateUserDefineNotifyTemplateRequest implement json.Marshaler.

func (*CreateUserDefineNotifyTemplateRequest) UnmarshalURLValues

func (m *CreateUserDefineNotifyTemplateRequest) UnmarshalURLValues(prefix string, values url.Values) error

CreateUserDefineNotifyTemplateRequest implement urlenc.URLValuesUnmarshaler.

func (*CreateUserDefineNotifyTemplateRequest) Validate

type CreateUserDefineNotifyTemplateResponse

type CreateUserDefineNotifyTemplateResponse struct {
	Data uint64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserDefineNotifyTemplateResponse) Descriptor deprecated

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

Deprecated: Use CreateUserDefineNotifyTemplateResponse.ProtoReflect.Descriptor instead.

func (*CreateUserDefineNotifyTemplateResponse) GetData

func (*CreateUserDefineNotifyTemplateResponse) MarshalJSON

func (m *CreateUserDefineNotifyTemplateResponse) MarshalJSON() ([]byte, error)

CreateUserDefineNotifyTemplateResponse implement json.Marshaler.

func (*CreateUserDefineNotifyTemplateResponse) ProtoMessage

func (*CreateUserDefineNotifyTemplateResponse) ProtoReflect

func (*CreateUserDefineNotifyTemplateResponse) Reset

func (*CreateUserDefineNotifyTemplateResponse) String

func (*CreateUserDefineNotifyTemplateResponse) UnmarshalJSON

func (m *CreateUserDefineNotifyTemplateResponse) UnmarshalJSON(b []byte) error

CreateUserDefineNotifyTemplateResponse implement json.Marshaler.

func (*CreateUserDefineNotifyTemplateResponse) UnmarshalURLValues

func (m *CreateUserDefineNotifyTemplateResponse) UnmarshalURLValues(prefix string, values url.Values) error

CreateUserDefineNotifyTemplateResponse implement urlenc.URLValuesUnmarshaler.

func (*CreateUserDefineNotifyTemplateResponse) Validate

type DeleteNotifyRequest

type DeleteNotifyRequest struct {
	Id      int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Scope   string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId string `protobuf:"bytes,3,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNotifyRequest) Descriptor deprecated

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

Deprecated: Use DeleteNotifyRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotifyRequest) GetId

func (x *DeleteNotifyRequest) GetId() int64

func (*DeleteNotifyRequest) GetScope

func (x *DeleteNotifyRequest) GetScope() string

func (*DeleteNotifyRequest) GetScopeId

func (x *DeleteNotifyRequest) GetScopeId() string

func (*DeleteNotifyRequest) MarshalJSON

func (m *DeleteNotifyRequest) MarshalJSON() ([]byte, error)

DeleteNotifyRequest implement json.Marshaler.

func (*DeleteNotifyRequest) ProtoMessage

func (*DeleteNotifyRequest) ProtoMessage()

func (*DeleteNotifyRequest) ProtoReflect

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

func (*DeleteNotifyRequest) Reset

func (x *DeleteNotifyRequest) Reset()

func (*DeleteNotifyRequest) String

func (x *DeleteNotifyRequest) String() string

func (*DeleteNotifyRequest) UnmarshalJSON

func (m *DeleteNotifyRequest) UnmarshalJSON(b []byte) error

DeleteNotifyRequest implement json.Marshaler.

func (*DeleteNotifyRequest) UnmarshalURLValues

func (m *DeleteNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error

DeleteNotifyRequest implement urlenc.URLValuesUnmarshaler.

func (*DeleteNotifyRequest) Validate

func (this *DeleteNotifyRequest) Validate() error

type DeleteNotifyResponse

type DeleteNotifyResponse struct {
	Data int64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNotifyResponse) Descriptor deprecated

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

Deprecated: Use DeleteNotifyResponse.ProtoReflect.Descriptor instead.

func (*DeleteNotifyResponse) GetData

func (x *DeleteNotifyResponse) GetData() int64

func (*DeleteNotifyResponse) MarshalJSON

func (m *DeleteNotifyResponse) MarshalJSON() ([]byte, error)

DeleteNotifyResponse implement json.Marshaler.

func (*DeleteNotifyResponse) ProtoMessage

func (*DeleteNotifyResponse) ProtoMessage()

func (*DeleteNotifyResponse) ProtoReflect

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

func (*DeleteNotifyResponse) Reset

func (x *DeleteNotifyResponse) Reset()

func (*DeleteNotifyResponse) String

func (x *DeleteNotifyResponse) String() string

func (*DeleteNotifyResponse) UnmarshalJSON

func (m *DeleteNotifyResponse) UnmarshalJSON(b []byte) error

DeleteNotifyResponse implement json.Marshaler.

func (*DeleteNotifyResponse) UnmarshalURLValues

func (m *DeleteNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error

DeleteNotifyResponse implement urlenc.URLValuesUnmarshaler.

func (*DeleteNotifyResponse) Validate

func (this *DeleteNotifyResponse) Validate() error

type GetAllGroupData

type GetAllGroupData struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Type  string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllGroupData) Descriptor deprecated

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

Deprecated: Use GetAllGroupData.ProtoReflect.Descriptor instead.

func (*GetAllGroupData) GetName

func (x *GetAllGroupData) GetName() string

func (*GetAllGroupData) GetType

func (x *GetAllGroupData) GetType() string

func (*GetAllGroupData) GetValue

func (x *GetAllGroupData) GetValue() string

func (*GetAllGroupData) MarshalJSON

func (m *GetAllGroupData) MarshalJSON() ([]byte, error)

GetAllGroupData implement json.Marshaler.

func (*GetAllGroupData) ProtoMessage

func (*GetAllGroupData) ProtoMessage()

func (*GetAllGroupData) ProtoReflect

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

func (*GetAllGroupData) Reset

func (x *GetAllGroupData) Reset()

func (*GetAllGroupData) String

func (x *GetAllGroupData) String() string

func (*GetAllGroupData) UnmarshalJSON

func (m *GetAllGroupData) UnmarshalJSON(b []byte) error

GetAllGroupData implement json.Marshaler.

func (*GetAllGroupData) UnmarshalURLValues

func (m *GetAllGroupData) UnmarshalURLValues(prefix string, values url.Values) error

GetAllGroupData implement urlenc.URLValuesUnmarshaler.

func (*GetAllGroupData) Validate

func (this *GetAllGroupData) Validate() error

type GetAllGroupsRequest

type GetAllGroupsRequest struct {
	Scope   string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllGroupsRequest) Descriptor deprecated

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

Deprecated: Use GetAllGroupsRequest.ProtoReflect.Descriptor instead.

func (*GetAllGroupsRequest) GetScope

func (x *GetAllGroupsRequest) GetScope() string

func (*GetAllGroupsRequest) GetScopeId

func (x *GetAllGroupsRequest) GetScopeId() string

func (*GetAllGroupsRequest) MarshalJSON

func (m *GetAllGroupsRequest) MarshalJSON() ([]byte, error)

GetAllGroupsRequest implement json.Marshaler.

func (*GetAllGroupsRequest) ProtoMessage

func (*GetAllGroupsRequest) ProtoMessage()

func (*GetAllGroupsRequest) ProtoReflect

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

func (*GetAllGroupsRequest) Reset

func (x *GetAllGroupsRequest) Reset()

func (*GetAllGroupsRequest) String

func (x *GetAllGroupsRequest) String() string

func (*GetAllGroupsRequest) UnmarshalJSON

func (m *GetAllGroupsRequest) UnmarshalJSON(b []byte) error

GetAllGroupsRequest implement json.Marshaler.

func (*GetAllGroupsRequest) UnmarshalURLValues

func (m *GetAllGroupsRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetAllGroupsRequest implement urlenc.URLValuesUnmarshaler.

func (*GetAllGroupsRequest) Validate

func (this *GetAllGroupsRequest) Validate() error

type GetAllGroupsResponse

type GetAllGroupsResponse struct {
	Data []*GetAllGroupData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllGroupsResponse) Descriptor deprecated

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

Deprecated: Use GetAllGroupsResponse.ProtoReflect.Descriptor instead.

func (*GetAllGroupsResponse) GetData

func (x *GetAllGroupsResponse) GetData() []*GetAllGroupData

func (*GetAllGroupsResponse) MarshalJSON

func (m *GetAllGroupsResponse) MarshalJSON() ([]byte, error)

GetAllGroupsResponse implement json.Marshaler.

func (*GetAllGroupsResponse) ProtoMessage

func (*GetAllGroupsResponse) ProtoMessage()

func (*GetAllGroupsResponse) ProtoReflect

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

func (*GetAllGroupsResponse) Reset

func (x *GetAllGroupsResponse) Reset()

func (*GetAllGroupsResponse) String

func (x *GetAllGroupsResponse) String() string

func (*GetAllGroupsResponse) UnmarshalJSON

func (m *GetAllGroupsResponse) UnmarshalJSON(b []byte) error

GetAllGroupsResponse implement json.Marshaler.

func (*GetAllGroupsResponse) UnmarshalURLValues

func (m *GetAllGroupsResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetAllGroupsResponse implement urlenc.URLValuesUnmarshaler.

func (*GetAllGroupsResponse) Validate

func (this *GetAllGroupsResponse) Validate() error

type GetAllNotifyTemplatesRequest

type GetAllNotifyTemplatesRequest struct {
	// contains filtered or unexported fields
}

func (*GetAllNotifyTemplatesRequest) Descriptor deprecated

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

Deprecated: Use GetAllNotifyTemplatesRequest.ProtoReflect.Descriptor instead.

func (*GetAllNotifyTemplatesRequest) MarshalJSON

func (m *GetAllNotifyTemplatesRequest) MarshalJSON() ([]byte, error)

GetAllNotifyTemplatesRequest implement json.Marshaler.

func (*GetAllNotifyTemplatesRequest) ProtoMessage

func (*GetAllNotifyTemplatesRequest) ProtoMessage()

func (*GetAllNotifyTemplatesRequest) ProtoReflect

func (*GetAllNotifyTemplatesRequest) Reset

func (x *GetAllNotifyTemplatesRequest) Reset()

func (*GetAllNotifyTemplatesRequest) String

func (*GetAllNotifyTemplatesRequest) UnmarshalJSON

func (m *GetAllNotifyTemplatesRequest) UnmarshalJSON(b []byte) error

GetAllNotifyTemplatesRequest implement json.Marshaler.

func (*GetAllNotifyTemplatesRequest) UnmarshalURLValues

func (m *GetAllNotifyTemplatesRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetAllNotifyTemplatesRequest implement urlenc.URLValuesUnmarshaler.

func (*GetAllNotifyTemplatesRequest) Validate

func (this *GetAllNotifyTemplatesRequest) Validate() error

type GetAllNotifyTemplatesResponse

type GetAllNotifyTemplatesResponse struct {
	Data []*Model `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllNotifyTemplatesResponse) Descriptor deprecated

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

Deprecated: Use GetAllNotifyTemplatesResponse.ProtoReflect.Descriptor instead.

func (*GetAllNotifyTemplatesResponse) GetData

func (x *GetAllNotifyTemplatesResponse) GetData() []*Model

func (*GetAllNotifyTemplatesResponse) MarshalJSON

func (m *GetAllNotifyTemplatesResponse) MarshalJSON() ([]byte, error)

GetAllNotifyTemplatesResponse implement json.Marshaler.

func (*GetAllNotifyTemplatesResponse) ProtoMessage

func (*GetAllNotifyTemplatesResponse) ProtoMessage()

func (*GetAllNotifyTemplatesResponse) ProtoReflect

func (*GetAllNotifyTemplatesResponse) Reset

func (x *GetAllNotifyTemplatesResponse) Reset()

func (*GetAllNotifyTemplatesResponse) String

func (*GetAllNotifyTemplatesResponse) UnmarshalJSON

func (m *GetAllNotifyTemplatesResponse) UnmarshalJSON(b []byte) error

GetAllNotifyTemplatesResponse implement json.Marshaler.

func (*GetAllNotifyTemplatesResponse) UnmarshalURLValues

func (m *GetAllNotifyTemplatesResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetAllNotifyTemplatesResponse implement urlenc.URLValuesUnmarshaler.

func (*GetAllNotifyTemplatesResponse) Validate

func (this *GetAllNotifyTemplatesResponse) Validate() error

type GetNotifyDetailRequest

type GetNotifyDetailRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyDetailRequest) Descriptor deprecated

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

Deprecated: Use GetNotifyDetailRequest.ProtoReflect.Descriptor instead.

func (*GetNotifyDetailRequest) GetId

func (x *GetNotifyDetailRequest) GetId() int64

func (*GetNotifyDetailRequest) MarshalJSON

func (m *GetNotifyDetailRequest) MarshalJSON() ([]byte, error)

GetNotifyDetailRequest implement json.Marshaler.

func (*GetNotifyDetailRequest) ProtoMessage

func (*GetNotifyDetailRequest) ProtoMessage()

func (*GetNotifyDetailRequest) ProtoReflect

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

func (*GetNotifyDetailRequest) Reset

func (x *GetNotifyDetailRequest) Reset()

func (*GetNotifyDetailRequest) String

func (x *GetNotifyDetailRequest) String() string

func (*GetNotifyDetailRequest) UnmarshalJSON

func (m *GetNotifyDetailRequest) UnmarshalJSON(b []byte) error

GetNotifyDetailRequest implement json.Marshaler.

func (*GetNotifyDetailRequest) UnmarshalURLValues

func (m *GetNotifyDetailRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyDetailRequest implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyDetailRequest) Validate

func (this *GetNotifyDetailRequest) Validate() error

type GetNotifyDetailResponse

type GetNotifyDetailResponse struct {
	Data *NotifyDetailResponse `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyDetailResponse) Descriptor deprecated

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

Deprecated: Use GetNotifyDetailResponse.ProtoReflect.Descriptor instead.

func (*GetNotifyDetailResponse) GetData

func (*GetNotifyDetailResponse) MarshalJSON

func (m *GetNotifyDetailResponse) MarshalJSON() ([]byte, error)

GetNotifyDetailResponse implement json.Marshaler.

func (*GetNotifyDetailResponse) ProtoMessage

func (*GetNotifyDetailResponse) ProtoMessage()

func (*GetNotifyDetailResponse) ProtoReflect

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

func (*GetNotifyDetailResponse) Reset

func (x *GetNotifyDetailResponse) Reset()

func (*GetNotifyDetailResponse) String

func (x *GetNotifyDetailResponse) String() string

func (*GetNotifyDetailResponse) UnmarshalJSON

func (m *GetNotifyDetailResponse) UnmarshalJSON(b []byte) error

GetNotifyDetailResponse implement json.Marshaler.

func (*GetNotifyDetailResponse) UnmarshalURLValues

func (m *GetNotifyDetailResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyDetailResponse implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyDetailResponse) Validate

func (this *GetNotifyDetailResponse) Validate() error

type GetNotifyRes

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

func (*GetNotifyRes) Descriptor deprecated

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

Deprecated: Use GetNotifyRes.ProtoReflect.Descriptor instead.

func (*GetNotifyRes) GetId

func (x *GetNotifyRes) GetId() string

func (*GetNotifyRes) GetName

func (x *GetNotifyRes) GetName() string

func (*GetNotifyRes) MarshalJSON

func (m *GetNotifyRes) MarshalJSON() ([]byte, error)

GetNotifyRes implement json.Marshaler.

func (*GetNotifyRes) ProtoMessage

func (*GetNotifyRes) ProtoMessage()

func (*GetNotifyRes) ProtoReflect

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

func (*GetNotifyRes) Reset

func (x *GetNotifyRes) Reset()

func (*GetNotifyRes) String

func (x *GetNotifyRes) String() string

func (*GetNotifyRes) UnmarshalJSON

func (m *GetNotifyRes) UnmarshalJSON(b []byte) error

GetNotifyRes implement json.Marshaler.

func (*GetNotifyRes) UnmarshalURLValues

func (m *GetNotifyRes) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyRes implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyRes) Validate

func (this *GetNotifyRes) Validate() error

type GetNotifyTemplateRequest

type GetNotifyTemplateRequest struct {
	Scope   string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Type    string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyTemplateRequest) Descriptor deprecated

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

Deprecated: Use GetNotifyTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetNotifyTemplateRequest) GetName

func (x *GetNotifyTemplateRequest) GetName() string

func (*GetNotifyTemplateRequest) GetScope

func (x *GetNotifyTemplateRequest) GetScope() string

func (*GetNotifyTemplateRequest) GetScopeId

func (x *GetNotifyTemplateRequest) GetScopeId() string

func (*GetNotifyTemplateRequest) GetType

func (x *GetNotifyTemplateRequest) GetType() string

func (*GetNotifyTemplateRequest) MarshalJSON

func (m *GetNotifyTemplateRequest) MarshalJSON() ([]byte, error)

GetNotifyTemplateRequest implement json.Marshaler.

func (*GetNotifyTemplateRequest) ProtoMessage

func (*GetNotifyTemplateRequest) ProtoMessage()

func (*GetNotifyTemplateRequest) ProtoReflect

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

func (*GetNotifyTemplateRequest) Reset

func (x *GetNotifyTemplateRequest) Reset()

func (*GetNotifyTemplateRequest) String

func (x *GetNotifyTemplateRequest) String() string

func (*GetNotifyTemplateRequest) UnmarshalJSON

func (m *GetNotifyTemplateRequest) UnmarshalJSON(b []byte) error

GetNotifyTemplateRequest implement json.Marshaler.

func (*GetNotifyTemplateRequest) UnmarshalURLValues

func (m *GetNotifyTemplateRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyTemplateRequest implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyTemplateRequest) Validate

func (this *GetNotifyTemplateRequest) Validate() error

type GetNotifyTemplateResponse

type GetNotifyTemplateResponse struct {
	Data []*GetNotifyRes `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyTemplateResponse) Descriptor deprecated

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

Deprecated: Use GetNotifyTemplateResponse.ProtoReflect.Descriptor instead.

func (*GetNotifyTemplateResponse) GetData

func (x *GetNotifyTemplateResponse) GetData() []*GetNotifyRes

func (*GetNotifyTemplateResponse) MarshalJSON

func (m *GetNotifyTemplateResponse) MarshalJSON() ([]byte, error)

GetNotifyTemplateResponse implement json.Marshaler.

func (*GetNotifyTemplateResponse) ProtoMessage

func (*GetNotifyTemplateResponse) ProtoMessage()

func (*GetNotifyTemplateResponse) ProtoReflect

func (*GetNotifyTemplateResponse) Reset

func (x *GetNotifyTemplateResponse) Reset()

func (*GetNotifyTemplateResponse) String

func (x *GetNotifyTemplateResponse) String() string

func (*GetNotifyTemplateResponse) UnmarshalJSON

func (m *GetNotifyTemplateResponse) UnmarshalJSON(b []byte) error

GetNotifyTemplateResponse implement json.Marshaler.

func (*GetNotifyTemplateResponse) UnmarshalURLValues

func (m *GetNotifyTemplateResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyTemplateResponse implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyTemplateResponse) Validate

func (this *GetNotifyTemplateResponse) Validate() error

type GetUserNotifyListRequest

type GetUserNotifyListRequest struct {
	Scope   string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserNotifyListRequest) Descriptor deprecated

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

Deprecated: Use GetUserNotifyListRequest.ProtoReflect.Descriptor instead.

func (*GetUserNotifyListRequest) GetScope

func (x *GetUserNotifyListRequest) GetScope() string

func (*GetUserNotifyListRequest) GetScopeId

func (x *GetUserNotifyListRequest) GetScopeId() string

func (*GetUserNotifyListRequest) MarshalJSON

func (m *GetUserNotifyListRequest) MarshalJSON() ([]byte, error)

GetUserNotifyListRequest implement json.Marshaler.

func (*GetUserNotifyListRequest) ProtoMessage

func (*GetUserNotifyListRequest) ProtoMessage()

func (*GetUserNotifyListRequest) ProtoReflect

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

func (*GetUserNotifyListRequest) Reset

func (x *GetUserNotifyListRequest) Reset()

func (*GetUserNotifyListRequest) String

func (x *GetUserNotifyListRequest) String() string

func (*GetUserNotifyListRequest) UnmarshalJSON

func (m *GetUserNotifyListRequest) UnmarshalJSON(b []byte) error

GetUserNotifyListRequest implement json.Marshaler.

func (*GetUserNotifyListRequest) UnmarshalURLValues

func (m *GetUserNotifyListRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetUserNotifyListRequest implement urlenc.URLValuesUnmarshaler.

func (*GetUserNotifyListRequest) Validate

func (this *GetUserNotifyListRequest) Validate() error

type GetUserNotifyListResponse

type GetUserNotifyListResponse struct {
	Data []*NotifyRes `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserNotifyListResponse) Descriptor deprecated

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

Deprecated: Use GetUserNotifyListResponse.ProtoReflect.Descriptor instead.

func (*GetUserNotifyListResponse) GetData

func (x *GetUserNotifyListResponse) GetData() []*NotifyRes

func (*GetUserNotifyListResponse) MarshalJSON

func (m *GetUserNotifyListResponse) MarshalJSON() ([]byte, error)

GetUserNotifyListResponse implement json.Marshaler.

func (*GetUserNotifyListResponse) ProtoMessage

func (*GetUserNotifyListResponse) ProtoMessage()

func (*GetUserNotifyListResponse) ProtoReflect

func (*GetUserNotifyListResponse) Reset

func (x *GetUserNotifyListResponse) Reset()

func (*GetUserNotifyListResponse) String

func (x *GetUserNotifyListResponse) String() string

func (*GetUserNotifyListResponse) UnmarshalJSON

func (m *GetUserNotifyListResponse) UnmarshalJSON(b []byte) error

GetUserNotifyListResponse implement json.Marshaler.

func (*GetUserNotifyListResponse) UnmarshalURLValues

func (m *GetUserNotifyListResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetUserNotifyListResponse implement urlenc.URLValuesUnmarshaler.

func (*GetUserNotifyListResponse) Validate

func (this *GetUserNotifyListResponse) Validate() error

type Metadata

type Metadata struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type   string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Module string   `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
	Scope  []string `protobuf:"bytes,4,rep,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetModule

func (x *Metadata) GetModule() string

func (*Metadata) GetName

func (x *Metadata) GetName() string

func (*Metadata) GetScope

func (x *Metadata) GetScope() []string

func (*Metadata) GetType

func (x *Metadata) GetType() string

func (*Metadata) MarshalJSON

func (m *Metadata) MarshalJSON() ([]byte, error)

Metadata implement json.Marshaler.

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) UnmarshalJSON

func (m *Metadata) UnmarshalJSON(b []byte) error

Metadata implement json.Marshaler.

func (*Metadata) UnmarshalURLValues

func (m *Metadata) UnmarshalURLValues(prefix string, values url.Values) error

Metadata implement urlenc.URLValuesUnmarshaler.

func (*Metadata) Validate

func (this *Metadata) Validate() error

type Model

type Model struct {
	Id        string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Metadata  *Metadata    `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Behavior  *Behavior    `protobuf:"bytes,3,opt,name=behavior,proto3" json:"behavior,omitempty"`
	Templates []*Templates `protobuf:"bytes,4,rep,name=templates,proto3" json:"templates,omitempty"`
	// contains filtered or unexported fields
}

func (*Model) Descriptor deprecated

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

Deprecated: Use Model.ProtoReflect.Descriptor instead.

func (*Model) GetBehavior

func (x *Model) GetBehavior() *Behavior

func (*Model) GetId

func (x *Model) GetId() string

func (*Model) GetMetadata

func (x *Model) GetMetadata() *Metadata

func (*Model) GetTemplates

func (x *Model) GetTemplates() []*Templates

func (*Model) MarshalJSON

func (m *Model) MarshalJSON() ([]byte, error)

Model implement json.Marshaler.

func (*Model) ProtoMessage

func (*Model) ProtoMessage()

func (*Model) ProtoReflect

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

func (*Model) Reset

func (x *Model) Reset()

func (*Model) String

func (x *Model) String() string

func (*Model) UnmarshalJSON

func (m *Model) UnmarshalJSON(b []byte) error

Model implement json.Marshaler.

func (*Model) UnmarshalURLValues

func (m *Model) UnmarshalURLValues(prefix string, values url.Values) error

Model implement urlenc.URLValuesUnmarshaler.

func (*Model) Validate

func (this *Model) Validate() error

type NotifyDetailResponse

type NotifyDetailResponse struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	NotifyId   string `protobuf:"bytes,2,opt,name=notifyId,proto3" json:"notifyId,omitempty"`
	NotifyName string `protobuf:"bytes,3,opt,name=notifyName,proto3" json:"notifyName,omitempty"`
	Target     string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	GroupType  string `protobuf:"bytes,5,opt,name=groupType,proto3" json:"groupType,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyDetailResponse) Descriptor deprecated

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

Deprecated: Use NotifyDetailResponse.ProtoReflect.Descriptor instead.

func (*NotifyDetailResponse) GetGroupType

func (x *NotifyDetailResponse) GetGroupType() string

func (*NotifyDetailResponse) GetId

func (x *NotifyDetailResponse) GetId() int64

func (*NotifyDetailResponse) GetNotifyId

func (x *NotifyDetailResponse) GetNotifyId() string

func (*NotifyDetailResponse) GetNotifyName

func (x *NotifyDetailResponse) GetNotifyName() string

func (*NotifyDetailResponse) GetTarget

func (x *NotifyDetailResponse) GetTarget() string

func (*NotifyDetailResponse) MarshalJSON

func (m *NotifyDetailResponse) MarshalJSON() ([]byte, error)

NotifyDetailResponse implement json.Marshaler.

func (*NotifyDetailResponse) ProtoMessage

func (*NotifyDetailResponse) ProtoMessage()

func (*NotifyDetailResponse) ProtoReflect

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

func (*NotifyDetailResponse) Reset

func (x *NotifyDetailResponse) Reset()

func (*NotifyDetailResponse) String

func (x *NotifyDetailResponse) String() string

func (*NotifyDetailResponse) UnmarshalJSON

func (m *NotifyDetailResponse) UnmarshalJSON(b []byte) error

NotifyDetailResponse implement json.Marshaler.

func (*NotifyDetailResponse) UnmarshalURLValues

func (m *NotifyDetailResponse) UnmarshalURLValues(prefix string, values url.Values) error

NotifyDetailResponse implement urlenc.URLValuesUnmarshaler.

func (*NotifyDetailResponse) Validate

func (this *NotifyDetailResponse) Validate() error

type NotifyEnableRequest

type NotifyEnableRequest struct {
	Id      int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	Scope   string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyEnableRequest) Descriptor deprecated

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

Deprecated: Use NotifyEnableRequest.ProtoReflect.Descriptor instead.

func (*NotifyEnableRequest) GetId

func (x *NotifyEnableRequest) GetId() int64

func (*NotifyEnableRequest) GetScope

func (x *NotifyEnableRequest) GetScope() string

func (*NotifyEnableRequest) GetScopeId

func (x *NotifyEnableRequest) GetScopeId() string

func (*NotifyEnableRequest) MarshalJSON

func (m *NotifyEnableRequest) MarshalJSON() ([]byte, error)

NotifyEnableRequest implement json.Marshaler.

func (*NotifyEnableRequest) ProtoMessage

func (*NotifyEnableRequest) ProtoMessage()

func (*NotifyEnableRequest) ProtoReflect

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

func (*NotifyEnableRequest) Reset

func (x *NotifyEnableRequest) Reset()

func (*NotifyEnableRequest) String

func (x *NotifyEnableRequest) String() string

func (*NotifyEnableRequest) UnmarshalJSON

func (m *NotifyEnableRequest) UnmarshalJSON(b []byte) error

NotifyEnableRequest implement json.Marshaler.

func (*NotifyEnableRequest) UnmarshalURLValues

func (m *NotifyEnableRequest) UnmarshalURLValues(prefix string, values url.Values) error

NotifyEnableRequest implement urlenc.URLValuesUnmarshaler.

func (*NotifyEnableRequest) Validate

func (this *NotifyEnableRequest) Validate() error

type NotifyEnableResponse

type NotifyEnableResponse struct {
	// contains filtered or unexported fields
}

func (*NotifyEnableResponse) Descriptor deprecated

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

Deprecated: Use NotifyEnableResponse.ProtoReflect.Descriptor instead.

func (*NotifyEnableResponse) MarshalJSON

func (m *NotifyEnableResponse) MarshalJSON() ([]byte, error)

NotifyEnableResponse implement json.Marshaler.

func (*NotifyEnableResponse) ProtoMessage

func (*NotifyEnableResponse) ProtoMessage()

func (*NotifyEnableResponse) ProtoReflect

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

func (*NotifyEnableResponse) Reset

func (x *NotifyEnableResponse) Reset()

func (*NotifyEnableResponse) String

func (x *NotifyEnableResponse) String() string

func (*NotifyEnableResponse) UnmarshalJSON

func (m *NotifyEnableResponse) UnmarshalJSON(b []byte) error

NotifyEnableResponse implement json.Marshaler.

func (*NotifyEnableResponse) UnmarshalURLValues

func (m *NotifyEnableResponse) UnmarshalURLValues(prefix string, values url.Values) error

NotifyEnableResponse implement urlenc.URLValuesUnmarshaler.

func (*NotifyEnableResponse) Validate

func (this *NotifyEnableResponse) Validate() error

type NotifyRes

type NotifyRes struct {
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Id         int64                  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	NotifyId   string                 `protobuf:"bytes,3,opt,name=notifyId,proto3" json:"notifyId,omitempty"`
	NotifyName string                 `protobuf:"bytes,4,opt,name=notifyName,proto3" json:"notifyName,omitempty"`
	Target     string                 `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
	GroupInfo  []*NotifyTarget        `protobuf:"bytes,6,rep,name=groupInfo,proto3" json:"groupInfo,omitempty"`
	Enable     bool                   `protobuf:"varint,7,opt,name=enable,proto3" json:"enable,omitempty"`
	Items      []string               `protobuf:"bytes,8,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyRes) Descriptor deprecated

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

Deprecated: Use NotifyRes.ProtoReflect.Descriptor instead.

func (*NotifyRes) GetCreatedAt

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

func (*NotifyRes) GetEnable

func (x *NotifyRes) GetEnable() bool

func (*NotifyRes) GetGroupInfo

func (x *NotifyRes) GetGroupInfo() []*NotifyTarget

func (*NotifyRes) GetId

func (x *NotifyRes) GetId() int64

func (*NotifyRes) GetItems

func (x *NotifyRes) GetItems() []string

func (*NotifyRes) GetNotifyId

func (x *NotifyRes) GetNotifyId() string

func (*NotifyRes) GetNotifyName

func (x *NotifyRes) GetNotifyName() string

func (*NotifyRes) GetTarget

func (x *NotifyRes) GetTarget() string

func (*NotifyRes) MarshalJSON

func (m *NotifyRes) MarshalJSON() ([]byte, error)

NotifyRes implement json.Marshaler.

func (*NotifyRes) ProtoMessage

func (*NotifyRes) ProtoMessage()

func (*NotifyRes) ProtoReflect

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

func (*NotifyRes) Reset

func (x *NotifyRes) Reset()

func (*NotifyRes) String

func (x *NotifyRes) String() string

func (*NotifyRes) UnmarshalJSON

func (m *NotifyRes) UnmarshalJSON(b []byte) error

NotifyRes implement json.Marshaler.

func (*NotifyRes) UnmarshalURLValues

func (m *NotifyRes) UnmarshalURLValues(prefix string, values url.Values) error

NotifyRes implement urlenc.URLValuesUnmarshaler.

func (*NotifyRes) Validate

func (this *NotifyRes) Validate() error

type NotifyServiceClient

NotifyServiceClient is the client API for NotifyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type NotifyServiceHandler

type NotifyServiceHandler interface {
	// +private
	// GET /api/notify/all-templates
	GetAllNotifyTemplates(context.Context, *GetAllNotifyTemplatesRequest) (*GetAllNotifyTemplatesResponse, error)
	// GET /api/notify/templates
	GetNotifyTemplate(context.Context, *GetNotifyTemplateRequest) (*GetNotifyTemplateResponse, error)
	// POST /api/notify
	CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyResponse, error)
	// DELETE /api/notify/{id}
	DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyResponse, error)
	// PUT /api/notify/{id}
	UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyResponse, error)
	// GET /api/notify
	GetUserNotifyList(context.Context, *GetUserNotifyListRequest) (*GetUserNotifyListResponse, error)
	// PUT /api/notify/{id}/switch
	NotifyEnable(context.Context, *NotifyEnableRequest) (*NotifyEnableResponse, error)
	// POST /api/notify/user-define/templates
	CreateUserDefineNotifyTemplate(context.Context, *CreateUserDefineNotifyTemplateRequest) (*CreateUserDefineNotifyTemplateResponse, error)
	// GET /api/notify/{id}/detail
	GetNotifyDetail(context.Context, *GetNotifyDetailRequest) (*GetNotifyDetailResponse, error)
	// GET /api/notify/all-group
	GetAllGroups(context.Context, *GetAllGroupsRequest) (*GetAllGroupsResponse, error)
}

NotifyServiceHandler is the server API for NotifyService service.

type NotifyServiceServer

NotifyServiceServer is the server API for NotifyService service. All implementations should embed UnimplementedNotifyServiceServer for forward compatibility

type NotifyTarget

type NotifyTarget struct {
	Type   string         `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Values []*TargetValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyTarget) Descriptor deprecated

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

Deprecated: Use NotifyTarget.ProtoReflect.Descriptor instead.

func (*NotifyTarget) GetType

func (x *NotifyTarget) GetType() string

func (*NotifyTarget) GetValues

func (x *NotifyTarget) GetValues() []*TargetValue

func (*NotifyTarget) MarshalJSON

func (m *NotifyTarget) MarshalJSON() ([]byte, error)

NotifyTarget implement json.Marshaler.

func (*NotifyTarget) ProtoMessage

func (*NotifyTarget) ProtoMessage()

func (*NotifyTarget) ProtoReflect

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

func (*NotifyTarget) Reset

func (x *NotifyTarget) Reset()

func (*NotifyTarget) String

func (x *NotifyTarget) String() string

func (*NotifyTarget) UnmarshalJSON

func (m *NotifyTarget) UnmarshalJSON(b []byte) error

NotifyTarget implement json.Marshaler.

func (*NotifyTarget) UnmarshalURLValues

func (m *NotifyTarget) UnmarshalURLValues(prefix string, values url.Values) error

NotifyTarget implement urlenc.URLValuesUnmarshaler.

func (*NotifyTarget) Validate

func (this *NotifyTarget) Validate() error

type Render

type Render struct {
	Formats  map[string]string `` /* 155-byte string literal not displayed */
	Title    string            `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Template string            `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*Render) Descriptor deprecated

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

Deprecated: Use Render.ProtoReflect.Descriptor instead.

func (*Render) GetFormats

func (x *Render) GetFormats() map[string]string

func (*Render) GetTemplate

func (x *Render) GetTemplate() string

func (*Render) GetTitle

func (x *Render) GetTitle() string

func (*Render) MarshalJSON

func (m *Render) MarshalJSON() ([]byte, error)

Render implement json.Marshaler.

func (*Render) ProtoMessage

func (*Render) ProtoMessage()

func (*Render) ProtoReflect

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

func (*Render) Reset

func (x *Render) Reset()

func (*Render) String

func (x *Render) String() string

func (*Render) UnmarshalJSON

func (m *Render) UnmarshalJSON(b []byte) error

Render implement json.Marshaler.

func (*Render) UnmarshalURLValues

func (m *Render) UnmarshalURLValues(prefix string, values url.Values) error

Render implement urlenc.URLValuesUnmarshaler.

func (*Render) Validate

func (this *Render) Validate() error

type TargetValue

type TargetValue struct {
	Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Secret   string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*TargetValue) Descriptor deprecated

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

Deprecated: Use TargetValue.ProtoReflect.Descriptor instead.

func (*TargetValue) GetReceiver

func (x *TargetValue) GetReceiver() string

func (*TargetValue) GetSecret

func (x *TargetValue) GetSecret() string

func (*TargetValue) MarshalJSON

func (m *TargetValue) MarshalJSON() ([]byte, error)

TargetValue implement json.Marshaler.

func (*TargetValue) ProtoMessage

func (*TargetValue) ProtoMessage()

func (*TargetValue) ProtoReflect

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

func (*TargetValue) Reset

func (x *TargetValue) Reset()

func (*TargetValue) String

func (x *TargetValue) String() string

func (*TargetValue) UnmarshalJSON

func (m *TargetValue) UnmarshalJSON(b []byte) error

TargetValue implement json.Marshaler.

func (*TargetValue) UnmarshalURLValues

func (m *TargetValue) UnmarshalURLValues(prefix string, values url.Values) error

TargetValue implement urlenc.URLValuesUnmarshaler.

func (*TargetValue) Validate

func (this *TargetValue) Validate() error

type Templates

type Templates struct {
	Trigger []string `protobuf:"bytes,1,rep,name=trigger,proto3" json:"trigger,omitempty"`
	Targets []string `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"`
	I18N    []string `protobuf:"bytes,3,rep,name=i18n,proto3" json:"i18n,omitempty"`
	Render  *Render  `protobuf:"bytes,4,opt,name=render,proto3" json:"render,omitempty"`
	// contains filtered or unexported fields
}

func (*Templates) Descriptor deprecated

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

Deprecated: Use Templates.ProtoReflect.Descriptor instead.

func (*Templates) GetI18N

func (x *Templates) GetI18N() []string

func (*Templates) GetRender

func (x *Templates) GetRender() *Render

func (*Templates) GetTargets

func (x *Templates) GetTargets() []string

func (*Templates) GetTrigger

func (x *Templates) GetTrigger() []string

func (*Templates) MarshalJSON

func (m *Templates) MarshalJSON() ([]byte, error)

Templates implement json.Marshaler.

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

func (*Templates) UnmarshalJSON

func (m *Templates) UnmarshalJSON(b []byte) error

Templates implement json.Marshaler.

func (*Templates) UnmarshalURLValues

func (m *Templates) UnmarshalURLValues(prefix string, values url.Values) error

Templates implement urlenc.URLValuesUnmarshaler.

func (*Templates) Validate

func (this *Templates) Validate() error

type UnimplementedNotifyServiceServer

type UnimplementedNotifyServiceServer struct {
}

UnimplementedNotifyServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedNotifyServiceServer) CreateNotify

func (*UnimplementedNotifyServiceServer) DeleteNotify

func (*UnimplementedNotifyServiceServer) GetAllGroups

func (*UnimplementedNotifyServiceServer) GetNotifyDetail

func (*UnimplementedNotifyServiceServer) GetNotifyTemplate

func (*UnimplementedNotifyServiceServer) GetUserNotifyList

func (*UnimplementedNotifyServiceServer) NotifyEnable

func (*UnimplementedNotifyServiceServer) UpdateNotify

type UpdateNotifyRequest

type UpdateNotifyRequest struct {
	Id            int64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Scope         string            `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId       string            `protobuf:"bytes,3,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	Channels      []string          `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"`
	NotifyGroupId int64             `protobuf:"varint,5,opt,name=notifyGroupId,proto3" json:"notifyGroupId,omitempty"`
	TemplateId    []string          `protobuf:"bytes,6,rep,name=templateId,proto3" json:"templateId,omitempty"`
	Attribute     map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateNotifyRequest) Descriptor deprecated

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

Deprecated: Use UpdateNotifyRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotifyRequest) GetAttribute

func (x *UpdateNotifyRequest) GetAttribute() map[string]string

func (*UpdateNotifyRequest) GetChannels

func (x *UpdateNotifyRequest) GetChannels() []string

func (*UpdateNotifyRequest) GetId

func (x *UpdateNotifyRequest) GetId() int64

func (*UpdateNotifyRequest) GetNotifyGroupId

func (x *UpdateNotifyRequest) GetNotifyGroupId() int64

func (*UpdateNotifyRequest) GetScope

func (x *UpdateNotifyRequest) GetScope() string

func (*UpdateNotifyRequest) GetScopeId

func (x *UpdateNotifyRequest) GetScopeId() string

func (*UpdateNotifyRequest) GetTemplateId

func (x *UpdateNotifyRequest) GetTemplateId() []string

func (*UpdateNotifyRequest) MarshalJSON

func (m *UpdateNotifyRequest) MarshalJSON() ([]byte, error)

UpdateNotifyRequest implement json.Marshaler.

func (*UpdateNotifyRequest) ProtoMessage

func (*UpdateNotifyRequest) ProtoMessage()

func (*UpdateNotifyRequest) ProtoReflect

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

func (*UpdateNotifyRequest) Reset

func (x *UpdateNotifyRequest) Reset()

func (*UpdateNotifyRequest) String

func (x *UpdateNotifyRequest) String() string

func (*UpdateNotifyRequest) UnmarshalJSON

func (m *UpdateNotifyRequest) UnmarshalJSON(b []byte) error

UpdateNotifyRequest implement json.Marshaler.

func (*UpdateNotifyRequest) UnmarshalURLValues

func (m *UpdateNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error

UpdateNotifyRequest implement urlenc.URLValuesUnmarshaler.

func (*UpdateNotifyRequest) Validate

func (this *UpdateNotifyRequest) Validate() error

type UpdateNotifyResponse

type UpdateNotifyResponse struct {
	Data int64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNotifyResponse) Descriptor deprecated

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

Deprecated: Use UpdateNotifyResponse.ProtoReflect.Descriptor instead.

func (*UpdateNotifyResponse) GetData

func (x *UpdateNotifyResponse) GetData() int64

func (*UpdateNotifyResponse) MarshalJSON

func (m *UpdateNotifyResponse) MarshalJSON() ([]byte, error)

UpdateNotifyResponse implement json.Marshaler.

func (*UpdateNotifyResponse) ProtoMessage

func (*UpdateNotifyResponse) ProtoMessage()

func (*UpdateNotifyResponse) ProtoReflect

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

func (*UpdateNotifyResponse) Reset

func (x *UpdateNotifyResponse) Reset()

func (*UpdateNotifyResponse) String

func (x *UpdateNotifyResponse) String() string

func (*UpdateNotifyResponse) UnmarshalJSON

func (m *UpdateNotifyResponse) UnmarshalJSON(b []byte) error

UpdateNotifyResponse implement json.Marshaler.

func (*UpdateNotifyResponse) UnmarshalURLValues

func (m *UpdateNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error

UpdateNotifyResponse implement urlenc.URLValuesUnmarshaler.

func (*UpdateNotifyResponse) Validate

func (this *UpdateNotifyResponse) Validate() error

Jump to

Keyboard shortcuts

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