groupv1

package
v0.38.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_determined_group_v1_group_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Group

type Group struct {

	// The id of the group being detailed
	GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The name of the group
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Group contains information about a specific Group

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetGroupId

func (x *Group) GetGroupId() int32

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type GroupDetails

type GroupDetails struct {

	// The id of the group being detailed
	GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The name of the group
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The members of the group
	Users []*userv1.User `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

GroupDetails contains detailed information about a specific Group including which users belong to the group.

func (*GroupDetails) Descriptor deprecated

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

Deprecated: Use GroupDetails.ProtoReflect.Descriptor instead.

func (*GroupDetails) GetGroupId

func (x *GroupDetails) GetGroupId() int32

func (*GroupDetails) GetName

func (x *GroupDetails) GetName() string

func (*GroupDetails) GetUsers

func (x *GroupDetails) GetUsers() []*userv1.User

func (*GroupDetails) ProtoMessage

func (*GroupDetails) ProtoMessage()

func (*GroupDetails) ProtoReflect

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

func (*GroupDetails) Reset

func (x *GroupDetails) Reset()

func (*GroupDetails) String

func (x *GroupDetails) String() string

type GroupSearchResult

type GroupSearchResult struct {

	// A group matching the search criteria
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// The number of users that are in this group
	NumMembers int32 `protobuf:"varint,2,opt,name=num_members,json=numMembers,proto3" json:"num_members,omitempty"`
	// contains filtered or unexported fields
}

GroupSearchResult is the representation of groups as they're returned by the search endpoint.

func (*GroupSearchResult) Descriptor deprecated

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

Deprecated: Use GroupSearchResult.ProtoReflect.Descriptor instead.

func (*GroupSearchResult) GetGroup

func (x *GroupSearchResult) GetGroup() *Group

func (*GroupSearchResult) GetNumMembers

func (x *GroupSearchResult) GetNumMembers() int32

func (*GroupSearchResult) ProtoMessage

func (*GroupSearchResult) ProtoMessage()

func (*GroupSearchResult) ProtoReflect

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

func (*GroupSearchResult) Reset

func (x *GroupSearchResult) Reset()

func (*GroupSearchResult) String

func (x *GroupSearchResult) String() string

Jump to

Keyboard shortcuts

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