space

package
v0.0.0-...-a89d59e Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var Space_CreateAt_DEFAULT int64
View Source
var Space_EnterpriseID_DEFAULT string
View Source
var Space_OrganizationID_DEFAULT string
View Source
var Space_UpdateAt_DEFAULT int64

Functions

This section is empty.

Types

type Space

type Space struct {
	// 空间ID
	ID int64 `thrift:"id,1" frugal:"1,default,i64" json:"id" form:"id" query:"id"`
	// 空间名称
	Name string `thrift:"name,2" frugal:"2,default,string" form:"name" json:"name" query:"name"`
	// 空间描述
	Description string `thrift:"description,3" frugal:"3,default,string" form:"description" json:"description" query:"description"`
	// 空间类型
	SpaceType SpaceType `thrift:"space_type,4" frugal:"4,default,SpaceType" form:"space_type" json:"space_type" query:"space_type"`
	// 空间所有者
	OwnerUserID string `thrift:"owner_user_id,5" frugal:"5,default,string" form:"owner_user_id" json:"owner_user_id" query:"owner_user_id"`
	// 创建时间
	CreateAt *int64 `thrift:"create_at,6,optional" frugal:"6,optional,i64" json:"create_at" form:"create_at" query:"create_at"`
	// 更新时间
	UpdateAt *int64 `thrift:"update_at,7,optional" frugal:"7,optional,i64" json:"update_at" form:"update_at" query:"update_at"`
	/* 8-10 保留位 */
	EnterpriseID *string `` /* 136-byte string literal not displayed */
	// 组织ID
	OrganizationID *string `` /* 144-byte string literal not displayed */
}

空间

func NewSpace

func NewSpace() *Space

func (*Space) BLength

func (p *Space) BLength() int

func (*Space) DeepCopy

func (p *Space) DeepCopy(s interface{}) error

func (*Space) DeepEqual

func (p *Space) DeepEqual(ano *Space) bool

func (*Space) FastRead

func (p *Space) FastRead(buf []byte) (int, error)

func (*Space) FastReadField1

func (p *Space) FastReadField1(buf []byte) (int, error)

func (*Space) FastReadField15

func (p *Space) FastReadField15(buf []byte) (int, error)

func (*Space) FastReadField16

func (p *Space) FastReadField16(buf []byte) (int, error)

func (*Space) FastReadField2

func (p *Space) FastReadField2(buf []byte) (int, error)

func (*Space) FastReadField3

func (p *Space) FastReadField3(buf []byte) (int, error)

func (*Space) FastReadField4

func (p *Space) FastReadField4(buf []byte) (int, error)

func (*Space) FastReadField5

func (p *Space) FastReadField5(buf []byte) (int, error)

func (*Space) FastReadField6

func (p *Space) FastReadField6(buf []byte) (int, error)

func (*Space) FastReadField7

func (p *Space) FastReadField7(buf []byte) (int, error)

func (*Space) FastWrite

func (p *Space) FastWrite(buf []byte) int

func (*Space) FastWriteNocopy

func (p *Space) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int

func (*Space) Field15DeepEqual

func (p *Space) Field15DeepEqual(src *string) bool

func (*Space) Field16DeepEqual

func (p *Space) Field16DeepEqual(src *string) bool

func (*Space) Field1DeepEqual

func (p *Space) Field1DeepEqual(src int64) bool

func (*Space) Field2DeepEqual

func (p *Space) Field2DeepEqual(src string) bool

func (*Space) Field3DeepEqual

func (p *Space) Field3DeepEqual(src string) bool

func (*Space) Field4DeepEqual

func (p *Space) Field4DeepEqual(src SpaceType) bool

func (*Space) Field5DeepEqual

func (p *Space) Field5DeepEqual(src string) bool

func (*Space) Field6DeepEqual

func (p *Space) Field6DeepEqual(src *int64) bool

func (*Space) Field7DeepEqual

