pb

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNotificationHandler

func RegisterNotificationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterNotificationHandler registers the http handlers for service Notification to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterNotificationHandlerClient

func RegisterNotificationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NotificationClient) error

RegisterNotificationHandlerClient registers the http handlers for service Notification to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NotificationClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NotificationClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NotificationClient" to call the correct interceptors.

func RegisterNotificationHandlerFromEndpoint

func RegisterNotificationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterNotificationHandlerFromEndpoint is same as RegisterNotificationHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterNotificationServer

func RegisterNotificationServer(s *grpc.Server, srv NotificationServer)

Types

type Address

type Address struct {
	//address id
	AddressId *wrappers.StringValue `protobuf:"bytes,1,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	//address list id
	AddressListId *wrappers.StringValue `protobuf:"bytes,2,opt,name=address_list_id,json=addressListId,proto3" json:"address_list_id,omitempty"`
	//address details, could be email address for email, user id for websocket, mobile number for sms.
	Address *wrappers.StringValue `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	//remarks for address
	Remarks *wrappers.StringValue `protobuf:"bytes,4,opt,name=remarks,proto3" json:"remarks,omitempty"`
	//verification code for register address at the first time
	VerificationCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	//address status, eg:[active|disabled|deleted]
	Status *wrappers.StringValue `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	//create time of the address
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	//verify time when verify the address
	VerifyTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"`
	//the status changed time of the address
	StatusTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=status_time,json=statusTime,proto3" json:"status_time,omitempty"`
	//the notification type , eg:[email|websocket|sms|wechat]
	NotifyType           *wrappers.StringValue `protobuf:"bytes,10,opt,name=notify_type,json=notifyType,proto3" json:"notify_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Address) Descriptor

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

func (*Address) GetAddress

func (m *Address) GetAddress() *wrappers.StringValue

func (*Address) GetAddressId

func (m *Address) GetAddressId() *wrappers.StringValue

func (*Address) GetAddressListId

func (m *Address) GetAddressListId() *wrappers.StringValue

func (*Address) GetCreateTime

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

func (*Address) GetNotifyType

func (m *Address) GetNotifyType() *wrappers.StringValue

func (*Address) GetRemarks

func (m *Address) GetRemarks() *wrappers.StringValue

func (*Address) GetStatus

func (m *Address) GetStatus() *wrappers.StringValue

func (*Address) GetStatusTime

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

func (*Address) GetVerificationCode

func (m *Address) GetVerificationCode() *wrappers.StringValue

func (*Address) GetVerifyTime

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

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (m *Address) String() string

func (*Address) XXX_DiscardUnknown

func (m *Address) XXX_DiscardUnknown()

func (*Address) XXX_Marshal

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

func (*Address) XXX_Merge

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

func (*Address) XXX_Size

func (m *Address) XXX_Size() int

func (*Address) XXX_Unmarshal

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

type AddressList

type AddressList struct {
	//address list id
	AddressListId *wrappers.StringValue `protobuf:"bytes,1,opt,name=address_list_id,json=addressListId,proto3" json:"address_list_id,omitempty"`
	//the name of the address list
	AddressListName *wrappers.StringValue `protobuf:"bytes,2,opt,name=address_list_name,json=addressListName,proto3" json:"address_list_name,omitempty"`
	//the extra info of the address
	Extra *wrappers.StringValue `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"`
	//address list status, eg:[active|disabled|deleted]
	Status *wrappers.StringValue `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	//create time of the address list
	CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	//the status changed time of the address list
	StatusTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=status_time,json=statusTime,proto3" json:"status_time,omitempty"`
	//address list
	AddressSet           []*Address `protobuf:"bytes,7,rep,name=address_set,json=addressSet,proto3" json:"address_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*AddressList) Descriptor

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

func (*AddressList) GetAddressListId

func (m *AddressList) GetAddressListId() *wrappers.StringValue

func (*AddressList) GetAddressListName

func (m *AddressList) GetAddressListName() *wrappers.StringValue

func (*AddressList) GetAddressSet

func (m *AddressList) GetAddressSet() []*Address

func (*AddressList) GetCreateTime

func (m *AddressList) GetCreateTime() *timestamp.Timestamp

func (*AddressList) GetExtra

func (m *AddressList) GetExtra() *wrappers.StringValue

func (*AddressList) GetStatus

func (m *AddressList) GetStatus() *wrappers.StringValue

func (*AddressList) GetStatusTime

func (m *AddressList) GetStatusTime() *timestamp.Timestamp

func (*AddressList) ProtoMessage

func (*AddressList) ProtoMessage()

func (*AddressList) Reset

func (m *AddressList) Reset()

func (*AddressList) String

func (m *AddressList) String() string

func (*AddressList) XXX_DiscardUnknown

func (m *AddressList) XXX_DiscardUnknown()

func (*AddressList) XXX_Marshal

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

func (*AddressList) XXX_Merge

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

func (*AddressList) XXX_Size

func (m *AddressList) XXX_Size() int

func (*AddressList) XXX_Unmarshal

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

type CreateAddressListRequest

type CreateAddressListRequest struct {
	//the name of the address list
	AddressListName *wrappers.StringValue `protobuf:"bytes,1,opt,name=address_list_name,json=addressListName,proto3" json:"address_list_name,omitempty"`
	//the extra info of the address
	Extra *wrappers.StringValue `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"`
	//required, the address ids for the address list to create
	AddressId            []string `protobuf:"bytes,3,rep,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAddressListRequest) Descriptor

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

func (*CreateAddressListRequest) GetAddressId

func (m *CreateAddressListRequest) GetAddressId() []string

func (*CreateAddressListRequest) GetAddressListName

func (m *CreateAddressListRequest) GetAddressListName() *wrappers.StringValue

func (*CreateAddressListRequest) GetExtra

func (*CreateAddressListRequest) ProtoMessage

func (*CreateAddressListRequest) ProtoMessage()

func (*CreateAddressListRequest) Reset

func (m *CreateAddressListRequest) Reset()

func (*CreateAddressListRequest) String

func (m *CreateAddressListRequest) String() string

func (*CreateAddressListRequest) XXX_DiscardUnknown

func (m *CreateAddressListRequest) XXX_DiscardUnknown()

func (*CreateAddressListRequest) XXX_Marshal

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

func (*CreateAddressListRequest) XXX_Merge

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

func (*CreateAddressListRequest) XXX_Size

func (m *CreateAddressListRequest) XXX_Size() int

func (*CreateAddressListRequest) XXX_Unmarshal

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

type CreateAddressListResponse

type CreateAddressListResponse struct {
	//address list id
	AddressListId        *wrappers.StringValue `protobuf:"bytes,1,opt,name=address_list_id,json=addressListId,proto3" json:"address_list_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CreateAddressListResponse) Descriptor

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

func (*CreateAddressListResponse) GetAddressListId

func (m *CreateAddressListResponse) GetAddressListId() *wrappers.StringValue

func (*CreateAddressListResponse) ProtoMessage

func (*CreateAddressListResponse) ProtoMessage()

func (*CreateAddressListResponse) Reset

func (m *CreateAddressListResponse) Reset()

func (*CreateAddressListResponse) String

func (m *CreateAddressListResponse) String() string

func (*CreateAddressListResponse) XXX_DiscardUnknown

func (m *CreateAddressListResponse) XXX_DiscardUnknown()

func (*CreateAddressListResponse) XXX_Marshal

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

func (*CreateAddressListResponse) XXX_Merge

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

func (*CreateAddressListResponse) XXX_Size

func (m *CreateAddressListResponse) XXX_Size() int

func (*CreateAddressListResponse) XXX_Unmarshal

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

type CreateAddressRequest

type CreateAddressRequest struct {
	//required, address details, could be email address for email, user id for websocket, mobile number for sms.
	Address *wrappers.StringValue `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	//remarks for address
	Remarks *wrappers.StringValue `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"`
	//verification code for register address at the first time
	VerificationCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	//required, the notification type , eg:[email|websocket|sms|wechat]
	NotifyType           *wrappers.StringValue `protobuf:"bytes,4,opt,name=notify_type,json=notifyType,proto3" json:"notify_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CreateAddressRequest) Descriptor

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

func (*CreateAddressRequest) GetAddress

func (m *CreateAddressRequest) GetAddress() *wrappers.StringValue

func (*CreateAddressRequest) GetNotifyType

func (m *CreateAddressRequest) GetNotifyType() *wrappers.StringValue

func (*CreateAddressRequest) GetRemarks

func (m *CreateAddressRequest) GetRemarks() *wrappers.StringValue

func (*CreateAddressRequest) GetVerificationCode

func (m *CreateAddressRequest) GetVerificationCode() *wrappers.StringValue

func (*CreateAddressRequest) ProtoMessage

func (*CreateAddressRequest) ProtoMessage()

func (*CreateAddressRequest) Reset

func (m *CreateAddressRequest) Reset()

func (*CreateAddressRequest) String

func (m *CreateAddressRequest) String() string

func (*CreateAddressRequest) XXX_DiscardUnknown

func (m *CreateAddressRequest) XXX_DiscardUnknown()

func (*CreateAddressRequest) XXX_Marshal

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

func (*CreateAddressRequest) XXX_Merge

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

func (*CreateAddressRequest) XXX_Size

func (m *CreateAddressRequest) XXX_Size() int

func (*CreateAddressRequest) XXX_Unmarshal

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

type CreateAddressResponse

type CreateAddressResponse struct {
	//id of address created
	AddressId            *wrappers.StringValue `protobuf:"bytes,1,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CreateAddressResponse) Descriptor

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

func (*CreateAddressResponse) GetAddressId

func (m *CreateAddressResponse) GetAddressId() *wrappers.StringValue

func (*CreateAddressResponse) ProtoMessage

func (*CreateAddressResponse) ProtoMessage()

func (*CreateAddressResponse) Reset

func (m *CreateAddressResponse) Reset()

func (*CreateAddressResponse) String

func (m *CreateAddressResponse) String() string

func (*CreateAddressResponse) XXX_DiscardUnknown

func (m *CreateAddressResponse) XXX_DiscardUnknown()

func (*CreateAddressResponse) XXX_Marshal

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

func (*CreateAddressResponse) XXX_Merge

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

func (*CreateAddressResponse) XXX_Size

func (m *CreateAddressResponse) XXX_Size() int

func (*CreateAddressResponse) XXX_Unmarshal

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

type CreateNotificationRequest

type CreateNotificationRequest struct {
	//required, notification content type, eg:[invite|verify|fee|business|alert|other|event]
	ContentType *wrappers.StringValue `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	//required, notification title
	Title *wrappers.StringValue `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	//notification content, json fmt, eg:{"html":"test_content_html", "normal":"test_content_normal"}
	Content *wrappers.StringValue `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	//notification short content
	ShortContent *wrappers.StringValue `protobuf:"bytes,4,opt,name=short_content,json=shortContent,proto3" json:"short_content,omitempty"`
	//notification expired days,  0 is for never expired.
	ExpiredDays *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=expired_days,json=expiredDays,proto3" json:"expired_days,omitempty"`
	//notification owner
	Owner *wrappers.StringValue `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
	//the address to send the notification, json fmt, currently support 2 kinds types.
	//1.key/value Type, key is the notification send Type,the value is the list of address,
	//eg:{"email": ["xxx1@163.com", "xxx2@163.com"],"websocket": ["system", "user1"]}
	//2.Array Type, eg:["adl-xxxx1", "adl-xxxx2"],
	//the item is the address list id which is already created in advance.
	AddressInfo *wrappers.StringValue `protobuf:"bytes,7,opt,name=address_info,json=addressInfo,proto3" json:"address_info,omitempty"`
	//the available start time to receive notification
	AvailableStartTime *wrappers.StringValue `protobuf:"bytes,8,opt,name=available_start_time,json=availableStartTime,proto3" json:"available_start_time,omitempty"`
	//the available end time to receive notification
	AvailableEndTime *wrappers.StringValue `protobuf:"bytes,9,opt,name=available_end_time,json=availableEndTime,proto3" json:"available_end_time,omitempty"`
	//extra info is only used for websocket notification,to show which websocket client could accept it.
	//eg:"{"ws_service": "ks","ws_message_type": "event"}"
	Extra                *wrappers.StringValue `protobuf:"bytes,10,opt,name=extra,proto3" json:"extra,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CreateNotificationRequest) Descriptor

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

func (*CreateNotificationRequest) GetAddressInfo

func (m *CreateNotificationRequest) GetAddressInfo() *wrappers.StringValue

func (*CreateNotificationRequest) GetAvailableEndTime

func (m *CreateNotificationRequest) GetAvailableEndTime() *wrappers.StringValue

func (*CreateNotificationRequest) GetAvailableStartTime

func (m *CreateNotificationRequest) GetAvailableStartTime() *wrappers.StringValue

func (*CreateNotificationRequest) GetContent

func (*CreateNotificationRequest) GetContentType

func (m *CreateNotificationRequest) GetContentType() *wrappers.StringValue

func (*CreateNotificationRequest) GetExpiredDays

func (m *CreateNotificationRequest) GetExpiredDays() *wrappers.UInt32Value

func (*CreateNotificationRequest) GetExtra

func (*CreateNotificationRequest) GetOwner

func (*CreateNotificationRequest) GetShortContent

func (m *CreateNotificationRequest) GetShortContent() *wrappers.StringValue

func (*CreateNotificationRequest) GetTitle

func (*CreateNotificationRequest) ProtoMessage

func (*CreateNotificationRequest) ProtoMessage()

func (*CreateNotificationRequest) Reset

func (m *CreateNotificationRequest) Reset()

func (*CreateNotificationRequest) String

func (m *CreateNotificationRequest) String() string

func (*CreateNotificationRequest) XXX_DiscardUnknown

func (m *CreateNotificationRequest) XXX_DiscardUnknown()

func (*CreateNotificationRequest) XXX_Marshal

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

func (*CreateNotificationRequest) XXX_Merge

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

func (*CreateNotificationRequest) XXX_Size

func (m *CreateNotificationRequest) XXX_Size() int

func (*CreateNotificationRequest) XXX_Unmarshal

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

type CreateNotificationResponse

type CreateNotificationResponse struct {
	//id of notification created
	NotificationId       *wrappers.StringValue `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CreateNotificationResponse) Descriptor

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

func (*CreateNotificationResponse) GetNotificationId

func (m *CreateNotificationResponse) GetNotificationId() *wrappers.StringValue

func (*CreateNotificationResponse) ProtoMessage

func (*CreateNotificationResponse) ProtoMessage()

func (*CreateNotificationResponse) Reset

func (m *CreateNotificationResponse) Reset()

func (*CreateNotificationResponse) String

func (m *CreateNotificationResponse) String() string

func (*CreateNotificationResponse) XXX_DiscardUnknown

func (m *CreateNotificationResponse) XXX_DiscardUnknown()

func (*CreateNotificationResponse) XXX_Marshal

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

func (*CreateNotificationResponse) XXX_Merge

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

func (*CreateNotificationResponse) XXX_Size

func (m *CreateNotificationResponse) XXX_Size() int

func (*CreateNotificationResponse) XXX_Unmarshal

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

type DeleteAddressListRequest

type DeleteAddressListRequest struct {
	//required, address list id
	AddressListId        []string `protobuf:"bytes,1,rep,name=address_list_id,json=addressListId,proto3" json:"address_list_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAddressListRequest) Descriptor

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

func (*DeleteAddressListRequest) GetAddressListId

func (m *DeleteAddressListRequest) GetAddressListId() []string

func (*DeleteAddressListRequest) ProtoMessage

func (*DeleteAddressListRequest) ProtoMessage()

func (*DeleteAddressListRequest) Reset

func (m *DeleteAddressListRequest) Reset()

func (*DeleteAddressListRequest) String

func (m *DeleteAddressListRequest) String() string

func (*DeleteAddressListRequest) XXX_DiscardUnknown

func (m *DeleteAddressListRequest) XXX_DiscardUnknown()

func (*DeleteAddressListRequest) XXX_Marshal

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

func (*DeleteAddressListRequest) XXX_Merge

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

func (*DeleteAddressListRequest) XXX_Size

func (m *DeleteAddressListRequest) XXX_Size() int

func (*DeleteAddressListRequest) XXX_Unmarshal

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

type DeleteAddressListResponse

type DeleteAddressListResponse struct {
	//address list id
	AddressListId        []string `protobuf:"bytes,1,rep,name=address_list_id,json=addressListId,proto3" json:"address_list_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAddressListResponse) Descriptor

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

func (*DeleteAddressListResponse) GetAddressListId

func (m *DeleteAddressListResponse) GetAddressListId() []string

func (*DeleteAddressListResponse) ProtoMessage

func (*DeleteAddressListResponse) ProtoMessage()

func (*DeleteAddressListResponse) Reset

func (m *DeleteAddressListResponse) Reset()

func (*DeleteAddressListResponse) String

func (m *DeleteAddressListResponse) String() string

func (*DeleteAddressListResponse) XXX_DiscardUnknown

func (m *DeleteAddressListResponse) XXX_DiscardUnknown()

func (*DeleteAddressListResponse) XXX_Marshal

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

func (*DeleteAddressListResponse) XXX_Merge

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

func (*DeleteAddressListResponse) XXX_Size

func (m *DeleteAddressListResponse) XXX_Size() int

func (*DeleteAddressListResponse) XXX_Unmarshal

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

type DeleteAddressesRequest

type DeleteAddressesRequest struct {
	//required, address id
	AddressId            []string `protobuf:"bytes,1,rep,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAddressesRequest) Descriptor

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

func (*DeleteAddressesRequest) GetAddressId

func (m *DeleteAddressesRequest) GetAddressId() []string

func (*DeleteAddressesRequest) ProtoMessage

func (*DeleteAddressesRequest) ProtoMessage()

func (*DeleteAddressesRequest) Reset

func (m *DeleteAddressesRequest) Reset()

func (*DeleteAddressesRequest) String

func (m *DeleteAddressesRequest) String() string

func (*DeleteAddressesRequest) XXX_DiscardUnknown

func (m *DeleteAddressesRequest) XXX_DiscardUnknown()

func (*DeleteAddressesRequest) XXX_Marshal

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

func (*DeleteAddressesRequest) XXX_Merge

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

func (*DeleteAddressesRequest) XXX_Size

func (m *DeleteAddressesRequest) XXX_Size() int

func (*DeleteAddressesRequest) XXX_Unmarshal

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

type DeleteAddressesResponse

type DeleteAddressesResponse struct {
	//address id
	AddressId            []string `protobuf:"bytes,1,rep,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAddressesResponse) Descriptor

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

func (*DeleteAddressesResponse) GetAddressId

func (m *DeleteAddressesResponse) GetAddressId() []string

func (*DeleteAddressesResponse) ProtoMessage

func (*DeleteAddressesResponse) ProtoMessage()

func (*DeleteAddressesResponse) Reset

func (m *DeleteAddressesResponse) Reset()

func (*DeleteAddressesResponse) String

func (m *DeleteAddressesResponse) String() string

func (*DeleteAddressesResponse) XXX_DiscardUnknown

func (m *DeleteAddressesResponse) XXX_DiscardUnknown()

func (*DeleteAddressesResponse) XXX_Marshal

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

func (*DeleteAddressesResponse) XXX_Merge

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

func (*DeleteAddressesResponse) XXX_Size

func (m *DeleteAddressesResponse) XXX_Size() int

func (*DeleteAddressesResponse) XXX_Unmarshal

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

type DescribeAddressListRequest

type DescribeAddressListRequest struct {
	//address list id
	AddressListId []string `protobuf:"bytes,1,rep,name=address_list_id,json=addressListId,proto3" json:"address_list_id,omitempty"`
	//the name of the address list
	AddressListName []string `protobuf:"bytes,2,rep,name=address_list_name,json=addressListName,proto3" json:"address_list_name,omitempty"`
	//the extra info of the address
	Extra []string `protobuf:"bytes,3,rep,name=extra,proto3" json:"extra,omitempty"`
	//address list status, eg:[active|disabled|deleted]
	Status []string `protobuf:"bytes,4,rep,name=status,proto3" json:"status,omitempty"`
	//data limit per page, default value 20, max value 200
	Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	//beginning data offset of this page, default 0
	Offset uint32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	//query key, support these fields(address_list_id,address_list_name,address_list_name,extra)
	SearchWord *wrappers.StringValue `protobuf:"bytes,7,opt,name=search_word,json=searchWord,proto3" json:"search_word,omitempty"`
	//sort key, order by sort_key, default create_time
	SortKey *wrappers.StringValue `protobuf:"bytes,8,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"`
	//value = 0 sort ASC, value = 1 sort DESC
	Reverse *wrappers.BoolValue `protobuf:"bytes,9,opt,name=reverse,proto3" json:"reverse,omitempty"`
	//select columns to display, currently not support
	DisplayColumns       []string `protobuf:"bytes,10,rep,name=display_columns,json=displayColumns,proto3" json:"display_columns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DescribeAddressListRequest) Descriptor

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

func (*DescribeAddressListRequest) GetAddressListId

func (m *DescribeAddressListRequest) GetAddressListId() []string

func (*DescribeAddressListRequest) GetAddressListName

func (m *DescribeAddressListRequest) GetAddressListName() []string

func (*DescribeAddressListRequest) GetDisplayColumns

func (m *DescribeAddressListRequest) GetDisplayColumns() []string

func (*DescribeAddressListRequest) GetExtra

func (m *DescribeAddressListRequest) GetExtra() []string

func (*DescribeAddressListRequest) GetLimit

func (m *DescribeAddressListRequest) GetLimit() uint32

func (*DescribeAddressListRequest) GetOffset

func (m *DescribeAddressListRequest) GetOffset() uint32

func (*DescribeAddressListRequest) GetReverse

func (*DescribeAddressListRequest) GetSearchWord

func (m *DescribeAddressListRequest) GetSearchWord() *wrappers.StringValue

func (*DescribeAddressListRequest) GetSortKey

func (*DescribeAddressListRequest) GetStatus

func (m *DescribeAddressListRequest) GetStatus() []string

func (*DescribeAddressListRequest) ProtoMessage

func (*DescribeAddressListRequest) ProtoMessage()

func (*DescribeAddressListRequest) Reset

func (m *DescribeAddressListRequest) Reset()

func (*DescribeAddressListRequest) String

func (m *DescribeAddressListRequest) String() string

func (*DescribeAddressListRequest) XXX_DiscardUnknown

func (m *DescribeAddressListRequest) XXX_DiscardUnknown()

func (*DescribeAddressListRequest) XXX_Marshal

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

func (*DescribeAddressListRequest) XXX_Merge

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

func (*DescribeAddressListRequest) XXX_Size

func (m *DescribeAddressListRequest) XXX_Size() int

func (*DescribeAddressListRequest) XXX_Unmarshal

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

type DescribeAddressListResponse

type DescribeAddressListResponse struct {
	//total count of qualified address lists
	TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	//list of address lists
	AddressListSet       []*AddressList `protobuf:"bytes,2,rep,name=address_list_set,json=addressListSet,proto3" json:"address_list_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DescribeAddressListResponse) Descriptor

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

func (*DescribeAddressListResponse) GetAddressListSet

func (m *DescribeAddressListResponse) GetAddressListSet() []*AddressList

func (*DescribeAddressListResponse) GetTotalCount

func (m *DescribeAddressListResponse) GetTotalCount() uint32

func (*DescribeAddressListResponse) ProtoMessage

func (*DescribeAddressListResponse) ProtoMessage()

func (*DescribeAddressListResponse) Reset

func (m *DescribeAddressListResponse) Reset()

func (*DescribeAddressListResponse) String

func (m *DescribeAddressListResponse) String() string

func (*DescribeAddressListResponse) XXX_DiscardUnknown

func (m *DescribeAddressListResponse) XXX_DiscardUnknown()

func (*DescribeAddressListResponse) XXX_Marshal

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

func (*DescribeAddressListResponse) XXX_Merge

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

func (*DescribeAddressListResponse) XXX_Size

func (m *DescribeAddressListResponse) XXX_Size() int

func (*DescribeAddressListResponse) XXX_Unmarshal

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

type DescribeAddressesRequest

type DescribeAddressesRequest struct {
	//address id
	AddressId []string `protobuf:"bytes,1,rep,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	//address list id
	AddressListId []string `protobuf:"bytes,2,rep,name=address_list_id,json=addressListId,proto3" json:"address_list_id,omitempty"`
	//address details, could be email address for email, user id for websocket, mobile number for sms.
	Address []string `protobuf:"bytes,3,rep,name=address,proto3" json:"address,omitempty"`
	//the notification type , eg:[email|websocket|sms|wechat]
	NotifyType []string `protobuf:"bytes,4,rep,name=notify_type,json=notifyType,proto3" json:"notify_type,omitempty"`
	//address status, eg:[active|disabled|deleted]
	Status []string `protobuf:"bytes,5,rep,name=status,proto3" json:"status,omitempty"`
	//data limit per page, default value 20, max value 200
	Limit uint32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	//beginning data offset of this page, default 0
	Offset uint32 `protobuf:"varint,7,opt,name=offset,proto3" json:"offset,omitempty"`
	//query key, support these fields(address_id,address,notify_type,remarks)
	SearchWord *wrappers.StringValue `protobuf:"bytes,8,opt,name=search_word,json=searchWord,proto3" json:"search_word,omitempty"`
	//sort key, order by sort_key, default create_time
	SortKey *wrappers.StringValue `protobuf:"bytes,9,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"`
	//value = 0 sort ASC, value = 1 sort DESC
	Reverse *wrappers.BoolValue `protobuf:"bytes,10,opt,name=reverse,proto3" json:"reverse,omitempty"`
	//select columns to display, currently not support
	DisplayColumns       []string `protobuf:"bytes,11,rep,name=display_columns,json=displayColumns,proto3" json:"display_columns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DescribeAddressesRequest) Descriptor

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

func (*DescribeAddressesRequest) GetAddress

func (m *DescribeAddressesRequest) GetAddress() []string

func (*DescribeAddressesRequest) GetAddressId

func (m *DescribeAddressesRequest) GetAddressId() []string

func (*DescribeAddressesRequest) GetAddressListId

func (m *DescribeAddressesRequest) GetAddressListId() []string

func (*DescribeAddressesRequest) GetDisplayColumns

func (m *DescribeAddressesRequest) GetDisplayColumns() []string

func (*DescribeAddressesRequest) GetLimit

func (m *DescribeAddressesRequest) GetLimit() uint32

func (*DescribeAddressesRequest) GetNotifyType

func (m *DescribeAddressesRequest) GetNotifyType() []string

func (*DescribeAddressesRequest) GetOffset

func (m *DescribeAddressesRequest) GetOffset() uint32

func (*DescribeAddressesRequest) GetReverse

func (m *DescribeAddressesRequest) GetReverse() *wrappers.BoolValue

func (*DescribeAddressesRequest) GetSearchWord

func (m *DescribeAddressesRequest) GetSearchWord() *wrappers.StringValue

func (*DescribeAddressesRequest) GetSortKey

func (*DescribeAddressesRequest) GetStatus

func (m *DescribeAddressesRequest) GetStatus() []string

func (*DescribeAddressesRequest) ProtoMessage

func (*DescribeAddressesRequest) ProtoMessage()

func (*DescribeAddressesRequest) Reset

func (m *DescribeAddressesRequest) Reset()

func (*DescribeAddressesRequest) String

func (m *DescribeAddressesRequest) String() string

func (*DescribeAddressesRequest) XXX_DiscardUnknown

func (m *DescribeAddressesRequest) XXX_DiscardUnknown()

func (*DescribeAddressesRequest) XXX_Marshal

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

func (*DescribeAddressesRequest) XXX_Merge

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

func (*DescribeAddressesRequest) XXX_Size

func (m *DescribeAddressesRequest) XXX_Size() int

func (*DescribeAddressesRequest) XXX_Unmarshal

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

type DescribeAddressesResponse

type DescribeAddressesResponse struct {
	//total count of qualified address
	TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	//list of address
	AddressSet           []*Address `protobuf:"bytes,2,rep,name=address_set,json=addressSet,proto3" json:"address_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*DescribeAddressesResponse) Descriptor

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

func (*DescribeAddressesResponse) GetAddressSet

func (m *DescribeAddressesResponse) GetAddressSet() []*Address

func (*DescribeAddressesResponse) GetTotalCount

func (m *DescribeAddressesResponse) GetTotalCount() uint32

func (*DescribeAddressesResponse) ProtoMessage

func (*DescribeAddressesResponse) ProtoMessage()

func (*DescribeAddressesResponse) Reset

func (m *DescribeAddressesResponse) Reset()

func (*DescribeAddressesResponse) String

func (m *DescribeAddressesResponse) String() string

func (*DescribeAddressesResponse) XXX_DiscardUnknown

func (m *DescribeAddressesResponse) XXX_DiscardUnknown()

func (*DescribeAddressesResponse) XXX_Marshal

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

func (*DescribeAddressesResponse) XXX_Merge

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

func (*DescribeAddressesResponse) XXX_Size

func (m *DescribeAddressesResponse) XXX_Size() int

func (*DescribeAddressesResponse) XXX_Unmarshal

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

type DescribeNotificationsRequest

type DescribeNotificationsRequest struct {
	//notification id
	NotificationId []string `protobuf:"bytes,1,rep,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	//notification content type, eg:[invite|verify|fee|business|alert|other|event]
	ContentType []string `protobuf:"bytes,2,rep,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	//notification owner
	Owner []string `protobuf:"bytes,3,rep,name=owner,proto3" json:"owner,omitempty"`
	//notification status, eg:[pending|sending|successful|failed]
	Status []string `protobuf:"bytes,4,rep,name=status,proto3" json:"status,omitempty"`
	//data limit per page, default value 20, max value 200
	Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	//beginning data offset of this page, default 0
	Offset uint32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	//query key, support these fields(notification_id,content_type,title,short_content,address_info,status,owner)
	SearchWord *wrappers.StringValue `protobuf:"bytes,7,opt,name=search_word,json=searchWord,proto3" json:"search_word,omitempty"`
	//sort key, order by sort_key, default create_time
	SortKey *wrappers.StringValue `protobuf:"bytes,8,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"`
	//value = 0 sort ASC, value = 1 sort DESC
	Reverse *wrappers.BoolValue `protobuf:"bytes,9,opt,name=reverse,proto3" json:"reverse,omitempty"`
	//select columns to display, currently not support
	DisplayColumns       []string `protobuf:"bytes,10,rep,name=display_columns,json=displayColumns,proto3" json:"display_columns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DescribeNotificationsRequest) Descriptor

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

func (*DescribeNotificationsRequest) GetContentType

func (m *DescribeNotificationsRequest) GetContentType() []string

func (*DescribeNotificationsRequest) GetDisplayColumns

func (m *DescribeNotificationsRequest) GetDisplayColumns() []string

func (*DescribeNotificationsRequest) GetLimit

func (m *DescribeNotificationsRequest) GetLimit() uint32

func (*DescribeNotificationsRequest) GetNotificationId

func (m *DescribeNotificationsRequest) GetNotificationId() []string

func (*DescribeNotificationsRequest) GetOffset

func (m *DescribeNotificationsRequest) GetOffset() uint32

func (*DescribeNotificationsRequest) GetOwner

func (m *DescribeNotificationsRequest) GetOwner() []string

func (*DescribeNotificationsRequest) GetReverse

func (*DescribeNotificationsRequest) GetSearchWord

func (*DescribeNotificationsRequest) GetSortKey

func (*DescribeNotificationsRequest) GetStatus

func (m *DescribeNotificationsRequest) GetStatus() []string

func (*DescribeNotificationsRequest) ProtoMessage

func (*DescribeNotificationsRequest) ProtoMessage()

func (*DescribeNotificationsRequest) Reset

func (m *DescribeNotificationsRequest) Reset()

func (*DescribeNotificationsRequest) String

func (*DescribeNotificationsRequest) XXX_DiscardUnknown

func (m *DescribeNotificationsRequest) XXX_DiscardUnknown()

func (*DescribeNotificationsRequest) XXX_Marshal

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

func (*DescribeNotificationsRequest) XXX_Merge

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

func (*DescribeNotificationsRequest) XXX_Size

func (m *DescribeNotificationsRequest) XXX_Size() int

func (*DescribeNotificationsRequest) XXX_Unmarshal

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

type DescribeNotificationsResponse

type DescribeNotificationsResponse struct {
	//total count of qualified notifications
	TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	//list of notification
	NotificationSet      []*Notification `protobuf:"bytes,2,rep,name=notification_set,json=notificationSet,proto3" json:"notification_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*DescribeNotificationsResponse) Descriptor

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

func (*DescribeNotificationsResponse) GetNotificationSet

func (m *DescribeNotificationsResponse) GetNotificationSet() []*Notification

func (*DescribeNotificationsResponse) GetTotalCount

func (m *DescribeNotificationsResponse) GetTotalCount() uint32

func (*DescribeNotificationsResponse) ProtoMessage

func (*DescribeNotificationsResponse) ProtoMessage()

func (*DescribeNotificationsResponse) Reset

func (m *DescribeNotificationsResponse) Reset()

func (*DescribeNotificationsResponse) String

func (*DescribeNotificationsResponse) XXX_DiscardUnknown

func (m *DescribeNotificationsResponse) XXX_DiscardUnknown()

func (*DescribeNotificationsResponse) XXX_Marshal

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

func (*DescribeNotificationsResponse) XXX_Merge

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

func (*DescribeNotificationsResponse) XXX_Size

func (m *DescribeNotificationsResponse) XXX_Size() int

func (*DescribeNotificationsResponse) XXX_Unmarshal

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

type DescribeTasksRequest

type DescribeTasksRequest struct {
	//task id
	TaskId []string `protobuf:"bytes,1,rep,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	//the notification id of the task, one notification may send out by serval tasks
	NotificationId []string `protobuf:"bytes,2,rep,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	//error code, if task run failed will return a error code
	ErrorCode []string `protobuf:"bytes,3,rep,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	//the task execution status, eg:[pending|sending|successful|failed]
	Status []string `protobuf:"bytes,4,rep,name=status,proto3" json:"status,omitempty"`
	//data limit per page, default value 20, max value 200
	Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	//beginning data offset of this page, default 0
	Offset uint32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	//query key, support these fields(task_id,notification_id,status,error_code)
	SearchWord *wrappers.StringValue `protobuf:"bytes,7,opt,name=search_word,json=searchWord,proto3" json:"search_word,omitempty"`
	//sort key, order by sort_key, default create_time
	SortKey *wrappers.StringValue `protobuf:"bytes,8,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"`
	//value = 0 sort ASC, value = 1 sort DESC
	Reverse *wrappers.BoolValue `protobuf:"bytes,9,opt,name=reverse,proto3" json:"reverse,omitempty"`
	//select columns to display, currently not support
	DisplayColumns       []string `protobuf:"bytes,10,rep,name=display_columns,json=displayColumns,proto3" json:"display_columns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DescribeTasksRequest) Descriptor

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

func (*DescribeTasksRequest) GetDisplayColumns

func (m *DescribeTasksRequest) GetDisplayColumns() []string

func (*DescribeTasksRequest) GetErrorCode

func (m *DescribeTasksRequest) GetErrorCode() []string

func (*DescribeTasksRequest) GetLimit

func (m *DescribeTasksRequest) GetLimit() uint32

func (*DescribeTasksRequest) GetNotificationId

func (m *DescribeTasksRequest) GetNotificationId() []string

func (*DescribeTasksRequest) GetOffset

func (m *DescribeTasksRequest) GetOffset() uint32

func (*DescribeTasksRequest) GetReverse

func (m *DescribeTasksRequest) GetReverse() *wrappers.BoolValue

func (*DescribeTasksRequest) GetSearchWord

func (m *DescribeTasksRequest) GetSearchWord() *wrappers.StringValue

func (*DescribeTasksRequest) GetSortKey

func (m *DescribeTasksRequest) GetSortKey() *wrappers.StringValue

func (*DescribeTasksRequest) GetStatus

func (m *DescribeTasksRequest) GetStatus() []string

func (*DescribeTasksRequest) GetTaskId

func (m *DescribeTasksRequest) GetTaskId() []string

func (*DescribeTasksRequest) ProtoMessage

func (*DescribeTasksRequest) ProtoMessage()

func (*DescribeTasksRequest) Reset

func (m *DescribeTasksRequest) Reset()

func (*DescribeTasksRequest) String

func (m *DescribeTasksRequest) String() string

func (*DescribeTasksRequest) XXX_DiscardUnknown

func (m *DescribeTasksRequest) XXX_DiscardUnknown()

func (*DescribeTasksRequest) XXX_Marshal

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

func (*DescribeTasksRequest) XXX_Merge

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

func (*DescribeTasksRequest) XXX_Size

func (m *DescribeTasksRequest) XXX_Size() int

func (*DescribeTasksRequest) XXX_Unmarshal

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

type DescribeTasksResponse

type DescribeTasksResponse struct {
	//total count of qualified tasks
	TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	//list of task
	TaskSet              []*Task  `protobuf:"bytes,2,rep,name=task_set,json=taskSet,proto3" json:"task_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DescribeTasksResponse) Descriptor

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

func (*DescribeTasksResponse) GetTaskSet

func (m *DescribeTasksResponse) GetTaskSet() []*Task

func (*DescribeTasksResponse) GetTotalCount

func (m *DescribeTasksResponse) GetTotalCount() uint32

func (*DescribeTasksResponse) ProtoMessage

func (*DescribeTasksResponse) ProtoMessage()

func (*DescribeTasksResponse) Reset

func (m *DescribeTasksResponse) Reset()

func (*DescribeTasksResponse) String

func (m *DescribeTasksResponse) String() string

func (*DescribeTasksResponse) XXX_DiscardUnknown

func (m *DescribeTasksResponse) XXX_DiscardUnknown()

func (*DescribeTasksResponse) XXX_Marshal

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

func (*DescribeTasksResponse) XXX_Merge

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

func (*DescribeTasksResponse) XXX_Size

func (m *DescribeTasksResponse) XXX_Size() int

func (*DescribeTasksResponse) XXX_Unmarshal

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

type EmailServiceConfig

type EmailServiceConfig struct {
	//email server protocol
	Protocol *wrappers.StringValue `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	//email server host
	EmailHost *wrappers.StringValue `protobuf:"bytes,2,opt,name=email_host,json=emailHost,proto3" json:"email_host,omitempty"`
	//email server send port
	Port *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"`
	//notification display sender
	DisplaySender *wrappers.StringValue `protobuf:"bytes,4,opt,name=display_sender,json=displaySender,proto3" json:"display_sender,omitempty"`
	//send email address
	Email *wrappers.StringValue `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	//send email address password
	Password *wrappers.StringValue `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	// is ssl enabled or not
	SslEnable *wrappers.BoolValue `protobuf:"bytes,7,opt,name=ssl_enable,json=sslEnable,proto3" json:"ssl_enable,omitempty"`
	// icon in validation email
	ValidationIcon *wrappers.StringValue `protobuf:"bytes,8,opt,name=validation_icon,json=validationIcon,proto3" json:"validation_icon,omitempty"`
	// email title for validation email
	ValidationTitle      *wrappers.StringValue `protobuf:"bytes,9,opt,name=validation_title,json=validationTitle,proto3" json:"validation_title,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*EmailServiceConfig) Descriptor

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

func (*EmailServiceConfig) GetDisplaySender

func (m *EmailServiceConfig) GetDisplaySender() *wrappers.StringValue

func (*EmailServiceConfig) GetEmail

func (m *EmailServiceConfig) GetEmail() *wrappers.StringValue

func (*EmailServiceConfig) GetEmailHost

func (m *EmailServiceConfig) GetEmailHost() *wrappers.StringValue

func (*EmailServiceConfig) GetPassword

func (m *EmailServiceConfig) GetPassword() *wrappers.StringValue

func (*EmailServiceConfig) GetPort

func (m *EmailServiceConfig) GetPort() *wrappers.UInt32Value

func (*EmailServiceConfig) GetProtocol

func (m *EmailServiceConfig) GetProtocol() *wrappers.StringValue

func (*EmailServiceConfig) GetSslEnable

func (m *EmailServiceConfig) GetSslEnable() *wrappers.BoolValue

func (*EmailServiceConfig) GetValidationIcon

func (m *EmailServiceConfig) GetValidationIcon() *wrappers.StringValue

func (*EmailServiceConfig) GetValidationTitle

func (m *EmailServiceConfig) GetValidationTitle() *wrappers.StringValue

func (*EmailServiceConfig) ProtoMessage

func (*EmailServiceConfig) ProtoMessage()

func (*EmailServiceConfig) Reset

func (m *EmailServiceConfig) Reset()

func (*EmailServiceConfig) String

func (m *EmailServiceConfig) String() string

func (*EmailServiceConfig) XXX_DiscardUnknown

func (m *EmailServiceConfig) XXX_DiscardUnknown()

func (*EmailServiceConfig) XXX_Marshal

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

func (*EmailServiceConfig) XXX_Merge

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

func (*EmailServiceConfig) XXX_Size

func (m *EmailServiceConfig) XXX_Size() int

func (*EmailServiceConfig) XXX_Unmarshal

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

type ErrorDetail

type ErrorDetail struct {
	ErrorName            string   `protobuf:"bytes,1,opt,name=error_name,json=errorName,proto3" json:"error_name,omitempty"`
	Cause                string   `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ErrorDetail) Descriptor

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

func (*ErrorDetail) GetCause

func (m *ErrorDetail) GetCause() string

func (*ErrorDetail) GetErrorName

func (m *ErrorDetail) GetErrorName() string

func (*ErrorDetail) ProtoMessage

func (*ErrorDetail) ProtoMessage()

func (*ErrorDetail) Reset

func (m *ErrorDetail) Reset()

func (*ErrorDetail) String

func (m *ErrorDetail) String() string

func (*ErrorDetail) XXX_DiscardUnknown

func (m *ErrorDetail) XXX_DiscardUnknown()

func (*ErrorDetail) XXX_Marshal

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

func (*ErrorDetail) XXX_Merge

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

func (*ErrorDetail) XXX_Size

func (m *ErrorDetail) XXX_Size() int

func (*ErrorDetail) XXX_Unmarshal

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

type GetServiceConfigRequest

type GetServiceConfigRequest struct {
	//required, service type
	ServiceType          []string `protobuf:"bytes,1,rep,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetServiceConfigRequest) Descriptor

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

func (*GetServiceConfigRequest) GetServiceType

func (m *GetServiceConfigRequest) GetServiceType() []string

func (*GetServiceConfigRequest) ProtoMessage

func (*GetServiceConfigRequest) ProtoMessage()

func (*GetServiceConfigRequest) Reset

func (m *GetServiceConfigRequest) Reset()

func (*GetServiceConfigRequest) String

func (m *GetServiceConfigRequest) String() string

func (*GetServiceConfigRequest) XXX_DiscardUnknown

func (m *GetServiceConfigRequest) XXX_DiscardUnknown()

func (*GetServiceConfigRequest) XXX_Marshal

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

func (*GetServiceConfigRequest) XXX_Merge

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

func (*GetServiceConfigRequest) XXX_Size

func (m *GetServiceConfigRequest) XXX_Size() int

func (*GetServiceConfigRequest) XXX_Unmarshal

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

type MessageDetail

type MessageDetail struct {
	MessageId            *wrappers.StringValue `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId               *wrappers.StringValue `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Service              *wrappers.StringValue `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	MessageType          *wrappers.StringValue `protobuf:"bytes,4,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
	MessageContent       *wrappers.StringValue `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*MessageDetail) Descriptor

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

func (*MessageDetail) GetMessageContent

func (m *MessageDetail) GetMessageContent() *wrappers.StringValue

func (*MessageDetail) GetMessageId

func (m *MessageDetail) GetMessageId() *wrappers.StringValue

func (*MessageDetail) GetMessageType

func (m *MessageDetail) GetMessageType() *wrappers.StringValue

func (*MessageDetail) GetService

func (m *MessageDetail) GetService() *wrappers.StringValue

func (*MessageDetail) GetUserId

func (m *MessageDetail) GetUserId() *wrappers.StringValue

func (*MessageDetail) ProtoMessage

func (*MessageDetail) ProtoMessage()

func (*MessageDetail) Reset

func (m *MessageDetail) Reset()

func (*MessageDetail) String

func (m *MessageDetail) String() string

func (*MessageDetail) XXX_DiscardUnknown

func (m *MessageDetail) XXX_DiscardUnknown()

func (*MessageDetail) XXX_Marshal

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

func (*MessageDetail) XXX_Merge

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

func (*MessageDetail) XXX_Size

func (m *MessageDetail) XXX_Size() int

func (*MessageDetail) XXX_Unmarshal

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

type ModifyAddressListRequest

type ModifyAddressListRequest struct {
	//required, address list id
	Addresslist string `protobuf:"bytes,1,opt,name=addresslist,proto3" json:"addresslist,omitempty"`
	//address list name
	AddressListName *wrappers.StringValue `protobuf:"bytes,2,opt,name=address_list_name,json=addressListName,proto3" json:"address_list_name,omitempty"`
	//the extra info of the address list
	Extra *wrappers.StringValue `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"`
	//address list status, eg:[active|disabled|deleted]
	Status *wrappers.StringValue `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	//address ids of the address list
	AddressId            []string `protobuf:"bytes,5,rep,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ModifyAddressListRequest) Descriptor

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

func (*ModifyAddressListRequest) GetAddressId

func (m *ModifyAddressListRequest) GetAddressId() []string

func (*ModifyAddressListRequest) GetAddressListName

func (m *ModifyAddressListRequest) GetAddressListName() *wrappers.StringValue

func (*ModifyAddressListRequest) GetAddresslist

func (m *ModifyAddressListRequest) GetAddresslist() string

func (*ModifyAddressListRequest) GetExtra

func (*ModifyAddressListRequest) GetStatus

func (*ModifyAddressListRequest) ProtoMessage

func (*ModifyAddressListRequest) ProtoMessage()

func (*ModifyAddressListRequest) Reset

func (m *ModifyAddressListRequest) Reset()

func (*ModifyAddressListRequest) String

func (m *ModifyAddressListRequest) String() string

func (*ModifyAddressListRequest) XXX_DiscardUnknown

func (m *ModifyAddressListRequest) XXX_DiscardUnknown()

func (*ModifyAddressListRequest) XXX_Marshal

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

func (*ModifyAddressListRequest) XXX_Merge

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

func (*ModifyAddressListRequest) XXX_Size

func (m *ModifyAddressListRequest) XXX_Size() int

func (*ModifyAddressListRequest) XXX_Unmarshal

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

type ModifyAddressListResponse

type ModifyAddressListResponse struct {
	//address list id
	AddressListId        *wrappers.StringValue `protobuf:"bytes,1,opt,name=address_list_id,json=addressListId,proto3" json:"address_list_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ModifyAddressListResponse) Descriptor

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

func (*ModifyAddressListResponse) GetAddressListId

func (m *ModifyAddressListResponse) GetAddressListId() *wrappers.StringValue

func (*ModifyAddressListResponse) ProtoMessage

func (*ModifyAddressListResponse) ProtoMessage()

func (*ModifyAddressListResponse) Reset

func (m *ModifyAddressListResponse) Reset()

func (*ModifyAddressListResponse) String

func (m *ModifyAddressListResponse) String() string

func (*ModifyAddressListResponse) XXX_DiscardUnknown

func (m *ModifyAddressListResponse) XXX_DiscardUnknown()

func (*ModifyAddressListResponse) XXX_Marshal

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

func (*ModifyAddressListResponse) XXX_Merge

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

func (*ModifyAddressListResponse) XXX_Size

func (m *ModifyAddressListResponse) XXX_Size() int

func (*ModifyAddressListResponse) XXX_Unmarshal

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

type ModifyAddressRequest

type ModifyAddressRequest struct {
	//required, address id
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	//address details, could be email address for email, user id for websocket, mobile number for sms.
	AddressDetail *wrappers.StringValue `protobuf:"bytes,2,opt,name=address_detail,json=addressDetail,proto3" json:"address_detail,omitempty"`
	//remarks for address
	Remarks *wrappers.StringValue `protobuf:"bytes,3,opt,name=remarks,proto3" json:"remarks,omitempty"`
	//verification code for register address at the first time
	VerificationCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	//the notification type, eg:[email|websocket|sms|wechat]
	NotifyType           *wrappers.StringValue `protobuf:"bytes,5,opt,name=notify_type,json=notifyType,proto3" json:"notify_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ModifyAddressRequest) Descriptor

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

func (*ModifyAddressRequest) GetAddress

func (m *ModifyAddressRequest) GetAddress() string

func (*ModifyAddressRequest) GetAddressDetail

func (m *ModifyAddressRequest) GetAddressDetail() *wrappers.StringValue

func (*ModifyAddressRequest) GetNotifyType

func (m *ModifyAddressRequest) GetNotifyType() *wrappers.StringValue

func (*ModifyAddressRequest) GetRemarks

func (m *ModifyAddressRequest) GetRemarks() *wrappers.StringValue

func (*ModifyAddressRequest) GetVerificationCode

func (m *ModifyAddressRequest) GetVerificationCode() *wrappers.StringValue

func (*ModifyAddressRequest) ProtoMessage

func (*ModifyAddressRequest) ProtoMessage()

func (*ModifyAddressRequest) Reset

func (m *ModifyAddressRequest) Reset()

func (*ModifyAddressRequest) String

func (m *ModifyAddressRequest) String() string

func (*ModifyAddressRequest) XXX_DiscardUnknown

func (m *ModifyAddressRequest) XXX_DiscardUnknown()

func (*ModifyAddressRequest) XXX_Marshal

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

func (*ModifyAddressRequest) XXX_Merge

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

func (*ModifyAddressRequest) XXX_Size

func (m *ModifyAddressRequest) XXX_Size() int

func (*ModifyAddressRequest) XXX_Unmarshal

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

type ModifyAddressResponse

type ModifyAddressResponse struct {
	//address id
	AddressId            *wrappers.StringValue `protobuf:"bytes,1,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ModifyAddressResponse) Descriptor

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

func (*ModifyAddressResponse) GetAddressId

func (m *ModifyAddressResponse) GetAddressId() *wrappers.StringValue

func (*ModifyAddressResponse) ProtoMessage

func (*ModifyAddressResponse) ProtoMessage()

func (*ModifyAddressResponse) Reset

func (m *ModifyAddressResponse) Reset()

func (*ModifyAddressResponse) String

func (m *ModifyAddressResponse) String() string

func (*ModifyAddressResponse) XXX_DiscardUnknown

func (m *ModifyAddressResponse) XXX_DiscardUnknown()

func (*ModifyAddressResponse) XXX_Marshal

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

func (*ModifyAddressResponse) XXX_Merge

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

func (*ModifyAddressResponse) XXX_Size

func (m *ModifyAddressResponse) XXX_Size() int

func (*ModifyAddressResponse) XXX_Unmarshal

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

type Notification

type Notification struct {
	//notification id
	NotificationId *wrappers.StringValue `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	//notification content type, eg:[invite|verify|fee|business|alert|other|event]
	ContentType *wrappers.StringValue `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	//notification title
	Title *wrappers.StringValue `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	//notification content, json fmt, eg:{"html":"test_content_html", "normal":"test_content_normal"}
	Content *wrappers.StringValue `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	//notification short content
	ShortContent *wrappers.StringValue `protobuf:"bytes,5,opt,name=short_content,json=shortContent,proto3" json:"short_content,omitempty"`
	//notification expired days,  0 is for never expired.
	ExpiredDays *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=expired_days,json=expiredDays,proto3" json:"expired_days,omitempty"`
	//notification status, eg:[pending|sending|successful|failed]
	Status *wrappers.StringValue `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	//create time of the notification
	CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	//the status changed time of the notification
	StatusTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=status_time,json=statusTime,proto3" json:"status_time,omitempty"`
	//the owner of the notification
	Owner *wrappers.StringValue `protobuf:"bytes,10,opt,name=owner,proto3" json:"owner,omitempty"`
	//the address to send the notification, json fmt, currently support 2 kinds types.
	//1.key/value Type, key is the notification send Type,the value is the list of address, eg:{"email": ["openpitrix@163.com", "openpitrix@163.com"],"websocket": ["system", "jo"]}
	//2.Array Type, eg:["adl-xxxx1", "adl-xxxx2"], the item is the address list id which is already created in advance.
	AddressInfo *wrappers.StringValue `protobuf:"bytes,11,opt,name=address_info,json=addressInfo,proto3" json:"address_info,omitempty"`
	//the available start time to receive notification
	AvailableStartTime *wrappers.StringValue `protobuf:"bytes,12,opt,name=available_start_time,json=availableStartTime,proto3" json:"available_start_time,omitempty"`
	//the available end time to receive notification
	AvailableEndTime *wrappers.StringValue `protobuf:"bytes,13,opt,name=available_end_time,json=availableEndTime,proto3" json:"available_end_time,omitempty"`
	//extra info is only used for websocket notification,to show which websocket client could accept it.
	//eg:"{"ws_service": "ks","ws_message_type": "event"}"
	Extra                *wrappers.StringValue `protobuf:"bytes,14,opt,name=extra,proto3" json:"extra,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Notification) Descriptor

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

func (*Notification) GetAddressInfo

func (m *Notification) GetAddressInfo() *wrappers.StringValue

func (*Notification) GetAvailableEndTime

func (m *Notification) GetAvailableEndTime() *wrappers.StringValue

func (*Notification) GetAvailableStartTime

func (m *Notification) GetAvailableStartTime() *wrappers.StringValue

func (*Notification) GetContent

func (m *Notification) GetContent() *wrappers.StringValue

func (*Notification) GetContentType

func (m *Notification) GetContentType() *wrappers.StringValue

func (*Notification) GetCreateTime

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

func (*Notification) GetExpiredDays

func (m *Notification) GetExpiredDays() *wrappers.UInt32Value

func (*Notification) GetExtra

func (m *Notification) GetExtra() *wrappers.StringValue

func (*Notification) GetNotificationId

func (m *Notification) GetNotificationId() *wrappers.StringValue

func (*Notification) GetOwner

func (m *Notification) GetOwner() *wrappers.StringValue

func (*Notification) GetShortContent

func (m *Notification) GetShortContent() *wrappers.StringValue

func (*Notification) GetStatus

func (m *Notification) GetStatus() *wrappers.StringValue

func (*Notification) GetStatusTime

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

func (*Notification) GetTitle

func (m *Notification) GetTitle() *wrappers.StringValue

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) Reset

func (m *Notification) Reset()

func (*Notification) String

func (m *Notification) String() string

func (*Notification) XXX_DiscardUnknown

func (m *Notification) XXX_DiscardUnknown()

func (*Notification) XXX_Marshal

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

func (*Notification) XXX_Merge

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

func (*Notification) XXX_Size

func (m *Notification) XXX_Size() int

func (*Notification) XXX_Unmarshal

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

type NotificationClient

type NotificationClient interface {
	//Create notification
	CreateNotification(ctx context.Context, in *CreateNotificationRequest, opts ...grpc.CallOption) (*CreateNotificationResponse, error)
	//Describe notifications
	DescribeNotifications(ctx context.Context, in *DescribeNotificationsRequest, opts ...grpc.CallOption) (*DescribeNotificationsResponse, error)
	//Retry notifications
	RetryNotifications(ctx context.Context, in *RetryNotificationsRequest, opts ...grpc.CallOption) (*RetryNotificationsResponse, error)
	//Describe tasks
	DescribeTasks(ctx context.Context, in *DescribeTasksRequest, opts ...grpc.CallOption) (*DescribeTasksResponse, error)
	//Retry tasks
	RetryTasks(ctx context.Context, in *RetryTasksRequest, opts ...grpc.CallOption) (*RetryTasksResponse, error)
	//Create a recipient address
	CreateAddress(ctx context.Context, in *CreateAddressRequest, opts ...grpc.CallOption) (*CreateAddressResponse, error)
	//Query a list of addresses that meet the query criteria
	DescribeAddresses(ctx context.Context, in *DescribeAddressesRequest, opts ...grpc.CallOption) (*DescribeAddressesResponse, error)
	//Modify one address
	ModifyAddress(ctx context.Context, in *ModifyAddressRequest, opts ...grpc.CallOption) (*ModifyAddressResponse, error)
	//Delete a list of addresses
	DeleteAddresses(ctx context.Context, in *DeleteAddressesRequest, opts ...grpc.CallOption) (*DeleteAddressesResponse, error)
	//Create a list of addresses of the recipients.
	CreateAddressList(ctx context.Context, in *CreateAddressListRequest, opts ...grpc.CallOption) (*CreateAddressListResponse, error)
	//Query a list of address_lists that meet the query criteria
	DescribeAddressList(ctx context.Context, in *DescribeAddressListRequest, opts ...grpc.CallOption) (*DescribeAddressListResponse, error)
	//Modify one address list
	ModifyAddressList(ctx context.Context, in *ModifyAddressListRequest, opts ...grpc.CallOption) (*ModifyAddressListResponse, error)
	//Delete a list of addresslist
	DeleteAddressList(ctx context.Context, in *DeleteAddressListRequest, opts ...grpc.CallOption) (*DeleteAddressListResponse, error)
	//Set service configration
	SetServiceConfig(ctx context.Context, in *ServiceConfig, opts ...grpc.CallOption) (*SetServiceConfigResponse, error)
	//Get service configration
	GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*ServiceConfig, error)
	//Validate email service
	ValidateEmailService(ctx context.Context, in *ServiceConfig, opts ...grpc.CallOption) (*ValidateEmailServiceResponse, error)
	CreateNotificationChannel(ctx context.Context, in *StreamReqData, opts ...grpc.CallOption) (Notification_CreateNotificationChannelClient, error)
}

NotificationClient is the client API for Notification service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNotificationClient

func NewNotificationClient(cc *grpc.ClientConn) NotificationClient

type NotificationServer

type NotificationServer interface {
	//Create notification
	CreateNotification(context.Context, *CreateNotificationRequest) (*CreateNotificationResponse, error)
	//Describe notifications
	DescribeNotifications(context.Context, *DescribeNotificationsRequest) (*DescribeNotificationsResponse, error)
	//Retry notifications
	RetryNotifications(context.Context, *RetryNotificationsRequest) (*RetryNotificationsResponse, error)
	//Describe tasks
	DescribeTasks(context.Context, *DescribeTasksRequest) (*DescribeTasksResponse, error)
	//Retry tasks
	RetryTasks(context.Context, *RetryTasksRequest) (*RetryTasksResponse, error)
	//Create a recipient address
	CreateAddress(context.Context, *CreateAddressRequest) (*CreateAddressResponse, error)
	//Query a list of addresses that meet the query criteria
	DescribeAddresses(context.Context, *DescribeAddressesRequest) (*DescribeAddressesResponse, error)
	//Modify one address
	ModifyAddress(context.Context, *ModifyAddressRequest) (*ModifyAddressResponse, error)
	//Delete a list of addresses
	DeleteAddresses(context.Context, *DeleteAddressesRequest) (*DeleteAddressesResponse, error)
	//Create a list of addresses of the recipients.
	CreateAddressList(context.Context, *CreateAddressListRequest) (*CreateAddressListResponse, error)
	//Query a list of address_lists that meet the query criteria
	DescribeAddressList(context.Context, *DescribeAddressListRequest) (*DescribeAddressListResponse, error)
	//Modify one address list
	ModifyAddressList(context.Context, *ModifyAddressListRequest) (*ModifyAddressListResponse, error)
	//Delete a list of addresslist
	DeleteAddressList(context.Context, *DeleteAddressListRequest) (*DeleteAddressListResponse, error)
	//Set service configration
	SetServiceConfig(context.Context, *ServiceConfig) (*SetServiceConfigResponse, error)
	//Get service configration
	GetServiceConfig(context.Context, *GetServiceConfigRequest) (*ServiceConfig, error)
	//Validate email service
	ValidateEmailService(context.Context, *ServiceConfig) (*ValidateEmailServiceResponse, error)
	CreateNotificationChannel(*StreamReqData, Notification_CreateNotificationChannelServer) error
}

NotificationServer is the server API for Notification service.

type Notification_CreateNotificationChannelClient

type Notification_CreateNotificationChannelClient interface {
	Recv() (*StreamRespData, error)
	grpc.ClientStream
}

type Notification_CreateNotificationChannelServer

type Notification_CreateNotificationChannelServer interface {
	Send(*StreamRespData) error
	grpc.ServerStream
}

type RetryNotificationsRequest

type RetryNotificationsRequest struct {
	//required, notification ids to retry
	NotificationId       []string `protobuf:"bytes,1,rep,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RetryNotificationsRequest) Descriptor

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

func (*RetryNotificationsRequest) GetNotificationId

func (m *RetryNotificationsRequest) GetNotificationId() []string

func (*RetryNotificationsRequest) ProtoMessage

func (*RetryNotificationsRequest) ProtoMessage()

func (*RetryNotificationsRequest) Reset

func (m *RetryNotificationsRequest) Reset()

func (*RetryNotificationsRequest) String

func (m *RetryNotificationsRequest) String() string

func (*RetryNotificationsRequest) XXX_DiscardUnknown

func (m *RetryNotificationsRequest) XXX_DiscardUnknown()

func (*RetryNotificationsRequest) XXX_Marshal

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

func (*RetryNotificationsRequest) XXX_Merge

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

func (*RetryNotificationsRequest) XXX_Size

func (m *RetryNotificationsRequest) XXX_Size() int

func (*RetryNotificationsRequest) XXX_Unmarshal

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

type RetryNotificationsResponse

type RetryNotificationsResponse struct {
	//notifications retried
	NotificationSet      []*Notification `protobuf:"bytes,1,rep,name=notification_set,json=notificationSet,proto3" json:"notification_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*RetryNotificationsResponse) Descriptor

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

func (*RetryNotificationsResponse) GetNotificationSet

func (m *RetryNotificationsResponse) GetNotificationSet() []*Notification

func (*RetryNotificationsResponse) ProtoMessage

func (*RetryNotificationsResponse) ProtoMessage()

func (*RetryNotificationsResponse) Reset

func (m *RetryNotificationsResponse) Reset()

func (*RetryNotificationsResponse) String

func (m *RetryNotificationsResponse) String() string

func (*RetryNotificationsResponse) XXX_DiscardUnknown

func (m *RetryNotificationsResponse) XXX_DiscardUnknown()

func (*RetryNotificationsResponse) XXX_Marshal

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

func (*RetryNotificationsResponse) XXX_Merge

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

func (*RetryNotificationsResponse) XXX_Size

func (m *RetryNotificationsResponse) XXX_Size() int

func (*RetryNotificationsResponse) XXX_Unmarshal

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

type RetryTasksRequest

type RetryTasksRequest struct {
	//required, task ids to retry
	TaskId               []string `protobuf:"bytes,1,rep,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RetryTasksRequest) Descriptor

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

func (*RetryTasksRequest) GetTaskId

func (m *RetryTasksRequest) GetTaskId() []string

func (*RetryTasksRequest) ProtoMessage

func (*RetryTasksRequest) ProtoMessage()

func (*RetryTasksRequest) Reset

func (m *RetryTasksRequest) Reset()

func (*RetryTasksRequest) String

func (m *RetryTasksRequest) String() string

func (*RetryTasksRequest) XXX_DiscardUnknown

func (m *RetryTasksRequest) XXX_DiscardUnknown()

func (*RetryTasksRequest) XXX_Marshal

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

func (*RetryTasksRequest) XXX_Merge

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

func (*RetryTasksRequest) XXX_Size

func (m *RetryTasksRequest) XXX_Size() int

func (*RetryTasksRequest) XXX_Unmarshal

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

type RetryTasksResponse

type RetryTasksResponse struct {
	//tasks retried
	TaskSet              []*Task  `protobuf:"bytes,1,rep,name=task_set,json=taskSet,proto3" json:"task_set,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RetryTasksResponse) Descriptor

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

func (*RetryTasksResponse) GetTaskSet

func (m *RetryTasksResponse) GetTaskSet() []*Task

func (*RetryTasksResponse) ProtoMessage

func (*RetryTasksResponse) ProtoMessage()

func (*RetryTasksResponse) Reset

func (m *RetryTasksResponse) Reset()

func (*RetryTasksResponse) String

func (m *RetryTasksResponse) String() string

func (*RetryTasksResponse) XXX_DiscardUnknown

func (m *RetryTasksResponse) XXX_DiscardUnknown()

func (*RetryTasksResponse) XXX_Marshal

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

func (*RetryTasksResponse) XXX_Merge

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

func (*RetryTasksResponse) XXX_Size

func (m *RetryTasksResponse) XXX_Size() int

func (*RetryTasksResponse) XXX_Unmarshal

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

type ServiceConfig

type ServiceConfig struct {
	//email service config information
	EmailServiceConfig   *EmailServiceConfig `protobuf:"bytes,1,opt,name=email_service_config,json=emailServiceConfig,proto3" json:"email_service_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ServiceConfig) Descriptor

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

func (*ServiceConfig) GetEmailServiceConfig

func (m *ServiceConfig) GetEmailServiceConfig() *EmailServiceConfig

func (*ServiceConfig) ProtoMessage

func (*ServiceConfig) ProtoMessage()

func (*ServiceConfig) Reset

func (m *ServiceConfig) Reset()

func (*ServiceConfig) String

func (m *ServiceConfig) String() string

func (*ServiceConfig) XXX_DiscardUnknown

func (m *ServiceConfig) XXX_DiscardUnknown()

func (*ServiceConfig) XXX_Marshal

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

func (*ServiceConfig) XXX_Merge

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

func (*ServiceConfig) XXX_Size

func (m *ServiceConfig) XXX_Size() int

func (*ServiceConfig) XXX_Unmarshal

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

type SetServiceConfigResponse

type SetServiceConfigResponse struct {
	//set service config successfully or not
	IsSucc               *wrappers.BoolValue `protobuf:"bytes,1,opt,name=is_succ,json=isSucc,proto3" json:"is_succ,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*SetServiceConfigResponse) Descriptor

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

func (*SetServiceConfigResponse) GetIsSucc

func (*SetServiceConfigResponse) ProtoMessage

func (*SetServiceConfigResponse) ProtoMessage()

func (*SetServiceConfigResponse) Reset

func (m *SetServiceConfigResponse) Reset()

func (*SetServiceConfigResponse) String

func (m *SetServiceConfigResponse) String() string

func (*SetServiceConfigResponse) XXX_DiscardUnknown

func (m *SetServiceConfigResponse) XXX_DiscardUnknown()

func (*SetServiceConfigResponse) XXX_Marshal

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

func (*SetServiceConfigResponse) XXX_Merge

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

func (*SetServiceConfigResponse) XXX_Size

func (m *SetServiceConfigResponse) XXX_Size() int

func (*SetServiceConfigResponse) XXX_Unmarshal

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

type StreamReqData

type StreamReqData struct {
	Service              *wrappers.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*StreamReqData) Descriptor

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

func (*StreamReqData) GetService

func (m *StreamReqData) GetService() *wrappers.StringValue

func (*StreamReqData) ProtoMessage

func (*StreamReqData) ProtoMessage()

func (*StreamReqData) Reset

func (m *StreamReqData) Reset()

func (*StreamReqData) String

func (m *StreamReqData) String() string

func (*StreamReqData) XXX_DiscardUnknown

func (m *StreamReqData) XXX_DiscardUnknown()

func (*StreamReqData) XXX_Marshal

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

func (*StreamReqData) XXX_Merge

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

func (*StreamReqData) XXX_Size

func (m *StreamReqData) XXX_Size() int

func (*StreamReqData) XXX_Unmarshal

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

type StreamRespData

type StreamRespData struct {
	UserMsg              *UserMessage `protobuf:"bytes,1,opt,name=user_msg,json=userMsg,proto3" json:"user_msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*StreamRespData) Descriptor

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

func (*StreamRespData) GetUserMsg

func (m *StreamRespData) GetUserMsg() *UserMessage

func (*StreamRespData) ProtoMessage

func (*StreamRespData) ProtoMessage()

func (*StreamRespData) Reset

func (m *StreamRespData) Reset()

func (*StreamRespData) String

func (m *StreamRespData) String() string

func (*StreamRespData) XXX_DiscardUnknown

func (m *StreamRespData) XXX_DiscardUnknown()

func (*StreamRespData) XXX_Marshal

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

func (*StreamRespData) XXX_Merge

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

func (*StreamRespData) XXX_Size

func (m *StreamRespData) XXX_Size() int

func (*StreamRespData) XXX_Unmarshal

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

type Task

type Task struct {
	//task id
	TaskId *wrappers.StringValue `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	//the notification id of the task, one notification may send out by serval tasks
	NotificationId *wrappers.StringValue `protobuf:"bytes,2,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
	//error code, if task run failed will return a error code
	ErrorCode *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	//the task execution status, eg:[pending|sending|successful|failed]
	Status *wrappers.StringValue `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	//create time of the task
	CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	//the status changed time of the notification
	StatusTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=status_time,json=statusTime,proto3" json:"status_time,omitempty"`
	//the details of notification, json format,
	//eg:{"Title": "Title_test.", "Address": "openpitrix@163.com", "Content": "{\"html\":\"test_content_html\",  \"normal\":\"test_content_normal\"}", "NotifyType": "email", "ContentType": "other", "ExpiredDays": 0, "ShortContent": "ShortContent_test", "NotificationId": "nf-zZq6G4A7v9YK", "AvailableEndTime": "", "AvailableStartTime": ""}
	Directive            *wrappers.StringValue `protobuf:"bytes,7,opt,name=directive,proto3" json:"directive,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Task) Descriptor

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

func (*Task) GetCreateTime

func (m *Task) GetCreateTime() *timestamp.Timestamp

func (*Task) GetDirective

func (m *Task) GetDirective() *wrappers.StringValue

func (*Task) GetErrorCode

func (m *Task) GetErrorCode() *wrappers.UInt32Value

func (*Task) GetNotificationId

func (m *Task) GetNotificationId() *wrappers.StringValue

func (*Task) GetStatus

func (m *Task) GetStatus() *wrappers.StringValue

func (*Task) GetStatusTime

func (m *Task) GetStatusTime() *timestamp.Timestamp

func (*Task) GetTaskId

func (m *Task) GetTaskId() *wrappers.StringValue

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) Reset

func (m *Task) Reset()

func (*Task) String

func (m *Task) String() string

func (*Task) XXX_DiscardUnknown

func (m *Task) XXX_DiscardUnknown()

func (*Task) XXX_Marshal

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

func (*Task) XXX_Merge

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

func (*Task) XXX_Size

func (m *Task) XXX_Size() int

func (*Task) XXX_Unmarshal

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

type UnimplementedNotificationServer

type UnimplementedNotificationServer struct {
}

UnimplementedNotificationServer can be embedded to have forward compatible implementations.

func (*UnimplementedNotificationServer) CreateAddress

func (*UnimplementedNotificationServer) CreateAddressList

func (*UnimplementedNotificationServer) CreateNotification

func (*UnimplementedNotificationServer) CreateNotificationChannel

func (*UnimplementedNotificationServer) DeleteAddressList

func (*UnimplementedNotificationServer) DeleteAddresses

func (*UnimplementedNotificationServer) DescribeAddressList

func (*UnimplementedNotificationServer) DescribeAddresses

func (*UnimplementedNotificationServer) DescribeNotifications

func (*UnimplementedNotificationServer) DescribeTasks

func (*UnimplementedNotificationServer) GetServiceConfig

func (*UnimplementedNotificationServer) ModifyAddress

func (*UnimplementedNotificationServer) ModifyAddressList

func (*UnimplementedNotificationServer) RetryNotifications

func (*UnimplementedNotificationServer) RetryTasks

func (*UnimplementedNotificationServer) SetServiceConfig

func (*UnimplementedNotificationServer) ValidateEmailService

type UserMessage

type UserMessage struct {
	UserId               *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Service              *wrappers.StringValue `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	MessageType          *wrappers.StringValue `protobuf:"bytes,3,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
	MsgDetail            *MessageDetail        `protobuf:"bytes,4,opt,name=msg_detail,json=msgDetail,proto3" json:"msg_detail,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*UserMessage) Descriptor

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

func (*UserMessage) GetMessageType

func (m *UserMessage) GetMessageType() *wrappers.StringValue

func (*UserMessage) GetMsgDetail

func (m *UserMessage) GetMsgDetail() *MessageDetail

func (*UserMessage) GetService

func (m *UserMessage) GetService() *wrappers.StringValue

func (*UserMessage) GetUserId

func (m *UserMessage) GetUserId() *wrappers.StringValue

func (*UserMessage) ProtoMessage

func (*UserMessage) ProtoMessage()

func (*UserMessage) Reset

func (m *UserMessage) Reset()

func (*UserMessage) String

func (m *UserMessage) String() string

func (*UserMessage) XXX_DiscardUnknown

func (m *UserMessage) XXX_DiscardUnknown()

func (*UserMessage) XXX_Marshal

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

func (*UserMessage) XXX_Merge

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

func (*UserMessage) XXX_Size

func (m *UserMessage) XXX_Size() int

func (*UserMessage) XXX_Unmarshal

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

type ValidateEmailServiceResponse

type ValidateEmailServiceResponse struct {
	//validate service config ok or not
	IsSucc               *wrappers.BoolValue `protobuf:"bytes,1,opt,name=is_succ,json=isSucc,proto3" json:"is_succ,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ValidateEmailServiceResponse) Descriptor

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

func (*ValidateEmailServiceResponse) GetIsSucc

func (*ValidateEmailServiceResponse) ProtoMessage

func (*ValidateEmailServiceResponse) ProtoMessage()

func (*ValidateEmailServiceResponse) Reset

func (m *ValidateEmailServiceResponse) Reset()

func (*ValidateEmailServiceResponse) String

func (*ValidateEmailServiceResponse) XXX_DiscardUnknown

func (m *ValidateEmailServiceResponse) XXX_DiscardUnknown()

func (*ValidateEmailServiceResponse) XXX_Marshal

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

func (*ValidateEmailServiceResponse) XXX_Merge

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

func (*ValidateEmailServiceResponse) XXX_Size

func (m *ValidateEmailServiceResponse) XXX_Size() int

func (*ValidateEmailServiceResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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