blocklistmodel

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_model_v1_blocklist_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Item

type Item struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Jid      string `protobuf:"bytes,2,opt,name=jid,proto3" json:"jid,omitempty"`
	// contains filtered or unexported fields
}

Item represents block list item entity.

func (*Item) Descriptor deprecated added in v0.56.0

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetJid added in v0.56.0

func (x *Item) GetJid() string

func (*Item) GetUsername added in v0.56.0

func (x *Item) GetUsername() string

func (*Item) MarshalBinary added in v0.58.0

func (x *Item) MarshalBinary() (data []byte, err error)

MarshalBinary satisfies encoding.BinaryMarshaler interface.

func (*Item) ProtoMessage added in v0.56.0

func (*Item) ProtoMessage()

func (*Item) ProtoReflect added in v0.56.0

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

func (*Item) Reset added in v0.56.0

func (x *Item) Reset()

func (*Item) String added in v0.56.0

func (x *Item) String() string

func (*Item) UnmarshalBinary added in v0.58.0

func (x *Item) UnmarshalBinary(data []byte) error

UnmarshalBinary satisfies encoding.BinaryUnmarshaler interface.

type Items added in v0.57.0

type Items struct {
	Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Items represent a set of block list items.

func (*Items) Descriptor deprecated added in v0.57.0

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

Deprecated: Use Items.ProtoReflect.Descriptor instead.

func (*Items) GetItems added in v0.57.0

func (x *Items) GetItems() []*Item

func (*Items) MarshalBinary added in v0.58.0

func (x *Items) MarshalBinary() (data []byte, err error)

MarshalBinary satisfies encoding.BinaryMarshaler interface.

func (*Items) ProtoMessage added in v0.57.0

func (*Items) ProtoMessage()

func (*Items) ProtoReflect added in v0.57.0

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

func (*Items) Reset added in v0.57.0

func (x *Items) Reset()

func (*Items) String added in v0.57.0

func (x *Items) String() string

func (*Items) UnmarshalBinary added in v0.58.0

func (x *Items) UnmarshalBinary(data []byte) error

UnmarshalBinary satisfies encoding.BinaryUnmarshaler interface.

Jump to

Keyboard shortcuts

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