func (p *Space) Field7DeepEqual(src *int64) bool

func (*Space) GetCreateAt

func (p *Space) GetCreateAt() (v int64)

func (*Space) GetDescription

func (p *Space) GetDescription() (v string)

func (*Space) GetEnterpriseID

func (p *Space) GetEnterpriseID() (v string)

func (*Space) GetID

func (p *Space) GetID() (v int64)

func (*Space) GetName

func (p *Space) GetName() (v string)

func (*Space) GetOrganizationID

func (p *Space) GetOrganizationID() (v string)

func (*Space) GetOwnerUserID

func (p *Space) GetOwnerUserID() (v string)

func (*Space) GetSpaceType

func (p *Space) GetSpaceType() (v SpaceType)

func (*Space) GetUpdateAt

func (p *Space) GetUpdateAt() (v int64)

func (*Space) InitDefault

func (p *Space) InitDefault()

func (*Space) IsSetCreateAt

func (p *Space) IsSetCreateAt() bool

func (*Space) IsSetEnterpriseID

func (p *Space) IsSetEnterpriseID() bool

func (*Space) IsSetOrganizationID

func (p *Space) IsSetOrganizationID() bool

func (*Space) IsSetUpdateAt

func (p *Space) IsSetUpdateAt() bool

func (*Space) IsValid

func (p *Space) IsValid() error

func (*Space) Read

func (p *Space) Read(iprot thrift.TProtocol) (err error)

func (*Space) ReadField1

func (p *Space) ReadField1(iprot thrift.TProtocol) error

func (*Space) ReadField15

func (p *Space) ReadField15(iprot thrift.TProtocol) error

func (*Space) ReadField16

func (p *Space) ReadField16(iprot thrift.TProtocol) error

func (*Space) ReadField2

func (p *Space) ReadField2(iprot thrift.TProtocol) error

func (*Space) ReadField3

func (p *Space) ReadField3(iprot thrift.TProtocol) error

func (*Space) ReadField4

func (p *Space) ReadField4(iprot thrift.TProtocol) error

func (*Space) ReadField5

func (p *Space) ReadField5(iprot thrift.TProtocol) error

func (*Space) ReadField6

func (p *Space) ReadField6(iprot thrift.TProtocol) error

func (*Space) ReadField7

func (p *Space) ReadField7(iprot thrift.TProtocol) error

func (*Space) SetCreateAt

func (p *Space) SetCreateAt(val *int64)

func (*Space) SetDescription

func (p *Space) SetDescription(val string)

func (*Space) SetEnterpriseID

func (p *Space) SetEnterpriseID(val *string)

func (*Space) SetID

func (p *Space) SetID(val int64)

func (*Space) SetName

func (p *Space) SetName(val string)

func (*Space) SetOrganizationID

func (p *Space) SetOrganizationID(val *string)

func (*Space) SetOwnerUserID

func (p *Space) SetOwnerUserID(val string)

func (*Space) SetSpaceType

func (p *Space) SetSpaceType(val SpaceType)

func (*Space) SetUpdateAt

func (p *Space) SetUpdateAt(val *int64)

func (*Space) String

func (p *Space) String() string

func (*Space) Write

func (p *Space) Write(oprot thrift.TProtocol) (err error)

type SpaceType

type SpaceType int64

空间类型

const (
	SpaceType_Undefined SpaceType = 0
	// 个人空间
	SpaceType_Personal SpaceType = 1
	// 团队空间
	SpaceType_Team SpaceType = 2
	// 官方空间
	SpaceType_Official SpaceType = 3
)

func SpaceTypeFromString

func SpaceTypeFromString(s string) (SpaceType, error)

func SpaceTypePtr

func SpaceTypePtr(v SpaceType) *SpaceType

func (*SpaceType) Scan

func (p *SpaceType) Scan(value interface{}) (err error)

func (SpaceType) String

func (p SpaceType) String() string

func (*SpaceType) Value

func (p *SpaceType) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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