hunt_groupsv1alpha1

package
v1.8.12 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HuntGroupsService_ListHuntGroupExileLinks_FullMethodName = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/ListHuntGroupExileLinks"
)

Variables

View Source
var File_services_org_hunt_groups_v1alpha1_entities_proto protoreflect.FileDescriptor
View Source
var File_services_org_hunt_groups_v1alpha1_service_proto protoreflect.FileDescriptor
View Source
var HuntGroupsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.org.hunt_groups.v1alpha1.HuntGroupsService",
	HandlerType: (*HuntGroupsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListHuntGroupExileLinks",
			Handler:    _HuntGroupsService_ListHuntGroupExileLinks_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/org/hunt_groups/v1alpha1/service.proto",
}

HuntGroupsService_ServiceDesc is the grpc.ServiceDesc for HuntGroupsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHuntGroupsServiceServer

func RegisterHuntGroupsServiceServer(s grpc.ServiceRegistrar, srv HuntGroupsServiceServer)

Types

type ExileLink struct {

	// The sid or the unique ID of the exile link stored in the database.
	ParameterSid int64 `protobuf:"varint,1,opt,name=parameter_sid,json=parameterSid,proto3" json:"parameter_sid,omitempty"`
	// The sid of the hunt group which the exile link is associated with.
	HuntGroupSid int64 `protobuf:"varint,2,opt,name=hunt_group_sid,json=huntGroupSid,proto3" json:"hunt_group_sid,omitempty"`
	// The display name of the exile link.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the exile link.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The order of the exile link, used when displaying.
	Order int64 `protobuf:"varint,5,opt,name=order,proto3" json:"order,omitempty"`
	// The parameter data for inbound calls.
	InboundData *ExileLinkData `protobuf:"bytes,6,opt,name=inbound_data,json=inboundData,proto3" json:"inbound_data,omitempty"`
	// The parameter data for outbound calls.
	OutboundData *ExileLinkData `protobuf:"bytes,7,opt,name=outbound_data,json=outboundData,proto3" json:"outbound_data,omitempty"`
	// contains filtered or unexported fields
}

ExileLink defines a link between a hunt group and the exile service.

func (*ExileLink) Descriptor deprecated

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

Deprecated: Use ExileLink.ProtoReflect.Descriptor instead.

func (*ExileLink) GetDescription

func (x *ExileLink) GetDescription() string

func (*ExileLink) GetHuntGroupSid

func (x *ExileLink) GetHuntGroupSid() int64

func (*ExileLink) GetInboundData

func (x *ExileLink) GetInboundData() *ExileLinkData

func (*ExileLink) GetName

func (x *ExileLink) GetName() string

func (*ExileLink) GetOrder

func (x *ExileLink) GetOrder() int64

func (*ExileLink) GetOutboundData

func (x *ExileLink) GetOutboundData() *ExileLinkData

func (*ExileLink) GetParameterSid

func (x *ExileLink) GetParameterSid() int64

func (*ExileLink) ProtoMessage

func (*ExileLink) ProtoMessage()

func (*ExileLink) ProtoReflect

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

func (*ExileLink) Reset

func (x *ExileLink) Reset()

func (*ExileLink) String

func (x *ExileLink) String() string

type ExileLinkData

type ExileLinkData struct {
	RecordId    *ExileLinkParameter `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"`
	AlternateId *ExileLinkParameter `protobuf:"bytes,2,opt,name=alternate_id,json=alternateId,proto3" json:"alternate_id,omitempty"`
	// contains filtered or unexported fields
}

ExileLinkData to be passed to exile.

func (*ExileLinkData) Descriptor deprecated

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

Deprecated: Use ExileLinkData.ProtoReflect.Descriptor instead.

func (*ExileLinkData) GetAlternateId

func (x *ExileLinkData) GetAlternateId() *ExileLinkParameter

func (*ExileLinkData) GetRecordId

func (x *ExileLinkData) GetRecordId() *ExileLinkParameter

func (*ExileLinkData) ProtoMessage

func (*ExileLinkData) ProtoMessage()

func (*ExileLinkData) ProtoReflect

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

func (*ExileLinkData) Reset

func (x *ExileLinkData) Reset()

func (*ExileLinkData) String

func (x *ExileLinkData) String() string

type ExileLinkParameter

