organization

package
v3.18.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_strmprivacy_api_organization_v1_organization_v1_proto protoreflect.FileDescriptor
View Source
var OrganizationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "strmprivacy.api.organization.v1.OrganizationService",
	HandlerType: (*OrganizationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InviteUsers",
			Handler:    _OrganizationService_InviteUsers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "strmprivacy/api/organization/v1/organization_v1.proto",
}

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

Functions

func RegisterOrganizationServiceServer

func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)

Types

type InviteUsersRequest

type InviteUsersRequest struct {
	UserInvites []*UserInvite `protobuf:"bytes,1,rep,name=user_invites,json=userInvites,proto3" json:"user_invites,omitempty"`
	// This parameter is filled in by the management-api gateway from the identity of the caller.
	// It must be empty when a call is made to the management-api.
	OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InviteUsersRequest) Descriptor deprecated

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

Deprecated: Use InviteUsersRequest.ProtoReflect.Descriptor instead.

func (*InviteUsersRequest) GetOrganizationId

func (x *InviteUsersRequest) GetOrganizationId() string

func (*InviteUsersRequest) GetUserInvites

func (x *InviteUsersRequest) GetUserInvites() []*UserInvite

func (*InviteUsersRequest) ProtoMessage

func (*InviteUsersRequest) ProtoMessage()

func (*InviteUsersRequest) ProtoReflect

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

func (*InviteUsersRequest) Reset

func (x *InviteUsersRequest) Reset()

func (*InviteUsersRequest) String

func (x *InviteUsersRequest) String() string

type InviteUsersResponse

type InviteUsersResponse struct {
	// contains filtered or unexported fields
}

func (*InviteUsersResponse) Descriptor deprecated

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

Deprecated: Use InviteUsersResponse.ProtoReflect.Descriptor instead.

func (*InviteUsersResponse) ProtoMessage

func (*InviteUsersResponse) ProtoMessage()

func (*InviteUsersResponse) ProtoReflect

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

func (*InviteUsersResponse) Reset

func (x *InviteUsersResponse) Reset()

func (*InviteUsersResponse) String

func (x *InviteUsersResponse) String() string

type OrganizationServiceClient

type OrganizationServiceClient interface {
	InviteUsers(ctx context.Context, in *InviteUsersRequest, opts ...grpc.CallOption) (*InviteUsersResponse, error)
}

OrganizationServiceClient is the client API for OrganizationService 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.

type OrganizationServiceServer

type OrganizationServiceServer interface {
	InviteUsers(context.Context, *InviteUsersRequest) (*InviteUsersResponse, error)
	// contains filtered or unexported methods
}

OrganizationServiceServer is the server API for OrganizationService service. All implementations must embed UnimplementedOrganizationServiceServer for forward compatibility

type UnimplementedOrganizationServiceServer

type UnimplementedOrganizationServiceServer struct {
}

UnimplementedOrganizationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOrganizationServiceServer) InviteUsers

type UnsafeOrganizationServiceServer

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

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

type UserInvite

type UserInvite struct {
	Email   string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	RoleIds []string `protobuf:"bytes,2,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInvite) Descriptor deprecated

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

Deprecated: Use UserInvite.ProtoReflect.Descriptor instead.

func (*UserInvite) GetEmail

func (x *UserInvite) GetEmail() string

func (*UserInvite) GetRoleIds

func (x *UserInvite) GetRoleIds() []string

func (*UserInvite) ProtoMessage

func (*UserInvite) ProtoMessage()

func (*UserInvite) ProtoReflect

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

func (*UserInvite) Reset

func (x *UserInvite) Reset()

func (*UserInvite) String

func (x *UserInvite) String() string

Jump to

Keyboard shortcuts

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