type ExileLinkParameter struct {

	// The ID for the contact field.
	ContactFieldSid int64 `protobuf:"varint,1,opt,name=contact_field_sid,json=contactFieldSid,proto3" json:"contact_field_sid,omitempty"`
	// The helper value of the parameter.
	HelperValue string `protobuf:"bytes,2,opt,name=helper_value,json=helperValue,proto3" json:"helper_value,omitempty"`
	// The source type of the parameter.
	ParameterSourceType org.ParameterSourceType `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

ExileLinkParameter describes the data or data source.

func (*ExileLinkParameter) Descriptor deprecated

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

Deprecated: Use ExileLinkParameter.ProtoReflect.Descriptor instead.

func (*ExileLinkParameter) GetContactFieldSid

func (x *ExileLinkParameter) GetContactFieldSid() int64

func (*ExileLinkParameter) GetHelperValue

func (x *ExileLinkParameter) GetHelperValue() string

func (*ExileLinkParameter) GetParameterSourceType

func (x *ExileLinkParameter) GetParameterSourceType() org.ParameterSourceType

func (*ExileLinkParameter) ProtoMessage

func (*ExileLinkParameter) ProtoMessage()

func (*ExileLinkParameter) ProtoReflect

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

func (*ExileLinkParameter) Reset

func (x *ExileLinkParameter) Reset()

func (*ExileLinkParameter) String

func (x *ExileLinkParameter) String() string

type HuntGroupsServiceClient

type HuntGroupsServiceClient interface {
	ListHuntGroupExileLinks(ctx context.Context, in *ListHuntGroupExileLinksRequest, opts ...grpc.CallOption) (*ListHuntGroupExileLinksResponse, error)
}

HuntGroupsServiceClient is the client API for HuntGroupsService service.

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

HuntGroupsService

type HuntGroupsServiceServer

type HuntGroupsServiceServer interface {
	ListHuntGroupExileLinks(context.Context, *ListHuntGroupExileLinksRequest) (*ListHuntGroupExileLinksResponse, error)
	// contains filtered or unexported methods
}

HuntGroupsServiceServer is the server API for HuntGroupsService service. All implementations must embed UnimplementedHuntGroupsServiceServer for forward compatibility

HuntGroupsService

type ListHuntGroupExileLinksRequest

type ListHuntGroupExileLinksRequest struct {

	// The hunt group sid of the desired exile links
	HuntGroupSid int64 `protobuf:"varint,1,opt,name=hunt_group_sid,json=huntGroupSid,proto3" json:"hunt_group_sid,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHuntGroupExileLinksRequest) Descriptor deprecated

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

Deprecated: Use ListHuntGroupExileLinksRequest.ProtoReflect.Descriptor instead.

func (*ListHuntGroupExileLinksRequest) GetHuntGroupSid

func (x *ListHuntGroupExileLinksRequest) GetHuntGroupSid() int64

func (*ListHuntGroupExileLinksRequest) ProtoMessage

func (*ListHuntGroupExileLinksRequest) ProtoMessage()

func (*ListHuntGroupExileLinksRequest) ProtoReflect

func (*ListHuntGroupExileLinksRequest) Reset

func (x *ListHuntGroupExileLinksRequest) Reset()

func (*ListHuntGroupExileLinksRequest) String

type ListHuntGroupExileLinksResponse

type ListHuntGroupExileLinksResponse struct {

	// The links for exile
	ExileLinks []*ExileLink `protobuf:"bytes,1,rep,name=exile_links,json=exileLinks,proto3" json:"exile_links,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHuntGroupExileLinksResponse) Descriptor deprecated

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

Deprecated: Use ListHuntGroupExileLinksResponse.ProtoReflect.Descriptor instead.

func (x *ListHuntGroupExileLinksResponse) GetExileLinks() []*ExileLink

func (*ListHuntGroupExileLinksResponse) ProtoMessage

func (*ListHuntGroupExileLinksResponse) ProtoMessage()

func (*ListHuntGroupExileLinksResponse) ProtoReflect

func (*ListHuntGroupExileLinksResponse) Reset

func (*ListHuntGroupExileLinksResponse) String

type UnimplementedHuntGroupsServiceServer

type UnimplementedHuntGroupsServiceServer struct {
}

UnimplementedHuntGroupsServiceServer must be embedded to have forward compatible implementations.

type UnsafeHuntGroupsServiceServer

type UnsafeHuntGroupsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeHuntGroupsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HuntGroupsServiceServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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