openauth_v1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package openauth_v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	OpenAuth_Ping_FullMethodName                        = "/v1.OpenAuth/Ping"
	OpenAuth_Stats_FullMethodName                       = "/v1.OpenAuth/Stats"
	OpenAuth_CreatePermission_FullMethodName            = "/v1.OpenAuth/CreatePermission"
	OpenAuth_GetPermission_FullMethodName               = "/v1.OpenAuth/GetPermission"
	OpenAuth_ListPermissions_FullMethodName             = "/v1.OpenAuth/ListPermissions"
	OpenAuth_UpdatePermission_FullMethodName            = "/v1.OpenAuth/UpdatePermission"
	OpenAuth_DeletePermission_FullMethodName            = "/v1.OpenAuth/DeletePermission"
	OpenAuth_CreateGroup_FullMethodName                 = "/v1.OpenAuth/CreateGroup"
	OpenAuth_GetGroup_FullMethodName                    = "/v1.OpenAuth/GetGroup"
	OpenAuth_ListGroups_FullMethodName                  = "/v1.OpenAuth/ListGroups"
	OpenAuth_UpdateGroup_FullMethodName                 = "/v1.OpenAuth/UpdateGroup"
	OpenAuth_DeleteGroup_FullMethodName                 = "/v1.OpenAuth/DeleteGroup"
	OpenAuth_AssignUsersToGroup_FullMethodName          = "/v1.OpenAuth/AssignUsersToGroup"
	OpenAuth_RemoveUsersFromGroup_FullMethodName        = "/v1.OpenAuth/RemoveUsersFromGroup"
	OpenAuth_ListGroupUsers_FullMethodName              = "/v1.OpenAuth/ListGroupUsers"
	OpenAuth_ListUserGroups_FullMethodName              = "/v1.OpenAuth/ListUserGroups"
	OpenAuth_AssignPermissionsToGroup_FullMethodName    = "/v1.OpenAuth/AssignPermissionsToGroup"
	OpenAuth_RemovePermissionsFromGroup_FullMethodName  = "/v1.OpenAuth/RemovePermissionsFromGroup"
	OpenAuth_ListGroupPermissions_FullMethodName        = "/v1.OpenAuth/ListGroupPermissions"
	OpenAuth_AssignPermissionsToUser_FullMethodName     = "/v1.OpenAuth/AssignPermissionsToUser"
	OpenAuth_RemovePermissionsFromUser_FullMethodName   = "/v1.OpenAuth/RemovePermissionsFromUser"
	OpenAuth_ListUserPermissions_FullMethodName         = "/v1.OpenAuth/ListUserPermissions"
	OpenAuth_GetUserEffectivePermissions_FullMethodName = "/v1.OpenAuth/GetUserEffectivePermissions"
	OpenAuth_SignUp_FullMethodName                      = "/v1.OpenAuth/SignUp"
	OpenAuth_VerifyEmail_FullMethodName                 = "/v1.OpenAuth/VerifyEmail"
	OpenAuth_VerifyPhone_FullMethodName                 = "/v1.OpenAuth/VerifyPhone"
	OpenAuth_SendVerificationCode_FullMethodName        = "/v1.OpenAuth/SendVerificationCode"
	OpenAuth_CheckUsername_FullMethodName               = "/v1.OpenAuth/CheckUsername"
	OpenAuth_CheckEmail_FullMethodName                  = "/v1.OpenAuth/CheckEmail"
	OpenAuth_GetUser_FullMethodName                     = "/v1.OpenAuth/GetUser"
	OpenAuth_UpdateUser_FullMethodName                  = "/v1.OpenAuth/UpdateUser"
	OpenAuth_ChangePassword_FullMethodName              = "/v1.OpenAuth/ChangePassword"
	OpenAuth_ListUsers_FullMethodName                   = "/v1.OpenAuth/ListUsers"
	OpenAuth_DeleteUser_FullMethodName                  = "/v1.OpenAuth/DeleteUser"
	OpenAuth_CreateProfile_FullMethodName               = "/v1.OpenAuth/CreateProfile"
	OpenAuth_ListUserProfiles_FullMethodName            = "/v1.OpenAuth/ListUserProfiles"
	OpenAuth_UpdateProfile_FullMethodName               = "/v1.OpenAuth/UpdateProfile"
	OpenAuth_DeleteProfile_FullMethodName               = "/v1.OpenAuth/DeleteProfile"
	OpenAuth_SignIn_FullMethodName                      = "/v1.OpenAuth/SignIn"
	OpenAuth_RefreshToken_FullMethodName                = "/v1.OpenAuth/RefreshToken"
	OpenAuth_Logout_FullMethodName                      = "/v1.OpenAuth/Logout"
	OpenAuth_ValidateToken_FullMethodName               = "/v1.OpenAuth/ValidateToken"
	OpenAuth_IsAuthenticated_FullMethodName             = "/v1.OpenAuth/IsAuthenticated"
	OpenAuth_ListUserSessions_FullMethodName            = "/v1.OpenAuth/ListUserSessions"
	OpenAuth_TerminateSession_FullMethodName            = "/v1.OpenAuth/TerminateSession"
	OpenAuth_CreateConfigEntity_FullMethodName          = "/v1.OpenAuth/CreateConfigEntity"
	OpenAuth_UpdateConfigEntity_FullMethodName          = "/v1.OpenAuth/UpdateConfigEntity"
	OpenAuth_GetConfigEntity_FullMethodName             = "/v1.OpenAuth/GetConfigEntity"
	OpenAuth_ListConfigEntities_FullMethodName          = "/v1.OpenAuth/ListConfigEntities"
	OpenAuth_DeleteConfigEntity_FullMethodName          = "/v1.OpenAuth/DeleteConfigEntity"
	OpenAuth_CreateConfig_FullMethodName                = "/v1.OpenAuth/CreateConfig"
	OpenAuth_UpdateConfig_FullMethodName                = "/v1.OpenAuth/UpdateConfig"
	OpenAuth_DeleteConfig_FullMethodName                = "/v1.OpenAuth/DeleteConfig"
	OpenAuth_GetConfig_FullMethodName                   = "/v1.OpenAuth/GetConfig"
	OpenAuth_GetConfigsByKeys_FullMethodName            = "/v1.OpenAuth/GetConfigsByKeys"
	OpenAuth_ListConfigs_FullMethodName                 = "/v1.OpenAuth/ListConfigs"
)

Variables

View Source
var (
	ValueType_name = map[int32]string{
		0: "VALUE_TYPE_UNSPECIFIED",
		1: "VALUE_TYPE_STRING",
		2: "VALUE_TYPE_INT",
		3: "VALUE_TYPE_FLOAT",
		4: "VALUE_TYPE_BOOL",
		5: "VALUE_TYPE_JSON",
	}
	ValueType_value = map[string]int32{
		"VALUE_TYPE_UNSPECIFIED": 0,
		"VALUE_TYPE_STRING":      1,
		"VALUE_TYPE_INT":         2,
		"VALUE_TYPE_FLOAT":       3,
		"VALUE_TYPE_BOOL":        4,
		"VALUE_TYPE_JSON":        5,
	}
)

Enum value maps for ValueType.

View Source
var (
	SortOrder_name = map[int32]string{
		0: "NONE",
		1: "ASC",
		2: "DESC",
	}
	SortOrder_value = map[string]int32{
		"NONE": 0,
		"ASC":  1,
		"DESC": 2,
	}
)

Enum value maps for SortOrder.

View Source
var File_proto_common_headers_proto protoreflect.FileDescriptor
View Source
var File_proto_common_ping_proto protoreflect.FileDescriptor
View Source
var File_proto_common_sort_proto protoreflect.FileDescriptor
View Source
var File_proto_openauth_v1_configs_proto protoreflect.FileDescriptor
View Source
var File_proto_openauth_v1_groups_proto protoreflect.FileDescriptor
View Source
var File_proto_openauth_v1_openauth_proto protoreflect.FileDescriptor
View Source
var File_proto_openauth_v1_permission_assignments_proto protoreflect.FileDescriptor
View Source
var File_proto_openauth_v1_permissions_proto protoreflect.FileDescriptor
View Source
var File_proto_openauth_v1_sessions_proto protoreflect.FileDescriptor
View Source
var File_proto_openauth_v1_stats_proto protoreflect.FileDescriptor
View Source
var File_proto_openauth_v1_users_proto protoreflect.FileDescriptor
View Source
var OpenAuth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.OpenAuth",
	HandlerType: (*OpenAuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _OpenAuth_Ping_Handler,
		},
		{
			MethodName: "Stats",
			Handler:    _OpenAuth_Stats_Handler,
		},
		{
			MethodName: "CreatePermission",
			Handler:    _OpenAuth_CreatePermission_Handler,
		},
		{
			MethodName: "GetPermission",
			Handler:    _OpenAuth_GetPermission_Handler,
		},
		{
			MethodName: "ListPermissions",
			Handler:    _OpenAuth_ListPermissions_Handler,
		},
		{
			MethodName: "UpdatePermission",
			Handler:    _OpenAuth_UpdatePermission_Handler,
		},
		{
			MethodName: "DeletePermission",
			Handler:    _OpenAuth_DeletePermission_Handler,
		},
		{
			MethodName: "CreateGroup",
			Handler:    _OpenAuth_CreateGroup_Handler,
		},
		{
			MethodName: "GetGroup",
			Handler:    _OpenAuth_GetGroup_Handler,
		},
		{
			MethodName: "ListGroups",
			Handler:    _OpenAuth_ListGroups_Handler,
		},
		{
			MethodName: "UpdateGroup",
			Handler:    _OpenAuth_UpdateGroup_Handler,
		},
		{
			MethodName: "DeleteGroup",
			Handler:    _OpenAuth_DeleteGroup_Handler,
		},
		{
			MethodName: "AssignUsersToGroup",
			Handler:    _OpenAuth_AssignUsersToGroup_Handler,
		},
		{
			MethodName: "RemoveUsersFromGroup",
			Handler:    _OpenAuth_RemoveUsersFromGroup_Handler,
		},
		{
			MethodName: "ListGroupUsers",
			Handler:    _OpenAuth_ListGroupUsers_Handler,
		},
		{
			MethodName: "ListUserGroups",
			Handler:    _OpenAuth_ListUserGroups_Handler,
		},
		{
			MethodName: "AssignPermissionsToGroup",
			Handler:    _OpenAuth_AssignPermissionsToGroup_Handler,
		},
		{
			MethodName: "RemovePermissionsFromGroup",
			Handler:    _OpenAuth_RemovePermissionsFromGroup_Handler,
		},
		{
			MethodName: "ListGroupPermissions",
			Handler:    _OpenAuth_ListGroupPermissions_Handler,
		},
		{
			MethodName: "AssignPermissionsToUser",
			Handler:    _OpenAuth_AssignPermissionsToUser_Handler,
		},
		{
			MethodName: "RemovePermissionsFromUser",
			Handler:    _OpenAuth_RemovePermissionsFromUser_Handler,
		},
		{
			MethodName: "ListUserPermissions",
			Handler:    _OpenAuth_ListUserPermissions_Handler,
		},
		{
			MethodName: "GetUserEffectivePermissions",
			Handler:    _OpenAuth_GetUserEffectivePermissions_Handler,
		},
		{
			MethodName: "SignUp",
			Handler:    _OpenAuth_SignUp_Handler,
		},
		{
			MethodName: "VerifyEmail",
			Handler:    _OpenAuth_VerifyEmail_Handler,
		},
		{
			MethodName: "VerifyPhone",
			Handler:    _OpenAuth_VerifyPhone_Handler,
		},
		{
			MethodName: "SendVerificationCode",
			Handler:    _OpenAuth_SendVerificationCode_Handler,
		},
		{
			MethodName: "CheckUsername",
			Handler:    _OpenAuth_CheckUsername_Handler,
		},
		{
			MethodName: "CheckEmail",
			Handler:    _OpenAuth_CheckEmail_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _OpenAuth_GetUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _OpenAuth_UpdateUser_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _OpenAuth_ChangePassword_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _OpenAuth_ListUsers_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _OpenAuth_DeleteUser_Handler,
		},
		{
			MethodName: "CreateProfile",
			Handler:    _OpenAuth_CreateProfile_Handler,
		},
		{
			MethodName: "ListUserProfiles",
			Handler:    _OpenAuth_ListUserProfiles_Handler,
		},
		{
			MethodName: "UpdateProfile",
			Handler:    _OpenAuth_UpdateProfile_Handler,
		},
		{
			MethodName: "DeleteProfile",
			Handler:    _OpenAuth_DeleteProfile_Handler,
		},
		{
			MethodName: "SignIn",
			Handler:    _OpenAuth_SignIn_Handler,
		},
		{
			MethodName: "RefreshToken",
			Handler:    _OpenAuth_RefreshToken_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _OpenAuth_Logout_Handler,
		},
		{
			MethodName: "ValidateToken",
			Handler:    _OpenAuth_ValidateToken_Handler,
		},
		{
			MethodName: "IsAuthenticated",
			Handler:    _OpenAuth_IsAuthenticated_Handler,
		},
		{
			MethodName: "ListUserSessions",
			Handler:    _OpenAuth_ListUserSessions_Handler,
		},
		{
			MethodName: "TerminateSession",
			Handler:    _OpenAuth_TerminateSession_Handler,
		},
		{
			MethodName: "CreateConfigEntity",
			Handler:    _OpenAuth_CreateConfigEntity_Handler,
		},
		{
			MethodName: "UpdateConfigEntity",
			Handler:    _OpenAuth_UpdateConfigEntity_Handler,
		},
		{
			MethodName: "GetConfigEntity",
			Handler:    _OpenAuth_GetConfigEntity_Handler,
		},
		{
			MethodName: "ListConfigEntities",
			Handler:    _OpenAuth_ListConfigEntities_Handler,
		},
		{
			MethodName: "DeleteConfigEntity",
			Handler:    _OpenAuth_DeleteConfigEntity_Handler,
		},
		{
			MethodName: "CreateConfig",
			Handler:    _OpenAuth_CreateConfig_Handler,
		},
		{
			MethodName: "UpdateConfig",
			Handler:    _OpenAuth_UpdateConfig_Handler,
		},
		{
			MethodName: "DeleteConfig",
			Handler:    _OpenAuth_DeleteConfig_Handler,
		},
		{
			MethodName: "GetConfig",
			Handler:    _OpenAuth_GetConfig_Handler,
		},
		{
			MethodName: "GetConfigsByKeys",
			Handler:    _OpenAuth_GetConfigsByKeys_Handler,
		},
		{
			MethodName: "ListConfigs",
			Handler:    _OpenAuth_ListConfigs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/openauth/v1/openauth.proto",
}

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

Functions

func RegisterOpenAuthHandler

func RegisterOpenAuthHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenAuthHandler registers the http handlers for service OpenAuth to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenAuthHandlerClient

func RegisterOpenAuthHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenAuthClient) error

RegisterOpenAuthHandlerClient registers the http handlers for service OpenAuth to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenAuthClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenAuthClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenAuthClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterOpenAuthHandlerFromEndpoint

func RegisterOpenAuthHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenAuthHandlerFromEndpoint is same as RegisterOpenAuthHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenAuthHandlerServer

func RegisterOpenAuthHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenAuthServer) error

RegisterOpenAuthHandlerServer registers the http handlers for service OpenAuth to "mux". UnaryRPC :call OpenAuthServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenAuthHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterOpenAuthServer

func RegisterOpenAuthServer(s grpc.ServiceRegistrar, srv OpenAuthServer)

Types

type AssignPermissionsToGroupRequest

type AssignPermissionsToGroupRequest struct {

	// ID of the group to assign the permission to
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// IDs of the permissions to assign
	PermissionsIds []int64 `protobuf:"varint,2,rep,packed,name=permissions_ids,json=permissionsIds,proto3" json:"permissions_ids,omitempty"`
	// contains filtered or unexported fields
}

Request to assign a permission to a group

func (*AssignPermissionsToGroupRequest) Descriptor deprecated

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

Deprecated: Use AssignPermissionsToGroupRequest.ProtoReflect.Descriptor instead.

func (*AssignPermissionsToGroupRequest) GetGroupId

func (x *AssignPermissionsToGroupRequest) GetGroupId() int64

func (*AssignPermissionsToGroupRequest) GetPermissionsIds

func (x *AssignPermissionsToGroupRequest) GetPermissionsIds() []int64

func (*AssignPermissionsToGroupRequest) ProtoMessage

func (*AssignPermissionsToGroupRequest) ProtoMessage()

func (*AssignPermissionsToGroupRequest) ProtoReflect

func (*AssignPermissionsToGroupRequest) Reset

func (*AssignPermissionsToGroupRequest) String

func (*AssignPermissionsToGroupRequest) Validate

func (m *AssignPermissionsToGroupRequest) Validate() error

Validate checks the field values on AssignPermissionsToGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AssignPermissionsToGroupRequest) ValidateAll

func (m *AssignPermissionsToGroupRequest) ValidateAll() error

ValidateAll checks the field values on AssignPermissionsToGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignPermissionsToGroupRequestMultiError, or nil if none found.

type AssignPermissionsToGroupRequestMultiError

type AssignPermissionsToGroupRequestMultiError []error

AssignPermissionsToGroupRequestMultiError is an error wrapping multiple validation errors returned by AssignPermissionsToGroupRequest.ValidateAll() if the designated constraints aren't met.

func (AssignPermissionsToGroupRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AssignPermissionsToGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AssignPermissionsToGroupRequestValidationError

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

AssignPermissionsToGroupRequestValidationError is the validation error returned by AssignPermissionsToGroupRequest.Validate if the designated constraints aren't met.

func (AssignPermissionsToGroupRequestValidationError) Cause

Cause function returns cause value.

func (AssignPermissionsToGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (AssignPermissionsToGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (AssignPermissionsToGroupRequestValidationError) Field

Field function returns field value.

func (AssignPermissionsToGroupRequestValidationError) Key

Key function returns key value.

func (AssignPermissionsToGroupRequestValidationError) Reason

Reason function returns reason value.

type AssignPermissionsToGroupResponse

type AssignPermissionsToGroupResponse struct {
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Response after assigning a permission to a group

func (*AssignPermissionsToGroupResponse) Descriptor deprecated

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

Deprecated: Use AssignPermissionsToGroupResponse.ProtoReflect.Descriptor instead.

func (*AssignPermissionsToGroupResponse) GetMessage

func (x *AssignPermissionsToGroupResponse) GetMessage() string

func (*AssignPermissionsToGroupResponse) ProtoMessage

func (*AssignPermissionsToGroupResponse) ProtoMessage()

func (*AssignPermissionsToGroupResponse) ProtoReflect

func (*AssignPermissionsToGroupResponse) Reset

func (*AssignPermissionsToGroupResponse) String

func (*AssignPermissionsToGroupResponse) Validate

Validate checks the field values on AssignPermissionsToGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AssignPermissionsToGroupResponse) ValidateAll

func (m *AssignPermissionsToGroupResponse) ValidateAll() error

ValidateAll checks the field values on AssignPermissionsToGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignPermissionsToGroupResponseMultiError, or nil if none found.

type AssignPermissionsToGroupResponseMultiError

type AssignPermissionsToGroupResponseMultiError []error

AssignPermissionsToGroupResponseMultiError is an error wrapping multiple validation errors returned by AssignPermissionsToGroupResponse.ValidateAll() if the designated constraints aren't met.

func (AssignPermissionsToGroupResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AssignPermissionsToGroupResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AssignPermissionsToGroupResponseValidationError

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

AssignPermissionsToGroupResponseValidationError is the validation error returned by AssignPermissionsToGroupResponse.Validate if the designated constraints aren't met.

func (AssignPermissionsToGroupResponseValidationError) Cause

Cause function returns cause value.

func (AssignPermissionsToGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (AssignPermissionsToGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (AssignPermissionsToGroupResponseValidationError) Field

Field function returns field value.

func (AssignPermissionsToGroupResponseValidationError) Key

Key function returns key value.

func (AssignPermissionsToGroupResponseValidationError) Reason

Reason function returns reason value.

type AssignPermissionsToUserRequest

type AssignPermissionsToUserRequest struct {

	// ID of the user to assign the permission to
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// IDs of the permissions to assign
	PermissionsIds []int64 `protobuf:"varint,2,rep,packed,name=permissions_ids,json=permissionsIds,proto3" json:"permissions_ids,omitempty"`
	// Optional expiration timestamp (null means no expiration)
	ExpiresAt *int64 `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

Request to assign a permission directly to a user

func (*AssignPermissionsToUserRequest) Descriptor deprecated

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

Deprecated: Use AssignPermissionsToUserRequest.ProtoReflect.Descriptor instead.

func (*AssignPermissionsToUserRequest) GetExpiresAt

func (x *AssignPermissionsToUserRequest) GetExpiresAt() int64

func (*AssignPermissionsToUserRequest) GetPermissionsIds

func (x *AssignPermissionsToUserRequest) GetPermissionsIds() []int64

func (*AssignPermissionsToUserRequest) GetUserId

func (x *AssignPermissionsToUserRequest) GetUserId() int64

func (*AssignPermissionsToUserRequest) ProtoMessage

func (*AssignPermissionsToUserRequest) ProtoMessage()

func (*AssignPermissionsToUserRequest) ProtoReflect

func (*AssignPermissionsToUserRequest) Reset

func (x *AssignPermissionsToUserRequest) Reset()

func (*AssignPermissionsToUserRequest) String

func (*AssignPermissionsToUserRequest) Validate

func (m *AssignPermissionsToUserRequest) Validate() error

Validate checks the field values on AssignPermissionsToUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AssignPermissionsToUserRequest) ValidateAll

func (m *AssignPermissionsToUserRequest) ValidateAll() error

ValidateAll checks the field values on AssignPermissionsToUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignPermissionsToUserRequestMultiError, or nil if none found.

type AssignPermissionsToUserRequestMultiError

type AssignPermissionsToUserRequestMultiError []error

AssignPermissionsToUserRequestMultiError is an error wrapping multiple validation errors returned by AssignPermissionsToUserRequest.ValidateAll() if the designated constraints aren't met.

func (AssignPermissionsToUserRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AssignPermissionsToUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AssignPermissionsToUserRequestValidationError

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

AssignPermissionsToUserRequestValidationError is the validation error returned by AssignPermissionsToUserRequest.Validate if the designated constraints aren't met.

func (AssignPermissionsToUserRequestValidationError) Cause

Cause function returns cause value.

func (AssignPermissionsToUserRequestValidationError) Error

Error satisfies the builtin error interface

func (AssignPermissionsToUserRequestValidationError) ErrorName

ErrorName returns error name.

func (AssignPermissionsToUserRequestValidationError) Field

Field function returns field value.

func (AssignPermissionsToUserRequestValidationError) Key

Key function returns key value.

func (AssignPermissionsToUserRequestValidationError) Reason

Reason function returns reason value.

type AssignPermissionsToUserResponse

type AssignPermissionsToUserResponse struct {
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Response after assigning a permission to a user

func (*AssignPermissionsToUserResponse) Descriptor deprecated

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

Deprecated: Use AssignPermissionsToUserResponse.ProtoReflect.Descriptor instead.

func (*AssignPermissionsToUserResponse) GetMessage

func (x *AssignPermissionsToUserResponse) GetMessage() string

func (*AssignPermissionsToUserResponse) ProtoMessage

func (*AssignPermissionsToUserResponse) ProtoMessage()

func (*AssignPermissionsToUserResponse) ProtoReflect

func (*AssignPermissionsToUserResponse) Reset

func (*AssignPermissionsToUserResponse) String

func (*AssignPermissionsToUserResponse) Validate

func (m *AssignPermissionsToUserResponse) Validate() error

Validate checks the field values on AssignPermissionsToUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AssignPermissionsToUserResponse) ValidateAll

func (m *AssignPermissionsToUserResponse) ValidateAll() error

ValidateAll checks the field values on AssignPermissionsToUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignPermissionsToUserResponseMultiError, or nil if none found.

type AssignPermissionsToUserResponseMultiError

type AssignPermissionsToUserResponseMultiError []error

AssignPermissionsToUserResponseMultiError is an error wrapping multiple validation errors returned by AssignPermissionsToUserResponse.ValidateAll() if the designated constraints aren't met.

func (AssignPermissionsToUserResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AssignPermissionsToUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AssignPermissionsToUserResponseValidationError

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

AssignPermissionsToUserResponseValidationError is the validation error returned by AssignPermissionsToUserResponse.Validate if the designated constraints aren't met.

func (AssignPermissionsToUserResponseValidationError) Cause

Cause function returns cause value.

func (AssignPermissionsToUserResponseValidationError) Error

Error satisfies the builtin error interface

func (AssignPermissionsToUserResponseValidationError) ErrorName

ErrorName returns error name.

func (AssignPermissionsToUserResponseValidationError) Field

Field function returns field value.

func (AssignPermissionsToUserResponseValidationError) Key

Key function returns key value.

func (AssignPermissionsToUserResponseValidationError) Reason

Reason function returns reason value.

type AssignUsersToGroupRequest

type AssignUsersToGroupRequest struct {
	UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	GroupId int64   `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Optional expiration time for the group membership
	ExpiresAt *int64 `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

AssignUsersToGroupRequest to add users to a group

func (*AssignUsersToGroupRequest) Descriptor deprecated

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

Deprecated: Use AssignUsersToGroupRequest.ProtoReflect.Descriptor instead.

func (*AssignUsersToGroupRequest) GetExpiresAt

func (x *AssignUsersToGroupRequest) GetExpiresAt() int64

func (*AssignUsersToGroupRequest) GetGroupId

func (x *AssignUsersToGroupRequest) GetGroupId() int64

func (*AssignUsersToGroupRequest) GetUserIds

func (x *AssignUsersToGroupRequest) GetUserIds() []int64

func (*AssignUsersToGroupRequest) ProtoMessage

func (*AssignUsersToGroupRequest) ProtoMessage()

func (*AssignUsersToGroupRequest) ProtoReflect

func (*AssignUsersToGroupRequest) Reset

func (x *AssignUsersToGroupRequest) Reset()

func (*AssignUsersToGroupRequest) String

func (x *AssignUsersToGroupRequest) String() string

func (*AssignUsersToGroupRequest) Validate

func (m *AssignUsersToGroupRequest) Validate() error

Validate checks the field values on AssignUsersToGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AssignUsersToGroupRequest) ValidateAll

func (m *AssignUsersToGroupRequest) ValidateAll() error

ValidateAll checks the field values on AssignUsersToGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignUsersToGroupRequestMultiError, or nil if none found.

type AssignUsersToGroupRequestMultiError

type AssignUsersToGroupRequestMultiError []error

AssignUsersToGroupRequestMultiError is an error wrapping multiple validation errors returned by AssignUsersToGroupRequest.ValidateAll() if the designated constraints aren't met.

func (AssignUsersToGroupRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AssignUsersToGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AssignUsersToGroupRequestValidationError

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

AssignUsersToGroupRequestValidationError is the validation error returned by AssignUsersToGroupRequest.Validate if the designated constraints aren't met.

func (AssignUsersToGroupRequestValidationError) Cause

Cause function returns cause value.

func (AssignUsersToGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (AssignUsersToGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (AssignUsersToGroupRequestValidationError) Field

Field function returns field value.

func (AssignUsersToGroupRequestValidationError) Key

Key function returns key value.

func (AssignUsersToGroupRequestValidationError) Reason

Reason function returns reason value.

type AssignUsersToGroupResponse

type AssignUsersToGroupResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

AssignUsersToGroupResponse

func (*AssignUsersToGroupResponse) Descriptor deprecated

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

Deprecated: Use AssignUsersToGroupResponse.ProtoReflect.Descriptor instead.

func (*AssignUsersToGroupResponse) GetMessage

func (x *AssignUsersToGroupResponse) GetMessage() string

func (*AssignUsersToGroupResponse) GetSuccess

func (x *AssignUsersToGroupResponse) GetSuccess() bool

func (*AssignUsersToGroupResponse) ProtoMessage

func (*AssignUsersToGroupResponse) ProtoMessage()

func (*AssignUsersToGroupResponse) ProtoReflect

func (*AssignUsersToGroupResponse) Reset

func (x *AssignUsersToGroupResponse) Reset()

func (*AssignUsersToGroupResponse) String

func (x *AssignUsersToGroupResponse) String() string

func (*AssignUsersToGroupResponse) Validate

func (m *AssignUsersToGroupResponse) Validate() error

Validate checks the field values on AssignUsersToGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AssignUsersToGroupResponse) ValidateAll

func (m *AssignUsersToGroupResponse) ValidateAll() error

ValidateAll checks the field values on AssignUsersToGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssignUsersToGroupResponseMultiError, or nil if none found.

type AssignUsersToGroupResponseMultiError

type AssignUsersToGroupResponseMultiError []error

AssignUsersToGroupResponseMultiError is an error wrapping multiple validation errors returned by AssignUsersToGroupResponse.ValidateAll() if the designated constraints aren't met.

func (AssignUsersToGroupResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AssignUsersToGroupResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AssignUsersToGroupResponseValidationError

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

AssignUsersToGroupResponseValidationError is the validation error returned by AssignUsersToGroupResponse.Validate if the designated constraints aren't met.

func (AssignUsersToGroupResponseValidationError) Cause

Cause function returns cause value.

func (AssignUsersToGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (AssignUsersToGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (AssignUsersToGroupResponseValidationError) Field

Field function returns field value.

func (AssignUsersToGroupResponseValidationError) Key

Key function returns key value.

func (AssignUsersToGroupResponseValidationError) Reason

Reason function returns reason value.

type ChangePasswordRequest

type ChangePasswordRequest struct {
	Uuid            string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	CurrentPassword string `protobuf:"bytes,2,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"`
	NewPassword     string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

ChangePasswordRequest to change user password

func (*ChangePasswordRequest) Descriptor deprecated

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

Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.

func (*ChangePasswordRequest) GetCurrentPassword

func (x *ChangePasswordRequest) GetCurrentPassword() string

func (*ChangePasswordRequest) GetNewPassword

func (x *ChangePasswordRequest) GetNewPassword() string

func (*ChangePasswordRequest) GetUuid

func (x *ChangePasswordRequest) GetUuid() string

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) ProtoReflect

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

func (*ChangePasswordRequest) Reset

func (x *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (x *ChangePasswordRequest) String() string

func (*ChangePasswordRequest) Validate

func (m *ChangePasswordRequest) Validate() error

Validate checks the field values on ChangePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ChangePasswordRequest) ValidateAll

func (m *ChangePasswordRequest) ValidateAll() error

ValidateAll checks the field values on ChangePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChangePasswordRequestMultiError, or nil if none found.

type ChangePasswordRequestMultiError

type ChangePasswordRequestMultiError []error

ChangePasswordRequestMultiError is an error wrapping multiple validation errors returned by ChangePasswordRequest.ValidateAll() if the designated constraints aren't met.

func (ChangePasswordRequestMultiError) AllErrors

func (m ChangePasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChangePasswordRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ChangePasswordRequestValidationError

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

ChangePasswordRequestValidationError is the validation error returned by ChangePasswordRequest.Validate if the designated constraints aren't met.

func (ChangePasswordRequestValidationError) Cause

Cause function returns cause value.

func (ChangePasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (ChangePasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (ChangePasswordRequestValidationError) Field

Field function returns field value.

func (ChangePasswordRequestValidationError) Key

Key function returns key value.

func (ChangePasswordRequestValidationError) Reason

Reason function returns reason value.

type ChangePasswordResponse

type ChangePasswordResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

ChangePasswordResponse

func (*ChangePasswordResponse) Descriptor deprecated

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

Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.

func (*ChangePasswordResponse) GetMessage

func (x *ChangePasswordResponse) GetMessage() string

func (*ChangePasswordResponse) GetSuccess

func (x *ChangePasswordResponse) GetSuccess() bool

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) ProtoReflect

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

func (*ChangePasswordResponse) Reset

func (x *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (x *ChangePasswordResponse) String() string

func (*ChangePasswordResponse) Validate

func (m *ChangePasswordResponse) Validate() error

Validate checks the field values on ChangePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ChangePasswordResponse) ValidateAll

func (m *ChangePasswordResponse) ValidateAll() error

ValidateAll checks the field values on ChangePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChangePasswordResponseMultiError, or nil if none found.

type ChangePasswordResponseMultiError

type ChangePasswordResponseMultiError []error

ChangePasswordResponseMultiError is an error wrapping multiple validation errors returned by ChangePasswordResponse.ValidateAll() if the designated constraints aren't met.

func (ChangePasswordResponseMultiError) AllErrors

func (m ChangePasswordResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ChangePasswordResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ChangePasswordResponseValidationError

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

ChangePasswordResponseValidationError is the validation error returned by ChangePasswordResponse.Validate if the designated constraints aren't met.

func (ChangePasswordResponseValidationError) Cause

Cause function returns cause value.

func (ChangePasswordResponseValidationError) Error

Error satisfies the builtin error interface

func (ChangePasswordResponseValidationError) ErrorName

ErrorName returns error name.

func (ChangePasswordResponseValidationError) Field

Field function returns field value.

func (ChangePasswordResponseValidationError) Key

Key function returns key value.

func (ChangePasswordResponseValidationError) Reason

Reason function returns reason value.

type CheckEmailRequest

type CheckEmailRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

CheckEmailRequest to check email availability

func (*CheckEmailRequest) Descriptor deprecated

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

Deprecated: Use CheckEmailRequest.ProtoReflect.Descriptor instead.

func (*CheckEmailRequest) GetEmail

func (x *CheckEmailRequest) GetEmail() string

func (*CheckEmailRequest) ProtoMessage

func (*CheckEmailRequest) ProtoMessage()

func (*CheckEmailRequest) ProtoReflect

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

func (*CheckEmailRequest) Reset

func (x *CheckEmailRequest) Reset()

func (*CheckEmailRequest) String

func (x *CheckEmailRequest) String() string

func (*CheckEmailRequest) Validate

func (m *CheckEmailRequest) Validate() error

Validate checks the field values on CheckEmailRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CheckEmailRequest) ValidateAll

func (m *CheckEmailRequest) ValidateAll() error

ValidateAll checks the field values on CheckEmailRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckEmailRequestMultiError, or nil if none found.

type CheckEmailRequestMultiError

type CheckEmailRequestMultiError []error

CheckEmailRequestMultiError is an error wrapping multiple validation errors returned by CheckEmailRequest.ValidateAll() if the designated constraints aren't met.

func (CheckEmailRequestMultiError) AllErrors

func (m CheckEmailRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckEmailRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CheckEmailRequestValidationError

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

CheckEmailRequestValidationError is the validation error returned by CheckEmailRequest.Validate if the designated constraints aren't met.

func (CheckEmailRequestValidationError) Cause

Cause function returns cause value.

func (CheckEmailRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckEmailRequestValidationError) ErrorName

ErrorName returns error name.

func (CheckEmailRequestValidationError) Field

Field function returns field value.

func (CheckEmailRequestValidationError) Key

Key function returns key value.

func (CheckEmailRequestValidationError) Reason

Reason function returns reason value.

type CheckEmailResponse

type CheckEmailResponse struct {
	Available bool   `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
	Message   string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

CheckEmailResponse

func (*CheckEmailResponse) Descriptor deprecated

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

Deprecated: Use CheckEmailResponse.ProtoReflect.Descriptor instead.

func (*CheckEmailResponse) GetAvailable

func (x *CheckEmailResponse) GetAvailable() bool

func (*CheckEmailResponse) GetMessage

func (x *CheckEmailResponse) GetMessage() string

func (*CheckEmailResponse) ProtoMessage

func (*CheckEmailResponse) ProtoMessage()

func (*CheckEmailResponse) ProtoReflect

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

func (*CheckEmailResponse) Reset

func (x *CheckEmailResponse) Reset()

func (*CheckEmailResponse) String

func (x *CheckEmailResponse) String() string

func (*CheckEmailResponse) Validate

func (m *CheckEmailResponse) Validate() error

Validate checks the field values on CheckEmailResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CheckEmailResponse) ValidateAll

func (m *CheckEmailResponse) ValidateAll() error

ValidateAll checks the field values on CheckEmailResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckEmailResponseMultiError, or nil if none found.

type CheckEmailResponseMultiError

type CheckEmailResponseMultiError []error

CheckEmailResponseMultiError is an error wrapping multiple validation errors returned by CheckEmailResponse.ValidateAll() if the designated constraints aren't met.

func (CheckEmailResponseMultiError) AllErrors

func (m CheckEmailResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckEmailResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CheckEmailResponseValidationError

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

CheckEmailResponseValidationError is the validation error returned by CheckEmailResponse.Validate if the designated constraints aren't met.

func (CheckEmailResponseValidationError) Cause

Cause function returns cause value.

func (CheckEmailResponseValidationError) Error

Error satisfies the builtin error interface

func (CheckEmailResponseValidationError) ErrorName

ErrorName returns error name.

func (CheckEmailResponseValidationError) Field

Field function returns field value.

func (CheckEmailResponseValidationError) Key

Key function returns key value.

func (CheckEmailResponseValidationError) Reason

Reason function returns reason value.

type CheckUsernameRequest

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

CheckUsernameRequest to check username availability

func (*CheckUsernameRequest) Descriptor deprecated

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

Deprecated: Use CheckUsernameRequest.ProtoReflect.Descriptor instead.

func (*CheckUsernameRequest) GetUsername

func (x *CheckUsernameRequest) GetUsername() string

func (*CheckUsernameRequest) ProtoMessage

func (*CheckUsernameRequest) ProtoMessage()

func (*CheckUsernameRequest) ProtoReflect

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

func (*CheckUsernameRequest) Reset

func (x *CheckUsernameRequest) Reset()

func (*CheckUsernameRequest) String

func (x *CheckUsernameRequest) String() string

func (*CheckUsernameRequest) Validate

func (m *CheckUsernameRequest) Validate() error

Validate checks the field values on CheckUsernameRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CheckUsernameRequest) ValidateAll

func (m *CheckUsernameRequest) ValidateAll() error

ValidateAll checks the field values on CheckUsernameRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckUsernameRequestMultiError, or nil if none found.

type CheckUsernameRequestMultiError

type CheckUsernameRequestMultiError []error

CheckUsernameRequestMultiError is an error wrapping multiple validation errors returned by CheckUsernameRequest.ValidateAll() if the designated constraints aren't met.

func (CheckUsernameRequestMultiError) AllErrors

func (m CheckUsernameRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckUsernameRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CheckUsernameRequestValidationError

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

CheckUsernameRequestValidationError is the validation error returned by CheckUsernameRequest.Validate if the designated constraints aren't met.

func (CheckUsernameRequestValidationError) Cause

Cause function returns cause value.

func (CheckUsernameRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckUsernameRequestValidationError) ErrorName

ErrorName returns error name.

func (CheckUsernameRequestValidationError) Field

Field function returns field value.

func (CheckUsernameRequestValidationError) Key

Key function returns key value.

func (CheckUsernameRequestValidationError) Reason

Reason function returns reason value.

type CheckUsernameResponse

type CheckUsernameResponse struct {
	Available   bool     `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
	Message     string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Suggestions []string `protobuf:"bytes,3,rep,name=suggestions,proto3" json:"suggestions,omitempty"` // Alternative username suggestions if not available
	// contains filtered or unexported fields
}

CheckUsernameResponse

func (*CheckUsernameResponse) Descriptor deprecated

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

Deprecated: Use CheckUsernameResponse.ProtoReflect.Descriptor instead.

func (*CheckUsernameResponse) GetAvailable

func (x *CheckUsernameResponse) GetAvailable() bool

func (*CheckUsernameResponse) GetMessage

func (x *CheckUsernameResponse) GetMessage() string

func (*CheckUsernameResponse) GetSuggestions

func (x *CheckUsernameResponse) GetSuggestions() []string

func (*CheckUsernameResponse) ProtoMessage

func (*CheckUsernameResponse) ProtoMessage()

func (*CheckUsernameResponse) ProtoReflect

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

func (*CheckUsernameResponse) Reset

func (x *CheckUsernameResponse) Reset()

func (*CheckUsernameResponse) String

func (x *CheckUsernameResponse) String() string

func (*CheckUsernameResponse) Validate

func (m *CheckUsernameResponse) Validate() error

Validate checks the field values on CheckUsernameResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CheckUsernameResponse) ValidateAll

func (m *CheckUsernameResponse) ValidateAll() error

ValidateAll checks the field values on CheckUsernameResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckUsernameResponseMultiError, or nil if none found.

type CheckUsernameResponseMultiError

type CheckUsernameResponseMultiError []error

CheckUsernameResponseMultiError is an error wrapping multiple validation errors returned by CheckUsernameResponse.ValidateAll() if the designated constraints aren't met.

func (CheckUsernameResponseMultiError) AllErrors

func (m CheckUsernameResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckUsernameResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CheckUsernameResponseValidationError

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

CheckUsernameResponseValidationError is the validation error returned by CheckUsernameResponse.Validate if the designated constraints aren't met.

func (CheckUsernameResponseValidationError) Cause

Cause function returns cause value.

func (CheckUsernameResponseValidationError) Error

Error satisfies the builtin error interface

func (CheckUsernameResponseValidationError) ErrorName

ErrorName returns error name.

func (CheckUsernameResponseValidationError) Field

Field function returns field value.

func (CheckUsernameResponseValidationError) Key

Key function returns key value.

func (CheckUsernameResponseValidationError) Reason

Reason function returns reason value.

type Config

type Config struct {

	// Unique identifier for the config
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the parent config entity
	EntityId int64 `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// Configuration key (unique within entity)
	Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Human-readable display name
	DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional description explaining this configuration
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Configuration value (stored as JSON)
	//
	// Types that are assignable to Value:
	//
	//	*Config_StringValue
	//	*Config_IntValue
	//	*Config_FloatValue
	//	*Config_BoolValue
	//	*Config_JsonValue
	Value isConfig_Value `protobuf_oneof:"value"`
	// Type of the configuration value
	Type ValueType `protobuf:"varint,11,opt,name=type,proto3,enum=v1.ValueType" json:"type,omitempty"`
	// Additional metadata as JSON
	Metadata *string `protobuf:"bytes,12,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// User ID who created this config
	CreatedBy int64 `protobuf:"varint,13,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// User ID who last updated this config
	UpdatedBy int64 `protobuf:"varint,14,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	// Unix timestamp when the config was created
	CreatedAt int64 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix timestamp when the config was last updated
	UpdatedAt int64 `protobuf:"varint,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Flag indicating if this config is a system config
	IsSystem bool `protobuf:"varint,17,opt,name=is_system,json=isSystem,proto3" json:"is_system,omitempty"`
	// contains filtered or unexported fields
}

Config represents a single configuration key-value pair within an entity

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetBoolValue

func (x *Config) GetBoolValue() bool

func (*Config) GetCreatedAt

func (x *Config) GetCreatedAt() int64

func (*Config) GetCreatedBy

func (x *Config) GetCreatedBy() int64

func (*Config) GetDescription

func (x *Config) GetDescription() string

func (*Config) GetDisplayName

func (x *Config) GetDisplayName() string

func (*Config) GetEntityId

func (x *Config) GetEntityId() int64

func (*Config) GetFloatValue

func (x *Config) GetFloatValue() float64

func (*Config) GetId

func (x *Config) GetId() int64

func (*Config) GetIntValue

func (x *Config) GetIntValue() int64

func (*Config) GetIsSystem

func (x *Config) GetIsSystem() bool

func (*Config) GetJsonValue

func (x *Config) GetJsonValue() string

func (*Config) GetKey

func (x *Config) GetKey() string

func (*Config) GetMetadata

func (x *Config) GetMetadata() string

func (*Config) GetStringValue

func (x *Config) GetStringValue() string

func (*Config) GetType

func (x *Config) GetType() ValueType

func (*Config) GetUpdatedAt

func (x *Config) GetUpdatedAt() int64

func (*Config) GetUpdatedBy

func (x *Config) GetUpdatedBy() int64

func (*Config) GetValue

func (m *Config) GetValue() isConfig_Value

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

func (*Config) Validate

func (m *Config) Validate() error

Validate checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Config) ValidateAll

func (m *Config) ValidateAll() error

ValidateAll checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigMultiError, or nil if none found.

type ConfigEntity

type ConfigEntity struct {

	// Unique identifier for the config entity
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Unique name for the entity (e.g., "database", "auth", "payment")
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable display name
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional description explaining the purpose of this entity
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Permission ID required to read configs from this entity
	ReadPerm string `protobuf:"bytes,5,opt,name=read_perm,json=readPerm,proto3" json:"read_perm,omitempty"`
	// Permission ID required to write/modify configs in this entity
	WritePerm string `protobuf:"bytes,6,opt,name=write_perm,json=writePerm,proto3" json:"write_perm,omitempty"`
	// User ID who created this entity
	CreatedBy int64 `protobuf:"varint,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// Unix timestamp when the entity was created
	CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix timestamp when the entity was last updated
	UpdatedAt int64 `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Flag indicating if this entity is a system entity
	IsSystem bool `protobuf:"varint,10,opt,name=is_system,json=isSystem,proto3" json:"is_system,omitempty"`
	// contains filtered or unexported fields
}

ConfigEntity represents a configuration entity that groups related configs

func (*ConfigEntity) Descriptor deprecated

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

Deprecated: Use ConfigEntity.ProtoReflect.Descriptor instead.

func (*ConfigEntity) GetCreatedAt

func (x *ConfigEntity) GetCreatedAt() int64

func (*ConfigEntity) GetCreatedBy

func (x *ConfigEntity) GetCreatedBy() int64

func (*ConfigEntity) GetDescription

func (x *ConfigEntity) GetDescription() string

func (*ConfigEntity) GetDisplayName

func (x *ConfigEntity) GetDisplayName() string

func (*ConfigEntity) GetId

func (x *ConfigEntity) GetId() int64

func (*ConfigEntity) GetIsSystem

func (x *ConfigEntity) GetIsSystem() bool

func (*ConfigEntity) GetName

func (x *ConfigEntity) GetName() string

func (*ConfigEntity) GetReadPerm

func (x *ConfigEntity) GetReadPerm() string

func (*ConfigEntity) GetUpdatedAt

func (x *ConfigEntity) GetUpdatedAt() int64

func (*ConfigEntity) GetWritePerm

func (x *ConfigEntity) GetWritePerm() string

func (*ConfigEntity) ProtoMessage

func (*ConfigEntity) ProtoMessage()

func (*ConfigEntity) ProtoReflect

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

func (*ConfigEntity) Reset

func (x *ConfigEntity) Reset()

func (*ConfigEntity) String

func (x *ConfigEntity) String() string

func (*ConfigEntity) Validate

func (m *ConfigEntity) Validate() error

Validate checks the field values on ConfigEntity with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigEntity) ValidateAll

func (m *ConfigEntity) ValidateAll() error

ValidateAll checks the field values on ConfigEntity with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigEntityMultiError, or nil if none found.

type ConfigEntityMultiError

type ConfigEntityMultiError []error

ConfigEntityMultiError is an error wrapping multiple validation errors returned by ConfigEntity.ValidateAll() if the designated constraints aren't met.

func (ConfigEntityMultiError) AllErrors

func (m ConfigEntityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigEntityMultiError) Error

func (m ConfigEntityMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConfigEntityValidationError

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

ConfigEntityValidationError is the validation error returned by ConfigEntity.Validate if the designated constraints aren't met.

func (ConfigEntityValidationError) Cause

Cause function returns cause value.

func (ConfigEntityValidationError) Error

Error satisfies the builtin error interface

func (ConfigEntityValidationError) ErrorName

func (e ConfigEntityValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigEntityValidationError) Field

Field function returns field value.

func (ConfigEntityValidationError) Key

Key function returns key value.

func (ConfigEntityValidationError) Reason

Reason function returns reason value.

type ConfigMultiError

type ConfigMultiError []error

ConfigMultiError is an error wrapping multiple validation errors returned by Config.ValidateAll() if the designated constraints aren't met.

func (ConfigMultiError) AllErrors

func (m ConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigMultiError) Error

func (m ConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConfigValidationError

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

ConfigValidationError is the validation error returned by Config.Validate if the designated constraints aren't met.

func (ConfigValidationError) Cause

func (e ConfigValidationError) Cause() error

Cause function returns cause value.

func (ConfigValidationError) Error

func (e ConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ConfigValidationError) ErrorName

func (e ConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigValidationError) Field

func (e ConfigValidationError) Field() string

Field function returns field value.

func (ConfigValidationError) Key

func (e ConfigValidationError) Key() bool

Key function returns key value.

func (ConfigValidationError) Reason

func (e ConfigValidationError) Reason() string

Reason function returns reason value.

type Config_BoolValue

type Config_BoolValue struct {
	BoolValue bool `protobuf:"varint,9,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type Config_FloatValue

type Config_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,8,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Config_IntValue

type Config_IntValue struct {
	IntValue int64 `protobuf:"varint,7,opt,name=int_value,json=intValue,proto3,oneof"`
}

type Config_JsonValue

type Config_JsonValue struct {
	JsonValue string `protobuf:"bytes,10,opt,name=json_value,json=jsonValue,proto3,oneof"` // For complex JSON objects
}

type Config_StringValue

type Config_StringValue struct {
	StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type CreateConfigEntityRequest

type CreateConfigEntityRequest struct {

	// Unique name for the entity
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable display name
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// description
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Permission ID required to read configs from this entity
	ReadPerm string `protobuf:"bytes,4,opt,name=read_perm,json=readPerm,proto3" json:"read_perm,omitempty"`
	// Permission ID required to write/modify configs in this entity
	WritePerm string `protobuf:"bytes,5,opt,name=write_perm,json=writePerm,proto3" json:"write_perm,omitempty"`
	// contains filtered or unexported fields
}

Request to create a new config entity

func (*CreateConfigEntityRequest) Descriptor deprecated

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

Deprecated: Use CreateConfigEntityRequest.ProtoReflect.Descriptor instead.

func (*CreateConfigEntityRequest) GetDescription

func (x *CreateConfigEntityRequest) GetDescription() string

func (*CreateConfigEntityRequest) GetDisplayName

func (x *CreateConfigEntityRequest) GetDisplayName() string

func (*CreateConfigEntityRequest) GetName

func (x *CreateConfigEntityRequest) GetName() string

func (*CreateConfigEntityRequest) GetReadPerm

func (x *CreateConfigEntityRequest) GetReadPerm() string

func (*CreateConfigEntityRequest) GetWritePerm

func (x *CreateConfigEntityRequest) GetWritePerm() string

func (*CreateConfigEntityRequest) ProtoMessage

func (*CreateConfigEntityRequest) ProtoMessage()

func (*CreateConfigEntityRequest) ProtoReflect

func (*CreateConfigEntityRequest) Reset

func (x *CreateConfigEntityRequest) Reset()

func (*CreateConfigEntityRequest) String

func (x *CreateConfigEntityRequest) String() string

func (*CreateConfigEntityRequest) Validate

func (m *CreateConfigEntityRequest) Validate() error

Validate checks the field values on CreateConfigEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateConfigEntityRequest) ValidateAll

func (m *CreateConfigEntityRequest) ValidateAll() error

ValidateAll checks the field values on CreateConfigEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateConfigEntityRequestMultiError, or nil if none found.

type CreateConfigEntityRequestMultiError

type CreateConfigEntityRequestMultiError []error

CreateConfigEntityRequestMultiError is an error wrapping multiple validation errors returned by CreateConfigEntityRequest.ValidateAll() if the designated constraints aren't met.

func (CreateConfigEntityRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateConfigEntityRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateConfigEntityRequestValidationError

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

CreateConfigEntityRequestValidationError is the validation error returned by CreateConfigEntityRequest.Validate if the designated constraints aren't met.

func (CreateConfigEntityRequestValidationError) Cause

Cause function returns cause value.

func (CreateConfigEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateConfigEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateConfigEntityRequestValidationError) Field

Field function returns field value.

func (CreateConfigEntityRequestValidationError) Key

Key function returns key value.

func (CreateConfigEntityRequestValidationError) Reason

Reason function returns reason value.

type CreateConfigRequest

type CreateConfigRequest struct {

	// ID of the parent config entity
	EntityId int64 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// Configuration key (unique within entity)
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// Human-readable display name
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional description
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Configuration value
	//
	// Types that are assignable to Value:
	//
	//	*CreateConfigRequest_StringValue
	//	*CreateConfigRequest_IntValue
	//	*CreateConfigRequest_FloatValue
	//	*CreateConfigRequest_BoolValue
	//	*CreateConfigRequest_JsonValue
	Value isCreateConfigRequest_Value `protobuf_oneof:"value"`
	// Type of the configuration value
	Type ValueType `protobuf:"varint,10,opt,name=type,proto3,enum=v1.ValueType" json:"type,omitempty"`
	// Additional metadata
	Metadata *string `protobuf:"bytes,11,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Request to create a new config

func (*CreateConfigRequest) Descriptor deprecated

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

Deprecated: Use CreateConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateConfigRequest) GetBoolValue

func (x *CreateConfigRequest) GetBoolValue() bool

func (*CreateConfigRequest) GetDescription

func (x *CreateConfigRequest) GetDescription() string

func (*CreateConfigRequest) GetDisplayName

func (x *CreateConfigRequest) GetDisplayName() string

func (*CreateConfigRequest) GetEntityId

func (x *CreateConfigRequest) GetEntityId() int64

func (*CreateConfigRequest) GetFloatValue

func (x *CreateConfigRequest) GetFloatValue() float64

func (*CreateConfigRequest) GetIntValue

func (x *CreateConfigRequest) GetIntValue() int64

func (*CreateConfigRequest) GetJsonValue

func (x *CreateConfigRequest) GetJsonValue() string

func (*CreateConfigRequest) GetKey

func (x *CreateConfigRequest) GetKey() string

func (*CreateConfigRequest) GetMetadata

func (x *CreateConfigRequest) GetMetadata() string

func (*CreateConfigRequest) GetStringValue

func (x *CreateConfigRequest) GetStringValue() string

func (*CreateConfigRequest) GetType

func (x *CreateConfigRequest) GetType() ValueType

func (*CreateConfigRequest) GetValue

func (m *CreateConfigRequest) GetValue() isCreateConfigRequest_Value

func (*CreateConfigRequest) ProtoMessage

func (*CreateConfigRequest) ProtoMessage()

func (*CreateConfigRequest) ProtoReflect

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

func (*CreateConfigRequest) Reset

func (x *CreateConfigRequest) Reset()

func (*CreateConfigRequest) String

func (x *CreateConfigRequest) String() string

func (*CreateConfigRequest) Validate

func (m *CreateConfigRequest) Validate() error

Validate checks the field values on CreateConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateConfigRequest) ValidateAll

func (m *CreateConfigRequest) ValidateAll() error

ValidateAll checks the field values on CreateConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateConfigRequestMultiError, or nil if none found.

type CreateConfigRequestMultiError

type CreateConfigRequestMultiError []error

CreateConfigRequestMultiError is an error wrapping multiple validation errors returned by CreateConfigRequest.ValidateAll() if the designated constraints aren't met.

func (CreateConfigRequestMultiError) AllErrors

func (m CreateConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateConfigRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateConfigRequestValidationError

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

CreateConfigRequestValidationError is the validation error returned by CreateConfigRequest.Validate if the designated constraints aren't met.

func (CreateConfigRequestValidationError) Cause

Cause function returns cause value.

func (CreateConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateConfigRequestValidationError) Field

Field function returns field value.

func (CreateConfigRequestValidationError) Key

Key function returns key value.

func (CreateConfigRequestValidationError) Reason

Reason function returns reason value.

type CreateConfigRequest_BoolValue

type CreateConfigRequest_BoolValue struct {
	BoolValue bool `protobuf:"varint,8,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type CreateConfigRequest_FloatValue

type CreateConfigRequest_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,7,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type CreateConfigRequest_IntValue

type CreateConfigRequest_IntValue struct {
	IntValue int64 `protobuf:"varint,6,opt,name=int_value,json=intValue,proto3,oneof"`
}

type CreateConfigRequest_JsonValue

type CreateConfigRequest_JsonValue struct {
	JsonValue string `protobuf:"bytes,9,opt,name=json_value,json=jsonValue,proto3,oneof"` // For complex JSON objects
}

type CreateConfigRequest_StringValue

type CreateConfigRequest_StringValue struct {
	StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type CreateGroupRequest

type CreateGroupRequest struct {

	// Unique name for the group
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable display name for the group
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional detailed description of the group
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	IsDefault   bool    `protobuf:"varint,4,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

CreateGroupRequest to create a new group

func (*CreateGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) GetDescription

func (x *CreateGroupRequest) GetDescription() string

func (*CreateGroupRequest) GetDisplayName

func (x *CreateGroupRequest) GetDisplayName() string

func (*CreateGroupRequest) GetIsDefault

func (x *CreateGroupRequest) GetIsDefault() bool

func (*CreateGroupRequest) GetName

func (x *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect

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

func (*CreateGroupRequest) Reset

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (x *CreateGroupRequest) String() string

func (*CreateGroupRequest) Validate

func (m *CreateGroupRequest) Validate() error

Validate checks the field values on CreateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateGroupRequest) ValidateAll

func (m *CreateGroupRequest) ValidateAll() error

ValidateAll checks the field values on CreateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateGroupRequestMultiError, or nil if none found.

type CreateGroupRequestMultiError

type CreateGroupRequestMultiError []error

CreateGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateGroupRequest.ValidateAll() if the designated constraints aren't met.

func (CreateGroupRequestMultiError) AllErrors

func (m CreateGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateGroupRequestValidationError

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

CreateGroupRequestValidationError is the validation error returned by CreateGroupRequest.Validate if the designated constraints aren't met.

func (CreateGroupRequestValidationError) Cause

Cause function returns cause value.

func (CreateGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateGroupRequestValidationError) Field

Field function returns field value.

func (CreateGroupRequestValidationError) Key

Key function returns key value.

func (CreateGroupRequestValidationError) Reason

Reason function returns reason value.

type CreateGroupResponse

type CreateGroupResponse struct {
	Group   *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

CreateGroupResponse after successful group creation

func (*CreateGroupResponse) Descriptor deprecated

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

Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.

func (*CreateGroupResponse) GetGroup

func (x *CreateGroupResponse) GetGroup() *Group

func (*CreateGroupResponse) GetMessage

func (x *CreateGroupResponse) GetMessage() string

func (*CreateGroupResponse) ProtoMessage

func (*CreateGroupResponse) ProtoMessage()

func (*CreateGroupResponse) ProtoReflect

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

func (*CreateGroupResponse) Reset

func (x *CreateGroupResponse) Reset()

func (*CreateGroupResponse) String

func (x *CreateGroupResponse) String() string

func (*CreateGroupResponse) Validate

func (m *CreateGroupResponse) Validate() error

Validate checks the field values on CreateGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateGroupResponse) ValidateAll

func (m *CreateGroupResponse) ValidateAll() error

ValidateAll checks the field values on CreateGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateGroupResponseMultiError, or nil if none found.

type CreateGroupResponseMultiError

type CreateGroupResponseMultiError []error

CreateGroupResponseMultiError is an error wrapping multiple validation errors returned by CreateGroupResponse.ValidateAll() if the designated constraints aren't met.

func (CreateGroupResponseMultiError) AllErrors

func (m CreateGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateGroupResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateGroupResponseValidationError

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

CreateGroupResponseValidationError is the validation error returned by CreateGroupResponse.Validate if the designated constraints aren't met.

func (CreateGroupResponseValidationError) Cause

Cause function returns cause value.

func (CreateGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateGroupResponseValidationError) Field

Field function returns field value.

func (CreateGroupResponseValidationError) Key

Key function returns key value.

func (CreateGroupResponseValidationError) Reason

Reason function returns reason value.

type CreatePermissionRequest

type CreatePermissionRequest struct {

	// Unique name for the permission, typically in format "resource.action"
	// Must be unique across all permissions
	// Examples: "users.create", "orders.approve", "reports.export"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable display name
	// Examples: "Create Users", "Approve Orders", "Export Reports"
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional detailed description explaining what this permission allows
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Request to create a new permission

func (*CreatePermissionRequest) Descriptor deprecated

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

Deprecated: Use CreatePermissionRequest.ProtoReflect.Descriptor instead.

func (*CreatePermissionRequest) GetDescription

func (x *CreatePermissionRequest) GetDescription() string

func (*CreatePermissionRequest) GetDisplayName

func (x *CreatePermissionRequest) GetDisplayName() string

func (*CreatePermissionRequest) GetName

func (x *CreatePermissionRequest) GetName() string

func (*CreatePermissionRequest) ProtoMessage

func (*CreatePermissionRequest) ProtoMessage()

func (*CreatePermissionRequest) ProtoReflect

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

func (*CreatePermissionRequest) Reset

func (x *CreatePermissionRequest) Reset()

func (*CreatePermissionRequest) String

func (x *CreatePermissionRequest) String() string

func (*CreatePermissionRequest) Validate

func (m *CreatePermissionRequest) Validate() error

Validate checks the field values on CreatePermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreatePermissionRequest) ValidateAll

func (m *CreatePermissionRequest) ValidateAll() error

ValidateAll checks the field values on CreatePermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreatePermissionRequestMultiError, or nil if none found.

type CreatePermissionRequestMultiError

type CreatePermissionRequestMultiError []error

CreatePermissionRequestMultiError is an error wrapping multiple validation errors returned by CreatePermissionRequest.ValidateAll() if the designated constraints aren't met.

func (CreatePermissionRequestMultiError) AllErrors

func (m CreatePermissionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreatePermissionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreatePermissionRequestValidationError

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

CreatePermissionRequestValidationError is the validation error returned by CreatePermissionRequest.Validate if the designated constraints aren't met.

func (CreatePermissionRequestValidationError) Cause

Cause function returns cause value.

func (CreatePermissionRequestValidationError) Error

Error satisfies the builtin error interface

func (CreatePermissionRequestValidationError) ErrorName

ErrorName returns error name.

func (CreatePermissionRequestValidationError) Field

Field function returns field value.

func (CreatePermissionRequestValidationError) Key

Key function returns key value.

func (CreatePermissionRequestValidationError) Reason

Reason function returns reason value.

type CreateProfileRequest

type CreateProfileRequest struct {
	UserId      int64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ProfileName *string `protobuf:"bytes,2,opt,name=profile_name,json=profileName,proto3,oneof" json:"profile_name,omitempty"`
	FirstName   *string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
	LastName    *string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
	DisplayName *string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	Bio         *string `protobuf:"bytes,6,opt,name=bio,proto3,oneof" json:"bio,omitempty"`
	AvatarUrl   *string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	DateOfBirth *string `protobuf:"bytes,8,opt,name=date_of_birth,json=dateOfBirth,proto3,oneof" json:"date_of_birth,omitempty"` // yyyy-mm-dd
	Gender      *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Timezone    *string `protobuf:"bytes,10,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"`
	Locale      *string `protobuf:"bytes,11,opt,name=locale,proto3,oneof" json:"locale,omitempty"`
	Country     *string `protobuf:"bytes,12,opt,name=country,proto3,oneof" json:"country,omitempty"`
	City        *string `protobuf:"bytes,13,opt,name=city,proto3,oneof" json:"city,omitempty"`
	Address     *string `protobuf:"bytes,14,opt,name=address,proto3,oneof" json:"address,omitempty"`
	PostalCode  *string `protobuf:"bytes,15,opt,name=postal_code,json=postalCode,proto3,oneof" json:"postal_code,omitempty"`
	WebsiteUrl  *string `protobuf:"bytes,16,opt,name=website_url,json=websiteUrl,proto3,oneof" json:"website_url,omitempty"`
	Metadata    []byte  `protobuf:"bytes,17,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

CreateProfileRequest to create a new profile for a user

func (*CreateProfileRequest) Descriptor deprecated

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

Deprecated: Use CreateProfileRequest.ProtoReflect.Descriptor instead.

func (*CreateProfileRequest) GetAddress

func (x *CreateProfileRequest) GetAddress() string

func (*CreateProfileRequest) GetAvatarUrl

func (x *CreateProfileRequest) GetAvatarUrl() string

func (*CreateProfileRequest) GetBio

func (x *CreateProfileRequest) GetBio() string

func (*CreateProfileRequest) GetCity

func (x *CreateProfileRequest) GetCity() string

func (*CreateProfileRequest) GetCountry

func (x *CreateProfileRequest) GetCountry() string

func (*CreateProfileRequest) GetDateOfBirth

func (x *CreateProfileRequest) GetDateOfBirth() string

func (*CreateProfileRequest) GetDisplayName

func (x *CreateProfileRequest) GetDisplayName() string

func (*CreateProfileRequest) GetFirstName

func (x *CreateProfileRequest) GetFirstName() string

func (*CreateProfileRequest) GetGender

func (x *CreateProfileRequest) GetGender() string

func (*CreateProfileRequest) GetLastName

func (x *CreateProfileRequest) GetLastName() string

func (*CreateProfileRequest) GetLocale

func (x *CreateProfileRequest) GetLocale() string

func (*CreateProfileRequest) GetMetadata

func (x *CreateProfileRequest) GetMetadata() []byte

func (*CreateProfileRequest) GetPostalCode

func (x *CreateProfileRequest) GetPostalCode() string

func (*CreateProfileRequest) GetProfileName

func (x *CreateProfileRequest) GetProfileName() string

func (*CreateProfileRequest) GetTimezone

func (x *CreateProfileRequest) GetTimezone() string

func (*CreateProfileRequest) GetUserId

func (x *CreateProfileRequest) GetUserId() int64

func (*CreateProfileRequest) GetWebsiteUrl

func (x *CreateProfileRequest) GetWebsiteUrl() string

func (*CreateProfileRequest) ProtoMessage

func (*CreateProfileRequest) ProtoMessage()

func (*CreateProfileRequest) ProtoReflect

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

func (*CreateProfileRequest) Reset

func (x *CreateProfileRequest) Reset()

func (*CreateProfileRequest) String

func (x *CreateProfileRequest) String() string

func (*CreateProfileRequest) Validate

func (m *CreateProfileRequest) Validate() error

Validate checks the field values on CreateProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateProfileRequest) ValidateAll

func (m *CreateProfileRequest) ValidateAll() error

ValidateAll checks the field values on CreateProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProfileRequestMultiError, or nil if none found.

type CreateProfileRequestMultiError

type CreateProfileRequestMultiError []error

CreateProfileRequestMultiError is an error wrapping multiple validation errors returned by CreateProfileRequest.ValidateAll() if the designated constraints aren't met.

func (CreateProfileRequestMultiError) AllErrors

func (m CreateProfileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateProfileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateProfileRequestValidationError

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

CreateProfileRequestValidationError is the validation error returned by CreateProfileRequest.Validate if the designated constraints aren't met.

func (CreateProfileRequestValidationError) Cause

Cause function returns cause value.

func (CreateProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateProfileRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateProfileRequestValidationError) Field

Field function returns field value.

func (CreateProfileRequestValidationError) Key

Key function returns key value.

func (CreateProfileRequestValidationError) Reason

Reason function returns reason value.

type CreateProfileResponse

type CreateProfileResponse struct {
	Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	Message string       `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

CreateProfileResponse

func (*CreateProfileResponse) Descriptor deprecated

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

Deprecated: Use CreateProfileResponse.ProtoReflect.Descriptor instead.

func (*CreateProfileResponse) GetMessage

func (x *CreateProfileResponse) GetMessage() string

func (*CreateProfileResponse) GetProfile

func (x *CreateProfileResponse) GetProfile() *UserProfile

func (*CreateProfileResponse) ProtoMessage

func (*CreateProfileResponse) ProtoMessage()

func (*CreateProfileResponse) ProtoReflect

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

func (*CreateProfileResponse) Reset

func (x *CreateProfileResponse) Reset()

func (*CreateProfileResponse) String

func (x *CreateProfileResponse) String() string

func (*CreateProfileResponse) Validate

func (m *CreateProfileResponse) Validate() error

Validate checks the field values on CreateProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateProfileResponse) ValidateAll

func (m *CreateProfileResponse) ValidateAll() error

ValidateAll checks the field values on CreateProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProfileResponseMultiError, or nil if none found.

type CreateProfileResponseMultiError

type CreateProfileResponseMultiError []error

CreateProfileResponseMultiError is an error wrapping multiple validation errors returned by CreateProfileResponse.ValidateAll() if the designated constraints aren't met.

func (CreateProfileResponseMultiError) AllErrors

func (m CreateProfileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateProfileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateProfileResponseValidationError

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

CreateProfileResponseValidationError is the validation error returned by CreateProfileResponse.Validate if the designated constraints aren't met.

func (CreateProfileResponseValidationError) Cause

Cause function returns cause value.

func (CreateProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateProfileResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateProfileResponseValidationError) Field

Field function returns field value.

func (CreateProfileResponseValidationError) Key

Key function returns key value.

func (CreateProfileResponseValidationError) Reason

Reason function returns reason value.

type DeleteConfigEntityRequest

type DeleteConfigEntityRequest struct {

	// The unique identifier of the config entity to delete
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a config entity

func (*DeleteConfigEntityRequest) Descriptor deprecated

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

Deprecated: Use DeleteConfigEntityRequest.ProtoReflect.Descriptor instead.

func (*DeleteConfigEntityRequest) GetId

func (x *DeleteConfigEntityRequest) GetId() int64

func (*DeleteConfigEntityRequest) ProtoMessage

func (*DeleteConfigEntityRequest) ProtoMessage()

func (*DeleteConfigEntityRequest) ProtoReflect

func (*DeleteConfigEntityRequest) Reset

func (x *DeleteConfigEntityRequest) Reset()

func (*DeleteConfigEntityRequest) String

func (x *DeleteConfigEntityRequest) String() string

func (*DeleteConfigEntityRequest) Validate

func (m *DeleteConfigEntityRequest) Validate() error

Validate checks the field values on DeleteConfigEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteConfigEntityRequest) ValidateAll

func (m *DeleteConfigEntityRequest) ValidateAll() error

ValidateAll checks the field values on DeleteConfigEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteConfigEntityRequestMultiError, or nil if none found.

type DeleteConfigEntityRequestMultiError

type DeleteConfigEntityRequestMultiError []error

DeleteConfigEntityRequestMultiError is an error wrapping multiple validation errors returned by DeleteConfigEntityRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteConfigEntityRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteConfigEntityRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteConfigEntityRequestValidationError

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

DeleteConfigEntityRequestValidationError is the validation error returned by DeleteConfigEntityRequest.Validate if the designated constraints aren't met.

func (DeleteConfigEntityRequestValidationError) Cause

Cause function returns cause value.

func (DeleteConfigEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteConfigEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteConfigEntityRequestValidationError) Field

Field function returns field value.

func (DeleteConfigEntityRequestValidationError) Key

Key function returns key value.

func (DeleteConfigEntityRequestValidationError) Reason

Reason function returns reason value.

type DeleteConfigRequest

type DeleteConfigRequest struct {

	// The unique identifier of the config to delete
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a config

func (*DeleteConfigRequest) Descriptor deprecated

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

Deprecated: Use DeleteConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteConfigRequest) GetId

func (x *DeleteConfigRequest) GetId() int64

func (*DeleteConfigRequest) ProtoMessage

func (*DeleteConfigRequest) ProtoMessage()

func (*DeleteConfigRequest) ProtoReflect

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

func (*DeleteConfigRequest) Reset

func (x *DeleteConfigRequest) Reset()

func (*DeleteConfigRequest) String

func (x *DeleteConfigRequest) String() string

func (*DeleteConfigRequest) Validate

func (m *DeleteConfigRequest) Validate() error

Validate checks the field values on DeleteConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteConfigRequest) ValidateAll

func (m *DeleteConfigRequest) ValidateAll() error

ValidateAll checks the field values on DeleteConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteConfigRequestMultiError, or nil if none found.

type DeleteConfigRequestMultiError

type DeleteConfigRequestMultiError []error

DeleteConfigRequestMultiError is an error wrapping multiple validation errors returned by DeleteConfigRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteConfigRequestMultiError) AllErrors

func (m DeleteConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteConfigRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteConfigRequestValidationError

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

DeleteConfigRequestValidationError is the validation error returned by DeleteConfigRequest.Validate if the designated constraints aren't met.

func (DeleteConfigRequestValidationError) Cause

Cause function returns cause value.

func (DeleteConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteConfigRequestValidationError) Field

Field function returns field value.

func (DeleteConfigRequestValidationError) Key

Key function returns key value.

func (DeleteConfigRequestValidationError) Reason

Reason function returns reason value.

type DeleteGroupRequest

type DeleteGroupRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteGroupRequest to delete a group

func (*DeleteGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) GetId

func (x *DeleteGroupRequest) GetId() int64

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect

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

func (*DeleteGroupRequest) Reset

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (x *DeleteGroupRequest) String() string

func (*DeleteGroupRequest) Validate

func (m *DeleteGroupRequest) Validate() error

Validate checks the field values on DeleteGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteGroupRequest) ValidateAll

func (m *DeleteGroupRequest) ValidateAll() error

ValidateAll checks the field values on DeleteGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteGroupRequestMultiError, or nil if none found.

type DeleteGroupRequestMultiError

type DeleteGroupRequestMultiError []error

DeleteGroupRequestMultiError is an error wrapping multiple validation errors returned by DeleteGroupRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteGroupRequestMultiError) AllErrors

func (m DeleteGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteGroupRequestValidationError

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

DeleteGroupRequestValidationError is the validation error returned by DeleteGroupRequest.Validate if the designated constraints aren't met.

func (DeleteGroupRequestValidationError) Cause

Cause function returns cause value.

func (DeleteGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteGroupRequestValidationError) Field

Field function returns field value.

func (DeleteGroupRequestValidationError) Key

Key function returns key value.

func (DeleteGroupRequestValidationError) Reason

Reason function returns reason value.

type DeleteGroupResponse

type DeleteGroupResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

DeleteGroupResponse

func (*DeleteGroupResponse) Descriptor deprecated

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

Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.

func (*DeleteGroupResponse) GetMessage

func (x *DeleteGroupResponse) GetMessage() string

func (*DeleteGroupResponse) GetSuccess

func (x *DeleteGroupResponse) GetSuccess() bool

func (*DeleteGroupResponse) ProtoMessage

func (*DeleteGroupResponse) ProtoMessage()

func (*DeleteGroupResponse) ProtoReflect

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

func (*DeleteGroupResponse) Reset

func (x *DeleteGroupResponse) Reset()

func (*DeleteGroupResponse) String

func (x *DeleteGroupResponse) String() string

func (*DeleteGroupResponse) Validate

func (m *DeleteGroupResponse) Validate() error

Validate checks the field values on DeleteGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteGroupResponse) ValidateAll

func (m *DeleteGroupResponse) ValidateAll() error

ValidateAll checks the field values on DeleteGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteGroupResponseMultiError, or nil if none found.

type DeleteGroupResponseMultiError

type DeleteGroupResponseMultiError []error

DeleteGroupResponseMultiError is an error wrapping multiple validation errors returned by DeleteGroupResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteGroupResponseMultiError) AllErrors

func (m DeleteGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteGroupResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteGroupResponseValidationError

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

DeleteGroupResponseValidationError is the validation error returned by DeleteGroupResponse.Validate if the designated constraints aren't met.

func (DeleteGroupResponseValidationError) Cause

Cause function returns cause value.

func (DeleteGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteGroupResponseValidationError) Field

Field function returns field value.

func (DeleteGroupResponseValidationError) Key

Key function returns key value.

func (DeleteGroupResponseValidationError) Reason

Reason function returns reason value.

type DeletePermissionRequest

type DeletePermissionRequest struct {

	// The unique identifier of the permission to delete
	// Note: System permissions cannot be deleted
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a permission

func (*DeletePermissionRequest) Descriptor deprecated

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

Deprecated: Use DeletePermissionRequest.ProtoReflect.Descriptor instead.

func (*DeletePermissionRequest) GetId

func (x *DeletePermissionRequest) GetId() int64

func (*DeletePermissionRequest) ProtoMessage

func (*DeletePermissionRequest) ProtoMessage()

func (*DeletePermissionRequest) ProtoReflect

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

func (*DeletePermissionRequest) Reset

func (x *DeletePermissionRequest) Reset()

func (*DeletePermissionRequest) String

func (x *DeletePermissionRequest) String() string

func (*DeletePermissionRequest) Validate

func (m *DeletePermissionRequest) Validate() error

Validate checks the field values on DeletePermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePermissionRequest) ValidateAll

func (m *DeletePermissionRequest) ValidateAll() error

ValidateAll checks the field values on DeletePermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePermissionRequestMultiError, or nil if none found.

type DeletePermissionRequestMultiError

type DeletePermissionRequestMultiError []error

DeletePermissionRequestMultiError is an error wrapping multiple validation errors returned by DeletePermissionRequest.ValidateAll() if the designated constraints aren't met.

func (DeletePermissionRequestMultiError) AllErrors

func (m DeletePermissionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeletePermissionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeletePermissionRequestValidationError

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

DeletePermissionRequestValidationError is the validation error returned by DeletePermissionRequest.Validate if the designated constraints aren't met.

func (DeletePermissionRequestValidationError) Cause

Cause function returns cause value.

func (DeletePermissionRequestValidationError) Error

Error satisfies the builtin error interface

func (DeletePermissionRequestValidationError) ErrorName

ErrorName returns error name.

func (DeletePermissionRequestValidationError) Field

Field function returns field value.

func (DeletePermissionRequestValidationError) Key

Key function returns key value.

func (DeletePermissionRequestValidationError) Reason

Reason function returns reason value.

type DeletePermissionResponse

type DeletePermissionResponse struct {

	// Whether the deletion was successful
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// Human-readable message about the deletion result
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Response confirming permission deletion

func (*DeletePermissionResponse) Descriptor deprecated

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

Deprecated: Use DeletePermissionResponse.ProtoReflect.Descriptor instead.

func (*DeletePermissionResponse) GetMessage

func (x *DeletePermissionResponse) GetMessage() string

func (*DeletePermissionResponse) GetSuccess

func (x *DeletePermissionResponse) GetSuccess() bool

func (*DeletePermissionResponse) ProtoMessage

func (*DeletePermissionResponse) ProtoMessage()

func (*DeletePermissionResponse) ProtoReflect

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

func (*DeletePermissionResponse) Reset

func (x *DeletePermissionResponse) Reset()

func (*DeletePermissionResponse) String

func (x *DeletePermissionResponse) String() string

func (*DeletePermissionResponse) Validate

func (m *DeletePermissionResponse) Validate() error

Validate checks the field values on DeletePermissionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePermissionResponse) ValidateAll

func (m *DeletePermissionResponse) ValidateAll() error

ValidateAll checks the field values on DeletePermissionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePermissionResponseMultiError, or nil if none found.

type DeletePermissionResponseMultiError

type DeletePermissionResponseMultiError []error

DeletePermissionResponseMultiError is an error wrapping multiple validation errors returned by DeletePermissionResponse.ValidateAll() if the designated constraints aren't met.

func (DeletePermissionResponseMultiError) AllErrors

func (m DeletePermissionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeletePermissionResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeletePermissionResponseValidationError

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

DeletePermissionResponseValidationError is the validation error returned by DeletePermissionResponse.Validate if the designated constraints aren't met.

func (DeletePermissionResponseValidationError) Cause

Cause function returns cause value.

func (DeletePermissionResponseValidationError) Error

Error satisfies the builtin error interface

func (DeletePermissionResponseValidationError) ErrorName

ErrorName returns error name.

func (DeletePermissionResponseValidationError) Field

Field function returns field value.

func (DeletePermissionResponseValidationError) Key

Key function returns key value.

func (DeletePermissionResponseValidationError) Reason

Reason function returns reason value.

type DeleteProfileRequest

type DeleteProfileRequest struct {
	ProfileUuid string `protobuf:"bytes,1,opt,name=profile_uuid,json=profileUuid,proto3" json:"profile_uuid,omitempty"`
	// contains filtered or unexported fields
}

DeleteProfileRequest to delete a specific profile

func (*DeleteProfileRequest) Descriptor deprecated

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

Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteProfileRequest) GetProfileUuid

func (x *DeleteProfileRequest) GetProfileUuid() string

func (*DeleteProfileRequest) ProtoMessage

func (*DeleteProfileRequest) ProtoMessage()

func (*DeleteProfileRequest) ProtoReflect

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

func (*DeleteProfileRequest) Reset

func (x *DeleteProfileRequest) Reset()

func (*DeleteProfileRequest) String

func (x *DeleteProfileRequest) String() string

func (*DeleteProfileRequest) Validate

func (m *DeleteProfileRequest) Validate() error

Validate checks the field values on DeleteProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteProfileRequest) ValidateAll

func (m *DeleteProfileRequest) ValidateAll() error

ValidateAll checks the field values on DeleteProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteProfileRequestMultiError, or nil if none found.

type DeleteProfileRequestMultiError

type DeleteProfileRequestMultiError []error

DeleteProfileRequestMultiError is an error wrapping multiple validation errors returned by DeleteProfileRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteProfileRequestMultiError) AllErrors

func (m DeleteProfileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteProfileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteProfileRequestValidationError

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

DeleteProfileRequestValidationError is the validation error returned by DeleteProfileRequest.Validate if the designated constraints aren't met.

func (DeleteProfileRequestValidationError) Cause

Cause function returns cause value.

func (DeleteProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteProfileRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteProfileRequestValidationError) Field

Field function returns field value.

func (DeleteProfileRequestValidationError) Key

Key function returns key value.

func (DeleteProfileRequestValidationError) Reason

Reason function returns reason value.

type DeleteProfileResponse

type DeleteProfileResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

DeleteProfileResponse

func (*DeleteProfileResponse) Descriptor deprecated

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

Deprecated: Use DeleteProfileResponse.ProtoReflect.Descriptor instead.

func (*DeleteProfileResponse) GetMessage

func (x *DeleteProfileResponse) GetMessage() string

func (*DeleteProfileResponse) GetSuccess

func (x *DeleteProfileResponse) GetSuccess() bool

func (*DeleteProfileResponse) ProtoMessage

func (*DeleteProfileResponse) ProtoMessage()

func (*DeleteProfileResponse) ProtoReflect

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

func (*DeleteProfileResponse) Reset

func (x *DeleteProfileResponse) Reset()

func (*DeleteProfileResponse) String

func (x *DeleteProfileResponse) String() string

func (*DeleteProfileResponse) Validate

func (m *DeleteProfileResponse) Validate() error

Validate checks the field values on DeleteProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteProfileResponse) ValidateAll

func (m *DeleteProfileResponse) ValidateAll() error

ValidateAll checks the field values on DeleteProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteProfileResponseMultiError, or nil if none found.

type DeleteProfileResponseMultiError

type DeleteProfileResponseMultiError []error

DeleteProfileResponseMultiError is an error wrapping multiple validation errors returned by DeleteProfileResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteProfileResponseMultiError) AllErrors

func (m DeleteProfileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteProfileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteProfileResponseValidationError

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

DeleteProfileResponseValidationError is the validation error returned by DeleteProfileResponse.Validate if the designated constraints aren't met.

func (DeleteProfileResponseValidationError) Cause

Cause function returns cause value.

func (DeleteProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteProfileResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteProfileResponseValidationError) Field

Field function returns field value.

func (DeleteProfileResponseValidationError) Key

Key function returns key value.

func (DeleteProfileResponseValidationError) Reason

Reason function returns reason value.

type DeleteResponse

type DeleteResponse struct {

	// Whether the operation was successful
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// Optional message
	Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Generic response for delete operations

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) GetMessage

func (x *DeleteResponse) GetMessage() string

func (*DeleteResponse) GetSuccess

func (x *DeleteResponse) GetSuccess() bool

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

func (*DeleteResponse) Validate

func (m *DeleteResponse) Validate() error

Validate checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteResponse) ValidateAll

func (m *DeleteResponse) ValidateAll() error

ValidateAll checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteResponseMultiError, or nil if none found.

type DeleteResponseMultiError

type DeleteResponseMultiError []error

DeleteResponseMultiError is an error wrapping multiple validation errors returned by DeleteResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteResponseMultiError) AllErrors

func (m DeleteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteResponseMultiError) Error

func (m DeleteResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteResponseValidationError

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

DeleteResponseValidationError is the validation error returned by DeleteResponse.Validate if the designated constraints aren't met.

func (DeleteResponseValidationError) Cause

Cause function returns cause value.

func (DeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteResponseValidationError) ErrorName

func (e DeleteResponseValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteResponseValidationError) Field

Field function returns field value.

func (DeleteResponseValidationError) Key

Key function returns key value.

func (DeleteResponseValidationError) Reason

Reason function returns reason value.

type DeleteUserRequest

type DeleteUserRequest struct {
	Uuid       string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	SoftDelete bool   `protobuf:"varint,2,opt,name=soft_delete,json=softDelete,proto3" json:"soft_delete,omitempty"` // If true, just deactivate; if false, hard delete
	// contains filtered or unexported fields
}

DeleteUserRequest to delete/deactivate user

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetSoftDelete

func (x *DeleteUserRequest) GetSoftDelete() bool

func (*DeleteUserRequest) GetUuid

func (x *DeleteUserRequest) GetUuid() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

func (*DeleteUserRequest) Validate

func (m *DeleteUserRequest) Validate() error

Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserRequest) ValidateAll

func (m *DeleteUserRequest) ValidateAll() error

ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.

type DeleteUserRequestMultiError

type DeleteUserRequestMultiError []error

DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteUserRequestMultiError) AllErrors

func (m DeleteUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserRequestValidationError

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

DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.

func (DeleteUserRequestValidationError) Cause

Cause function returns cause value.

func (DeleteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserRequestValidationError) Field

Field function returns field value.

func (DeleteUserRequestValidationError) Key

Key function returns key value.

func (DeleteUserRequestValidationError) Reason

Reason function returns reason value.

type DeleteUserResponse

type DeleteUserResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserResponse

func (*DeleteUserResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) GetMessage

func (x *DeleteUserResponse) GetMessage() string

func (*DeleteUserResponse) GetSuccess

func (x *DeleteUserResponse) GetSuccess() bool

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

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

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

func (*DeleteUserResponse) Validate

func (m *DeleteUserResponse) Validate() error

Validate checks the field values on DeleteUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserResponse) ValidateAll

func (m *DeleteUserResponse) ValidateAll() error

ValidateAll checks the field values on DeleteUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserResponseMultiError, or nil if none found.

type DeleteUserResponseMultiError

type DeleteUserResponseMultiError []error

DeleteUserResponseMultiError is an error wrapping multiple validation errors returned by DeleteUserResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteUserResponseMultiError) AllErrors

func (m DeleteUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserResponseValidationError

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

DeleteUserResponseValidationError is the validation error returned by DeleteUserResponse.Validate if the designated constraints aren't met.

func (DeleteUserResponseValidationError) Cause

Cause function returns cause value.

func (DeleteUserResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserResponseValidationError) Field

Field function returns field value.

func (DeleteUserResponseValidationError) Key

Key function returns key value.

func (DeleteUserResponseValidationError) Reason

Reason function returns reason value.

type EffectivePermission

type EffectivePermission struct {

	// Permission details
	PermissionId          int64   `protobuf:"varint,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	PermissionName        string  `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"`
	PermissionDisplayName string  `` /* 126-byte string literal not displayed */
	PermissionDescription *string `` /* 130-byte string literal not displayed */
	// Source of the permission: "direct" or "group"
	Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	// If source is "group", this contains the group details
	GroupId          *int64  `protobuf:"varint,6,opt,name=group_id,json=groupId,proto3,oneof" json:"group_id,omitempty"`
	GroupName        *string `protobuf:"bytes,7,opt,name=group_name,json=groupName,proto3,oneof" json:"group_name,omitempty"`
	GroupDisplayName *string `protobuf:"bytes,8,opt,name=group_display_name,json=groupDisplayName,proto3,oneof" json:"group_display_name,omitempty"`
	// If source is "direct", this may contain expiration info
	ExpiresAt *int64 `protobuf:"varint,9,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	// When this permission was granted
	GrantedAt int64 `protobuf:"varint,10,opt,name=granted_at,json=grantedAt,proto3" json:"granted_at,omitempty"`
	// Who granted this permission
	GrantedBy int64 `protobuf:"varint,11,opt,name=granted_by,json=grantedBy,proto3" json:"granted_by,omitempty"`
	// contains filtered or unexported fields
}

EffectivePermission represents a permission that a user has either directly or through group membership

func (*EffectivePermission) Descriptor deprecated

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

Deprecated: Use EffectivePermission.ProtoReflect.Descriptor instead.

func (*EffectivePermission) GetExpiresAt

func (x *EffectivePermission) GetExpiresAt() int64

func (*EffectivePermission) GetGrantedAt

func (x *EffectivePermission) GetGrantedAt() int64

func (*EffectivePermission) GetGrantedBy

func (x *EffectivePermission) GetGrantedBy() int64

func (*EffectivePermission) GetGroupDisplayName

func (x *EffectivePermission) GetGroupDisplayName() string

func (*EffectivePermission) GetGroupId

func (x *EffectivePermission) GetGroupId() int64

func (*EffectivePermission) GetGroupName

func (x *EffectivePermission) GetGroupName() string

func (*EffectivePermission) GetPermissionDescription

func (x *EffectivePermission) GetPermissionDescription() string

func (*EffectivePermission) GetPermissionDisplayName

func (x *EffectivePermission) GetPermissionDisplayName() string

func (*EffectivePermission) GetPermissionId

func (x *EffectivePermission) GetPermissionId() int64

func (*EffectivePermission) GetPermissionName

func (x *EffectivePermission) GetPermissionName() string

func (*EffectivePermission) GetSource

func (x *EffectivePermission) GetSource() string

func (*EffectivePermission) ProtoMessage

func (*EffectivePermission) ProtoMessage()

func (*EffectivePermission) ProtoReflect

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

func (*EffectivePermission) Reset

func (x *EffectivePermission) Reset()

func (*EffectivePermission) String

func (x *EffectivePermission) String() string

func (*EffectivePermission) Validate

func (m *EffectivePermission) Validate() error

Validate checks the field values on EffectivePermission with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EffectivePermission) ValidateAll

func (m *EffectivePermission) ValidateAll() error

ValidateAll checks the field values on EffectivePermission with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EffectivePermissionMultiError, or nil if none found.

type EffectivePermissionMultiError

type EffectivePermissionMultiError []error

EffectivePermissionMultiError is an error wrapping multiple validation errors returned by EffectivePermission.ValidateAll() if the designated constraints aren't met.

func (EffectivePermissionMultiError) AllErrors

func (m EffectivePermissionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EffectivePermissionMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EffectivePermissionValidationError

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

EffectivePermissionValidationError is the validation error returned by EffectivePermission.Validate if the designated constraints aren't met.

func (EffectivePermissionValidationError) Cause

Cause function returns cause value.

func (EffectivePermissionValidationError) Error

Error satisfies the builtin error interface

func (EffectivePermissionValidationError) ErrorName

ErrorName returns error name.

func (EffectivePermissionValidationError) Field

Field function returns field value.

func (EffectivePermissionValidationError) Key

Key function returns key value.

func (EffectivePermissionValidationError) Reason

Reason function returns reason value.

type GetConfigByKeyRequest

type GetConfigByKeyRequest struct {
	EntityName string `protobuf:"bytes,2,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"`
	// The configuration key
	Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

Request to get a specific config by entity and key

func (*GetConfigByKeyRequest) Descriptor deprecated

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

Deprecated: Use GetConfigByKeyRequest.ProtoReflect.Descriptor instead.

func (*GetConfigByKeyRequest) GetEntityName

func (x *GetConfigByKeyRequest) GetEntityName() string

func (*GetConfigByKeyRequest) GetKey

func (x *GetConfigByKeyRequest) GetKey() string

func (*GetConfigByKeyRequest) ProtoMessage

func (*GetConfigByKeyRequest) ProtoMessage()

func (*GetConfigByKeyRequest) ProtoReflect

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

func (*GetConfigByKeyRequest) Reset

func (x *GetConfigByKeyRequest) Reset()

func (*GetConfigByKeyRequest) String

func (x *GetConfigByKeyRequest) String() string

func (*GetConfigByKeyRequest) Validate

func (m *GetConfigByKeyRequest) Validate() error

Validate checks the field values on GetConfigByKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConfigByKeyRequest) ValidateAll

func (m *GetConfigByKeyRequest) ValidateAll() error

ValidateAll checks the field values on GetConfigByKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigByKeyRequestMultiError, or nil if none found.

type GetConfigByKeyRequestMultiError

type GetConfigByKeyRequestMultiError []error

GetConfigByKeyRequestMultiError is an error wrapping multiple validation errors returned by GetConfigByKeyRequest.ValidateAll() if the designated constraints aren't met.

func (GetConfigByKeyRequestMultiError) AllErrors

func (m GetConfigByKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigByKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConfigByKeyRequestValidationError

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

GetConfigByKeyRequestValidationError is the validation error returned by GetConfigByKeyRequest.Validate if the designated constraints aren't met.

func (GetConfigByKeyRequestValidationError) Cause

Cause function returns cause value.

func (GetConfigByKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConfigByKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConfigByKeyRequestValidationError) Field

Field function returns field value.

func (GetConfigByKeyRequestValidationError) Key

Key function returns key value.

func (GetConfigByKeyRequestValidationError) Reason

Reason function returns reason value.

type GetConfigEntityByNameRequest

type GetConfigEntityByNameRequest struct {

	// The unique name of the config entity to retrieve
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get a specific config entity by name

func (*GetConfigEntityByNameRequest) Descriptor deprecated

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

Deprecated: Use GetConfigEntityByNameRequest.ProtoReflect.Descriptor instead.

func (*GetConfigEntityByNameRequest) GetName

func (x *GetConfigEntityByNameRequest) GetName() string

func (*GetConfigEntityByNameRequest) ProtoMessage

func (*GetConfigEntityByNameRequest) ProtoMessage()

func (*GetConfigEntityByNameRequest) ProtoReflect

func (*GetConfigEntityByNameRequest) Reset

func (x *GetConfigEntityByNameRequest) Reset()

func (*GetConfigEntityByNameRequest) String

func (*GetConfigEntityByNameRequest) Validate

func (m *GetConfigEntityByNameRequest) Validate() error

Validate checks the field values on GetConfigEntityByNameRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConfigEntityByNameRequest) ValidateAll

func (m *GetConfigEntityByNameRequest) ValidateAll() error

ValidateAll checks the field values on GetConfigEntityByNameRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigEntityByNameRequestMultiError, or nil if none found.

type GetConfigEntityByNameRequestMultiError

type GetConfigEntityByNameRequestMultiError []error

GetConfigEntityByNameRequestMultiError is an error wrapping multiple validation errors returned by GetConfigEntityByNameRequest.ValidateAll() if the designated constraints aren't met.

func (GetConfigEntityByNameRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetConfigEntityByNameRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConfigEntityByNameRequestValidationError

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

GetConfigEntityByNameRequestValidationError is the validation error returned by GetConfigEntityByNameRequest.Validate if the designated constraints aren't met.

func (GetConfigEntityByNameRequestValidationError) Cause

Cause function returns cause value.

func (GetConfigEntityByNameRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConfigEntityByNameRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConfigEntityByNameRequestValidationError) Field

Field function returns field value.

func (GetConfigEntityByNameRequestValidationError) Key

Key function returns key value.

func (GetConfigEntityByNameRequestValidationError) Reason

Reason function returns reason value.

type GetConfigEntityRequest

type GetConfigEntityRequest struct {

	// The unique identifier of the config entity to retrieve
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request to get a specific config entity by ID

func (*GetConfigEntityRequest) Descriptor deprecated

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

Deprecated: Use GetConfigEntityRequest.ProtoReflect.Descriptor instead.

func (*GetConfigEntityRequest) GetId

func (x *GetConfigEntityRequest) GetId() int64

func (*GetConfigEntityRequest) ProtoMessage

func (*GetConfigEntityRequest) ProtoMessage()

func (*GetConfigEntityRequest) ProtoReflect

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

func (*GetConfigEntityRequest) Reset

func (x *GetConfigEntityRequest) Reset()

func (*GetConfigEntityRequest) String

func (x *GetConfigEntityRequest) String() string

func (*GetConfigEntityRequest) Validate

func (m *GetConfigEntityRequest) Validate() error

Validate checks the field values on GetConfigEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConfigEntityRequest) ValidateAll

func (m *GetConfigEntityRequest) ValidateAll() error

ValidateAll checks the field values on GetConfigEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigEntityRequestMultiError, or nil if none found.

type GetConfigEntityRequestMultiError

type GetConfigEntityRequestMultiError []error

GetConfigEntityRequestMultiError is an error wrapping multiple validation errors returned by GetConfigEntityRequest.ValidateAll() if the designated constraints aren't met.

func (GetConfigEntityRequestMultiError) AllErrors

func (m GetConfigEntityRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigEntityRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConfigEntityRequestValidationError

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

GetConfigEntityRequestValidationError is the validation error returned by GetConfigEntityRequest.Validate if the designated constraints aren't met.

func (GetConfigEntityRequestValidationError) Cause

Cause function returns cause value.

func (GetConfigEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConfigEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConfigEntityRequestValidationError) Field

Field function returns field value.

func (GetConfigEntityRequestValidationError) Key

Key function returns key value.

func (GetConfigEntityRequestValidationError) Reason

Reason function returns reason value.

type GetConfigRequest

type GetConfigRequest struct {

	// The unique identifier of the config to retrieve
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request to get a specific config by ID

func (*GetConfigRequest) Descriptor deprecated

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

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) GetId

func (x *GetConfigRequest) GetId() int64

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect

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

func (*GetConfigRequest) Reset

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) String

func (x *GetConfigRequest) String() string

func (*GetConfigRequest) Validate

func (m *GetConfigRequest) Validate() error

Validate checks the field values on GetConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConfigRequest) ValidateAll

func (m *GetConfigRequest) ValidateAll() error

ValidateAll checks the field values on GetConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigRequestMultiError, or nil if none found.

type GetConfigRequestMultiError

type GetConfigRequestMultiError []error

GetConfigRequestMultiError is an error wrapping multiple validation errors returned by GetConfigRequest.ValidateAll() if the designated constraints aren't met.

func (GetConfigRequestMultiError) AllErrors

func (m GetConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConfigRequestValidationError

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

GetConfigRequestValidationError is the validation error returned by GetConfigRequest.Validate if the designated constraints aren't met.

func (GetConfigRequestValidationError) Cause

Cause function returns cause value.

func (GetConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConfigRequestValidationError) Field

Field function returns field value.

func (GetConfigRequestValidationError) Key

Key function returns key value.

func (GetConfigRequestValidationError) Reason

Reason function returns reason value.

type GetConfigsByKeysRequest

type GetConfigsByKeysRequest struct {
	EntityName string `protobuf:"bytes,2,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"`
	// List of configuration keys to retrieve
	Keys []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

Request to get multiple configs by keys within an entity

func (*GetConfigsByKeysRequest) Descriptor deprecated

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

Deprecated: Use GetConfigsByKeysRequest.ProtoReflect.Descriptor instead.

func (*GetConfigsByKeysRequest) GetEntityName

func (x *GetConfigsByKeysRequest) GetEntityName() string

func (*GetConfigsByKeysRequest) GetKeys

func (x *GetConfigsByKeysRequest) GetKeys() []string

func (*GetConfigsByKeysRequest) ProtoMessage

func (*GetConfigsByKeysRequest) ProtoMessage()

func (*GetConfigsByKeysRequest) ProtoReflect

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

func (*GetConfigsByKeysRequest) Reset

func (x *GetConfigsByKeysRequest) Reset()

func (*GetConfigsByKeysRequest) String

func (x *GetConfigsByKeysRequest) String() string

func (*GetConfigsByKeysRequest) Validate

func (m *GetConfigsByKeysRequest) Validate() error

Validate checks the field values on GetConfigsByKeysRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConfigsByKeysRequest) ValidateAll

func (m *GetConfigsByKeysRequest) ValidateAll() error

ValidateAll checks the field values on GetConfigsByKeysRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigsByKeysRequestMultiError, or nil if none found.

type GetConfigsByKeysRequestMultiError

type GetConfigsByKeysRequestMultiError []error

GetConfigsByKeysRequestMultiError is an error wrapping multiple validation errors returned by GetConfigsByKeysRequest.ValidateAll() if the designated constraints aren't met.

func (GetConfigsByKeysRequestMultiError) AllErrors

func (m GetConfigsByKeysRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigsByKeysRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConfigsByKeysRequestValidationError

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

GetConfigsByKeysRequestValidationError is the validation error returned by GetConfigsByKeysRequest.Validate if the designated constraints aren't met.

func (GetConfigsByKeysRequestValidationError) Cause

Cause function returns cause value.

func (GetConfigsByKeysRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConfigsByKeysRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConfigsByKeysRequestValidationError) Field

Field function returns field value.

func (GetConfigsByKeysRequestValidationError) Key

Key function returns key value.

func (GetConfigsByKeysRequestValidationError) Reason

Reason function returns reason value.

type GetConfigsByKeysResponse

type GetConfigsByKeysResponse struct {

	// Map of key to config
	Configs map[string]*Config `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response containing multiple configs

func (*GetConfigsByKeysResponse) Descriptor deprecated

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

Deprecated: Use GetConfigsByKeysResponse.ProtoReflect.Descriptor instead.

func (*GetConfigsByKeysResponse) GetConfigs

func (x *GetConfigsByKeysResponse) GetConfigs() map[string]*Config

func (*GetConfigsByKeysResponse) ProtoMessage

func (*GetConfigsByKeysResponse) ProtoMessage()

func (*GetConfigsByKeysResponse) ProtoReflect

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

func (*GetConfigsByKeysResponse) Reset

func (x *GetConfigsByKeysResponse) Reset()

func (*GetConfigsByKeysResponse) String

func (x *GetConfigsByKeysResponse) String() string

func (*GetConfigsByKeysResponse) Validate

func (m *GetConfigsByKeysResponse) Validate() error

Validate checks the field values on GetConfigsByKeysResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConfigsByKeysResponse) ValidateAll

func (m *GetConfigsByKeysResponse) ValidateAll() error

ValidateAll checks the field values on GetConfigsByKeysResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigsByKeysResponseMultiError, or nil if none found.

type GetConfigsByKeysResponseMultiError

type GetConfigsByKeysResponseMultiError []error

GetConfigsByKeysResponseMultiError is an error wrapping multiple validation errors returned by GetConfigsByKeysResponse.ValidateAll() if the designated constraints aren't met.

func (GetConfigsByKeysResponseMultiError) AllErrors

func (m GetConfigsByKeysResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigsByKeysResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConfigsByKeysResponseValidationError

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

GetConfigsByKeysResponseValidationError is the validation error returned by GetConfigsByKeysResponse.Validate if the designated constraints aren't met.

func (GetConfigsByKeysResponseValidationError) Cause

Cause function returns cause value.

func (GetConfigsByKeysResponseValidationError) Error

Error satisfies the builtin error interface

func (GetConfigsByKeysResponseValidationError) ErrorName

ErrorName returns error name.

func (GetConfigsByKeysResponseValidationError) Field

Field function returns field value.

func (GetConfigsByKeysResponseValidationError) Key

Key function returns key value.

func (GetConfigsByKeysResponseValidationError) Reason

Reason function returns reason value.

type GetGroupRequest

type GetGroupRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetGroupRequest to get group by ID

func (*GetGroupRequest) Descriptor deprecated

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetId

func (x *GetGroupRequest) GetId() int64

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect

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

func (*GetGroupRequest) Reset

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (x *GetGroupRequest) String() string

func (*GetGroupRequest) Validate

func (m *GetGroupRequest) Validate() error

Validate checks the field values on GetGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupRequest) ValidateAll

func (m *GetGroupRequest) ValidateAll() error

ValidateAll checks the field values on GetGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupRequestMultiError, or nil if none found.

type GetGroupRequestMultiError

type GetGroupRequestMultiError []error

GetGroupRequestMultiError is an error wrapping multiple validation errors returned by GetGroupRequest.ValidateAll() if the designated constraints aren't met.

func (GetGroupRequestMultiError) AllErrors

func (m GetGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupRequestValidationError

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

GetGroupRequestValidationError is the validation error returned by GetGroupRequest.Validate if the designated constraints aren't met.

func (GetGroupRequestValidationError) Cause

Cause function returns cause value.

func (GetGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (GetGroupRequestValidationError) ErrorName

func (e GetGroupRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetGroupRequestValidationError) Field

Field function returns field value.

func (GetGroupRequestValidationError) Key

Key function returns key value.

func (GetGroupRequestValidationError) Reason

Reason function returns reason value.

type GetGroupResponse

type GetGroupResponse struct {
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

GetGroupResponse

func (*GetGroupResponse) Descriptor deprecated

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

Deprecated: Use GetGroupResponse.ProtoReflect.Descriptor instead.

func (*GetGroupResponse) GetGroup

func (x *GetGroupResponse) GetGroup() *Group

func (*GetGroupResponse) ProtoMessage

func (*GetGroupResponse) ProtoMessage()

func (*GetGroupResponse) ProtoReflect

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

func (*GetGroupResponse) Reset

func (x *GetGroupResponse) Reset()

func (*GetGroupResponse) String

func (x *GetGroupResponse) String() string

func (*GetGroupResponse) Validate

func (m *GetGroupResponse) Validate() error

Validate checks the field values on GetGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupResponse) ValidateAll

func (m *GetGroupResponse) ValidateAll() error

ValidateAll checks the field values on GetGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupResponseMultiError, or nil if none found.

type GetGroupResponseMultiError

type GetGroupResponseMultiError []error

GetGroupResponseMultiError is an error wrapping multiple validation errors returned by GetGroupResponse.ValidateAll() if the designated constraints aren't met.

func (GetGroupResponseMultiError) AllErrors

func (m GetGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupResponseValidationError

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

GetGroupResponseValidationError is the validation error returned by GetGroupResponse.Validate if the designated constraints aren't met.

func (GetGroupResponseValidationError) Cause

Cause function returns cause value.

func (GetGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (GetGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (GetGroupResponseValidationError) Field

Field function returns field value.

func (GetGroupResponseValidationError) Key

Key function returns key value.

func (GetGroupResponseValidationError) Reason

Reason function returns reason value.

type GetPermissionRequest

type GetPermissionRequest struct {

	// The unique identifier of the permission to retrieve
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request to retrieve a specific permission by ID

func (*GetPermissionRequest) Descriptor deprecated

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

Deprecated: Use GetPermissionRequest.ProtoReflect.Descriptor instead.

func (*GetPermissionRequest) GetId

func (x *GetPermissionRequest) GetId() int64

func (*GetPermissionRequest) ProtoMessage

func (*GetPermissionRequest) ProtoMessage()

func (*GetPermissionRequest) ProtoReflect

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

func (*GetPermissionRequest) Reset

func (x *GetPermissionRequest) Reset()

func (*GetPermissionRequest) String

func (x *GetPermissionRequest) String() string

func (*GetPermissionRequest) Validate

func (m *GetPermissionRequest) Validate() error

Validate checks the field values on GetPermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPermissionRequest) ValidateAll

func (m *GetPermissionRequest) ValidateAll() error

ValidateAll checks the field values on GetPermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPermissionRequestMultiError, or nil if none found.

type GetPermissionRequestMultiError

type GetPermissionRequestMultiError []error

GetPermissionRequestMultiError is an error wrapping multiple validation errors returned by GetPermissionRequest.ValidateAll() if the designated constraints aren't met.

func (GetPermissionRequestMultiError) AllErrors

func (m GetPermissionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPermissionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPermissionRequestValidationError

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

GetPermissionRequestValidationError is the validation error returned by GetPermissionRequest.Validate if the designated constraints aren't met.

func (GetPermissionRequestValidationError) Cause

Cause function returns cause value.

func (GetPermissionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPermissionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetPermissionRequestValidationError) Field

Field function returns field value.

func (GetPermissionRequestValidationError) Key

Key function returns key value.

func (GetPermissionRequestValidationError) Reason

Reason function returns reason value.

type GetUserEffectivePermissionsRequest

type GetUserEffectivePermissionsRequest struct {

	// ID of the user to get effective permissions for
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Request to get all effective permissions for a user (direct + group permissions)

func (*GetUserEffectivePermissionsRequest) Descriptor deprecated

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

Deprecated: Use GetUserEffectivePermissionsRequest.ProtoReflect.Descriptor instead.

func (*GetUserEffectivePermissionsRequest) GetUserId

func (*GetUserEffectivePermissionsRequest) ProtoMessage

func (*GetUserEffectivePermissionsRequest) ProtoMessage()

func (*GetUserEffectivePermissionsRequest) ProtoReflect

func (*GetUserEffectivePermissionsRequest) Reset

func (*GetUserEffectivePermissionsRequest) String

func (*GetUserEffectivePermissionsRequest) Validate

Validate checks the field values on GetUserEffectivePermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserEffectivePermissionsRequest) ValidateAll

func (m *GetUserEffectivePermissionsRequest) ValidateAll() error

ValidateAll checks the field values on GetUserEffectivePermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserEffectivePermissionsRequestMultiError, or nil if none found.

type GetUserEffectivePermissionsRequestMultiError

type GetUserEffectivePermissionsRequestMultiError []error

GetUserEffectivePermissionsRequestMultiError is an error wrapping multiple validation errors returned by GetUserEffectivePermissionsRequest.ValidateAll() if the designated constraints aren't met.

func (GetUserEffectivePermissionsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetUserEffectivePermissionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserEffectivePermissionsRequestValidationError

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

GetUserEffectivePermissionsRequestValidationError is the validation error returned by GetUserEffectivePermissionsRequest.Validate if the designated constraints aren't met.

func (GetUserEffectivePermissionsRequestValidationError) Cause

Cause function returns cause value.

func (GetUserEffectivePermissionsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserEffectivePermissionsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserEffectivePermissionsRequestValidationError) Field

Field function returns field value.

func (GetUserEffectivePermissionsRequestValidationError) Key

Key function returns key value.

func (GetUserEffectivePermissionsRequestValidationError) Reason

Reason function returns reason value.

type GetUserEffectivePermissionsResponse

type GetUserEffectivePermissionsResponse struct {

	// Array of effective permissions for the user
	Permissions []*EffectivePermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Response containing effective permissions for a user

func (*GetUserEffectivePermissionsResponse) Descriptor deprecated

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

Deprecated: Use GetUserEffectivePermissionsResponse.ProtoReflect.Descriptor instead.

func (*GetUserEffectivePermissionsResponse) GetPermissions

func (*GetUserEffectivePermissionsResponse) ProtoMessage

func (*GetUserEffectivePermissionsResponse) ProtoMessage()

func (*GetUserEffectivePermissionsResponse) ProtoReflect

func (*GetUserEffectivePermissionsResponse) Reset

func (*GetUserEffectivePermissionsResponse) String

func (*GetUserEffectivePermissionsResponse) Validate

Validate checks the field values on GetUserEffectivePermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserEffectivePermissionsResponse) ValidateAll

func (m *GetUserEffectivePermissionsResponse) ValidateAll() error

ValidateAll checks the field values on GetUserEffectivePermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserEffectivePermissionsResponseMultiError, or nil if none found.

type GetUserEffectivePermissionsResponseMultiError

type GetUserEffectivePermissionsResponseMultiError []error

GetUserEffectivePermissionsResponseMultiError is an error wrapping multiple validation errors returned by GetUserEffectivePermissionsResponse.ValidateAll() if the designated constraints aren't met.

func (GetUserEffectivePermissionsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetUserEffectivePermissionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserEffectivePermissionsResponseValidationError

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

GetUserEffectivePermissionsResponseValidationError is the validation error returned by GetUserEffectivePermissionsResponse.Validate if the designated constraints aren't met.

func (GetUserEffectivePermissionsResponseValidationError) Cause

Cause function returns cause value.

func (GetUserEffectivePermissionsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUserEffectivePermissionsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetUserEffectivePermissionsResponseValidationError) Field

Field function returns field value.

func (GetUserEffectivePermissionsResponseValidationError) Key

Key function returns key value.

func (GetUserEffectivePermissionsResponseValidationError) Reason

Reason function returns reason value.

type GetUserRequest

type GetUserRequest struct {

	// Types that are assignable to Identifier:
	//
	//	*GetUserRequest_Id
	//	*GetUserRequest_Uuid
	Identifier     isGetUserRequest_Identifier `protobuf_oneof:"identifier"`
	IncludeProfile bool                        `protobuf:"varint,3,opt,name=include_profile,json=includeProfile,proto3" json:"include_profile,omitempty"` // Whether to include profile information
	// contains filtered or unexported fields
}

GetUserRequest to get user by ID

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetId

func (x *GetUserRequest) GetId() int64

func (*GetUserRequest) GetIdentifier

func (m *GetUserRequest) GetIdentifier() isGetUserRequest_Identifier

func (*GetUserRequest) GetIncludeProfile

func (x *GetUserRequest) GetIncludeProfile() bool

func (*GetUserRequest) GetUuid

func (x *GetUserRequest) GetUuid() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

func (*GetUserRequest) Validate

func (m *GetUserRequest) Validate() error

Validate checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserRequest) ValidateAll

func (m *GetUserRequest) ValidateAll() error

ValidateAll checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRequestMultiError, or nil if none found.

type GetUserRequestMultiError

type GetUserRequestMultiError []error

GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.

func (GetUserRequestMultiError) AllErrors

func (m GetUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserRequestMultiError) Error

func (m GetUserRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetUserRequestValidationError

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

GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.

func (GetUserRequestValidationError) Cause

Cause function returns cause value.

func (GetUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserRequestValidationError) ErrorName

func (e GetUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserRequestValidationError) Field

Field function returns field value.

func (GetUserRequestValidationError) Key

Key function returns key value.

func (GetUserRequestValidationError) Reason

Reason function returns reason value.

type GetUserRequest_Id

type GetUserRequest_Id struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3,oneof"`
}

type GetUserRequest_Uuid

type GetUserRequest_Uuid struct {
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3,oneof"`
}

type GetUserResponse

type GetUserResponse struct {
	User     *User          `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Profiles []*UserProfile `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

GetUserResponse

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetProfiles

func (x *GetUserResponse) GetProfiles() []*UserProfile

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

func (*GetUserResponse) Validate

func (m *GetUserResponse) Validate() error

Validate checks the field values on GetUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserResponse) ValidateAll

func (m *GetUserResponse) ValidateAll() error

ValidateAll checks the field values on GetUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserResponseMultiError, or nil if none found.

type GetUserResponseMultiError

type GetUserResponseMultiError []error

GetUserResponseMultiError is an error wrapping multiple validation errors returned by GetUserResponse.ValidateAll() if the designated constraints aren't met.

func (GetUserResponseMultiError) AllErrors

func (m GetUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserResponseValidationError

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

GetUserResponseValidationError is the validation error returned by GetUserResponse.Validate if the designated constraints aren't met.

func (GetUserResponseValidationError) Cause

Cause function returns cause value.

func (GetUserResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUserResponseValidationError) ErrorName

func (e GetUserResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserResponseValidationError) Field

Field function returns field value.

func (GetUserResponseValidationError) Key

Key function returns key value.

func (GetUserResponseValidationError) Reason

Reason function returns reason value.

type Group

type Group struct {

	// Unique identifier for the group
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Unique name for the group
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable display name for the group
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional detailed description of the group
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	CreatedBy   int64   `protobuf:"varint,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// Timestamp when the group was created
	CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Timestamp when the group was last updated
	UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Whether this is a system group (cannot be modified/deleted)
	IsSystem bool `protobuf:"varint,8,opt,name=is_system,json=isSystem,proto3" json:"is_system,omitempty"`
	// contains filtered or unexported fields
}

Group represents a group/role in the system for organizing users and permissions

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetCreatedAt

func (x *Group) GetCreatedAt() int64

func (*Group) GetCreatedBy

func (x *Group) GetCreatedBy() int64

func (*Group) GetDescription

func (x *Group) GetDescription() string

func (*Group) GetDisplayName

func (x *Group) GetDisplayName() string

func (*Group) GetId

func (x *Group) GetId() int64

func (*Group) GetIsSystem

func (x *Group) GetIsSystem() bool

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetUpdatedAt

func (x *Group) GetUpdatedAt() int64

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

func (*Group) Validate

func (m *Group) Validate() error

Validate checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Group) ValidateAll

func (m *Group) ValidateAll() error

ValidateAll checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupMultiError, or nil if none found.

type GroupMultiError

type GroupMultiError []error

GroupMultiError is an error wrapping multiple validation errors returned by Group.ValidateAll() if the designated constraints aren't met.

func (GroupMultiError) AllErrors

func (m GroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupMultiError) Error

func (m GroupMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GroupUser

type GroupUser struct {
	UserId     int64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserUuid   string  `protobuf:"bytes,2,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"`
	Username   string  `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Email      *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Name       *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Avatar     *string `protobuf:"bytes,6,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	ExpiresAt  *int64  `protobuf:"varint,7,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	AssignedAt int64   `protobuf:"varint,8,opt,name=assigned_at,json=assignedAt,proto3" json:"assigned_at,omitempty"`
	AssignedBy int64   `protobuf:"varint,9,opt,name=assigned_by,json=assignedBy,proto3" json:"assigned_by,omitempty"`
	// contains filtered or unexported fields
}

GroupUser represents a user's membership in a group

func (*GroupUser) Descriptor deprecated

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

Deprecated: Use GroupUser.ProtoReflect.Descriptor instead.

func (*GroupUser) GetAssignedAt

func (x *GroupUser) GetAssignedAt() int64

func (*GroupUser) GetAssignedBy

func (x *GroupUser) GetAssignedBy() int64

func (*GroupUser) GetAvatar

func (x *GroupUser) GetAvatar() string

func (*GroupUser) GetEmail

func (x *GroupUser) GetEmail() string

func (*GroupUser) GetExpiresAt

func (x *GroupUser) GetExpiresAt() int64

func (*GroupUser) GetName

func (x *GroupUser) GetName() string

func (*GroupUser) GetUserId

func (x *GroupUser) GetUserId() int64

func (*GroupUser) GetUserUuid

func (x *GroupUser) GetUserUuid() string

func (*GroupUser) GetUsername

func (x *GroupUser) GetUsername() string

func (*GroupUser) ProtoMessage

func (*GroupUser) ProtoMessage()

func (*GroupUser) ProtoReflect

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

func (*GroupUser) Reset

func (x *GroupUser) Reset()

func (*GroupUser) String

func (x *GroupUser) String() string

func (*GroupUser) Validate

func (m *GroupUser) Validate() error

Validate checks the field values on GroupUser with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GroupUser) ValidateAll

func (m *GroupUser) ValidateAll() error

ValidateAll checks the field values on GroupUser with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupUserMultiError, or nil if none found.

type GroupUserMultiError

type GroupUserMultiError []error

GroupUserMultiError is an error wrapping multiple validation errors returned by GroupUser.ValidateAll() if the designated constraints aren't met.

func (GroupUserMultiError) AllErrors

func (m GroupUserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupUserMultiError) Error

func (m GroupUserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GroupUserValidationError

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

GroupUserValidationError is the validation error returned by GroupUser.Validate if the designated constraints aren't met.

func (GroupUserValidationError) Cause

func (e GroupUserValidationError) Cause() error

Cause function returns cause value.

func (GroupUserValidationError) Error

func (e GroupUserValidationError) Error() string

Error satisfies the builtin error interface

func (GroupUserValidationError) ErrorName

func (e GroupUserValidationError) ErrorName() string

ErrorName returns error name.

func (GroupUserValidationError) Field

func (e GroupUserValidationError) Field() string

Field function returns field value.

func (GroupUserValidationError) Key

Key function returns key value.

func (GroupUserValidationError) Reason

func (e GroupUserValidationError) Reason() string

Reason function returns reason value.

type GroupValidationError

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

GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.

func (GroupValidationError) Cause

func (e GroupValidationError) Cause() error

Cause function returns cause value.

func (GroupValidationError) Error

func (e GroupValidationError) Error() string

Error satisfies the builtin error interface

func (GroupValidationError) ErrorName

func (e GroupValidationError) ErrorName() string

ErrorName returns error name.

func (GroupValidationError) Field

func (e GroupValidationError) Field() string

Field function returns field value.

func (GroupValidationError) Key

func (e GroupValidationError) Key() bool

Key function returns key value.

func (GroupValidationError) Reason

func (e GroupValidationError) Reason() string

Reason function returns reason value.

type IsAuthenticatedRequest added in v1.0.3

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

func (*IsAuthenticatedRequest) Descriptor deprecated added in v1.0.3

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

Deprecated: Use IsAuthenticatedRequest.ProtoReflect.Descriptor instead.

func (*IsAuthenticatedRequest) ProtoMessage added in v1.0.3

func (*IsAuthenticatedRequest) ProtoMessage()

func (*IsAuthenticatedRequest) ProtoReflect added in v1.0.3

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

func (*IsAuthenticatedRequest) Reset added in v1.0.3

func (x *IsAuthenticatedRequest) Reset()

func (*IsAuthenticatedRequest) String added in v1.0.3

func (x *IsAuthenticatedRequest) String() string

func (*IsAuthenticatedRequest) Validate added in v1.0.3

func (m *IsAuthenticatedRequest) Validate() error

Validate checks the field values on IsAuthenticatedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IsAuthenticatedRequest) ValidateAll added in v1.0.3

func (m *IsAuthenticatedRequest) ValidateAll() error

ValidateAll checks the field values on IsAuthenticatedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsAuthenticatedRequestMultiError, or nil if none found.

type IsAuthenticatedRequestMultiError added in v1.0.3

type IsAuthenticatedRequestMultiError []error

IsAuthenticatedRequestMultiError is an error wrapping multiple validation errors returned by IsAuthenticatedRequest.ValidateAll() if the designated constraints aren't met.

func (IsAuthenticatedRequestMultiError) AllErrors added in v1.0.3

func (m IsAuthenticatedRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IsAuthenticatedRequestMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type IsAuthenticatedRequestValidationError added in v1.0.3

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

IsAuthenticatedRequestValidationError is the validation error returned by IsAuthenticatedRequest.Validate if the designated constraints aren't met.

func (IsAuthenticatedRequestValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (IsAuthenticatedRequestValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (IsAuthenticatedRequestValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (IsAuthenticatedRequestValidationError) Field added in v1.0.3

Field function returns field value.

func (IsAuthenticatedRequestValidationError) Key added in v1.0.3

Key function returns key value.

func (IsAuthenticatedRequestValidationError) Reason added in v1.0.3

Reason function returns reason value.

type IsAuthenticatedResponse added in v1.0.3

type IsAuthenticatedResponse struct {
	Authenticated bool   `protobuf:"varint,1,opt,name=authenticated,proto3" json:"authenticated,omitempty"`
	Message       string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAuthenticatedResponse) Descriptor deprecated added in v1.0.3

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

Deprecated: Use IsAuthenticatedResponse.ProtoReflect.Descriptor instead.

func (*IsAuthenticatedResponse) GetAuthenticated added in v1.0.3

func (x *IsAuthenticatedResponse) GetAuthenticated() bool

func (*IsAuthenticatedResponse) GetMessage added in v1.0.3

func (x *IsAuthenticatedResponse) GetMessage() string

func (*IsAuthenticatedResponse) ProtoMessage added in v1.0.3

func (*IsAuthenticatedResponse) ProtoMessage()

func (*IsAuthenticatedResponse) ProtoReflect added in v1.0.3

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

func (*IsAuthenticatedResponse) Reset added in v1.0.3

func (x *IsAuthenticatedResponse) Reset()

func (*IsAuthenticatedResponse) String added in v1.0.3

func (x *IsAuthenticatedResponse) String() string

func (*IsAuthenticatedResponse) Validate added in v1.0.3

func (m *IsAuthenticatedResponse) Validate() error

Validate checks the field values on IsAuthenticatedResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IsAuthenticatedResponse) ValidateAll added in v1.0.3

func (m *IsAuthenticatedResponse) ValidateAll() error

ValidateAll checks the field values on IsAuthenticatedResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsAuthenticatedResponseMultiError, or nil if none found.

type IsAuthenticatedResponseMultiError added in v1.0.3

type IsAuthenticatedResponseMultiError []error

IsAuthenticatedResponseMultiError is an error wrapping multiple validation errors returned by IsAuthenticatedResponse.ValidateAll() if the designated constraints aren't met.

func (IsAuthenticatedResponseMultiError) AllErrors added in v1.0.3

func (m IsAuthenticatedResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IsAuthenticatedResponseMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type IsAuthenticatedResponseValidationError added in v1.0.3

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

IsAuthenticatedResponseValidationError is the validation error returned by IsAuthenticatedResponse.Validate if the designated constraints aren't met.

func (IsAuthenticatedResponseValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (IsAuthenticatedResponseValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (IsAuthenticatedResponseValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (IsAuthenticatedResponseValidationError) Field added in v1.0.3

Field function returns field value.

func (IsAuthenticatedResponseValidationError) Key added in v1.0.3

Key function returns key value.

func (IsAuthenticatedResponseValidationError) Reason added in v1.0.3

Reason function returns reason value.

type ListConfigEntitiesRequest

type ListConfigEntitiesRequest struct {

	// Maximum number of entities to return (default: 10, max: 100)
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Number of entities to skip for pagination (default: 0)
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// Search term to filter entities by name or display_name
	Search *string `protobuf:"bytes,3,opt,name=search,proto3,oneof" json:"search,omitempty"`
	// Return all entities without pagination
	All bool `protobuf:"varint,4,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

Request to list config entities with optional filtering and pagination

func (*ListConfigEntitiesRequest) Descriptor deprecated

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

Deprecated: Use ListConfigEntitiesRequest.ProtoReflect.Descriptor instead.

func (*ListConfigEntitiesRequest) GetAll

func (x *ListConfigEntitiesRequest) GetAll() bool

func (*ListConfigEntitiesRequest) GetLimit

func (x *ListConfigEntitiesRequest) GetLimit() int32

func (*ListConfigEntitiesRequest) GetOffset

func (x *ListConfigEntitiesRequest) GetOffset() int32

func (*ListConfigEntitiesRequest) GetSearch

func (x *ListConfigEntitiesRequest) GetSearch() string

func (*ListConfigEntitiesRequest) ProtoMessage

func (*ListConfigEntitiesRequest) ProtoMessage()

func (*ListConfigEntitiesRequest) ProtoReflect

func (*ListConfigEntitiesRequest) Reset

func (x *ListConfigEntitiesRequest) Reset()

func (*ListConfigEntitiesRequest) String

func (x *ListConfigEntitiesRequest) String() string

func (*ListConfigEntitiesRequest) Validate

func (m *ListConfigEntitiesRequest) Validate() error

Validate checks the field values on ListConfigEntitiesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConfigEntitiesRequest) ValidateAll

func (m *ListConfigEntitiesRequest) ValidateAll() error

ValidateAll checks the field values on ListConfigEntitiesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConfigEntitiesRequestMultiError, or nil if none found.

type ListConfigEntitiesRequestMultiError

type ListConfigEntitiesRequestMultiError []error

ListConfigEntitiesRequestMultiError is an error wrapping multiple validation errors returned by ListConfigEntitiesRequest.ValidateAll() if the designated constraints aren't met.

func (ListConfigEntitiesRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListConfigEntitiesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConfigEntitiesRequestValidationError

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

ListConfigEntitiesRequestValidationError is the validation error returned by ListConfigEntitiesRequest.Validate if the designated constraints aren't met.

func (ListConfigEntitiesRequestValidationError) Cause

Cause function returns cause value.

func (ListConfigEntitiesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListConfigEntitiesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListConfigEntitiesRequestValidationError) Field

Field function returns field value.

func (ListConfigEntitiesRequestValidationError) Key

Key function returns key value.

func (ListConfigEntitiesRequestValidationError) Reason

Reason function returns reason value.

type ListConfigEntitiesResponse

type ListConfigEntitiesResponse struct {

	// Array of config entities matching the request criteria
	Entities []*ConfigEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

Response containing a list of config entities

func (*ListConfigEntitiesResponse) Descriptor deprecated

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

Deprecated: Use ListConfigEntitiesResponse.ProtoReflect.Descriptor instead.

func (*ListConfigEntitiesResponse) GetEntities

func (x *ListConfigEntitiesResponse) GetEntities() []*ConfigEntity

func (*ListConfigEntitiesResponse) ProtoMessage

func (*ListConfigEntitiesResponse) ProtoMessage()

func (*ListConfigEntitiesResponse) ProtoReflect

func (*ListConfigEntitiesResponse) Reset

func (x *ListConfigEntitiesResponse) Reset()

func (*ListConfigEntitiesResponse) String

func (x *ListConfigEntitiesResponse) String() string

func (*ListConfigEntitiesResponse) Validate

func (m *ListConfigEntitiesResponse) Validate() error

Validate checks the field values on ListConfigEntitiesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConfigEntitiesResponse) ValidateAll

func (m *ListConfigEntitiesResponse) ValidateAll() error

ValidateAll checks the field values on ListConfigEntitiesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConfigEntitiesResponseMultiError, or nil if none found.

type ListConfigEntitiesResponseMultiError

type ListConfigEntitiesResponseMultiError []error

ListConfigEntitiesResponseMultiError is an error wrapping multiple validation errors returned by ListConfigEntitiesResponse.ValidateAll() if the designated constraints aren't met.

func (ListConfigEntitiesResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListConfigEntitiesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConfigEntitiesResponseValidationError

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

ListConfigEntitiesResponseValidationError is the validation error returned by ListConfigEntitiesResponse.Validate if the designated constraints aren't met.

func (ListConfigEntitiesResponseValidationError) Cause

Cause function returns cause value.

func (ListConfigEntitiesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListConfigEntitiesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListConfigEntitiesResponseValidationError) Field

Field function returns field value.

func (ListConfigEntitiesResponseValidationError) Key

Key function returns key value.

func (ListConfigEntitiesResponseValidationError) Reason

Reason function returns reason value.

type ListConfigsRequest

type ListConfigsRequest struct {

	// Filter by entity either by ID or name
	//
	// Types that are assignable to Entity:
	//
	//	*ListConfigsRequest_EntityId
	//	*ListConfigsRequest_EntityName
	Entity isListConfigsRequest_Entity `protobuf_oneof:"entity"`
	// Maximum number of configs to return (default: 10, max: 100)
	Limit *int32 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// Number of configs to skip for pagination (default: 0)
	Offset *int32 `protobuf:"varint,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
	// Search term to filter configs by key or display_name
	Search *string `protobuf:"bytes,4,opt,name=search,proto3,oneof" json:"search,omitempty"`
	// Return all configs without pagination
	All bool `protobuf:"varint,6,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

Request to list configs with optional filtering and pagination

func (*ListConfigsRequest) Descriptor deprecated

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

Deprecated: Use ListConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListConfigsRequest) GetAll

func (x *ListConfigsRequest) GetAll() bool

func (*ListConfigsRequest) GetEntity added in v1.0.1

func (m *ListConfigsRequest) GetEntity() isListConfigsRequest_Entity

func (*ListConfigsRequest) GetEntityId

func (x *ListConfigsRequest) GetEntityId() int64

func (*ListConfigsRequest) GetEntityName added in v1.0.1

func (x *ListConfigsRequest) GetEntityName() string

func (*ListConfigsRequest) GetLimit

func (x *ListConfigsRequest) GetLimit() int32

func (*ListConfigsRequest) GetOffset

func (x *ListConfigsRequest) GetOffset() int32

func (*ListConfigsRequest) GetSearch

func (x *ListConfigsRequest) GetSearch() string

func (*ListConfigsRequest) ProtoMessage

func (*ListConfigsRequest) ProtoMessage()

func (*ListConfigsRequest) ProtoReflect

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

func (*ListConfigsRequest) Reset

func (x *ListConfigsRequest) Reset()

func (*ListConfigsRequest) String

func (x *ListConfigsRequest) String() string

func (*ListConfigsRequest) Validate

func (m *ListConfigsRequest) Validate() error

Validate checks the field values on ListConfigsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConfigsRequest) ValidateAll

func (m *ListConfigsRequest) ValidateAll() error

ValidateAll checks the field values on ListConfigsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConfigsRequestMultiError, or nil if none found.

type ListConfigsRequestMultiError

type ListConfigsRequestMultiError []error

ListConfigsRequestMultiError is an error wrapping multiple validation errors returned by ListConfigsRequest.ValidateAll() if the designated constraints aren't met.

func (ListConfigsRequestMultiError) AllErrors

func (m ListConfigsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListConfigsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConfigsRequestValidationError

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

ListConfigsRequestValidationError is the validation error returned by ListConfigsRequest.Validate if the designated constraints aren't met.

func (ListConfigsRequestValidationError) Cause

Cause function returns cause value.

func (ListConfigsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListConfigsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListConfigsRequestValidationError) Field

Field function returns field value.

func (ListConfigsRequestValidationError) Key

Key function returns key value.

func (ListConfigsRequestValidationError) Reason

Reason function returns reason value.

type ListConfigsRequest_EntityId added in v1.0.1

type ListConfigsRequest_EntityId struct {
	EntityId int64 `protobuf:"varint,1,opt,name=entity_id,json=entityId,proto3,oneof"`
}

type ListConfigsRequest_EntityName added in v1.0.1

type ListConfigsRequest_EntityName struct {
	EntityName string `protobuf:"bytes,7,opt,name=entity_name,json=entityName,proto3,oneof"`
}

type ListConfigsResponse

type ListConfigsResponse struct {

	// Array of configs matching the request criteria
	Configs []*Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

Response containing a list of configs

func (*ListConfigsResponse) Descriptor deprecated

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

Deprecated: Use ListConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListConfigsResponse) GetConfigs

func (x *ListConfigsResponse) GetConfigs() []*Config

func (*ListConfigsResponse) ProtoMessage

func (*ListConfigsResponse) ProtoMessage()

func (*ListConfigsResponse) ProtoReflect

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

func (*ListConfigsResponse) Reset

func (x *ListConfigsResponse) Reset()

func (*ListConfigsResponse) String

func (x *ListConfigsResponse) String() string

func (*ListConfigsResponse) Validate

func (m *ListConfigsResponse) Validate() error

Validate checks the field values on ListConfigsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListConfigsResponse) ValidateAll

func (m *ListConfigsResponse) ValidateAll() error

ValidateAll checks the field values on ListConfigsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListConfigsResponseMultiError, or nil if none found.

type ListConfigsResponseMultiError

type ListConfigsResponseMultiError []error

ListConfigsResponseMultiError is an error wrapping multiple validation errors returned by ListConfigsResponse.ValidateAll() if the designated constraints aren't met.

func (ListConfigsResponseMultiError) AllErrors

func (m ListConfigsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListConfigsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListConfigsResponseValidationError

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

ListConfigsResponseValidationError is the validation error returned by ListConfigsResponse.Validate if the designated constraints aren't met.

func (ListConfigsResponseValidationError) Cause

Cause function returns cause value.

func (ListConfigsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListConfigsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListConfigsResponseValidationError) Field

Field function returns field value.

func (ListConfigsResponseValidationError) Key

Key function returns key value.

func (ListConfigsResponseValidationError) Reason

Reason function returns reason value.

type ListGroupPermissionsRequest

type ListGroupPermissionsRequest struct {

	// ID of the group to list permissions for
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

Request to list permissions assigned to a group

func (*ListGroupPermissionsRequest) Descriptor deprecated

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

Deprecated: Use ListGroupPermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupPermissionsRequest) GetGroupId

func (x *ListGroupPermissionsRequest) GetGroupId() int64

func (*ListGroupPermissionsRequest) ProtoMessage

func (*ListGroupPermissionsRequest) ProtoMessage()

func (*ListGroupPermissionsRequest) ProtoReflect

func (*ListGroupPermissionsRequest) Reset

func (x *ListGroupPermissionsRequest) Reset()

func (*ListGroupPermissionsRequest) String

func (x *ListGroupPermissionsRequest) String() string

func (*ListGroupPermissionsRequest) Validate

func (m *ListGroupPermissionsRequest) Validate() error

Validate checks the field values on ListGroupPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListGroupPermissionsRequest) ValidateAll

func (m *ListGroupPermissionsRequest) ValidateAll() error

ValidateAll checks the field values on ListGroupPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListGroupPermissionsRequestMultiError, or nil if none found.

type ListGroupPermissionsRequestMultiError

type ListGroupPermissionsRequestMultiError []error

ListGroupPermissionsRequestMultiError is an error wrapping multiple validation errors returned by ListGroupPermissionsRequest.ValidateAll() if the designated constraints aren't met.

func (ListGroupPermissionsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListGroupPermissionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListGroupPermissionsRequestValidationError

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

ListGroupPermissionsRequestValidationError is the validation error returned by ListGroupPermissionsRequest.Validate if the designated constraints aren't met.

func (ListGroupPermissionsRequestValidationError) Cause

Cause function returns cause value.

func (ListGroupPermissionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListGroupPermissionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListGroupPermissionsRequestValidationError) Field

Field function returns field value.

func (ListGroupPermissionsRequestValidationError) Key

Key function returns key value.

func (ListGroupPermissionsRequestValidationError) Reason

Reason function returns reason value.

type ListGroupPermissionsResponse

type ListGroupPermissionsResponse struct {

	// Array of permissions assigned to the group
	Permissions []*EffectivePermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Response containing group permissions

func (*ListGroupPermissionsResponse) Descriptor deprecated

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

Deprecated: Use ListGroupPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupPermissionsResponse) GetPermissions

func (x *ListGroupPermissionsResponse) GetPermissions() []*EffectivePermission

func (*ListGroupPermissionsResponse) ProtoMessage

func (*ListGroupPermissionsResponse) ProtoMessage()

func (*ListGroupPermissionsResponse) ProtoReflect

func (*ListGroupPermissionsResponse) Reset

func (x *ListGroupPermissionsResponse) Reset()

func (*ListGroupPermissionsResponse) String

func (*ListGroupPermissionsResponse) Validate

func (m *ListGroupPermissionsResponse) Validate() error

Validate checks the field values on ListGroupPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListGroupPermissionsResponse) ValidateAll

func (m *ListGroupPermissionsResponse) ValidateAll() error

ValidateAll checks the field values on ListGroupPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListGroupPermissionsResponseMultiError, or nil if none found.

type ListGroupPermissionsResponseMultiError

type ListGroupPermissionsResponseMultiError []error

ListGroupPermissionsResponseMultiError is an error wrapping multiple validation errors returned by ListGroupPermissionsResponse.ValidateAll() if the designated constraints aren't met.

func (ListGroupPermissionsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListGroupPermissionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListGroupPermissionsResponseValidationError

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

ListGroupPermissionsResponseValidationError is the validation error returned by ListGroupPermissionsResponse.Validate if the designated constraints aren't met.

func (ListGroupPermissionsResponseValidationError) Cause

Cause function returns cause value.

func (ListGroupPermissionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListGroupPermissionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListGroupPermissionsResponseValidationError) Field

Field function returns field value.

func (ListGroupPermissionsResponseValidationError) Key

Key function returns key value.

func (ListGroupPermissionsResponseValidationError) Reason

Reason function returns reason value.

type ListGroupUsersRequest

type ListGroupUsersRequest struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Pagination
	Limit  int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

ListGroupUsersRequest to get all users in a group

func (*ListGroupUsersRequest) Descriptor deprecated

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

Deprecated: Use ListGroupUsersRequest.ProtoReflect.Descriptor instead.

func (*ListGroupUsersRequest) GetGroupId

func (x *ListGroupUsersRequest) GetGroupId() int64

func (*ListGroupUsersRequest) GetLimit

func (x *ListGroupUsersRequest) GetLimit() int32

func (*ListGroupUsersRequest) GetOffset

func (x *ListGroupUsersRequest) GetOffset() int32

func (*ListGroupUsersRequest) ProtoMessage

func (*ListGroupUsersRequest) ProtoMessage()

func (*ListGroupUsersRequest) ProtoReflect

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

func (*ListGroupUsersRequest) Reset

func (x *ListGroupUsersRequest) Reset()

func (*ListGroupUsersRequest) String

func (x *ListGroupUsersRequest) String() string

func (*ListGroupUsersRequest) Validate

func (m *ListGroupUsersRequest) Validate() error

Validate checks the field values on ListGroupUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListGroupUsersRequest) ValidateAll

func (m *ListGroupUsersRequest) ValidateAll() error

ValidateAll checks the field values on ListGroupUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListGroupUsersRequestMultiError, or nil if none found.

type ListGroupUsersRequestMultiError

type ListGroupUsersRequestMultiError []error

ListGroupUsersRequestMultiError is an error wrapping multiple validation errors returned by ListGroupUsersRequest.ValidateAll() if the designated constraints aren't met.

func (ListGroupUsersRequestMultiError) AllErrors

func (m ListGroupUsersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListGroupUsersRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListGroupUsersRequestValidationError

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

ListGroupUsersRequestValidationError is the validation error returned by ListGroupUsersRequest.Validate if the designated constraints aren't met.

func (ListGroupUsersRequestValidationError) Cause

Cause function returns cause value.

func (ListGroupUsersRequestValidationError) Error

Error satisfies the builtin error interface

func (ListGroupUsersRequestValidationError) ErrorName

ErrorName returns error name.

func (ListGroupUsersRequestValidationError) Field

Field function returns field value.

func (ListGroupUsersRequestValidationError) Key

Key function returns key value.

func (ListGroupUsersRequestValidationError) Reason

Reason function returns reason value.

type ListGroupUsersResponse

type ListGroupUsersResponse struct {
	Users []*GroupUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

ListGroupUsersResponse

func (*ListGroupUsersResponse) Descriptor deprecated

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

Deprecated: Use ListGroupUsersResponse.ProtoReflect.Descriptor instead.

func (*ListGroupUsersResponse) GetUsers

func (x *ListGroupUsersResponse) GetUsers() []*GroupUser

func (*ListGroupUsersResponse) ProtoMessage

func (*ListGroupUsersResponse) ProtoMessage()

func (*ListGroupUsersResponse) ProtoReflect

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

func (*ListGroupUsersResponse) Reset

func (x *ListGroupUsersResponse) Reset()

func (*ListGroupUsersResponse) String

func (x *ListGroupUsersResponse) String() string

func (*ListGroupUsersResponse) Validate

func (m *ListGroupUsersResponse) Validate() error

Validate checks the field values on ListGroupUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListGroupUsersResponse) ValidateAll

func (m *ListGroupUsersResponse) ValidateAll() error

ValidateAll checks the field values on ListGroupUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListGroupUsersResponseMultiError, or nil if none found.

type ListGroupUsersResponseMultiError

type ListGroupUsersResponseMultiError []error

ListGroupUsersResponseMultiError is an error wrapping multiple validation errors returned by ListGroupUsersResponse.ValidateAll() if the designated constraints aren't met.

func (ListGroupUsersResponseMultiError) AllErrors

func (m ListGroupUsersResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListGroupUsersResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListGroupUsersResponseValidationError

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

ListGroupUsersResponseValidationError is the validation error returned by ListGroupUsersResponse.Validate if the designated constraints aren't met.

func (ListGroupUsersResponseValidationError) Cause

Cause function returns cause value.

func (ListGroupUsersResponseValidationError) Error

Error satisfies the builtin error interface

func (ListGroupUsersResponseValidationError) ErrorName

ErrorName returns error name.

func (ListGroupUsersResponseValidationError) Field

Field function returns field value.

func (ListGroupUsersResponseValidationError) Key

Key function returns key value.

func (ListGroupUsersResponseValidationError) Reason

Reason function returns reason value.

type ListGroupsRequest

type ListGroupsRequest struct {

	// Maximum number of groups to return (default: 10, max: 100)
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Number of groups to skip (for pagination)
	Offset int32  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Id     *int64 `protobuf:"varint,3,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Optional search query (searches name, display_name)
	Search *string `protobuf:"bytes,4,opt,name=search,proto3,oneof" json:"search,omitempty"`
	All    bool    `protobuf:"varint,5,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

ListGroupsRequest for listing groups with pagination and filtering

func (*ListGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) GetAll

func (x *ListGroupsRequest) GetAll() bool

func (*ListGroupsRequest) GetId

func (x *ListGroupsRequest) GetId() int64

func (*ListGroupsRequest) GetLimit

func (x *ListGroupsRequest) GetLimit() int32

func (*ListGroupsRequest) GetOffset

func (x *ListGroupsRequest) GetOffset() int32

func (*ListGroupsRequest) GetSearch

func (x *ListGroupsRequest) GetSearch() string

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect

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

func (*ListGroupsRequest) Reset

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (x *ListGroupsRequest) String() string

func (*ListGroupsRequest) Validate

func (m *ListGroupsRequest) Validate() error

Validate checks the field values on ListGroupsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListGroupsRequest) ValidateAll

func (m *ListGroupsRequest) ValidateAll() error

ValidateAll checks the field values on ListGroupsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListGroupsRequestMultiError, or nil if none found.

type ListGroupsRequestMultiError

type ListGroupsRequestMultiError []error

ListGroupsRequestMultiError is an error wrapping multiple validation errors returned by ListGroupsRequest.ValidateAll() if the designated constraints aren't met.

func (ListGroupsRequestMultiError) AllErrors

func (m ListGroupsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListGroupsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListGroupsRequestValidationError

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

ListGroupsRequestValidationError is the validation error returned by ListGroupsRequest.Validate if the designated constraints aren't met.

func (ListGroupsRequestValidationError) Cause

Cause function returns cause value.

func (ListGroupsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListGroupsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListGroupsRequestValidationError) Field

Field function returns field value.

func (ListGroupsRequestValidationError) Key

Key function returns key value.

func (ListGroupsRequestValidationError) Reason

Reason function returns reason value.

type ListGroupsResponse

type ListGroupsResponse struct {
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

ListGroupsResponse

func (*ListGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups

func (x *ListGroupsResponse) GetGroups() []*Group

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect

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

func (*ListGroupsResponse) Reset

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (x *ListGroupsResponse) String() string

func (*ListGroupsResponse) Validate

func (m *ListGroupsResponse) Validate() error

Validate checks the field values on ListGroupsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListGroupsResponse) ValidateAll

func (m *ListGroupsResponse) ValidateAll() error

ValidateAll checks the field values on ListGroupsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListGroupsResponseMultiError, or nil if none found.

type ListGroupsResponseMultiError

type ListGroupsResponseMultiError []error

ListGroupsResponseMultiError is an error wrapping multiple validation errors returned by ListGroupsResponse.ValidateAll() if the designated constraints aren't met.

func (ListGroupsResponseMultiError) AllErrors

func (m ListGroupsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListGroupsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListGroupsResponseValidationError

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

ListGroupsResponseValidationError is the validation error returned by ListGroupsResponse.Validate if the designated constraints aren't met.

func (ListGroupsResponseValidationError) Cause

Cause function returns cause value.

func (ListGroupsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListGroupsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListGroupsResponseValidationError) Field

Field function returns field value.

func (ListGroupsResponseValidationError) Key

Key function returns key value.

func (ListGroupsResponseValidationError) Reason

Reason function returns reason value.

type ListPermissionsRequest

type ListPermissionsRequest struct {

	// Maximum number of permissions to return (default: 10, max: 100)
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Number of permissions to skip for pagination (default: 0)
	Offset int32  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Id     *int64 `protobuf:"varint,3,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Search term to filter permissions by name, display_name, or description
	// Uses case-insensitive partial matching
	Search *string `protobuf:"bytes,4,opt,name=search,proto3,oneof" json:"search,omitempty"`
	All    bool    `protobuf:"varint,5,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

Request to list permissions with optional filtering and pagination

func (*ListPermissionsRequest) Descriptor deprecated

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

Deprecated: Use ListPermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListPermissionsRequest) GetAll

func (x *ListPermissionsRequest) GetAll() bool

func (*ListPermissionsRequest) GetId

func (x *ListPermissionsRequest) GetId() int64

func (*ListPermissionsRequest) GetLimit

func (x *ListPermissionsRequest) GetLimit() int32

func (*ListPermissionsRequest) GetOffset

func (x *ListPermissionsRequest) GetOffset() int32

func (*ListPermissionsRequest) GetSearch

func (x *ListPermissionsRequest) GetSearch() string

func (*ListPermissionsRequest) ProtoMessage

func (*ListPermissionsRequest) ProtoMessage()

func (*ListPermissionsRequest) ProtoReflect

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

func (*ListPermissionsRequest) Reset

func (x *ListPermissionsRequest) Reset()

func (*ListPermissionsRequest) String

func (x *ListPermissionsRequest) String() string

func (*ListPermissionsRequest) Validate

func (m *ListPermissionsRequest) Validate() error

Validate checks the field values on ListPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListPermissionsRequest) ValidateAll

func (m *ListPermissionsRequest) ValidateAll() error

ValidateAll checks the field values on ListPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListPermissionsRequestMultiError, or nil if none found.

type ListPermissionsRequestMultiError

type ListPermissionsRequestMultiError []error

ListPermissionsRequestMultiError is an error wrapping multiple validation errors returned by ListPermissionsRequest.ValidateAll() if the designated constraints aren't met.

func (ListPermissionsRequestMultiError) AllErrors

func (m ListPermissionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListPermissionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListPermissionsRequestValidationError

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

ListPermissionsRequestValidationError is the validation error returned by ListPermissionsRequest.Validate if the designated constraints aren't met.

func (ListPermissionsRequestValidationError) Cause

Cause function returns cause value.

func (ListPermissionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListPermissionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListPermissionsRequestValidationError) Field

Field function returns field value.

func (ListPermissionsRequestValidationError) Key

Key function returns key value.

func (ListPermissionsRequestValidationError) Reason

Reason function returns reason value.

type ListPermissionsResponse

type ListPermissionsResponse struct {

	// Array of permissions matching the request criteria
	Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Response containing a list of permissions with pagination metadata

func (*ListPermissionsResponse) Descriptor deprecated

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

Deprecated: Use ListPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListPermissionsResponse) GetPermissions

func (x *ListPermissionsResponse) GetPermissions() []*Permission

func (*ListPermissionsResponse) ProtoMessage

func (*ListPermissionsResponse) ProtoMessage()

func (*ListPermissionsResponse) ProtoReflect

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

func (*ListPermissionsResponse) Reset

func (x *ListPermissionsResponse) Reset()

func (*ListPermissionsResponse) String

func (x *ListPermissionsResponse) String() string

func (*ListPermissionsResponse) Validate

func (m *ListPermissionsResponse) Validate() error

Validate checks the field values on ListPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListPermissionsResponse) ValidateAll

func (m *ListPermissionsResponse) ValidateAll() error

ValidateAll checks the field values on ListPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListPermissionsResponseMultiError, or nil if none found.

type ListPermissionsResponseMultiError

type ListPermissionsResponseMultiError []error

ListPermissionsResponseMultiError is an error wrapping multiple validation errors returned by ListPermissionsResponse.ValidateAll() if the designated constraints aren't met.

func (ListPermissionsResponseMultiError) AllErrors

func (m ListPermissionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListPermissionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListPermissionsResponseValidationError

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

ListPermissionsResponseValidationError is the validation error returned by ListPermissionsResponse.Validate if the designated constraints aren't met.

func (ListPermissionsResponseValidationError) Cause

Cause function returns cause value.

func (ListPermissionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListPermissionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListPermissionsResponseValidationError) Field

Field function returns field value.

func (ListPermissionsResponseValidationError) Key

Key function returns key value.

func (ListPermissionsResponseValidationError) Reason

Reason function returns reason value.

type ListUserGroupsRequest

type ListUserGroupsRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Limit  int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	All    bool  `protobuf:"varint,4,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

ListUserGroupsRequest to get all groups for a user

func (*ListUserGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListUserGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListUserGroupsRequest) GetAll

func (x *ListUserGroupsRequest) GetAll() bool

func (*ListUserGroupsRequest) GetLimit

func (x *ListUserGroupsRequest) GetLimit() int32

func (*ListUserGroupsRequest) GetOffset

func (x *ListUserGroupsRequest) GetOffset() int32

func (*ListUserGroupsRequest) GetUserId

func (x *ListUserGroupsRequest) GetUserId() int64

func (*ListUserGroupsRequest) ProtoMessage

func (*ListUserGroupsRequest) ProtoMessage()

func (*ListUserGroupsRequest) ProtoReflect

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

func (*ListUserGroupsRequest) Reset

func (x *ListUserGroupsRequest) Reset()

func (*ListUserGroupsRequest) String

func (x *ListUserGroupsRequest) String() string

func (*ListUserGroupsRequest) Validate

func (m *ListUserGroupsRequest) Validate() error

Validate checks the field values on ListUserGroupsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserGroupsRequest) ValidateAll

func (m *ListUserGroupsRequest) ValidateAll() error

ValidateAll checks the field values on ListUserGroupsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserGroupsRequestMultiError, or nil if none found.

type ListUserGroupsRequestMultiError

type ListUserGroupsRequestMultiError []error

ListUserGroupsRequestMultiError is an error wrapping multiple validation errors returned by ListUserGroupsRequest.ValidateAll() if the designated constraints aren't met.

func (ListUserGroupsRequestMultiError) AllErrors

func (m ListUserGroupsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserGroupsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserGroupsRequestValidationError

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

ListUserGroupsRequestValidationError is the validation error returned by ListUserGroupsRequest.Validate if the designated constraints aren't met.

func (ListUserGroupsRequestValidationError) Cause

Cause function returns cause value.

func (ListUserGroupsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserGroupsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUserGroupsRequestValidationError) Field

Field function returns field value.

func (ListUserGroupsRequestValidationError) Key

Key function returns key value.

func (ListUserGroupsRequestValidationError) Reason

Reason function returns reason value.

type ListUserGroupsResponse

type ListUserGroupsResponse struct {
	Groups []*UserGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

ListUserGroupsResponse

func (*ListUserGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListUserGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListUserGroupsResponse) GetGroups

func (x *ListUserGroupsResponse) GetGroups() []*UserGroup

func (*ListUserGroupsResponse) ProtoMessage

func (*ListUserGroupsResponse) ProtoMessage()

func (*ListUserGroupsResponse) ProtoReflect

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

func (*ListUserGroupsResponse) Reset

func (x *ListUserGroupsResponse) Reset()

func (*ListUserGroupsResponse) String

func (x *ListUserGroupsResponse) String() string

func (*ListUserGroupsResponse) Validate

func (m *ListUserGroupsResponse) Validate() error

Validate checks the field values on ListUserGroupsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserGroupsResponse) ValidateAll

func (m *ListUserGroupsResponse) ValidateAll() error

ValidateAll checks the field values on ListUserGroupsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserGroupsResponseMultiError, or nil if none found.

type ListUserGroupsResponseMultiError

type ListUserGroupsResponseMultiError []error

ListUserGroupsResponseMultiError is an error wrapping multiple validation errors returned by ListUserGroupsResponse.ValidateAll() if the designated constraints aren't met.

func (ListUserGroupsResponseMultiError) AllErrors

func (m ListUserGroupsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserGroupsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserGroupsResponseValidationError

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

ListUserGroupsResponseValidationError is the validation error returned by ListUserGroupsResponse.Validate if the designated constraints aren't met.

func (ListUserGroupsResponseValidationError) Cause

Cause function returns cause value.

func (ListUserGroupsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUserGroupsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUserGroupsResponseValidationError) Field

Field function returns field value.

func (ListUserGroupsResponseValidationError) Key

Key function returns key value.

func (ListUserGroupsResponseValidationError) Reason

Reason function returns reason value.

type ListUserPermissionsRequest

type ListUserPermissionsRequest struct {

	// ID of the user to list permissions for
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Request to list permissions assigned directly to a user

func (*ListUserPermissionsRequest) Descriptor deprecated

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

Deprecated: Use ListUserPermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListUserPermissionsRequest) GetUserId

func (x *ListUserPermissionsRequest) GetUserId() int64

func (*ListUserPermissionsRequest) ProtoMessage

func (*ListUserPermissionsRequest) ProtoMessage()

func (*ListUserPermissionsRequest) ProtoReflect

func (*ListUserPermissionsRequest) Reset

func (x *ListUserPermissionsRequest) Reset()

func (*ListUserPermissionsRequest) String

func (x *ListUserPermissionsRequest) String() string

func (*ListUserPermissionsRequest) Validate

func (m *ListUserPermissionsRequest) Validate() error

Validate checks the field values on ListUserPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserPermissionsRequest) ValidateAll

func (m *ListUserPermissionsRequest) ValidateAll() error

ValidateAll checks the field values on ListUserPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserPermissionsRequestMultiError, or nil if none found.

type ListUserPermissionsRequestMultiError

type ListUserPermissionsRequestMultiError []error

ListUserPermissionsRequestMultiError is an error wrapping multiple validation errors returned by ListUserPermissionsRequest.ValidateAll() if the designated constraints aren't met.

func (ListUserPermissionsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListUserPermissionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserPermissionsRequestValidationError

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

ListUserPermissionsRequestValidationError is the validation error returned by ListUserPermissionsRequest.Validate if the designated constraints aren't met.

func (ListUserPermissionsRequestValidationError) Cause

Cause function returns cause value.

func (ListUserPermissionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserPermissionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUserPermissionsRequestValidationError) Field

Field function returns field value.

func (ListUserPermissionsRequestValidationError) Key

Key function returns key value.

func (ListUserPermissionsRequestValidationError) Reason

Reason function returns reason value.

type ListUserPermissionsResponse

type ListUserPermissionsResponse struct {

	// Array of permissions assigned to the user
	Permissions []*EffectivePermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Response containing user permissions

func (*ListUserPermissionsResponse) Descriptor deprecated

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

Deprecated: Use ListUserPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListUserPermissionsResponse) GetPermissions

func (x *ListUserPermissionsResponse) GetPermissions() []*EffectivePermission

func (*ListUserPermissionsResponse) ProtoMessage

func (*ListUserPermissionsResponse) ProtoMessage()

func (*ListUserPermissionsResponse) ProtoReflect

func (*ListUserPermissionsResponse) Reset

func (x *ListUserPermissionsResponse) Reset()

func (*ListUserPermissionsResponse) String

func (x *ListUserPermissionsResponse) String() string

func (*ListUserPermissionsResponse) Validate

func (m *ListUserPermissionsResponse) Validate() error

Validate checks the field values on ListUserPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserPermissionsResponse) ValidateAll

func (m *ListUserPermissionsResponse) ValidateAll() error

ValidateAll checks the field values on ListUserPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserPermissionsResponseMultiError, or nil if none found.

type ListUserPermissionsResponseMultiError

type ListUserPermissionsResponseMultiError []error

ListUserPermissionsResponseMultiError is an error wrapping multiple validation errors returned by ListUserPermissionsResponse.ValidateAll() if the designated constraints aren't met.

func (ListUserPermissionsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListUserPermissionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserPermissionsResponseValidationError

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

ListUserPermissionsResponseValidationError is the validation error returned by ListUserPermissionsResponse.Validate if the designated constraints aren't met.

func (ListUserPermissionsResponseValidationError) Cause

Cause function returns cause value.

func (ListUserPermissionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUserPermissionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUserPermissionsResponseValidationError) Field

Field function returns field value.

func (ListUserPermissionsResponseValidationError) Key

Key function returns key value.

func (ListUserPermissionsResponseValidationError) Reason

Reason function returns reason value.

type ListUserProfilesRequest

type ListUserProfilesRequest struct {
	UserUuid string `protobuf:"bytes,1,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"`
	Limit    int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset   int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

ListUserProfilesRequest to get all profiles for a user

func (*ListUserProfilesRequest) Descriptor deprecated

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

Deprecated: Use ListUserProfilesRequest.ProtoReflect.Descriptor instead.

func (*ListUserProfilesRequest) GetLimit

func (x *ListUserProfilesRequest) GetLimit() int32

func (*ListUserProfilesRequest) GetOffset

func (x *ListUserProfilesRequest) GetOffset() int32

func (*ListUserProfilesRequest) GetUserUuid

func (x *ListUserProfilesRequest) GetUserUuid() string

func (*ListUserProfilesRequest) ProtoMessage

func (*ListUserProfilesRequest) ProtoMessage()

func (*ListUserProfilesRequest) ProtoReflect

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

func (*ListUserProfilesRequest) Reset

func (x *ListUserProfilesRequest) Reset()

func (*ListUserProfilesRequest) String

func (x *ListUserProfilesRequest) String() string

func (*ListUserProfilesRequest) Validate

func (m *ListUserProfilesRequest) Validate() error

Validate checks the field values on ListUserProfilesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserProfilesRequest) ValidateAll

func (m *ListUserProfilesRequest) ValidateAll() error

ValidateAll checks the field values on ListUserProfilesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserProfilesRequestMultiError, or nil if none found.

type ListUserProfilesRequestMultiError

type ListUserProfilesRequestMultiError []error

ListUserProfilesRequestMultiError is an error wrapping multiple validation errors returned by ListUserProfilesRequest.ValidateAll() if the designated constraints aren't met.

func (ListUserProfilesRequestMultiError) AllErrors

func (m ListUserProfilesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserProfilesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserProfilesRequestValidationError

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

ListUserProfilesRequestValidationError is the validation error returned by ListUserProfilesRequest.Validate if the designated constraints aren't met.

func (ListUserProfilesRequestValidationError) Cause

Cause function returns cause value.

func (ListUserProfilesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserProfilesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUserProfilesRequestValidationError) Field

Field function returns field value.

func (ListUserProfilesRequestValidationError) Key

Key function returns key value.

func (ListUserProfilesRequestValidationError) Reason

Reason function returns reason value.

type ListUserProfilesResponse

type ListUserProfilesResponse struct {
	Profiles []*UserProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

ListUserProfilesResponse

func (*ListUserProfilesResponse) Descriptor deprecated

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

Deprecated: Use ListUserProfilesResponse.ProtoReflect.Descriptor instead.

func (*ListUserProfilesResponse) GetProfiles

func (x *ListUserProfilesResponse) GetProfiles() []*UserProfile

func (*ListUserProfilesResponse) ProtoMessage

func (*ListUserProfilesResponse) ProtoMessage()

func (*ListUserProfilesResponse) ProtoReflect

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

func (*ListUserProfilesResponse) Reset

func (x *ListUserProfilesResponse) Reset()

func (*ListUserProfilesResponse) String

func (x *ListUserProfilesResponse) String() string

func (*ListUserProfilesResponse) Validate

func (m *ListUserProfilesResponse) Validate() error

Validate checks the field values on ListUserProfilesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserProfilesResponse) ValidateAll

func (m *ListUserProfilesResponse) ValidateAll() error

ValidateAll checks the field values on ListUserProfilesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserProfilesResponseMultiError, or nil if none found.

type ListUserProfilesResponseMultiError

type ListUserProfilesResponseMultiError []error

ListUserProfilesResponseMultiError is an error wrapping multiple validation errors returned by ListUserProfilesResponse.ValidateAll() if the designated constraints aren't met.

func (ListUserProfilesResponseMultiError) AllErrors

func (m ListUserProfilesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserProfilesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserProfilesResponseValidationError

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

ListUserProfilesResponseValidationError is the validation error returned by ListUserProfilesResponse.Validate if the designated constraints aren't met.

func (ListUserProfilesResponseValidationError) Cause

Cause function returns cause value.

func (ListUserProfilesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUserProfilesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUserProfilesResponseValidationError) Field

Field function returns field value.

func (ListUserProfilesResponseValidationError) Key

Key function returns key value.

func (ListUserProfilesResponseValidationError) Reason

Reason function returns reason value.

type ListUserSessionsRequest

type ListUserSessionsRequest struct {
	UserUuid   string `protobuf:"bytes,1,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"`
	Limit      int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	ActiveOnly *bool  `protobuf:"varint,4,opt,name=active_only,json=activeOnly,proto3,oneof" json:"active_only,omitempty"`
	// contains filtered or unexported fields
}

ListUserSessionsRequest to get active sessions

func (*ListUserSessionsRequest) Descriptor deprecated

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

Deprecated: Use ListUserSessionsRequest.ProtoReflect.Descriptor instead.

func (*ListUserSessionsRequest) GetActiveOnly

func (x *ListUserSessionsRequest) GetActiveOnly() bool

func (*ListUserSessionsRequest) GetLimit

func (x *ListUserSessionsRequest) GetLimit() int32

func (*ListUserSessionsRequest) GetOffset

func (x *ListUserSessionsRequest) GetOffset() int32

func (*ListUserSessionsRequest) GetUserUuid

func (x *ListUserSessionsRequest) GetUserUuid() string

func (*ListUserSessionsRequest) ProtoMessage

func (*ListUserSessionsRequest) ProtoMessage()

func (*ListUserSessionsRequest) ProtoReflect

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

func (*ListUserSessionsRequest) Reset

func (x *ListUserSessionsRequest) Reset()

func (*ListUserSessionsRequest) String

func (x *ListUserSessionsRequest) String() string

func (*ListUserSessionsRequest) Validate

func (m *ListUserSessionsRequest) Validate() error

Validate checks the field values on ListUserSessionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserSessionsRequest) ValidateAll

func (m *ListUserSessionsRequest) ValidateAll() error

ValidateAll checks the field values on ListUserSessionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserSessionsRequestMultiError, or nil if none found.

type ListUserSessionsRequestMultiError

type ListUserSessionsRequestMultiError []error

ListUserSessionsRequestMultiError is an error wrapping multiple validation errors returned by ListUserSessionsRequest.ValidateAll() if the designated constraints aren't met.

func (ListUserSessionsRequestMultiError) AllErrors

func (m ListUserSessionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserSessionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserSessionsRequestValidationError

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

ListUserSessionsRequestValidationError is the validation error returned by ListUserSessionsRequest.Validate if the designated constraints aren't met.

func (ListUserSessionsRequestValidationError) Cause

Cause function returns cause value.

func (ListUserSessionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserSessionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUserSessionsRequestValidationError) Field

Field function returns field value.

func (ListUserSessionsRequestValidationError) Key

Key function returns key value.

func (ListUserSessionsRequestValidationError) Reason

Reason function returns reason value.

type ListUserSessionsResponse

type ListUserSessionsResponse struct {
	Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

ListUserSessionsResponse

func (*ListUserSessionsResponse) Descriptor deprecated

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

Deprecated: Use ListUserSessionsResponse.ProtoReflect.Descriptor instead.

func (*ListUserSessionsResponse) GetSessions

func (x *ListUserSessionsResponse) GetSessions() []*Session

func (*ListUserSessionsResponse) ProtoMessage

func (*ListUserSessionsResponse) ProtoMessage()

func (*ListUserSessionsResponse) ProtoReflect

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

func (*ListUserSessionsResponse) Reset

func (x *ListUserSessionsResponse) Reset()

func (*ListUserSessionsResponse) String

func (x *ListUserSessionsResponse) String() string

func (*ListUserSessionsResponse) Validate

func (m *ListUserSessionsResponse) Validate() error

Validate checks the field values on ListUserSessionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserSessionsResponse) ValidateAll

func (m *ListUserSessionsResponse) ValidateAll() error

ValidateAll checks the field values on ListUserSessionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserSessionsResponseMultiError, or nil if none found.

type ListUserSessionsResponseMultiError

type ListUserSessionsResponseMultiError []error

ListUserSessionsResponseMultiError is an error wrapping multiple validation errors returned by ListUserSessionsResponse.ValidateAll() if the designated constraints aren't met.

func (ListUserSessionsResponseMultiError) AllErrors

func (m ListUserSessionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserSessionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserSessionsResponseValidationError

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

ListUserSessionsResponseValidationError is the validation error returned by ListUserSessionsResponse.Validate if the designated constraints aren't met.

func (ListUserSessionsResponseValidationError) Cause

Cause function returns cause value.

func (ListUserSessionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUserSessionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUserSessionsResponseValidationError) Field

Field function returns field value.

func (ListUserSessionsResponseValidationError) Key

Key function returns key value.

func (ListUserSessionsResponseValidationError) Reason

Reason function returns reason value.

type ListUsersRequest

type ListUsersRequest struct {
	Limit  int32   `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int32   `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Search *string `protobuf:"bytes,3,opt,name=search,proto3,oneof" json:"search,omitempty"`
	// contains filtered or unexported fields
}

ListUsersRequest for listing users with pagination and filtering

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetLimit

func (x *ListUsersRequest) GetLimit() int32

func (*ListUsersRequest) GetOffset

func (x *ListUsersRequest) GetOffset() int32

func (*ListUsersRequest) GetSearch

func (x *ListUsersRequest) GetSearch() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

func (*ListUsersRequest) Validate

func (m *ListUsersRequest) Validate() error

Validate checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUsersRequest) ValidateAll

func (m *ListUsersRequest) ValidateAll() error

ValidateAll checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersRequestMultiError, or nil if none found.

type ListUsersRequestMultiError

type ListUsersRequestMultiError []error

ListUsersRequestMultiError is an error wrapping multiple validation errors returned by ListUsersRequest.ValidateAll() if the designated constraints aren't met.

func (ListUsersRequestMultiError) AllErrors

func (m ListUsersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUsersRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUsersRequestValidationError

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

ListUsersRequestValidationError is the validation error returned by ListUsersRequest.Validate if the designated constraints aren't met.

func (ListUsersRequestValidationError) Cause

Cause function returns cause value.

func (ListUsersRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUsersRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUsersRequestValidationError) Field

Field function returns field value.

func (ListUsersRequestValidationError) Key

Key function returns key value.

func (ListUsersRequestValidationError) Reason

Reason function returns reason value.

type ListUsersResponse

type ListUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

ListUsersResponse

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

func (*ListUsersResponse) Validate

func (m *ListUsersResponse) Validate() error

Validate checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUsersResponse) ValidateAll

func (m *ListUsersResponse) ValidateAll() error

ValidateAll checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersResponseMultiError, or nil if none found.

type ListUsersResponseMultiError

type ListUsersResponseMultiError []error

ListUsersResponseMultiError is an error wrapping multiple validation errors returned by ListUsersResponse.ValidateAll() if the designated constraints aren't met.

func (ListUsersResponseMultiError) AllErrors

func (m ListUsersResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUsersResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUsersResponseValidationError

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

ListUsersResponseValidationError is the validation error returned by ListUsersResponse.Validate if the designated constraints aren't met.

func (ListUsersResponseValidationError) Cause

Cause function returns cause value.

func (ListUsersResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUsersResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUsersResponseValidationError) Field

Field function returns field value.

func (ListUsersResponseValidationError) Key

Key function returns key value.

func (ListUsersResponseValidationError) Reason

Reason function returns reason value.

type LogoutRequest

type LogoutRequest struct {
	SessionId   *string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`        // Specific session to logout
	AllSessions *bool   `protobuf:"varint,2,opt,name=all_sessions,json=allSessions,proto3,oneof" json:"all_sessions,omitempty"` // Logout from all devices
	// contains filtered or unexported fields
}

LogoutRequest to end user session

func (*LogoutRequest) Descriptor deprecated

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

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) GetAllSessions

func (x *LogoutRequest) GetAllSessions() bool

func (*LogoutRequest) GetSessionId

func (x *LogoutRequest) GetSessionId() string

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

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

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

func (*LogoutRequest) Validate

func (m *LogoutRequest) Validate() error

Validate checks the field values on LogoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LogoutRequest) ValidateAll

func (m *LogoutRequest) ValidateAll() error

ValidateAll checks the field values on LogoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutRequestMultiError, or nil if none found.

type LogoutRequestMultiError

type LogoutRequestMultiError []error

LogoutRequestMultiError is an error wrapping multiple validation errors returned by LogoutRequest.ValidateAll() if the designated constraints aren't met.

func (LogoutRequestMultiError) AllErrors

func (m LogoutRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LogoutRequestMultiError) Error

func (m LogoutRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LogoutRequestValidationError

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

LogoutRequestValidationError is the validation error returned by LogoutRequest.Validate if the designated constraints aren't met.

func (LogoutRequestValidationError) Cause

Cause function returns cause value.

func (LogoutRequestValidationError) Error

Error satisfies the builtin error interface

func (LogoutRequestValidationError) ErrorName

func (e LogoutRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LogoutRequestValidationError) Field

Field function returns field value.

func (LogoutRequestValidationError) Key

Key function returns key value.

func (LogoutRequestValidationError) Reason

Reason function returns reason value.

type LogoutResponse

type LogoutResponse struct {
	Success            bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message            string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	SessionsTerminated int32  `protobuf:"varint,3,opt,name=sessions_terminated,json=sessionsTerminated,proto3" json:"sessions_terminated,omitempty"` // Number of sessions ended
	// contains filtered or unexported fields
}

LogoutResponse

func (*LogoutResponse) Descriptor deprecated

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) GetMessage

func (x *LogoutResponse) GetMessage() string

func (*LogoutResponse) GetSessionsTerminated

func (x *LogoutResponse) GetSessionsTerminated() int32

func (*LogoutResponse) GetSuccess

func (x *LogoutResponse) GetSuccess() bool

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

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

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

func (*LogoutResponse) Validate

func (m *LogoutResponse) Validate() error

Validate checks the field values on LogoutResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LogoutResponse) ValidateAll

func (m *LogoutResponse) ValidateAll() error

ValidateAll checks the field values on LogoutResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutResponseMultiError, or nil if none found.

type LogoutResponseMultiError

type LogoutResponseMultiError []error

LogoutResponseMultiError is an error wrapping multiple validation errors returned by LogoutResponse.ValidateAll() if the designated constraints aren't met.

func (LogoutResponseMultiError) AllErrors

func (m LogoutResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LogoutResponseMultiError) Error

func (m LogoutResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LogoutResponseValidationError

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

LogoutResponseValidationError is the validation error returned by LogoutResponse.Validate if the designated constraints aren't met.

func (LogoutResponseValidationError) Cause

Cause function returns cause value.

func (LogoutResponseValidationError) Error

Error satisfies the builtin error interface

func (LogoutResponseValidationError) ErrorName

func (e LogoutResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LogoutResponseValidationError) Field

Field function returns field value.

func (LogoutResponseValidationError) Key

Key function returns key value.

func (LogoutResponseValidationError) Reason

Reason function returns reason value.

type Metadata

type Metadata struct {
	Options []string `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

for dart code options for choice type

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetOptions

func (x *Metadata) GetOptions() []string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) Validate

func (m *Metadata) Validate() error

Validate checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Metadata) ValidateAll

func (m *Metadata) ValidateAll() error

ValidateAll checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetadataMultiError, or nil if none found.

type MetadataMultiError

type MetadataMultiError []error

MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.

func (MetadataMultiError) AllErrors

func (m MetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetadataMultiError) Error

func (m MetadataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetadataValidationError

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

MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.

func (MetadataValidationError) Cause

func (e MetadataValidationError) Cause() error

Cause function returns cause value.

func (MetadataValidationError) Error

func (e MetadataValidationError) Error() string

Error satisfies the builtin error interface

func (MetadataValidationError) ErrorName

func (e MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataValidationError) Field

func (e MetadataValidationError) Field() string

Field function returns field value.

func (MetadataValidationError) Key

func (e MetadataValidationError) Key() bool

Key function returns key value.

func (MetadataValidationError) Reason

func (e MetadataValidationError) Reason() string

Reason function returns reason value.

type OpenAuthClient

type OpenAuthClient interface {
	// Ping is a simple health check endpoint to verify service availability
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
	// Stats provides system statistics including user counts, permission counts, etc.
	Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error)
	// CreatePermission creates a new permission in the system.
	//
	// Permissions follow the pattern: resource.action (e.g., "users.create")
	// - resource: The entity being accessed (users, groups, permissions, etc.)
	// - action: The operation being performed (create, read, update, delete, etc.)
	//
	// Example: Creating a permission for user management would have:
	// - name: "users.create"
	// - resource: "users"
	// - action: "create"
	// - display_name: "Create Users"
	CreatePermission(ctx context.Context, in *CreatePermissionRequest, opts ...grpc.CallOption) (*Permission, error)
	// GetPermission retrieves a specific permission by its unique ID.
	//
	// Returns the complete permission details including resource, action,
	// system status, and metadata.
	GetPermission(ctx context.Context, in *GetPermissionRequest, opts ...grpc.CallOption) (*Permission, error)
	// ListPermissions retrieves permissions with optional filtering and pagination.
	//
	// Supports filtering by:
	// - search: Searches across name, display_name, and description fields
	// - resource: Filter by specific resource type (e.g., "users", "groups")
	// - action: Filter by specific action type (e.g., "create", "read")
	// - is_system: Filter by system vs user-created permissions
	//
	// Pagination is handled via limit/offset parameters:
	// - limit: Maximum number of results (default: 10, max: 100)
	// - offset: Number of results to skip (default: 0)
	//
	// Example queries:
	// - GET /openauth/v1/permissions?resource=users - All user-related permissions
	// - GET /openauth/v1/permissions?action=create - All creation permissions
	// - GET /openauth/v1/permissions?search=user&limit=20 - Search for "user" with 20 results
	ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error)
	// UpdatePermission modifies an existing permission.
	//
	// All fields in the request are optional - only provided fields will be updated.
	// System permissions (is_system=true) cannot be modified to prevent
	// breaking core application functionality.
	//
	// Note: Changing the name requires ensuring uniqueness across all permissions.
	UpdatePermission(ctx context.Context, in *UpdatePermissionRequest, opts ...grpc.CallOption) (*Permission, error)
	// DeletePermission removes a permission from the system.
	//
	// System permissions (is_system=true) cannot be deleted as they are
	// critical for application functionality. Attempting to delete a system
	// permission will return a PermissionDenied error.
	//
	// Warning: Deleting a permission will affect all users and groups
	// that currently have this permission assigned.
	DeletePermission(ctx context.Context, in *DeletePermissionRequest, opts ...grpc.CallOption) (*DeletePermissionResponse, error)
	// CreateGroup creates a new group in the system.
	//
	// Groups are used to organize users and assign permissions collectively.
	// Each group has a unique name and can have multiple users and permissions assigned.
	CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error)
	// GetGroup retrieves a specific group by ID, UUID, or name.
	//
	// Returns complete group information including metadata and system status.
	GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error)
	// ListGroups retrieves groups with optional filtering and pagination.
	//
	// Supports filtering by:
	// - search: Searches across name, display_name, and description fields
	// - is_system: Filter by system vs user-created groups
	// - is_default: Filter by default groups for new users
	ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error)
	// UpdateGroup modifies an existing group.
	//
	// All fields in the request are optional - only provided fields will be updated.
	// System groups (is_system=true) cannot be modified to prevent breaking core functionality.
	UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupResponse, error)
	// DeleteGroup removes a group from the system.
	//
	// System groups (is_system=true) cannot be deleted as they are critical for application functionality.
	// Warning: Deleting a group will remove all user assignments and group permissions.
	DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupResponse, error)
	// AssignUserToGroup adds a user to a group.
	//
	// Grants the user all permissions associated with the group.
	// Supports optional expiration time for temporary group membership.
	AssignUsersToGroup(ctx context.Context, in *AssignUsersToGroupRequest, opts ...grpc.CallOption) (*AssignUsersToGroupResponse, error)
	// RemoveUserFromGroup removes a user from a group.
	//
	// Revokes all group-based permissions from the user.
	// Direct user permissions are not affected.
	RemoveUsersFromGroup(ctx context.Context, in *RemoveUsersFromGroupRequest, opts ...grpc.CallOption) (*RemoveUsersFromGroupResponse, error)
	// ListGroupUsers retrieves all users in a specific group.
	//
	// Returns paginated list of users with their group membership details.
	ListGroupUsers(ctx context.Context, in *ListGroupUsersRequest, opts ...grpc.CallOption) (*ListGroupUsersResponse, error)
	// ListUserGroups retrieves all groups for a specific user.
	//
	// Returns paginated list of groups the user belongs to.
	ListUserGroups(ctx context.Context, in *ListUserGroupsRequest, opts ...grpc.CallOption) (*ListUserGroupsResponse, error)
	// AssignPermissionToGroup assigns a permission to a group.
	//
	// This allows all users in the group to inherit this permission.
	// The permission will be available to all current and future group members.
	AssignPermissionsToGroup(ctx context.Context, in *AssignPermissionsToGroupRequest, opts ...grpc.CallOption) (*AssignPermissionsToGroupResponse, error)
	// RemovePermissionFromGroup removes a permission from a group.
	//
	// This will remove the permission from all users who had it through group membership.
	// Users who have the same permission assigned directly will retain it.
	RemovePermissionsFromGroup(ctx context.Context, in *RemovePermissionsFromGroupRequest, opts ...grpc.CallOption) (*RemovePermissionsFromGroupResponse, error)
	// ListGroupPermissions retrieves all permissions assigned to a specific group.
	//
	// Returns paginated list of permissions with optional search filtering.
	ListGroupPermissions(ctx context.Context, in *ListGroupPermissionsRequest, opts ...grpc.CallOption) (*ListGroupPermissionsResponse, error)
	// AssignPermissionToUser assigns a permission directly to a user.
	//
	// This creates a direct permission assignment that bypasses group membership.
	// Can include an optional expiration time for temporary permissions.
	AssignPermissionsToUser(ctx context.Context, in *AssignPermissionsToUserRequest, opts ...grpc.CallOption) (*AssignPermissionsToUserResponse, error)
	// RemovePermissionFromUser removes a permission directly assigned to a user.
	//
	// This only removes direct permission assignments, not permissions inherited from groups.
	RemovePermissionsFromUser(ctx context.Context, in *RemovePermissionsFromUserRequest, opts ...grpc.CallOption) (*RemovePermissionsFromUserResponse, error)
	// ListUserPermissions retrieves all permissions directly assigned to a user.
	//
	// This does not include permissions inherited from group membership.
	// Use GetUserEffectivePermissions to get all permissions including group-inherited ones.
	ListUserPermissions(ctx context.Context, in *ListUserPermissionsRequest, opts ...grpc.CallOption) (*ListUserPermissionsResponse, error)
	// GetUserEffectivePermissions retrieves all effective permissions for a user.
	//
	// This includes both directly assigned permissions and permissions inherited from group membership.
	// Each permission includes information about its source (direct assignment or group inheritance).
	GetUserEffectivePermissions(ctx context.Context, in *GetUserEffectivePermissionsRequest, opts ...grpc.CallOption) (*GetUserEffectivePermissionsResponse, error)
	// SignUp creates a new user account in the system.
	//
	// Supports multiple registration methods:
	// - Username + password (required)
	// - Email + password (optional, triggers email verification)
	// - Phone + password (optional, triggers SMS verification)
	//
	// Returns the created user and profile information along with
	// verification requirements if email/phone was provided.
	SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error)
	// VerifyEmail verifies a user's email address using a verification code.
	//
	// The verification code is typically sent via email during registration
	// or when requesting email verification. Successful verification
	// enables email-based features and login.
	VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*VerificationResponse, error)
	// VerifyPhone verifies a user's phone number using a verification code.
	//
	// The verification code is typically sent via SMS during registration
	// or when requesting phone verification. Successful verification
	// enables SMS-based features and login.
	VerifyPhone(ctx context.Context, in *VerifyPhoneRequest, opts ...grpc.CallOption) (*VerificationResponse, error)
	// ResendVerification resends verification codes for email or phone.
	//
	// Useful when users don't receive the initial verification code
	// or when the code has expired. Includes rate limiting to prevent abuse.
	SendVerificationCode(ctx context.Context, in *SendVerificationCodeRequest, opts ...grpc.CallOption) (*SendVerificationCodeResponse, error)
	// CheckUsername checks if a username is available for registration.
	//
	// Returns availability status and suggestions for alternative usernames
	// if the requested username is already taken. Useful for real-time
	// username validation during registration.
	CheckUsername(ctx context.Context, in *CheckUsernameRequest, opts ...grpc.CallOption) (*CheckUsernameResponse, error)
	// CheckEmail checks if an email address is available for registration.
	//
	// Returns availability status for the email address. Used to prevent
	// duplicate registrations and provide user feedback during signup.
	CheckEmail(ctx context.Context, in *CheckEmailRequest, opts ...grpc.CallOption) (*CheckEmailResponse, error)
	// GetUser retrieves user information by ID, UUID, username, or email.
	//
	// Supports multiple identifier types and optional profile inclusion.
	// Access control should be enforced based on the requesting user's
	// permissions and relationship to the target user.
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	// UpdateUser modifies user account and profile information.
	//
	// Supports partial updates - only provided fields are modified.
	// Sensitive operations like email/phone changes may require
	// additional verification steps.
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	// ChangePassword allows users to change their password.
	//
	// Requires the current password for verification and the new password.
	// Triggers password change tracking and may invalidate existing sessions.
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error)
	// ListUsers retrieves users with filtering, sorting, and pagination.
	//
	// Supports filtering by:
	// - search: Search across username, email, and name fields
	// - is_active: Filter by account status
	// - email_verified/phone_verified: Filter by verification status
	//
	// Requires appropriate permissions to access user listings.
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// DeleteUser removes or deactivates a user account.
	//
	// Supports both soft delete (deactivation) and hard delete.
	// Soft delete preserves data while preventing access.
	// Hard delete permanently removes the user and all associated data.
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	// CreateProfile creates a new profile for a user.
	//
	// Allows users to create multiple profiles for different contexts.
	// Each profile can have different display information, preferences,
	// and metadata while belonging to the same user account.
	CreateProfile(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*CreateProfileResponse, error)
	// ListUserProfiles retrieves all profiles for a specific user.
	//
	// Returns paginated list of profiles belonging to a user.
	// Useful for profile selection interfaces and management.
	ListUserProfiles(ctx context.Context, in *ListUserProfilesRequest, opts ...grpc.CallOption) (*ListUserProfilesResponse, error)
	// UpdateProfile modifies an existing profile.
	//
	// Supports partial updates - only provided fields are modified.
	// Profile updates are independent of user account information.
	UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateProfileResponse, error)
	// DeleteProfile removes a specific profile.
	//
	// Permanently deletes a profile and all associated data.
	// Users must have at least one profile, so deletion of the last
	// profile may be restricted based on business rules.
	DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*DeleteProfileResponse, error)
	// SignIn authenticates a user and creates a new session.
	//
	// Supports multiple login methods:
	// - Username + password
	// - Email + password
	// - Phone + password
	//
	// Returns access token, refresh token, and user information.
	// Tracks device information and manages session security.
	SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// RefreshToken generates new access token using refresh token.
	//
	// Implements token rotation for enhanced security where each refresh
	// generates a new refresh token and invalidates the old one.
	RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
	// Logout terminates user session(s).
	//
	// Can logout from current session or all sessions across devices.
	// Invalidates tokens and cleans up session data.
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
	// ValidateToken checks if an access token is valid and active.
	//
	// Used for authentication middleware and token verification.
	// Returns user information if token is valid.
	ValidateToken(ctx context.Context, in *ValidateTokenRequest, opts ...grpc.CallOption) (*ValidateTokenResponse, error)
	// IsAuthenticated checks if the current request is authenticated.
	// Returns true if the user is authenticated.
	IsAuthenticated(ctx context.Context, in *IsAuthenticatedRequest, opts ...grpc.CallOption) (*IsAuthenticatedResponse, error)
	// ListUserSessions retrieves active sessions for a user.
	//
	// Shows all devices and sessions where the user is logged in.
	// Useful for security management and device tracking.
	ListUserSessions(ctx context.Context, in *ListUserSessionsRequest, opts ...grpc.CallOption) (*ListUserSessionsResponse, error)
	// TerminateSession ends a specific user session.
	//
	// Allows users to logout from specific devices remotely.
	// Useful for security when a device is lost or compromised.
	// Terminates the specified session.
	// If userId is provided, it keeps the specified session active and terminates other sessions
	TerminateSession(ctx context.Context, in *TerminateSessionRequest, opts ...grpc.CallOption) (*TerminateSessionResponse, error)
	// CreateConfigEntity creates a new configuration entity
	CreateConfigEntity(ctx context.Context, in *CreateConfigEntityRequest, opts ...grpc.CallOption) (*ConfigEntity, error)
	// UpdateConfigEntity updates an existing config entity
	UpdateConfigEntity(ctx context.Context, in *UpdateConfigEntityRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// GetConfigEntity retrieves a specific config entity by ID
	GetConfigEntity(ctx context.Context, in *GetConfigEntityRequest, opts ...grpc.CallOption) (*ConfigEntity, error)
	// ListConfigEntities lists config entities with optional filtering and pagination
	ListConfigEntities(ctx context.Context, in *ListConfigEntitiesRequest, opts ...grpc.CallOption) (*ListConfigEntitiesResponse, error)
	// DeleteConfigEntity deletes a config entity
	DeleteConfigEntity(ctx context.Context, in *DeleteConfigEntityRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	// CreateConfig creates a new configuration
	CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*Config, error)
	// UpdateConfig updates an existing config
	UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// DeleteConfig deletes a config
	DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	// GetConfig retrieves a specific config by ID
	GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*Config, error)
	// GetConfigsByKeys retrieves multiple configs by keys within an entity
	GetConfigsByKeys(ctx context.Context, in *GetConfigsByKeysRequest, opts ...grpc.CallOption) (*GetConfigsByKeysResponse, error)
	// ListConfigs lists configs with optional filtering and pagination
	ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error)
}

OpenAuthClient is the client API for OpenAuth 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.

func NewOpenAuthClient

func NewOpenAuthClient(cc grpc.ClientConnInterface) OpenAuthClient

type OpenAuthServer

type OpenAuthServer interface {
	// Ping is a simple health check endpoint to verify service availability
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	// Stats provides system statistics including user counts, permission counts, etc.
	Stats(context.Context, *StatsRequest) (*StatsResponse, error)
	// CreatePermission creates a new permission in the system.
	//
	// Permissions follow the pattern: resource.action (e.g., "users.create")
	// - resource: The entity being accessed (users, groups, permissions, etc.)
	// - action: The operation being performed (create, read, update, delete, etc.)
	//
	// Example: Creating a permission for user management would have:
	// - name: "users.create"
	// - resource: "users"
	// - action: "create"
	// - display_name: "Create Users"
	CreatePermission(context.Context, *CreatePermissionRequest) (*Permission, error)
	// GetPermission retrieves a specific permission by its unique ID.
	//
	// Returns the complete permission details including resource, action,
	// system status, and metadata.
	GetPermission(context.Context, *GetPermissionRequest) (*Permission, error)
	// ListPermissions retrieves permissions with optional filtering and pagination.
	//
	// Supports filtering by:
	// - search: Searches across name, display_name, and description fields
	// - resource: Filter by specific resource type (e.g., "users", "groups")
	// - action: Filter by specific action type (e.g., "create", "read")
	// - is_system: Filter by system vs user-created permissions
	//
	// Pagination is handled via limit/offset parameters:
	// - limit: Maximum number of results (default: 10, max: 100)
	// - offset: Number of results to skip (default: 0)
	//
	// Example queries:
	// - GET /openauth/v1/permissions?resource=users - All user-related permissions
	// - GET /openauth/v1/permissions?action=create - All creation permissions
	// - GET /openauth/v1/permissions?search=user&limit=20 - Search for "user" with 20 results
	ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
	// UpdatePermission modifies an existing permission.
	//
	// All fields in the request are optional - only provided fields will be updated.
	// System permissions (is_system=true) cannot be modified to prevent
	// breaking core application functionality.
	//
	// Note: Changing the name requires ensuring uniqueness across all permissions.
	UpdatePermission(context.Context, *UpdatePermissionRequest) (*Permission, error)
	// DeletePermission removes a permission from the system.
	//
	// System permissions (is_system=true) cannot be deleted as they are
	// critical for application functionality. Attempting to delete a system
	// permission will return a PermissionDenied error.
	//
	// Warning: Deleting a permission will affect all users and groups
	// that currently have this permission assigned.
	DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error)
	// CreateGroup creates a new group in the system.
	//
	// Groups are used to organize users and assign permissions collectively.
	// Each group has a unique name and can have multiple users and permissions assigned.
	CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
	// GetGroup retrieves a specific group by ID, UUID, or name.
	//
	// Returns complete group information including metadata and system status.
	GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
	// ListGroups retrieves groups with optional filtering and pagination.
	//
	// Supports filtering by:
	// - search: Searches across name, display_name, and description fields
	// - is_system: Filter by system vs user-created groups
	// - is_default: Filter by default groups for new users
	ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
	// UpdateGroup modifies an existing group.
	//
	// All fields in the request are optional - only provided fields will be updated.
	// System groups (is_system=true) cannot be modified to prevent breaking core functionality.
	UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
	// DeleteGroup removes a group from the system.
	//
	// System groups (is_system=true) cannot be deleted as they are critical for application functionality.
	// Warning: Deleting a group will remove all user assignments and group permissions.
	DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
	// AssignUserToGroup adds a user to a group.
	//
	// Grants the user all permissions associated with the group.
	// Supports optional expiration time for temporary group membership.
	AssignUsersToGroup(context.Context, *AssignUsersToGroupRequest) (*AssignUsersToGroupResponse, error)
	// RemoveUserFromGroup removes a user from a group.
	//
	// Revokes all group-based permissions from the user.
	// Direct user permissions are not affected.
	RemoveUsersFromGroup(context.Context, *RemoveUsersFromGroupRequest) (*RemoveUsersFromGroupResponse, error)
	// ListGroupUsers retrieves all users in a specific group.
	//
	// Returns paginated list of users with their group membership details.
	ListGroupUsers(context.Context, *ListGroupUsersRequest) (*ListGroupUsersResponse, error)
	// ListUserGroups retrieves all groups for a specific user.
	//
	// Returns paginated list of groups the user belongs to.
	ListUserGroups(context.Context, *ListUserGroupsRequest) (*ListUserGroupsResponse, error)
	// AssignPermissionToGroup assigns a permission to a group.
	//
	// This allows all users in the group to inherit this permission.
	// The permission will be available to all current and future group members.
	AssignPermissionsToGroup(context.Context, *AssignPermissionsToGroupRequest) (*AssignPermissionsToGroupResponse, error)
	// RemovePermissionFromGroup removes a permission from a group.
	//
	// This will remove the permission from all users who had it through group membership.
	// Users who have the same permission assigned directly will retain it.
	RemovePermissionsFromGroup(context.Context, *RemovePermissionsFromGroupRequest) (*RemovePermissionsFromGroupResponse, error)
	// ListGroupPermissions retrieves all permissions assigned to a specific group.
	//
	// Returns paginated list of permissions with optional search filtering.
	ListGroupPermissions(context.Context, *ListGroupPermissionsRequest) (*ListGroupPermissionsResponse, error)
	// AssignPermissionToUser assigns a permission directly to a user.
	//
	// This creates a direct permission assignment that bypasses group membership.
	// Can include an optional expiration time for temporary permissions.
	AssignPermissionsToUser(context.Context, *AssignPermissionsToUserRequest) (*AssignPermissionsToUserResponse, error)
	// RemovePermissionFromUser removes a permission directly assigned to a user.
	//
	// This only removes direct permission assignments, not permissions inherited from groups.
	RemovePermissionsFromUser(context.Context, *RemovePermissionsFromUserRequest) (*RemovePermissionsFromUserResponse, error)
	// ListUserPermissions retrieves all permissions directly assigned to a user.
	//
	// This does not include permissions inherited from group membership.
	// Use GetUserEffectivePermissions to get all permissions including group-inherited ones.
	ListUserPermissions(context.Context, *ListUserPermissionsRequest) (*ListUserPermissionsResponse, error)
	// GetUserEffectivePermissions retrieves all effective permissions for a user.
	//
	// This includes both directly assigned permissions and permissions inherited from group membership.
	// Each permission includes information about its source (direct assignment or group inheritance).
	GetUserEffectivePermissions(context.Context, *GetUserEffectivePermissionsRequest) (*GetUserEffectivePermissionsResponse, error)
	// SignUp creates a new user account in the system.
	//
	// Supports multiple registration methods:
	// - Username + password (required)
	// - Email + password (optional, triggers email verification)
	// - Phone + password (optional, triggers SMS verification)
	//
	// Returns the created user and profile information along with
	// verification requirements if email/phone was provided.
	SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
	// VerifyEmail verifies a user's email address using a verification code.
	//
	// The verification code is typically sent via email during registration
	// or when requesting email verification. Successful verification
	// enables email-based features and login.
	VerifyEmail(context.Context, *VerifyEmailRequest) (*VerificationResponse, error)
	// VerifyPhone verifies a user's phone number using a verification code.
	//
	// The verification code is typically sent via SMS during registration
	// or when requesting phone verification. Successful verification
	// enables SMS-based features and login.
	VerifyPhone(context.Context, *VerifyPhoneRequest) (*VerificationResponse, error)
	// ResendVerification resends verification codes for email or phone.
	//
	// Useful when users don't receive the initial verification code
	// or when the code has expired. Includes rate limiting to prevent abuse.
	SendVerificationCode(context.Context, *SendVerificationCodeRequest) (*SendVerificationCodeResponse, error)
	// CheckUsername checks if a username is available for registration.
	//
	// Returns availability status and suggestions for alternative usernames
	// if the requested username is already taken. Useful for real-time
	// username validation during registration.
	CheckUsername(context.Context, *CheckUsernameRequest) (*CheckUsernameResponse, error)
	// CheckEmail checks if an email address is available for registration.
	//
	// Returns availability status for the email address. Used to prevent
	// duplicate registrations and provide user feedback during signup.
	CheckEmail(context.Context, *CheckEmailRequest) (*CheckEmailResponse, error)
	// GetUser retrieves user information by ID, UUID, username, or email.
	//
	// Supports multiple identifier types and optional profile inclusion.
	// Access control should be enforced based on the requesting user's
	// permissions and relationship to the target user.
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// UpdateUser modifies user account and profile information.
	//
	// Supports partial updates - only provided fields are modified.
	// Sensitive operations like email/phone changes may require
	// additional verification steps.
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
	// ChangePassword allows users to change their password.
	//
	// Requires the current password for verification and the new password.
	// Triggers password change tracking and may invalidate existing sessions.
	ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
	// ListUsers retrieves users with filtering, sorting, and pagination.
	//
	// Supports filtering by:
	// - search: Search across username, email, and name fields
	// - is_active: Filter by account status
	// - email_verified/phone_verified: Filter by verification status
	//
	// Requires appropriate permissions to access user listings.
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// DeleteUser removes or deactivates a user account.
	//
	// Supports both soft delete (deactivation) and hard delete.
	// Soft delete preserves data while preventing access.
	// Hard delete permanently removes the user and all associated data.
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	// CreateProfile creates a new profile for a user.
	//
	// Allows users to create multiple profiles for different contexts.
	// Each profile can have different display information, preferences,
	// and metadata while belonging to the same user account.
	CreateProfile(context.Context, *CreateProfileRequest) (*CreateProfileResponse, error)
	// ListUserProfiles retrieves all profiles for a specific user.
	//
	// Returns paginated list of profiles belonging to a user.
	// Useful for profile selection interfaces and management.
	ListUserProfiles(context.Context, *ListUserProfilesRequest) (*ListUserProfilesResponse, error)
	// UpdateProfile modifies an existing profile.
	//
	// Supports partial updates - only provided fields are modified.
	// Profile updates are independent of user account information.
	UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
	// DeleteProfile removes a specific profile.
	//
	// Permanently deletes a profile and all associated data.
	// Users must have at least one profile, so deletion of the last
	// profile may be restricted based on business rules.
	DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
	// SignIn authenticates a user and creates a new session.
	//
	// Supports multiple login methods:
	// - Username + password
	// - Email + password
	// - Phone + password
	//
	// Returns access token, refresh token, and user information.
	// Tracks device information and manages session security.
	SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
	// RefreshToken generates new access token using refresh token.
	//
	// Implements token rotation for enhanced security where each refresh
	// generates a new refresh token and invalidates the old one.
	RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
	// Logout terminates user session(s).
	//
	// Can logout from current session or all sessions across devices.
	// Invalidates tokens and cleans up session data.
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	// ValidateToken checks if an access token is valid and active.
	//
	// Used for authentication middleware and token verification.
	// Returns user information if token is valid.
	ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
	// IsAuthenticated checks if the current request is authenticated.
	// Returns true if the user is authenticated.
	IsAuthenticated(context.Context, *IsAuthenticatedRequest) (*IsAuthenticatedResponse, error)
	// ListUserSessions retrieves active sessions for a user.
	//
	// Shows all devices and sessions where the user is logged in.
	// Useful for security management and device tracking.
	ListUserSessions(context.Context, *ListUserSessionsRequest) (*ListUserSessionsResponse, error)
	// TerminateSession ends a specific user session.
	//
	// Allows users to logout from specific devices remotely.
	// Useful for security when a device is lost or compromised.
	// Terminates the specified session.
	// If userId is provided, it keeps the specified session active and terminates other sessions
	TerminateSession(context.Context, *TerminateSessionRequest) (*TerminateSessionResponse, error)
	// CreateConfigEntity creates a new configuration entity
	CreateConfigEntity(context.Context, *CreateConfigEntityRequest) (*ConfigEntity, error)
	// UpdateConfigEntity updates an existing config entity
	UpdateConfigEntity(context.Context, *UpdateConfigEntityRequest) (*UpdateResponse, error)
	// GetConfigEntity retrieves a specific config entity by ID
	GetConfigEntity(context.Context, *GetConfigEntityRequest) (*ConfigEntity, error)
	// ListConfigEntities lists config entities with optional filtering and pagination
	ListConfigEntities(context.Context, *ListConfigEntitiesRequest) (*ListConfigEntitiesResponse, error)
	// DeleteConfigEntity deletes a config entity
	DeleteConfigEntity(context.Context, *DeleteConfigEntityRequest) (*DeleteResponse, error)
	// CreateConfig creates a new configuration
	CreateConfig(context.Context, *CreateConfigRequest) (*Config, error)
	// UpdateConfig updates an existing config
	UpdateConfig(context.Context, *UpdateConfigRequest) (*UpdateResponse, error)
	// DeleteConfig deletes a config
	DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteResponse, error)
	// GetConfig retrieves a specific config by ID
	GetConfig(context.Context, *GetConfigRequest) (*Config, error)
	// GetConfigsByKeys retrieves multiple configs by keys within an entity
	GetConfigsByKeys(context.Context, *GetConfigsByKeysRequest) (*GetConfigsByKeysResponse, error)
	// ListConfigs lists configs with optional filtering and pagination
	ListConfigs(context.Context, *ListConfigsRequest) (*ListConfigsResponse, error)
	// contains filtered or unexported methods
}

OpenAuthServer is the server API for OpenAuth service. All implementations must embed UnimplementedOpenAuthServer for forward compatibility.

type Permission

type Permission struct {

	// Unique identifier for the permission
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Unique name for the permission, typically in format "resource.action"
	// Examples: "users.create", "permissions.delete", "groups.read"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable display name for the permission
	// Examples: "Create Users", "Delete Permissions", "View Groups"
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional detailed description of what this permission allows
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Whether this is a system permission (cannot be modified/deleted)
	// System permissions are critical for application functionality
	CreatedBy int64 `protobuf:"varint,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// Unix timestamp when the permission was created
	CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Unix timestamp when the permission was last updated
	UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Whether this is a system permission (cannot be modified/deleted)
	IsSystem bool `protobuf:"varint,8,opt,name=is_system,json=isSystem,proto3" json:"is_system,omitempty"`
	// contains filtered or unexported fields
}

Permission represents a specific authorization rule in the system. It follows a Resource-Based Access Control (RBAC) pattern where permissions are defined by combining a resource (what) with an action (how).

Example: A permission with resource="users" and action="create" allows creating new user accounts.

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetCreatedAt

func (x *Permission) GetCreatedAt() int64

func (*Permission) GetCreatedBy

func (x *Permission) GetCreatedBy() int64

func (*Permission) GetDescription

func (x *Permission) GetDescription() string

func (*Permission) GetDisplayName

func (x *Permission) GetDisplayName() string

func (*Permission) GetId

func (x *Permission) GetId() int64

func (*Permission) GetIsSystem

func (x *Permission) GetIsSystem() bool

func (*Permission) GetName

func (x *Permission) GetName() string

func (*Permission) GetUpdatedAt

func (x *Permission) GetUpdatedAt() int64

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

func (*Permission) Validate

func (m *Permission) Validate() error

Validate checks the field values on Permission with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Permission) ValidateAll

func (m *Permission) ValidateAll() error

ValidateAll checks the field values on Permission with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermissionMultiError, or nil if none found.

type PermissionMultiError

type PermissionMultiError []error

PermissionMultiError is an error wrapping multiple validation errors returned by Permission.ValidateAll() if the designated constraints aren't met.

func (PermissionMultiError) AllErrors

func (m PermissionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermissionMultiError) Error

func (m PermissionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PermissionValidationError

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

PermissionValidationError is the validation error returned by Permission.Validate if the designated constraints aren't met.

func (PermissionValidationError) Cause

func (e PermissionValidationError) Cause() error

Cause function returns cause value.

func (PermissionValidationError) Error

Error satisfies the builtin error interface

func (PermissionValidationError) ErrorName

func (e PermissionValidationError) ErrorName() string

ErrorName returns error name.

func (PermissionValidationError) Field

Field function returns field value.

func (PermissionValidationError) Key

Key function returns key value.

func (PermissionValidationError) Reason

func (e PermissionValidationError) Reason() string

Reason function returns reason value.

type PingRequest

type PingRequest struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

PingRequest is the request message for the Ping RPC method.

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) GetMessage

func (x *PingRequest) GetMessage() string

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

func (*PingRequest) Validate

func (m *PingRequest) Validate() error

Validate checks the field values on PingRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PingRequest) ValidateAll

func (m *PingRequest) ValidateAll() error

ValidateAll checks the field values on PingRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingRequestMultiError, or nil if none found.

type PingRequestMultiError

type PingRequestMultiError []error

PingRequestMultiError is an error wrapping multiple validation errors returned by PingRequest.ValidateAll() if the designated constraints aren't met.

func (PingRequestMultiError) AllErrors

func (m PingRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PingRequestMultiError) Error

func (m PingRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PingRequestValidationError

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

PingRequestValidationError is the validation error returned by PingRequest.Validate if the designated constraints aren't met.

func (PingRequestValidationError) Cause

Cause function returns cause value.

func (PingRequestValidationError) Error

Error satisfies the builtin error interface

func (PingRequestValidationError) ErrorName

func (e PingRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PingRequestValidationError) Field

Field function returns field value.

func (PingRequestValidationError) Key

Key function returns key value.

func (PingRequestValidationError) Reason

Reason function returns reason value.

type PingResponse

type PingResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

PingResponse is the response message for the Ping RPC method.

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetMessage

func (x *PingResponse) GetMessage() string

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

func (*PingResponse) Validate

func (m *PingResponse) Validate() error

Validate checks the field values on PingResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PingResponse) ValidateAll

func (m *PingResponse) ValidateAll() error

ValidateAll checks the field values on PingResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingResponseMultiError, or nil if none found.

type PingResponseMultiError

type PingResponseMultiError []error

PingResponseMultiError is an error wrapping multiple validation errors returned by PingResponse.ValidateAll() if the designated constraints aren't met.

func (PingResponseMultiError) AllErrors

func (m PingResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PingResponseMultiError) Error

func (m PingResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PingResponseValidationError

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

PingResponseValidationError is the validation error returned by PingResponse.Validate if the designated constraints aren't met.

func (PingResponseValidationError) Cause

Cause function returns cause value.

func (PingResponseValidationError) Error

Error satisfies the builtin error interface

func (PingResponseValidationError) ErrorName

func (e PingResponseValidationError) ErrorName() string

ErrorName returns error name.

func (PingResponseValidationError) Field

Field function returns field value.

func (PingResponseValidationError) Key

Key function returns key value.

func (PingResponseValidationError) Reason

Reason function returns reason value.

type RefreshTokenRequest

type RefreshTokenRequest struct {
	RefreshToken       string  `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	DeviceId           *string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3,oneof" json:"device_id,omitempty"`
	Profiles           *bool   `protobuf:"varint,3,opt,name=profiles,proto3,oneof" json:"profiles,omitempty"`
	IncludePermissions *bool   `protobuf:"varint,4,opt,name=include_permissions,json=includePermissions,proto3,oneof" json:"include_permissions,omitempty"`
	// contains filtered or unexported fields
}

RefreshTokenRequest to refresh access token

func (*RefreshTokenRequest) Descriptor deprecated

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

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) GetDeviceId

func (x *RefreshTokenRequest) GetDeviceId() string

func (*RefreshTokenRequest) GetIncludePermissions

func (x *RefreshTokenRequest) GetIncludePermissions() bool

func (*RefreshTokenRequest) GetProfiles

func (x *RefreshTokenRequest) GetProfiles() bool

func (*RefreshTokenRequest) GetRefreshToken

func (x *RefreshTokenRequest) GetRefreshToken() string

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

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

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

func (*RefreshTokenRequest) Validate

func (m *RefreshTokenRequest) Validate() error

Validate checks the field values on RefreshTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RefreshTokenRequest) ValidateAll

func (m *RefreshTokenRequest) ValidateAll() error

ValidateAll checks the field values on RefreshTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshTokenRequestMultiError, or nil if none found.

type RefreshTokenRequestMultiError

type RefreshTokenRequestMultiError []error

RefreshTokenRequestMultiError is an error wrapping multiple validation errors returned by RefreshTokenRequest.ValidateAll() if the designated constraints aren't met.

func (RefreshTokenRequestMultiError) AllErrors

func (m RefreshTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RefreshTokenRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RefreshTokenRequestValidationError

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

RefreshTokenRequestValidationError is the validation error returned by RefreshTokenRequest.Validate if the designated constraints aren't met.

func (RefreshTokenRequestValidationError) Cause

Cause function returns cause value.

func (RefreshTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (RefreshTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (RefreshTokenRequestValidationError) Field

Field function returns field value.

func (RefreshTokenRequestValidationError) Key

Key function returns key value.

func (RefreshTokenRequestValidationError) Reason

Reason function returns reason value.

type RefreshTokenResponse

type RefreshTokenResponse struct {
	AccessToken      string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken     string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // New refresh token (rotation)
	ExpiresAt        int64  `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	RefreshExpiresAt int64  `protobuf:"varint,4,opt,name=refresh_expires_at,json=refreshExpiresAt,proto3" json:"refresh_expires_at,omitempty"`
	Message          string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

RefreshTokenResponse with new tokens

func (*RefreshTokenResponse) Descriptor deprecated

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

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetAccessToken

func (x *RefreshTokenResponse) GetAccessToken() string

func (*RefreshTokenResponse) GetExpiresAt

func (x *RefreshTokenResponse) GetExpiresAt() int64

func (*RefreshTokenResponse) GetMessage

func (x *RefreshTokenResponse) GetMessage() string

func (*RefreshTokenResponse) GetRefreshExpiresAt

func (x *RefreshTokenResponse) GetRefreshExpiresAt() int64

func (*RefreshTokenResponse) GetRefreshToken

func (x *RefreshTokenResponse) GetRefreshToken() string

func (*RefreshTokenResponse) ProtoMessage

func (*RefreshTokenResponse) ProtoMessage()

func (*RefreshTokenResponse) ProtoReflect

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

func (*RefreshTokenResponse) Reset

func (x *RefreshTokenResponse) Reset()

func (*RefreshTokenResponse) String

func (x *RefreshTokenResponse) String() string

func (*RefreshTokenResponse) Validate

func (m *RefreshTokenResponse) Validate() error

Validate checks the field values on RefreshTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RefreshTokenResponse) ValidateAll

func (m *RefreshTokenResponse) ValidateAll() error

ValidateAll checks the field values on RefreshTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshTokenResponseMultiError, or nil if none found.

type RefreshTokenResponseMultiError

type RefreshTokenResponseMultiError []error

RefreshTokenResponseMultiError is an error wrapping multiple validation errors returned by RefreshTokenResponse.ValidateAll() if the designated constraints aren't met.

func (RefreshTokenResponseMultiError) AllErrors

func (m RefreshTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RefreshTokenResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RefreshTokenResponseValidationError

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

RefreshTokenResponseValidationError is the validation error returned by RefreshTokenResponse.Validate if the designated constraints aren't met.

func (RefreshTokenResponseValidationError) Cause

Cause function returns cause value.

func (RefreshTokenResponseValidationError) Error

Error satisfies the builtin error interface

func (RefreshTokenResponseValidationError) ErrorName

ErrorName returns error name.

func (RefreshTokenResponseValidationError) Field

Field function returns field value.

func (RefreshTokenResponseValidationError) Key

Key function returns key value.

func (RefreshTokenResponseValidationError) Reason

Reason function returns reason value.

type RemovePermissionsFromGroupRequest

type RemovePermissionsFromGroupRequest struct {

	// ID of the group to remove the permission from
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// IDs of the permissions to remove
	PermissionsIds []int64 `protobuf:"varint,2,rep,packed,name=permissions_ids,json=permissionsIds,proto3" json:"permissions_ids,omitempty"`
	// contains filtered or unexported fields
}

Request to remove a permission from a group

func (*RemovePermissionsFromGroupRequest) Descriptor deprecated

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

Deprecated: Use RemovePermissionsFromGroupRequest.ProtoReflect.Descriptor instead.

func (*RemovePermissionsFromGroupRequest) GetGroupId

func (x *RemovePermissionsFromGroupRequest) GetGroupId() int64

func (*RemovePermissionsFromGroupRequest) GetPermissionsIds

func (x *RemovePermissionsFromGroupRequest) GetPermissionsIds() []int64

func (*RemovePermissionsFromGroupRequest) ProtoMessage

func (*RemovePermissionsFromGroupRequest) ProtoMessage()

func (*RemovePermissionsFromGroupRequest) ProtoReflect

func (*RemovePermissionsFromGroupRequest) Reset

func (*RemovePermissionsFromGroupRequest) String

func (*RemovePermissionsFromGroupRequest) Validate

Validate checks the field values on RemovePermissionsFromGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemovePermissionsFromGroupRequest) ValidateAll

func (m *RemovePermissionsFromGroupRequest) ValidateAll() error

ValidateAll checks the field values on RemovePermissionsFromGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemovePermissionsFromGroupRequestMultiError, or nil if none found.

type RemovePermissionsFromGroupRequestMultiError

type RemovePermissionsFromGroupRequestMultiError []error

RemovePermissionsFromGroupRequestMultiError is an error wrapping multiple validation errors returned by RemovePermissionsFromGroupRequest.ValidateAll() if the designated constraints aren't met.

func (RemovePermissionsFromGroupRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemovePermissionsFromGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemovePermissionsFromGroupRequestValidationError

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

RemovePermissionsFromGroupRequestValidationError is the validation error returned by RemovePermissionsFromGroupRequest.Validate if the designated constraints aren't met.

func (RemovePermissionsFromGroupRequestValidationError) Cause

Cause function returns cause value.

func (RemovePermissionsFromGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (RemovePermissionsFromGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (RemovePermissionsFromGroupRequestValidationError) Field

Field function returns field value.

func (RemovePermissionsFromGroupRequestValidationError) Key

Key function returns key value.

func (RemovePermissionsFromGroupRequestValidationError) Reason

Reason function returns reason value.

type RemovePermissionsFromGroupResponse

type RemovePermissionsFromGroupResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Response after removing a permission from a group

func (*RemovePermissionsFromGroupResponse) Descriptor deprecated

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

Deprecated: Use RemovePermissionsFromGroupResponse.ProtoReflect.Descriptor instead.

func (*RemovePermissionsFromGroupResponse) GetMessage

func (*RemovePermissionsFromGroupResponse) GetSuccess

func (x *RemovePermissionsFromGroupResponse) GetSuccess() bool

func (*RemovePermissionsFromGroupResponse) ProtoMessage

func (*RemovePermissionsFromGroupResponse) ProtoMessage()

func (*RemovePermissionsFromGroupResponse) ProtoReflect

func (*RemovePermissionsFromGroupResponse) Reset

func (*RemovePermissionsFromGroupResponse) String

func (*RemovePermissionsFromGroupResponse) Validate

Validate checks the field values on RemovePermissionsFromGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemovePermissionsFromGroupResponse) ValidateAll

func (m *RemovePermissionsFromGroupResponse) ValidateAll() error

ValidateAll checks the field values on RemovePermissionsFromGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemovePermissionsFromGroupResponseMultiError, or nil if none found.

type RemovePermissionsFromGroupResponseMultiError

type RemovePermissionsFromGroupResponseMultiError []error

RemovePermissionsFromGroupResponseMultiError is an error wrapping multiple validation errors returned by RemovePermissionsFromGroupResponse.ValidateAll() if the designated constraints aren't met.

func (RemovePermissionsFromGroupResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemovePermissionsFromGroupResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemovePermissionsFromGroupResponseValidationError

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

RemovePermissionsFromGroupResponseValidationError is the validation error returned by RemovePermissionsFromGroupResponse.Validate if the designated constraints aren't met.

func (RemovePermissionsFromGroupResponseValidationError) Cause

Cause function returns cause value.

func (RemovePermissionsFromGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (RemovePermissionsFromGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (RemovePermissionsFromGroupResponseValidationError) Field

Field function returns field value.

func (RemovePermissionsFromGroupResponseValidationError) Key

Key function returns key value.

func (RemovePermissionsFromGroupResponseValidationError) Reason

Reason function returns reason value.

type RemovePermissionsFromUserRequest

type RemovePermissionsFromUserRequest struct {

	// ID of the user to remove the permission from
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// IDs of the permissions to remove
	PermissionsIds []int64 `protobuf:"varint,2,rep,packed,name=permissions_ids,json=permissionsIds,proto3" json:"permissions_ids,omitempty"`
	// contains filtered or unexported fields
}

Request to remove a permission from a user

func (*RemovePermissionsFromUserRequest) Descriptor deprecated

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

Deprecated: Use RemovePermissionsFromUserRequest.ProtoReflect.Descriptor instead.

func (*RemovePermissionsFromUserRequest) GetPermissionsIds

func (x *RemovePermissionsFromUserRequest) GetPermissionsIds() []int64

func (*RemovePermissionsFromUserRequest) GetUserId

func (x *RemovePermissionsFromUserRequest) GetUserId() int64

func (*RemovePermissionsFromUserRequest) ProtoMessage

func (*RemovePermissionsFromUserRequest) ProtoMessage()

func (*RemovePermissionsFromUserRequest) ProtoReflect

func (*RemovePermissionsFromUserRequest) Reset

func (*RemovePermissionsFromUserRequest) String

func (*RemovePermissionsFromUserRequest) Validate

Validate checks the field values on RemovePermissionsFromUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemovePermissionsFromUserRequest) ValidateAll

func (m *RemovePermissionsFromUserRequest) ValidateAll() error

ValidateAll checks the field values on RemovePermissionsFromUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemovePermissionsFromUserRequestMultiError, or nil if none found.

type RemovePermissionsFromUserRequestMultiError

type RemovePermissionsFromUserRequestMultiError []error

RemovePermissionsFromUserRequestMultiError is an error wrapping multiple validation errors returned by RemovePermissionsFromUserRequest.ValidateAll() if the designated constraints aren't met.

func (RemovePermissionsFromUserRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemovePermissionsFromUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemovePermissionsFromUserRequestValidationError

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

RemovePermissionsFromUserRequestValidationError is the validation error returned by RemovePermissionsFromUserRequest.Validate if the designated constraints aren't met.

func (RemovePermissionsFromUserRequestValidationError) Cause

Cause function returns cause value.

func (RemovePermissionsFromUserRequestValidationError) Error

Error satisfies the builtin error interface

func (RemovePermissionsFromUserRequestValidationError) ErrorName

ErrorName returns error name.

func (RemovePermissionsFromUserRequestValidationError) Field

Field function returns field value.

func (RemovePermissionsFromUserRequestValidationError) Key

Key function returns key value.

func (RemovePermissionsFromUserRequestValidationError) Reason

Reason function returns reason value.

type RemovePermissionsFromUserResponse

type RemovePermissionsFromUserResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Response after removing a permission from a user

func (*RemovePermissionsFromUserResponse) Descriptor deprecated

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

Deprecated: Use RemovePermissionsFromUserResponse.ProtoReflect.Descriptor instead.

func (*RemovePermissionsFromUserResponse) GetMessage

func (x *RemovePermissionsFromUserResponse) GetMessage() string

func (*RemovePermissionsFromUserResponse) GetSuccess

func (x *RemovePermissionsFromUserResponse) GetSuccess() bool

func (*RemovePermissionsFromUserResponse) ProtoMessage

func (*RemovePermissionsFromUserResponse) ProtoMessage()

func (*RemovePermissionsFromUserResponse) ProtoReflect

func (*RemovePermissionsFromUserResponse) Reset

func (*RemovePermissionsFromUserResponse) String

func (*RemovePermissionsFromUserResponse) Validate

Validate checks the field values on RemovePermissionsFromUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemovePermissionsFromUserResponse) ValidateAll

func (m *RemovePermissionsFromUserResponse) ValidateAll() error

ValidateAll checks the field values on RemovePermissionsFromUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemovePermissionsFromUserResponseMultiError, or nil if none found.

type RemovePermissionsFromUserResponseMultiError

type RemovePermissionsFromUserResponseMultiError []error

RemovePermissionsFromUserResponseMultiError is an error wrapping multiple validation errors returned by RemovePermissionsFromUserResponse.ValidateAll() if the designated constraints aren't met.

func (RemovePermissionsFromUserResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemovePermissionsFromUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemovePermissionsFromUserResponseValidationError

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

RemovePermissionsFromUserResponseValidationError is the validation error returned by RemovePermissionsFromUserResponse.Validate if the designated constraints aren't met.

func (RemovePermissionsFromUserResponseValidationError) Cause

Cause function returns cause value.

func (RemovePermissionsFromUserResponseValidationError) Error

Error satisfies the builtin error interface

func (RemovePermissionsFromUserResponseValidationError) ErrorName

ErrorName returns error name.

func (RemovePermissionsFromUserResponseValidationError) Field

Field function returns field value.

func (RemovePermissionsFromUserResponseValidationError) Key

Key function returns key value.

func (RemovePermissionsFromUserResponseValidationError) Reason

Reason function returns reason value.

type RemoveUsersFromGroupRequest

type RemoveUsersFromGroupRequest struct {
	UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	GroupId int64   `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

RemoveUsersFromGroupRequest to remove users from a group

func (*RemoveUsersFromGroupRequest) Descriptor deprecated

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

Deprecated: Use RemoveUsersFromGroupRequest.ProtoReflect.Descriptor instead.

func (*RemoveUsersFromGroupRequest) GetGroupId

func (x *RemoveUsersFromGroupRequest) GetGroupId() int64

func (*RemoveUsersFromGroupRequest) GetUserIds

func (x *RemoveUsersFromGroupRequest) GetUserIds() []int64

func (*RemoveUsersFromGroupRequest) ProtoMessage

func (*RemoveUsersFromGroupRequest) ProtoMessage()

func (*RemoveUsersFromGroupRequest) ProtoReflect

func (*RemoveUsersFromGroupRequest) Reset

func (x *RemoveUsersFromGroupRequest) Reset()

func (*RemoveUsersFromGroupRequest) String

func (x *RemoveUsersFromGroupRequest) String() string

func (*RemoveUsersFromGroupRequest) Validate

func (m *RemoveUsersFromGroupRequest) Validate() error

Validate checks the field values on RemoveUsersFromGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemoveUsersFromGroupRequest) ValidateAll

func (m *RemoveUsersFromGroupRequest) ValidateAll() error

ValidateAll checks the field values on RemoveUsersFromGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveUsersFromGroupRequestMultiError, or nil if none found.

type RemoveUsersFromGroupRequestMultiError

type RemoveUsersFromGroupRequestMultiError []error

RemoveUsersFromGroupRequestMultiError is an error wrapping multiple validation errors returned by RemoveUsersFromGroupRequest.ValidateAll() if the designated constraints aren't met.

func (RemoveUsersFromGroupRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemoveUsersFromGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemoveUsersFromGroupRequestValidationError

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

RemoveUsersFromGroupRequestValidationError is the validation error returned by RemoveUsersFromGroupRequest.Validate if the designated constraints aren't met.

func (RemoveUsersFromGroupRequestValidationError) Cause

Cause function returns cause value.

func (RemoveUsersFromGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveUsersFromGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (RemoveUsersFromGroupRequestValidationError) Field

Field function returns field value.

func (RemoveUsersFromGroupRequestValidationError) Key

Key function returns key value.

func (RemoveUsersFromGroupRequestValidationError) Reason

Reason function returns reason value.

type RemoveUsersFromGroupResponse

type RemoveUsersFromGroupResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

RemoveUsersFromGroupResponse

func (*RemoveUsersFromGroupResponse) Descriptor deprecated

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

Deprecated: Use RemoveUsersFromGroupResponse.ProtoReflect.Descriptor instead.

func (*RemoveUsersFromGroupResponse) GetMessage

func (x *RemoveUsersFromGroupResponse) GetMessage() string

func (*RemoveUsersFromGroupResponse) GetSuccess

func (x *RemoveUsersFromGroupResponse) GetSuccess() bool

func (*RemoveUsersFromGroupResponse) ProtoMessage

func (*RemoveUsersFromGroupResponse) ProtoMessage()

func (*RemoveUsersFromGroupResponse) ProtoReflect

func (*RemoveUsersFromGroupResponse) Reset

func (x *RemoveUsersFromGroupResponse) Reset()

func (*RemoveUsersFromGroupResponse) String

func (*RemoveUsersFromGroupResponse) Validate

func (m *RemoveUsersFromGroupResponse) Validate() error

Validate checks the field values on RemoveUsersFromGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemoveUsersFromGroupResponse) ValidateAll

func (m *RemoveUsersFromGroupResponse) ValidateAll() error

ValidateAll checks the field values on RemoveUsersFromGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveUsersFromGroupResponseMultiError, or nil if none found.

type RemoveUsersFromGroupResponseMultiError

type RemoveUsersFromGroupResponseMultiError []error

RemoveUsersFromGroupResponseMultiError is an error wrapping multiple validation errors returned by RemoveUsersFromGroupResponse.ValidateAll() if the designated constraints aren't met.

func (RemoveUsersFromGroupResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemoveUsersFromGroupResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemoveUsersFromGroupResponseValidationError

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

RemoveUsersFromGroupResponseValidationError is the validation error returned by RemoveUsersFromGroupResponse.Validate if the designated constraints aren't met.

func (RemoveUsersFromGroupResponseValidationError) Cause

Cause function returns cause value.

func (RemoveUsersFromGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (RemoveUsersFromGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (RemoveUsersFromGroupResponseValidationError) Field

Field function returns field value.

func (RemoveUsersFromGroupResponseValidationError) Key

Key function returns key value.

func (RemoveUsersFromGroupResponseValidationError) Reason

Reason function returns reason value.

type RequestHeaders

type RequestHeaders struct {

	// JWT authentication token (Bearer token)
	// Should be provided in Authorization header as "Bearer <token>"
	Authorization *string `protobuf:"bytes,1,opt,name=authorization,proto3,oneof" json:"authorization,omitempty"`
	// Client identifier for tracking and analytics
	// Used to identify the calling application or service
	XClientId *string `protobuf:"bytes,2,opt,name=x_client_id,json=xClientId,proto3,oneof" json:"x_client_id,omitempty"`
	// Client version for compatibility and feature tracking
	// Used to track client versions and handle backward compatibility
	XClientVersion *string `protobuf:"bytes,3,opt,name=x_client_version,json=xClientVersion,proto3,oneof" json:"x_client_version,omitempty"`
	// contains filtered or unexported fields
}

Common header fields for authentication and client identification These headers are used across all API requests for authentication and tracking

func (*RequestHeaders) Descriptor deprecated

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

Deprecated: Use RequestHeaders.ProtoReflect.Descriptor instead.

func (*RequestHeaders) GetAuthorization

func (x *RequestHeaders) GetAuthorization() string

func (*RequestHeaders) GetXClientId

func (x *RequestHeaders) GetXClientId() string

func (*RequestHeaders) GetXClientVersion

func (x *RequestHeaders) GetXClientVersion() string

func (*RequestHeaders) ProtoMessage

func (*RequestHeaders) ProtoMessage()

func (*RequestHeaders) ProtoReflect

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

func (*RequestHeaders) Reset

func (x *RequestHeaders) Reset()

func (*RequestHeaders) String

func (x *RequestHeaders) String() string

func (*RequestHeaders) Validate

func (m *RequestHeaders) Validate() error

Validate checks the field values on RequestHeaders with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RequestHeaders) ValidateAll

func (m *RequestHeaders) ValidateAll() error

ValidateAll checks the field values on RequestHeaders with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RequestHeadersMultiError, or nil if none found.

type RequestHeadersMultiError

type RequestHeadersMultiError []error

RequestHeadersMultiError is an error wrapping multiple validation errors returned by RequestHeaders.ValidateAll() if the designated constraints aren't met.

func (RequestHeadersMultiError) AllErrors

func (m RequestHeadersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RequestHeadersMultiError) Error

func (m RequestHeadersMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RequestHeadersValidationError

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

RequestHeadersValidationError is the validation error returned by RequestHeaders.Validate if the designated constraints aren't met.

func (RequestHeadersValidationError) Cause

Cause function returns cause value.

func (RequestHeadersValidationError) Error

Error satisfies the builtin error interface

func (RequestHeadersValidationError) ErrorName

func (e RequestHeadersValidationError) ErrorName() string

ErrorName returns error name.

func (RequestHeadersValidationError) Field

Field function returns field value.

func (RequestHeadersValidationError) Key

Key function returns key value.

func (RequestHeadersValidationError) Reason

Reason function returns reason value.

type SendVerificationCodeRequest

type SendVerificationCodeRequest struct {
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // email or phone - determined by backend
	// contains filtered or unexported fields
}

SendVerificationCodeRequest to resend verification codes

func (*SendVerificationCodeRequest) Descriptor deprecated

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

Deprecated: Use SendVerificationCodeRequest.ProtoReflect.Descriptor instead.

func (*SendVerificationCodeRequest) GetIdentifier

func (x *SendVerificationCodeRequest) GetIdentifier() string

func (*SendVerificationCodeRequest) ProtoMessage

func (*SendVerificationCodeRequest) ProtoMessage()

func (*SendVerificationCodeRequest) ProtoReflect

func (*SendVerificationCodeRequest) Reset

func (x *SendVerificationCodeRequest) Reset()

func (*SendVerificationCodeRequest) String

func (x *SendVerificationCodeRequest) String() string

func (*SendVerificationCodeRequest) Validate

func (m *SendVerificationCodeRequest) Validate() error

Validate checks the field values on SendVerificationCodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SendVerificationCodeRequest) ValidateAll

func (m *SendVerificationCodeRequest) ValidateAll() error

ValidateAll checks the field values on SendVerificationCodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendVerificationCodeRequestMultiError, or nil if none found.

type SendVerificationCodeRequestMultiError

type SendVerificationCodeRequestMultiError []error

SendVerificationCodeRequestMultiError is an error wrapping multiple validation errors returned by SendVerificationCodeRequest.ValidateAll() if the designated constraints aren't met.

func (SendVerificationCodeRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendVerificationCodeRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SendVerificationCodeRequestValidationError

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

SendVerificationCodeRequestValidationError is the validation error returned by SendVerificationCodeRequest.Validate if the designated constraints aren't met.

func (SendVerificationCodeRequestValidationError) Cause

Cause function returns cause value.

func (SendVerificationCodeRequestValidationError) Error

Error satisfies the builtin error interface

func (SendVerificationCodeRequestValidationError) ErrorName

ErrorName returns error name.

func (SendVerificationCodeRequestValidationError) Field

Field function returns field value.

func (SendVerificationCodeRequestValidationError) Key

Key function returns key value.

func (SendVerificationCodeRequestValidationError) Reason

Reason function returns reason value.

type SendVerificationCodeResponse

type SendVerificationCodeResponse struct {
	Sent        bool   `protobuf:"varint,1,opt,name=sent,proto3" json:"sent,omitempty"`
	Message     string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	ExpiresAt   int64  `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`       // When the code expires
	ResendAfter int64  `protobuf:"varint,4,opt,name=resend_after,json=resendAfter,proto3" json:"resend_after,omitempty"` // When the user can request another code (Unix timestamp milliseconds)
	Id          int64  `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

SendVerificationCodeResponse

func (*SendVerificationCodeResponse) Descriptor deprecated

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

Deprecated: Use SendVerificationCodeResponse.ProtoReflect.Descriptor instead.

func (*SendVerificationCodeResponse) GetExpiresAt

func (x *SendVerificationCodeResponse) GetExpiresAt() int64

func (*SendVerificationCodeResponse) GetId

func (*SendVerificationCodeResponse) GetMessage

func (x *SendVerificationCodeResponse) GetMessage() string

func (*SendVerificationCodeResponse) GetResendAfter

func (x *SendVerificationCodeResponse) GetResendAfter() int64

func (*SendVerificationCodeResponse) GetSent

func (x *SendVerificationCodeResponse) GetSent() bool

func (*SendVerificationCodeResponse) ProtoMessage

func (*SendVerificationCodeResponse) ProtoMessage()

func (*SendVerificationCodeResponse) ProtoReflect

func (*SendVerificationCodeResponse) Reset

func (x *SendVerificationCodeResponse) Reset()

func (*SendVerificationCodeResponse) String

func (*SendVerificationCodeResponse) Validate

func (m *SendVerificationCodeResponse) Validate() error

Validate checks the field values on SendVerificationCodeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SendVerificationCodeResponse) ValidateAll

func (m *SendVerificationCodeResponse) ValidateAll() error

ValidateAll checks the field values on SendVerificationCodeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendVerificationCodeResponseMultiError, or nil if none found.

type SendVerificationCodeResponseMultiError

type SendVerificationCodeResponseMultiError []error

SendVerificationCodeResponseMultiError is an error wrapping multiple validation errors returned by SendVerificationCodeResponse.ValidateAll() if the designated constraints aren't met.

func (SendVerificationCodeResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendVerificationCodeResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SendVerificationCodeResponseValidationError

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

SendVerificationCodeResponseValidationError is the validation error returned by SendVerificationCodeResponse.Validate if the designated constraints aren't met.

func (SendVerificationCodeResponseValidationError) Cause

Cause function returns cause value.

func (SendVerificationCodeResponseValidationError) Error

Error satisfies the builtin error interface

func (SendVerificationCodeResponseValidationError) ErrorName

ErrorName returns error name.

func (SendVerificationCodeResponseValidationError) Field

Field function returns field value.

func (SendVerificationCodeResponseValidationError) Key

Key function returns key value.

func (SendVerificationCodeResponseValidationError) Reason

Reason function returns reason value.

type Session

type Session struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                       // Session UUID
	UserId         string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // User UUID
	DeviceId       string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	DeviceName     string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	DeviceType     string `protobuf:"bytes,5,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	UserAgent      string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	IpAddress      string `protobuf:"bytes,7,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	Location       string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
	IsActive       bool   `protobuf:"varint,9,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	ExpiresAt      int64  `protobuf:"varint,10,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	LastActivityAt int64  `protobuf:"varint,11,opt,name=last_activity_at,json=lastActivityAt,proto3" json:"last_activity_at,omitempty"`
	CreatedAt      int64  `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

Session information

func (*Session) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetCreatedAt

func (x *Session) GetCreatedAt() int64

func (*Session) GetDeviceId

func (x *Session) GetDeviceId() string

func (*Session) GetDeviceName

func (x *Session) GetDeviceName() string

func (*Session) GetDeviceType

func (x *Session) GetDeviceType() string

func (*Session) GetExpiresAt

func (x *Session) GetExpiresAt() int64

func (*Session) GetId

func (x *Session) GetId() string

func (*Session) GetIpAddress

func (x *Session) GetIpAddress() string

func (*Session) GetIsActive

func (x *Session) GetIsActive() bool

func (*Session) GetLastActivityAt

func (x *Session) GetLastActivityAt() int64

func (*Session) GetLocation

func (x *Session) GetLocation() string

func (*Session) GetUserAgent

func (x *Session) GetUserAgent() string

func (*Session) GetUserId

func (x *Session) GetUserId() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

func (*Session) Validate

func (m *Session) Validate() error

Validate checks the field values on Session with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Session) ValidateAll

func (m *Session) ValidateAll() error

ValidateAll checks the field values on Session with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SessionMultiError, or nil if none found.

type SessionMultiError

type SessionMultiError []error

SessionMultiError is an error wrapping multiple validation errors returned by Session.ValidateAll() if the designated constraints aren't met.

func (SessionMultiError) AllErrors

func (m SessionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionMultiError) Error

func (m SessionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SessionValidationError

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

SessionValidationError is the validation error returned by Session.Validate if the designated constraints aren't met.

func (SessionValidationError) Cause

func (e SessionValidationError) Cause() error

Cause function returns cause value.

func (SessionValidationError) Error

func (e SessionValidationError) Error() string

Error satisfies the builtin error interface

func (SessionValidationError) ErrorName

func (e SessionValidationError) ErrorName() string

ErrorName returns error name.

func (SessionValidationError) Field

func (e SessionValidationError) Field() string

Field function returns field value.

func (SessionValidationError) Key

func (e SessionValidationError) Key() bool

Key function returns key value.

func (SessionValidationError) Reason

func (e SessionValidationError) Reason() string

Reason function returns reason value.

type SignInMetadata

type SignInMetadata struct {
	DeviceId   *string  `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3,oneof" json:"device_id,omitempty"`       // Unique device identifier
	DeviceName *string  `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3,oneof" json:"device_name,omitempty"` // Human-readable device name
	DeviceType *string  `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3,oneof" json:"device_type,omitempty"` // web, mobile, desktop, tablet
	Lat        *float64 `protobuf:"fixed64,4,opt,name=lat,proto3,oneof" json:"lat,omitempty"`
	Long       *float64 `protobuf:"fixed64,5,opt,name=long,proto3,oneof" json:"long,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInMetadata) Descriptor deprecated

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

Deprecated: Use SignInMetadata.ProtoReflect.Descriptor instead.

func (*SignInMetadata) GetDeviceId

func (x *SignInMetadata) GetDeviceId() string

func (*SignInMetadata) GetDeviceName

func (x *SignInMetadata) GetDeviceName() string

func (*SignInMetadata) GetDeviceType

func (x *SignInMetadata) GetDeviceType() string

func (*SignInMetadata) GetLat

func (x *SignInMetadata) GetLat() float64

func (*SignInMetadata) GetLong

func (x *SignInMetadata) GetLong() float64

func (*SignInMetadata) ProtoMessage

func (*SignInMetadata) ProtoMessage()

func (*SignInMetadata) ProtoReflect

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

func (*SignInMetadata) Reset

func (x *SignInMetadata) Reset()

func (*SignInMetadata) String

func (x *SignInMetadata) String() string

func (*SignInMetadata) Validate

func (m *SignInMetadata) Validate() error

Validate checks the field values on SignInMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignInMetadata) ValidateAll

func (m *SignInMetadata) ValidateAll() error

ValidateAll checks the field values on SignInMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignInMetadataMultiError, or nil if none found.

type SignInMetadataMultiError

type SignInMetadataMultiError []error

SignInMetadataMultiError is an error wrapping multiple validation errors returned by SignInMetadata.ValidateAll() if the designated constraints aren't met.

func (SignInMetadataMultiError) AllErrors

func (m SignInMetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignInMetadataMultiError) Error

func (m SignInMetadataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SignInMetadataValidationError

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

SignInMetadataValidationError is the validation error returned by SignInMetadata.Validate if the designated constraints aren't met.

func (SignInMetadataValidationError) Cause

Cause function returns cause value.

func (SignInMetadataValidationError) Error

Error satisfies the builtin error interface

func (SignInMetadataValidationError) ErrorName

func (e SignInMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (SignInMetadataValidationError) Field

Field function returns field value.

func (SignInMetadataValidationError) Key

Key function returns key value.

func (SignInMetadataValidationError) Reason

Reason function returns reason value.

type SignInRequest

type SignInRequest struct {
	Username           string          `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password           *string         `protobuf:"bytes,2,opt,name=password,proto3,oneof" json:"password,omitempty"`
	Otp                *string         `protobuf:"bytes,3,opt,name=otp,proto3,oneof" json:"otp,omitempty"`
	RememberMe         *bool           `protobuf:"varint,4,opt,name=remember_me,json=rememberMe,proto3,oneof" json:"remember_me,omitempty"`
	Metadata           *SignInMetadata `protobuf:"bytes,5,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	Profiles           *bool           `protobuf:"varint,6,opt,name=profiles,proto3,oneof" json:"profiles,omitempty"`
	IncludePermissions *bool           `protobuf:"varint,7,opt,name=include_permissions,json=includePermissions,proto3,oneof" json:"include_permissions,omitempty"`
	VerificationId     *int64          `protobuf:"varint,8,opt,name=verification_id,json=verificationId,proto3,oneof" json:"verification_id,omitempty"`
	// contains filtered or unexported fields
}

SignInRequest for user authentication

func (*SignInRequest) Descriptor deprecated

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

Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.

func (*SignInRequest) GetIncludePermissions

func (x *SignInRequest) GetIncludePermissions() bool

func (*SignInRequest) GetMetadata

func (x *SignInRequest) GetMetadata() *SignInMetadata

func (*SignInRequest) GetOtp

func (x *SignInRequest) GetOtp() string

func (*SignInRequest) GetPassword

func (x *SignInRequest) GetPassword() string

func (*SignInRequest) GetProfiles

func (x *SignInRequest) GetProfiles() bool

func (*SignInRequest) GetRememberMe

func (x *SignInRequest) GetRememberMe() bool

func (*SignInRequest) GetUsername

func (x *SignInRequest) GetUsername() string

func (*SignInRequest) GetVerificationId

func (x *SignInRequest) GetVerificationId() int64

func (*SignInRequest) ProtoMessage

func (*SignInRequest) ProtoMessage()

func (*SignInRequest) ProtoReflect

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

func (*SignInRequest) Reset

func (x *SignInRequest) Reset()

func (*SignInRequest) String

func (x *SignInRequest) String() string

func (*SignInRequest) Validate

func (m *SignInRequest) Validate() error

Validate checks the field values on SignInRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignInRequest) ValidateAll

func (m *SignInRequest) ValidateAll() error

ValidateAll checks the field values on SignInRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignInRequestMultiError, or nil if none found.

type SignInRequestMultiError

type SignInRequestMultiError []error

SignInRequestMultiError is an error wrapping multiple validation errors returned by SignInRequest.ValidateAll() if the designated constraints aren't met.

func (SignInRequestMultiError) AllErrors

func (m SignInRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignInRequestMultiError) Error

func (m SignInRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SignInRequestValidationError

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

SignInRequestValidationError is the validation error returned by SignInRequest.Validate if the designated constraints aren't met.

func (SignInRequestValidationError) Cause

Cause function returns cause value.

func (SignInRequestValidationError) Error

Error satisfies the builtin error interface

func (SignInRequestValidationError) ErrorName

func (e SignInRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SignInRequestValidationError) Field

Field function returns field value.

func (SignInRequestValidationError) Key

Key function returns key value.

func (SignInRequestValidationError) Reason

Reason function returns reason value.

type SignInResponse

type SignInResponse struct {
	AccessToken      string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken     string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	ExpiresAt        int64  `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`                        // Access token expiration (Unix timestamp)
	RefreshExpiresAt int64  `protobuf:"varint,4,opt,name=refresh_expires_at,json=refreshExpiresAt,proto3" json:"refresh_expires_at,omitempty"` // Refresh token expiration (Unix timestamp)
	User             *User  `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	SessionId        string `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Session UUID for tracking
	Message          string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

SignInResponse with authentication tokens and user data

func (*SignInResponse) Descriptor deprecated

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

Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.

func (*SignInResponse) GetAccessToken

func (x *SignInResponse) GetAccessToken() string

func (*SignInResponse) GetExpiresAt

func (x *SignInResponse) GetExpiresAt() int64

func (*SignInResponse) GetMessage

func (x *SignInResponse) GetMessage() string

func (*SignInResponse) GetRefreshExpiresAt

func (x *SignInResponse) GetRefreshExpiresAt() int64

func (*SignInResponse) GetRefreshToken

func (x *SignInResponse) GetRefreshToken() string

func (*SignInResponse) GetSessionId

func (x *SignInResponse) GetSessionId() string

func (*SignInResponse) GetUser

func (x *SignInResponse) GetUser() *User

func (*SignInResponse) ProtoMessage

func (*SignInResponse) ProtoMessage()

func (*SignInResponse) ProtoReflect

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

func (*SignInResponse) Reset

func (x *SignInResponse) Reset()

func (*SignInResponse) String

func (x *SignInResponse) String() string

func (*SignInResponse) Validate

func (m *SignInResponse) Validate() error

Validate checks the field values on SignInResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignInResponse) ValidateAll

func (m *SignInResponse) ValidateAll() error

ValidateAll checks the field values on SignInResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignInResponseMultiError, or nil if none found.

type SignInResponseMultiError

type SignInResponseMultiError []error

SignInResponseMultiError is an error wrapping multiple validation errors returned by SignInResponse.ValidateAll() if the designated constraints aren't met.

func (SignInResponseMultiError) AllErrors

func (m SignInResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignInResponseMultiError) Error

func (m SignInResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SignInResponseValidationError

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

SignInResponseValidationError is the validation error returned by SignInResponse.Validate if the designated constraints aren't met.

func (SignInResponseValidationError) Cause

Cause function returns cause value.

func (SignInResponseValidationError) Error

Error satisfies the builtin error interface

func (SignInResponseValidationError) ErrorName

func (e SignInResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SignInResponseValidationError) Field

Field function returns field value.

func (SignInResponseValidationError) Key

Key function returns key value.

func (SignInResponseValidationError) Reason

Reason function returns reason value.

type SignUpRequest

type SignUpRequest struct {
	Username string  `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Email    *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Phone    *string `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Password string  `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Name     *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SignUpRequest for user registration - only authentication credentials

func (*SignUpRequest) Descriptor deprecated

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

Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.

func (*SignUpRequest) GetEmail

func (x *SignUpRequest) GetEmail() string

func (*SignUpRequest) GetName

func (x *SignUpRequest) GetName() string

func (*SignUpRequest) GetPassword

func (x *SignUpRequest) GetPassword() string

func (*SignUpRequest) GetPhone

func (x *SignUpRequest) GetPhone() string

func (*SignUpRequest) GetUsername

func (x *SignUpRequest) GetUsername() string

func (*SignUpRequest) ProtoMessage

func (*SignUpRequest) ProtoMessage()

func (*SignUpRequest) ProtoReflect

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

func (*SignUpRequest) Reset

func (x *SignUpRequest) Reset()

func (*SignUpRequest) String

func (x *SignUpRequest) String() string

func (*SignUpRequest) Validate

func (m *SignUpRequest) Validate() error

Validate checks the field values on SignUpRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignUpRequest) ValidateAll

func (m *SignUpRequest) ValidateAll() error

ValidateAll checks the field values on SignUpRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignUpRequestMultiError, or nil if none found.

type SignUpRequestMultiError

type SignUpRequestMultiError []error

SignUpRequestMultiError is an error wrapping multiple validation errors returned by SignUpRequest.ValidateAll() if the designated constraints aren't met.

func (SignUpRequestMultiError) AllErrors

func (m SignUpRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignUpRequestMultiError) Error

func (m SignUpRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SignUpRequestValidationError

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

SignUpRequestValidationError is the validation error returned by SignUpRequest.Validate if the designated constraints aren't met.

func (SignUpRequestValidationError) Cause

Cause function returns cause value.

func (SignUpRequestValidationError) Error

Error satisfies the builtin error interface

func (SignUpRequestValidationError) ErrorName

func (e SignUpRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SignUpRequestValidationError) Field

Field function returns field value.

func (SignUpRequestValidationError) Key

Key function returns key value.

func (SignUpRequestValidationError) Reason

Reason function returns reason value.

type SignUpResponse

type SignUpResponse struct {
	User                      *User  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Message                   string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	EmailVerificationRequired bool   `` /* 139-byte string literal not displayed */
	PhoneVerificationRequired bool   `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

SignUpResponse after successful registration - only user data

func (*SignUpResponse) Descriptor deprecated

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

Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.

func (*SignUpResponse) GetEmailVerificationRequired

func (x *SignUpResponse) GetEmailVerificationRequired() bool

func (*SignUpResponse) GetMessage

func (x *SignUpResponse) GetMessage() string

func (*SignUpResponse) GetPhoneVerificationRequired

func (x *SignUpResponse) GetPhoneVerificationRequired() bool

func (*SignUpResponse) GetUser

func (x *SignUpResponse) GetUser() *User

func (*SignUpResponse) ProtoMessage

func (*SignUpResponse) ProtoMessage()

func (*SignUpResponse) ProtoReflect

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

func (*SignUpResponse) Reset

func (x *SignUpResponse) Reset()

func (*SignUpResponse) String

func (x *SignUpResponse) String() string

func (*SignUpResponse) Validate

func (m *SignUpResponse) Validate() error

Validate checks the field values on SignUpResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SignUpResponse) ValidateAll

func (m *SignUpResponse) ValidateAll() error

ValidateAll checks the field values on SignUpResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignUpResponseMultiError, or nil if none found.

type SignUpResponseMultiError

type SignUpResponseMultiError []error

SignUpResponseMultiError is an error wrapping multiple validation errors returned by SignUpResponse.ValidateAll() if the designated constraints aren't met.

func (SignUpResponseMultiError) AllErrors

func (m SignUpResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignUpResponseMultiError) Error

func (m SignUpResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SignUpResponseValidationError

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

SignUpResponseValidationError is the validation error returned by SignUpResponse.Validate if the designated constraints aren't met.

func (SignUpResponseValidationError) Cause

Cause function returns cause value.

func (SignUpResponseValidationError) Error

Error satisfies the builtin error interface

func (SignUpResponseValidationError) ErrorName

func (e SignUpResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SignUpResponseValidationError) Field

Field function returns field value.

func (SignUpResponseValidationError) Key

Key function returns key value.

func (SignUpResponseValidationError) Reason

Reason function returns reason value.

type SortOrder

type SortOrder int32
const (
	SortOrder_NONE SortOrder = 0
	SortOrder_ASC  SortOrder = 1
	SortOrder_DESC SortOrder = 2
)

func (SortOrder) Descriptor

func (SortOrder) Descriptor() protoreflect.EnumDescriptor

func (SortOrder) Enum

func (x SortOrder) Enum() *SortOrder

func (SortOrder) EnumDescriptor deprecated

func (SortOrder) EnumDescriptor() ([]byte, []int)

Deprecated: Use SortOrder.Descriptor instead.

func (SortOrder) Number

func (x SortOrder) Number() protoreflect.EnumNumber

func (SortOrder) String

func (x SortOrder) String() string

func (SortOrder) Type

type StatsRequest

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

StatsRequest represents a request for system statistics

func (*StatsRequest) Descriptor deprecated

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

Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead.

func (*StatsRequest) ProtoMessage

func (*StatsRequest) ProtoMessage()

func (*StatsRequest) ProtoReflect

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

func (*StatsRequest) Reset

func (x *StatsRequest) Reset()

func (*StatsRequest) String

func (x *StatsRequest) String() string

func (*StatsRequest) Validate

func (m *StatsRequest) Validate() error

Validate checks the field values on StatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatsRequest) ValidateAll

func (m *StatsRequest) ValidateAll() error

ValidateAll checks the field values on StatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatsRequestMultiError, or nil if none found.

type StatsRequestMultiError

type StatsRequestMultiError []error

StatsRequestMultiError is an error wrapping multiple validation errors returned by StatsRequest.ValidateAll() if the designated constraints aren't met.

func (StatsRequestMultiError) AllErrors

func (m StatsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatsRequestMultiError) Error

func (m StatsRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StatsRequestValidationError

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

StatsRequestValidationError is the validation error returned by StatsRequest.Validate if the designated constraints aren't met.

func (StatsRequestValidationError) Cause

Cause function returns cause value.

func (StatsRequestValidationError) Error

Error satisfies the builtin error interface

func (StatsRequestValidationError) ErrorName

func (e StatsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StatsRequestValidationError) Field

Field function returns field value.

func (StatsRequestValidationError) Key

Key function returns key value.

func (StatsRequestValidationError) Reason

Reason function returns reason value.

type StatsResponse

type StatsResponse struct {

	// Total number of users in the system
	TotalUsers int64 `protobuf:"varint,1,opt,name=total_users,json=totalUsers,proto3" json:"total_users,omitempty"`
	// Total number of permissions in the system
	TotalPermissions int64 `protobuf:"varint,2,opt,name=total_permissions,json=totalPermissions,proto3" json:"total_permissions,omitempty"`
	// Total number of groups in the system
	TotalGroups int64 `protobuf:"varint,3,opt,name=total_groups,json=totalGroups,proto3" json:"total_groups,omitempty"`
	// Number of currently active users (users with active sessions)
	ActiveUsers int64 `protobuf:"varint,4,opt,name=active_users,json=activeUsers,proto3" json:"active_users,omitempty"`
	// contains filtered or unexported fields
}

StatsResponse contains system statistics

func (*StatsResponse) Descriptor deprecated

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

Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.

func (*StatsResponse) GetActiveUsers

func (x *StatsResponse) GetActiveUsers() int64

func (*StatsResponse) GetTotalGroups

func (x *StatsResponse) GetTotalGroups() int64

func (*StatsResponse) GetTotalPermissions

func (x *StatsResponse) GetTotalPermissions() int64

func (*StatsResponse) GetTotalUsers

func (x *StatsResponse) GetTotalUsers() int64

func (*StatsResponse) ProtoMessage

func (*StatsResponse) ProtoMessage()

func (*StatsResponse) ProtoReflect

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

func (*StatsResponse) Reset

func (x *StatsResponse) Reset()

func (*StatsResponse) String

func (x *StatsResponse) String() string

func (*StatsResponse) Validate

func (m *StatsResponse) Validate() error

Validate checks the field values on StatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatsResponse) ValidateAll

func (m *StatsResponse) ValidateAll() error

ValidateAll checks the field values on StatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatsResponseMultiError, or nil if none found.

type StatsResponseMultiError

type StatsResponseMultiError []error

StatsResponseMultiError is an error wrapping multiple validation errors returned by StatsResponse.ValidateAll() if the designated constraints aren't met.

func (StatsResponseMultiError) AllErrors

func (m StatsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatsResponseMultiError) Error

func (m StatsResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StatsResponseValidationError

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

StatsResponseValidationError is the validation error returned by StatsResponse.Validate if the designated constraints aren't met.

func (StatsResponseValidationError) Cause

Cause function returns cause value.

func (StatsResponseValidationError) Error

Error satisfies the builtin error interface

func (StatsResponseValidationError) ErrorName

func (e StatsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (StatsResponseValidationError) Field

Field function returns field value.

func (StatsResponseValidationError) Key

Key function returns key value.

func (StatsResponseValidationError) Reason

Reason function returns reason value.

type TerminateSessionRequest

type TerminateSessionRequest struct {
	SessionId string  `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	UserId    *string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"` // if user_id is provided, terminate all sessions for the user and keep the specified session
	// contains filtered or unexported fields
}

TerminateSessionRequest to end specific session If user_id is provided, terminate all sessions for the user and keep the specified session If user_id is not provided then, terminate session provided.

func (*TerminateSessionRequest) Descriptor deprecated

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

Deprecated: Use TerminateSessionRequest.ProtoReflect.Descriptor instead.

func (*TerminateSessionRequest) GetSessionId

func (x *TerminateSessionRequest) GetSessionId() string

func (*TerminateSessionRequest) GetUserId

func (x *TerminateSessionRequest) GetUserId() string

func (*TerminateSessionRequest) ProtoMessage

func (*TerminateSessionRequest) ProtoMessage()

func (*TerminateSessionRequest) ProtoReflect

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

func (*TerminateSessionRequest) Reset

func (x *TerminateSessionRequest) Reset()

func (*TerminateSessionRequest) String

func (x *TerminateSessionRequest) String() string

func (*TerminateSessionRequest) Validate

func (m *TerminateSessionRequest) Validate() error

Validate checks the field values on TerminateSessionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TerminateSessionRequest) ValidateAll

func (m *TerminateSessionRequest) ValidateAll() error

ValidateAll checks the field values on TerminateSessionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TerminateSessionRequestMultiError, or nil if none found.

type TerminateSessionRequestMultiError

type TerminateSessionRequestMultiError []error

TerminateSessionRequestMultiError is an error wrapping multiple validation errors returned by TerminateSessionRequest.ValidateAll() if the designated constraints aren't met.

func (TerminateSessionRequestMultiError) AllErrors

func (m TerminateSessionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TerminateSessionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TerminateSessionRequestValidationError

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

TerminateSessionRequestValidationError is the validation error returned by TerminateSessionRequest.Validate if the designated constraints aren't met.

func (TerminateSessionRequestValidationError) Cause

Cause function returns cause value.

func (TerminateSessionRequestValidationError) Error

Error satisfies the builtin error interface

func (TerminateSessionRequestValidationError) ErrorName

ErrorName returns error name.

func (TerminateSessionRequestValidationError) Field

Field function returns field value.

func (TerminateSessionRequestValidationError) Key

Key function returns key value.

func (TerminateSessionRequestValidationError) Reason

Reason function returns reason value.

type TerminateSessionResponse

type TerminateSessionResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

TerminateSessionResponse

func (*TerminateSessionResponse) Descriptor deprecated

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

Deprecated: Use TerminateSessionResponse.ProtoReflect.Descriptor instead.

func (*TerminateSessionResponse) GetMessage

func (x *TerminateSessionResponse) GetMessage() string

func (*TerminateSessionResponse) GetSuccess

func (x *TerminateSessionResponse) GetSuccess() bool

func (*TerminateSessionResponse) ProtoMessage

func (*TerminateSessionResponse) ProtoMessage()

func (*TerminateSessionResponse) ProtoReflect

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

func (*TerminateSessionResponse) Reset

func (x *TerminateSessionResponse) Reset()

func (*TerminateSessionResponse) String

func (x *TerminateSessionResponse) String() string

func (*TerminateSessionResponse) Validate

func (m *TerminateSessionResponse) Validate() error

Validate checks the field values on TerminateSessionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TerminateSessionResponse) ValidateAll

func (m *TerminateSessionResponse) ValidateAll() error

ValidateAll checks the field values on TerminateSessionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TerminateSessionResponseMultiError, or nil if none found.

type TerminateSessionResponseMultiError

type TerminateSessionResponseMultiError []error

TerminateSessionResponseMultiError is an error wrapping multiple validation errors returned by TerminateSessionResponse.ValidateAll() if the designated constraints aren't met.

func (TerminateSessionResponseMultiError) AllErrors

func (m TerminateSessionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TerminateSessionResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TerminateSessionResponseValidationError

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

TerminateSessionResponseValidationError is the validation error returned by TerminateSessionResponse.Validate if the designated constraints aren't met.

func (TerminateSessionResponseValidationError) Cause

Cause function returns cause value.

func (TerminateSessionResponseValidationError) Error

Error satisfies the builtin error interface

func (TerminateSessionResponseValidationError) ErrorName

ErrorName returns error name.

func (TerminateSessionResponseValidationError) Field

Field function returns field value.

func (TerminateSessionResponseValidationError) Key

Key function returns key value.

func (TerminateSessionResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedOpenAuthServer

type UnimplementedOpenAuthServer struct{}

UnimplementedOpenAuthServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOpenAuthServer) ChangePassword

func (UnimplementedOpenAuthServer) CheckEmail

func (UnimplementedOpenAuthServer) CheckUsername

func (UnimplementedOpenAuthServer) CreateConfig

func (UnimplementedOpenAuthServer) CreateConfigEntity

func (UnimplementedOpenAuthServer) CreateGroup

func (UnimplementedOpenAuthServer) CreatePermission

func (UnimplementedOpenAuthServer) CreateProfile

func (UnimplementedOpenAuthServer) DeleteConfig

func (UnimplementedOpenAuthServer) DeleteConfigEntity

func (UnimplementedOpenAuthServer) DeleteGroup

func (UnimplementedOpenAuthServer) DeletePermission

func (UnimplementedOpenAuthServer) DeleteProfile

func (UnimplementedOpenAuthServer) DeleteUser

func (UnimplementedOpenAuthServer) GetConfig

func (UnimplementedOpenAuthServer) GetConfigEntity

func (UnimplementedOpenAuthServer) GetConfigsByKeys

func (UnimplementedOpenAuthServer) GetGroup

func (UnimplementedOpenAuthServer) GetPermission

func (UnimplementedOpenAuthServer) GetUser

func (UnimplementedOpenAuthServer) IsAuthenticated added in v1.0.3

func (UnimplementedOpenAuthServer) ListConfigs

func (UnimplementedOpenAuthServer) ListGroupUsers

func (UnimplementedOpenAuthServer) ListGroups

func (UnimplementedOpenAuthServer) ListPermissions

func (UnimplementedOpenAuthServer) ListUserGroups

func (UnimplementedOpenAuthServer) ListUserProfiles

func (UnimplementedOpenAuthServer) ListUserSessions

func (UnimplementedOpenAuthServer) ListUsers

func (UnimplementedOpenAuthServer) Logout

func (UnimplementedOpenAuthServer) Ping

func (UnimplementedOpenAuthServer) RefreshToken

func (UnimplementedOpenAuthServer) SignIn

func (UnimplementedOpenAuthServer) SignUp

func (UnimplementedOpenAuthServer) Stats

func (UnimplementedOpenAuthServer) TerminateSession

func (UnimplementedOpenAuthServer) UpdateConfig

func (UnimplementedOpenAuthServer) UpdateConfigEntity

func (UnimplementedOpenAuthServer) UpdateGroup

func (UnimplementedOpenAuthServer) UpdatePermission

func (UnimplementedOpenAuthServer) UpdateProfile

func (UnimplementedOpenAuthServer) UpdateUser

func (UnimplementedOpenAuthServer) ValidateToken

func (UnimplementedOpenAuthServer) VerifyEmail

func (UnimplementedOpenAuthServer) VerifyPhone

type UnsafeOpenAuthServer

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

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

type UpdateConfigEntityRequest

type UpdateConfigEntityRequest struct {

	// The unique identifier of the config entity to update
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// New name (optional)
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// New display name (optional)
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	// New description (optional)
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// New read permission ID (optional)
	ReadPerm *string `protobuf:"bytes,5,opt,name=read_perm,json=readPerm,proto3,oneof" json:"read_perm,omitempty"`
	// New write permission ID (optional)
	WritePerm *string `protobuf:"bytes,6,opt,name=write_perm,json=writePerm,proto3,oneof" json:"write_perm,omitempty"`
	// contains filtered or unexported fields
}

Request to update an existing config entity

func (*UpdateConfigEntityRequest) Descriptor deprecated

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

Deprecated: Use UpdateConfigEntityRequest.ProtoReflect.Descriptor instead.

func (*UpdateConfigEntityRequest) GetDescription

func (x *UpdateConfigEntityRequest) GetDescription() string

func (*UpdateConfigEntityRequest) GetDisplayName

func (x *UpdateConfigEntityRequest) GetDisplayName() string

func (*UpdateConfigEntityRequest) GetId

func (x *UpdateConfigEntityRequest) GetId() int64

func (*UpdateConfigEntityRequest) GetName

func (x *UpdateConfigEntityRequest) GetName() string

func (*UpdateConfigEntityRequest) GetReadPerm

func (x *UpdateConfigEntityRequest) GetReadPerm() string

func (*UpdateConfigEntityRequest) GetWritePerm

func (x *UpdateConfigEntityRequest) GetWritePerm() string

func (*UpdateConfigEntityRequest) ProtoMessage

func (*UpdateConfigEntityRequest) ProtoMessage()

func (*UpdateConfigEntityRequest) ProtoReflect

func (*UpdateConfigEntityRequest) Reset

func (x *UpdateConfigEntityRequest) Reset()

func (*UpdateConfigEntityRequest) String

func (x *UpdateConfigEntityRequest) String() string

func (*UpdateConfigEntityRequest) Validate

func (m *UpdateConfigEntityRequest) Validate() error

Validate checks the field values on UpdateConfigEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateConfigEntityRequest) ValidateAll

func (m *UpdateConfigEntityRequest) ValidateAll() error

ValidateAll checks the field values on UpdateConfigEntityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateConfigEntityRequestMultiError, or nil if none found.

type UpdateConfigEntityRequestMultiError

type UpdateConfigEntityRequestMultiError []error

UpdateConfigEntityRequestMultiError is an error wrapping multiple validation errors returned by UpdateConfigEntityRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateConfigEntityRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateConfigEntityRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateConfigEntityRequestValidationError

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

UpdateConfigEntityRequestValidationError is the validation error returned by UpdateConfigEntityRequest.Validate if the designated constraints aren't met.

func (UpdateConfigEntityRequestValidationError) Cause

Cause function returns cause value.

func (UpdateConfigEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateConfigEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateConfigEntityRequestValidationError) Field

Field function returns field value.

func (UpdateConfigEntityRequestValidationError) Key

Key function returns key value.

func (UpdateConfigEntityRequestValidationError) Reason

Reason function returns reason value.

type UpdateConfigRequest

type UpdateConfigRequest struct {

	// The unique identifier of the config to update
	Id   int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// New display name (optional)
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	// New description (optional)
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// New configuration value (optional)
	//
	// Types that are assignable to Value:
	//
	//	*UpdateConfigRequest_StringValue
	//	*UpdateConfigRequest_IntValue
	//	*UpdateConfigRequest_FloatValue
	//	*UpdateConfigRequest_BoolValue
	//	*UpdateConfigRequest_JsonValue
	Value isUpdateConfigRequest_Value `protobuf_oneof:"value"`
	// New metadata (optional)
	Metadata *string `protobuf:"bytes,10,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Request to update an existing config

func (*UpdateConfigRequest) Descriptor deprecated

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

Deprecated: Use UpdateConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateConfigRequest) GetBoolValue

func (x *UpdateConfigRequest) GetBoolValue() bool

func (*UpdateConfigRequest) GetDescription

func (x *UpdateConfigRequest) GetDescription() string

func (*UpdateConfigRequest) GetDisplayName

func (x *UpdateConfigRequest) GetDisplayName() string

func (*UpdateConfigRequest) GetFloatValue

func (x *UpdateConfigRequest) GetFloatValue() float64

func (*UpdateConfigRequest) GetId

func (x *UpdateConfigRequest) GetId() int64

func (*UpdateConfigRequest) GetIntValue

func (x *UpdateConfigRequest) GetIntValue() int64

func (*UpdateConfigRequest) GetJsonValue

func (x *UpdateConfigRequest) GetJsonValue() string

func (*UpdateConfigRequest) GetMetadata

func (x *UpdateConfigRequest) GetMetadata() string

func (*UpdateConfigRequest) GetName

func (x *UpdateConfigRequest) GetName() string

func (*UpdateConfigRequest) GetStringValue

func (x *UpdateConfigRequest) GetStringValue() string

func (*UpdateConfigRequest) GetValue

func (m *UpdateConfigRequest) GetValue() isUpdateConfigRequest_Value

func (*UpdateConfigRequest) ProtoMessage

func (*UpdateConfigRequest) ProtoMessage()

func (*UpdateConfigRequest) ProtoReflect

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

func (*UpdateConfigRequest) Reset

func (x *UpdateConfigRequest) Reset()

func (*UpdateConfigRequest) String

func (x *UpdateConfigRequest) String() string

func (*UpdateConfigRequest) Validate

func (m *UpdateConfigRequest) Validate() error

Validate checks the field values on UpdateConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateConfigRequest) ValidateAll

func (m *UpdateConfigRequest) ValidateAll() error

ValidateAll checks the field values on UpdateConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateConfigRequestMultiError, or nil if none found.

type UpdateConfigRequestMultiError

type UpdateConfigRequestMultiError []error

UpdateConfigRequestMultiError is an error wrapping multiple validation errors returned by UpdateConfigRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateConfigRequestMultiError) AllErrors

func (m UpdateConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateConfigRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateConfigRequestValidationError

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

UpdateConfigRequestValidationError is the validation error returned by UpdateConfigRequest.Validate if the designated constraints aren't met.

func (UpdateConfigRequestValidationError) Cause

Cause function returns cause value.

func (UpdateConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateConfigRequestValidationError) Field

Field function returns field value.

func (UpdateConfigRequestValidationError) Key

Key function returns key value.

func (UpdateConfigRequestValidationError) Reason

Reason function returns reason value.

type UpdateConfigRequest_BoolValue

type UpdateConfigRequest_BoolValue struct {
	BoolValue bool `protobuf:"varint,8,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type UpdateConfigRequest_FloatValue

type UpdateConfigRequest_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,7,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type UpdateConfigRequest_IntValue

type UpdateConfigRequest_IntValue struct {
	IntValue int64 `protobuf:"varint,6,opt,name=int_value,json=intValue,proto3,oneof"`
}

type UpdateConfigRequest_JsonValue

type UpdateConfigRequest_JsonValue struct {
	JsonValue string `protobuf:"bytes,9,opt,name=json_value,json=jsonValue,proto3,oneof"` // For complex JSON objects
}

type UpdateConfigRequest_StringValue

type UpdateConfigRequest_StringValue struct {
	StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type UpdateGroupRequest

type UpdateGroupRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional new name for the group
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Optional new display name
	DisplayName *string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	// Optional new description
	Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

UpdateGroupRequest to update group information

func (*UpdateGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetDescription

func (x *UpdateGroupRequest) GetDescription() string

func (*UpdateGroupRequest) GetDisplayName

func (x *UpdateGroupRequest) GetDisplayName() string

func (*UpdateGroupRequest) GetId

func (x *UpdateGroupRequest) GetId() int64

func (*UpdateGroupRequest) GetName

func (x *UpdateGroupRequest) GetName() string

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

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

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

func (*UpdateGroupRequest) Validate

func (m *UpdateGroupRequest) Validate() error

Validate checks the field values on UpdateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateGroupRequest) ValidateAll

func (m *UpdateGroupRequest) ValidateAll() error

ValidateAll checks the field values on UpdateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateGroupRequestMultiError, or nil if none found.

type UpdateGroupRequestMultiError

type UpdateGroupRequestMultiError []error

UpdateGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateGroupRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateGroupRequestMultiError) AllErrors

func (m UpdateGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateGroupRequestValidationError

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

UpdateGroupRequestValidationError is the validation error returned by UpdateGroupRequest.Validate if the designated constraints aren't met.

func (UpdateGroupRequestValidationError) Cause

Cause function returns cause value.

func (UpdateGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateGroupRequestValidationError) Field

Field function returns field value.

func (UpdateGroupRequestValidationError) Key

Key function returns key value.

func (UpdateGroupRequestValidationError) Reason

Reason function returns reason value.

type UpdateGroupResponse

type UpdateGroupResponse struct {
	Group   *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

UpdateGroupResponse

func (*UpdateGroupResponse) Descriptor deprecated

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

Deprecated: Use UpdateGroupResponse.ProtoReflect.Descriptor instead.

func (*UpdateGroupResponse) GetGroup

func (x *UpdateGroupResponse) GetGroup() *Group

func (*UpdateGroupResponse) GetMessage

func (x *UpdateGroupResponse) GetMessage() string

func (*UpdateGroupResponse) ProtoMessage

func (*UpdateGroupResponse) ProtoMessage()

func (*UpdateGroupResponse) ProtoReflect

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

func (*UpdateGroupResponse) Reset

func (x *UpdateGroupResponse) Reset()

func (*UpdateGroupResponse) String

func (x *UpdateGroupResponse) String() string

func (*UpdateGroupResponse) Validate

func (m *UpdateGroupResponse) Validate() error

Validate checks the field values on UpdateGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateGroupResponse) ValidateAll

func (m *UpdateGroupResponse) ValidateAll() error

ValidateAll checks the field values on UpdateGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateGroupResponseMultiError, or nil if none found.

type UpdateGroupResponseMultiError

type UpdateGroupResponseMultiError []error

UpdateGroupResponseMultiError is an error wrapping multiple validation errors returned by UpdateGroupResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateGroupResponseMultiError) AllErrors

func (m UpdateGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGroupResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateGroupResponseValidationError

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

UpdateGroupResponseValidationError is the validation error returned by UpdateGroupResponse.Validate if the designated constraints aren't met.

func (UpdateGroupResponseValidationError) Cause

Cause function returns cause value.

func (UpdateGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateGroupResponseValidationError) Field

Field function returns field value.

func (UpdateGroupResponseValidationError) Key

Key function returns key value.

func (UpdateGroupResponseValidationError) Reason

Reason function returns reason value.

type UpdatePermissionRequest

type UpdatePermissionRequest struct {

	// The unique identifier of the permission to update
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// New name for the permission (optional)
	// Must be unique if provided
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// New display name for the permission (optional)
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	// New description for the permission (optional)
	// Set to empty string to clear existing description
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Request to update an existing permission

func (*UpdatePermissionRequest) Descriptor deprecated

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

Deprecated: Use UpdatePermissionRequest.ProtoReflect.Descriptor instead.

func (*UpdatePermissionRequest) GetDescription

func (x *UpdatePermissionRequest) GetDescription() string

func (*UpdatePermissionRequest) GetDisplayName

func (x *UpdatePermissionRequest) GetDisplayName() string

func (*UpdatePermissionRequest) GetId

func (x *UpdatePermissionRequest) GetId() int64

func (*UpdatePermissionRequest) GetName

func (x *UpdatePermissionRequest) GetName() string

func (*UpdatePermissionRequest) ProtoMessage

func (*UpdatePermissionRequest) ProtoMessage()

func (*UpdatePermissionRequest) ProtoReflect

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

func (*UpdatePermissionRequest) Reset

func (x *UpdatePermissionRequest) Reset()

func (*UpdatePermissionRequest) String

func (x *UpdatePermissionRequest) String() string

func (*UpdatePermissionRequest) Validate

func (m *UpdatePermissionRequest) Validate() error

Validate checks the field values on UpdatePermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdatePermissionRequest) ValidateAll

func (m *UpdatePermissionRequest) ValidateAll() error

ValidateAll checks the field values on UpdatePermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePermissionRequestMultiError, or nil if none found.

type UpdatePermissionRequestMultiError

type UpdatePermissionRequestMultiError []error

UpdatePermissionRequestMultiError is an error wrapping multiple validation errors returned by UpdatePermissionRequest.ValidateAll() if the designated constraints aren't met.

func (UpdatePermissionRequestMultiError) AllErrors

func (m UpdatePermissionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePermissionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdatePermissionRequestValidationError

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

UpdatePermissionRequestValidationError is the validation error returned by UpdatePermissionRequest.Validate if the designated constraints aren't met.

func (UpdatePermissionRequestValidationError) Cause

Cause function returns cause value.

func (UpdatePermissionRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdatePermissionRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdatePermissionRequestValidationError) Field

Field function returns field value.

func (UpdatePermissionRequestValidationError) Key

Key function returns key value.

func (UpdatePermissionRequestValidationError) Reason

Reason function returns reason value.

type UpdateProfileRequest

type UpdateProfileRequest struct {
	ProfileUuid string  `protobuf:"bytes,1,opt,name=profile_uuid,json=profileUuid,proto3" json:"profile_uuid,omitempty"`
	ProfileName *string `protobuf:"bytes,2,opt,name=profile_name,json=profileName,proto3,oneof" json:"profile_name,omitempty"`
	FirstName   *string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
	LastName    *string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
	DisplayName *string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	Bio         *string `protobuf:"bytes,6,opt,name=bio,proto3,oneof" json:"bio,omitempty"`
	AvatarUrl   *string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	DateOfBirth *string `protobuf:"bytes,8,opt,name=date_of_birth,json=dateOfBirth,proto3,oneof" json:"date_of_birth,omitempty"` // yyyy-mm-dd
	Gender      *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Timezone    *string `protobuf:"bytes,10,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"`
	Locale      *string `protobuf:"bytes,11,opt,name=locale,proto3,oneof" json:"locale,omitempty"`
	Country     *string `protobuf:"bytes,12,opt,name=country,proto3,oneof" json:"country,omitempty"`
	City        *string `protobuf:"bytes,13,opt,name=city,proto3,oneof" json:"city,omitempty"`
	Address     *string `protobuf:"bytes,14,opt,name=address,proto3,oneof" json:"address,omitempty"`
	PostalCode  *string `protobuf:"bytes,15,opt,name=postal_code,json=postalCode,proto3,oneof" json:"postal_code,omitempty"`
	WebsiteUrl  *string `protobuf:"bytes,16,opt,name=website_url,json=websiteUrl,proto3,oneof" json:"website_url,omitempty"`
	Metadata    []byte  `protobuf:"bytes,17,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

UpdateProfileRequest to update a specific profile

func (*UpdateProfileRequest) Descriptor deprecated

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

Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.

func (*UpdateProfileRequest) GetAddress

func (x *UpdateProfileRequest) GetAddress() string

func (*UpdateProfileRequest) GetAvatarUrl

func (x *UpdateProfileRequest) GetAvatarUrl() string

func (*UpdateProfileRequest) GetBio

func (x *UpdateProfileRequest) GetBio() string

func (*UpdateProfileRequest) GetCity

func (x *UpdateProfileRequest) GetCity() string

func (*UpdateProfileRequest) GetCountry

func (x *UpdateProfileRequest) GetCountry() string

func (*UpdateProfileRequest) GetDateOfBirth

func (x *UpdateProfileRequest) GetDateOfBirth() string

func (*UpdateProfileRequest) GetDisplayName

func (x *UpdateProfileRequest) GetDisplayName() string

func (*UpdateProfileRequest) GetFirstName

func (x *UpdateProfileRequest) GetFirstName() string

func (*UpdateProfileRequest) GetGender

func (x *UpdateProfileRequest) GetGender() string

func (*UpdateProfileRequest) GetLastName

func (x *UpdateProfileRequest) GetLastName() string

func (*UpdateProfileRequest) GetLocale

func (x *UpdateProfileRequest) GetLocale() string

func (*UpdateProfileRequest) GetMetadata

func (x *UpdateProfileRequest) GetMetadata() []byte

func (*UpdateProfileRequest) GetPostalCode

func (x *UpdateProfileRequest) GetPostalCode() string

func (*UpdateProfileRequest) GetProfileName

func (x *UpdateProfileRequest) GetProfileName() string

func (*UpdateProfileRequest) GetProfileUuid

func (x *UpdateProfileRequest) GetProfileUuid() string

func (*UpdateProfileRequest) GetTimezone

func (x *UpdateProfileRequest) GetTimezone() string

func (*UpdateProfileRequest) GetWebsiteUrl

func (x *UpdateProfileRequest) GetWebsiteUrl() string

func (*UpdateProfileRequest) ProtoMessage

func (*UpdateProfileRequest) ProtoMessage()

func (*UpdateProfileRequest) ProtoReflect

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

func (*UpdateProfileRequest) Reset

func (x *UpdateProfileRequest) Reset()

func (*UpdateProfileRequest) String

func (x *UpdateProfileRequest) String() string

func (*UpdateProfileRequest) Validate

func (m *UpdateProfileRequest) Validate() error

Validate checks the field values on UpdateProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateProfileRequest) ValidateAll

func (m *UpdateProfileRequest) ValidateAll() error

ValidateAll checks the field values on UpdateProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateProfileRequestMultiError, or nil if none found.

type UpdateProfileRequestMultiError

type UpdateProfileRequestMultiError []error

UpdateProfileRequestMultiError is an error wrapping multiple validation errors returned by UpdateProfileRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateProfileRequestMultiError) AllErrors

func (m UpdateProfileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateProfileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateProfileRequestValidationError

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

UpdateProfileRequestValidationError is the validation error returned by UpdateProfileRequest.Validate if the designated constraints aren't met.

func (UpdateProfileRequestValidationError) Cause

Cause function returns cause value.

func (UpdateProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateProfileRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateProfileRequestValidationError) Field

Field function returns field value.

func (UpdateProfileRequestValidationError) Key

Key function returns key value.

func (UpdateProfileRequestValidationError) Reason

Reason function returns reason value.

type UpdateProfileResponse

type UpdateProfileResponse struct {
	Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	Message string       `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

UpdateProfileResponse

func (*UpdateProfileResponse) Descriptor deprecated

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

Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.

func (*UpdateProfileResponse) GetMessage

func (x *UpdateProfileResponse) GetMessage() string

func (*UpdateProfileResponse) GetProfile

func (x *UpdateProfileResponse) GetProfile() *UserProfile

func (*UpdateProfileResponse) ProtoMessage

func (*UpdateProfileResponse) ProtoMessage()

func (*UpdateProfileResponse) ProtoReflect

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

func (*UpdateProfileResponse) Reset

func (x *UpdateProfileResponse) Reset()

func (*UpdateProfileResponse) String

func (x *UpdateProfileResponse) String() string

func (*UpdateProfileResponse) Validate

func (m *UpdateProfileResponse) Validate() error

Validate checks the field values on UpdateProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateProfileResponse) ValidateAll

func (m *UpdateProfileResponse) ValidateAll() error

ValidateAll checks the field values on UpdateProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateProfileResponseMultiError, or nil if none found.

type UpdateProfileResponseMultiError

type UpdateProfileResponseMultiError []error

UpdateProfileResponseMultiError is an error wrapping multiple validation errors returned by UpdateProfileResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateProfileResponseMultiError) AllErrors

func (m UpdateProfileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateProfileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateProfileResponseValidationError

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

UpdateProfileResponseValidationError is the validation error returned by UpdateProfileResponse.Validate if the designated constraints aren't met.

func (UpdateProfileResponseValidationError) Cause

Cause function returns cause value.

func (UpdateProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateProfileResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateProfileResponseValidationError) Field

Field function returns field value.

func (UpdateProfileResponseValidationError) Key

Key function returns key value.

func (UpdateProfileResponseValidationError) Reason

Reason function returns reason value.

type UpdateResponse

type UpdateResponse struct {
	Success bool    `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) GetMessage

func (x *UpdateResponse) GetMessage() string

func (*UpdateResponse) GetSuccess

func (x *UpdateResponse) GetSuccess() bool

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

func (*UpdateResponse) Validate

func (m *UpdateResponse) Validate() error

Validate checks the field values on UpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateResponse) ValidateAll

func (m *UpdateResponse) ValidateAll() error

ValidateAll checks the field values on UpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateResponseMultiError, or nil if none found.

type UpdateResponseMultiError

type UpdateResponseMultiError []error

UpdateResponseMultiError is an error wrapping multiple validation errors returned by UpdateResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateResponseMultiError) AllErrors

func (m UpdateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateResponseMultiError) Error

func (m UpdateResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UpdateResponseValidationError

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

UpdateResponseValidationError is the validation error returned by UpdateResponse.Validate if the designated constraints aren't met.

func (UpdateResponseValidationError) Cause

Cause function returns cause value.

func (UpdateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateResponseValidationError) ErrorName

func (e UpdateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateResponseValidationError) Field

Field function returns field value.

func (UpdateResponseValidationError) Key

Key function returns key value.

func (UpdateResponseValidationError) Reason

Reason function returns reason value.

type UpdateUserRequest

type UpdateUserRequest struct {
	Uuid      string  `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Username  *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Email     *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Phone     *string `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	IsActive  *bool   `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
	Name      *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
	AvatarUrl *string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserRequest to update user information

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAvatarUrl

func (x *UpdateUserRequest) GetAvatarUrl() string

func (*UpdateUserRequest) GetEmail

func (x *UpdateUserRequest) GetEmail() string

func (*UpdateUserRequest) GetIsActive

func (x *UpdateUserRequest) GetIsActive() bool

func (*UpdateUserRequest) GetName

func (x *UpdateUserRequest) GetName() string

func (*UpdateUserRequest) GetPhone

func (x *UpdateUserRequest) GetPhone() string

func (*UpdateUserRequest) GetUsername

func (x *UpdateUserRequest) GetUsername() string

func (*UpdateUserRequest) GetUuid

func (x *UpdateUserRequest) GetUuid() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

func (*UpdateUserRequest) Validate

func (m *UpdateUserRequest) Validate() error

Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserRequest) ValidateAll

func (m *UpdateUserRequest) ValidateAll() error

ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.

type UpdateUserRequestMultiError

type UpdateUserRequestMultiError []error

UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateUserRequestMultiError) AllErrors

func (m UpdateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserRequestValidationError

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

UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.

func (UpdateUserRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field

Field function returns field value.

func (UpdateUserRequestValidationError) Key

Key function returns key value.

func (UpdateUserRequestValidationError) Reason

Reason function returns reason value.

type UpdateUserResponse

type UpdateUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserResponse

func (*UpdateUserResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) GetUser

func (x *UpdateUserResponse) GetUser() *User

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

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

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

func (*UpdateUserResponse) Validate

func (m *UpdateUserResponse) Validate() error

Validate checks the field values on UpdateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserResponse) ValidateAll

func (m *UpdateUserResponse) ValidateAll() error

ValidateAll checks the field values on UpdateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserResponseMultiError, or nil if none found.

type UpdateUserResponseMultiError

type UpdateUserResponseMultiError []error

UpdateUserResponseMultiError is an error wrapping multiple validation errors returned by UpdateUserResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateUserResponseMultiError) AllErrors

func (m UpdateUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserResponseValidationError

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

UpdateUserResponseValidationError is the validation error returned by UpdateUserResponse.Validate if the designated constraints aren't met.

func (UpdateUserResponseValidationError) Cause

Cause function returns cause value.

func (UpdateUserResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserResponseValidationError) Field

Field function returns field value.

func (UpdateUserResponseValidationError) Key

Key function returns key value.

func (UpdateUserResponseValidationError) Reason

Reason function returns reason value.

type User

type User struct {
	Id                  int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid                string  `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Username            string  `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Email               *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Phone               *string `protobuf:"bytes,5,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Name                *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`                            // Display name for the user
	AvatarUrl           *string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"` // URL to user's avatar image
	EmailVerified       bool    `protobuf:"varint,8,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"`
	PhoneVerified       bool    `protobuf:"varint,9,opt,name=phone_verified,json=phoneVerified,proto3" json:"phone_verified,omitempty"`
	Deactivated         bool    `protobuf:"varint,10,opt,name=deactivated,proto3" json:"deactivated,omitempty"`
	IsActive            bool    `protobuf:"varint,11,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	IsLocked            bool    `protobuf:"varint,12,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"`
	FailedLoginAttempts int32   `protobuf:"varint,13,opt,name=failed_login_attempts,json=failedLoginAttempts,proto3" json:"failed_login_attempts,omitempty"`
	LastLoginAt         *int64  `protobuf:"varint,14,opt,name=last_login_at,json=lastLoginAt,proto3,oneof" json:"last_login_at,omitempty"`
	PasswordChangedAt   int64   `protobuf:"varint,15,opt,name=password_changed_at,json=passwordChangedAt,proto3" json:"password_changed_at,omitempty"`
	CreatedAt           int64   `protobuf:"varint,16,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt           int64   `protobuf:"varint,17,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

User represents a user account in the system

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatarUrl

func (x *User) GetAvatarUrl() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() int64

func (*User) GetDeactivated

func (x *User) GetDeactivated() bool

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetEmailVerified

func (x *User) GetEmailVerified() bool

func (*User) GetFailedLoginAttempts

func (x *User) GetFailedLoginAttempts() int32

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetIsActive

func (x *User) GetIsActive() bool

func (*User) GetIsLocked

func (x *User) GetIsLocked() bool

func (*User) GetLastLoginAt

func (x *User) GetLastLoginAt() int64

func (*User) GetName

func (x *User) GetName() string

func (*User) GetPasswordChangedAt

func (x *User) GetPasswordChangedAt() int64

func (*User) GetPhone

func (x *User) GetPhone() string

func (*User) GetPhoneVerified

func (x *User) GetPhoneVerified() bool

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() int64

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) GetUuid

func (x *User) GetUuid() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*User) ValidateAll

func (m *User) ValidateAll() error

ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.

type UserGroup

type UserGroup struct {
	GroupId          int64   `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	GroupName        string  `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	GroupDisplayName string  `protobuf:"bytes,3,opt,name=group_display_name,json=groupDisplayName,proto3" json:"group_display_name,omitempty"`
	GroupDescription *string `protobuf:"bytes,4,opt,name=group_description,json=groupDescription,proto3,oneof" json:"group_description,omitempty"`
	IsSystem         bool    `protobuf:"varint,5,opt,name=is_system,json=isSystem,proto3" json:"is_system,omitempty"`
	IsDefault        bool    `protobuf:"varint,6,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	ExpiresAt        *int64  `protobuf:"varint,7,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	AssignedAt       int64   `protobuf:"varint,8,opt,name=assigned_at,json=assignedAt,proto3" json:"assigned_at,omitempty"`
	AssignedBy       int64   `protobuf:"varint,9,opt,name=assigned_by,json=assignedBy,proto3" json:"assigned_by,omitempty"`
	// contains filtered or unexported fields
}

UserGroup represents a group membership for a user

func (*UserGroup) Descriptor deprecated

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

Deprecated: Use UserGroup.ProtoReflect.Descriptor instead.

func (*UserGroup) GetAssignedAt

func (x *UserGroup) GetAssignedAt() int64

func (*UserGroup) GetAssignedBy

func (x *UserGroup) GetAssignedBy() int64

func (*UserGroup) GetExpiresAt

func (x *UserGroup) GetExpiresAt() int64

func (*UserGroup) GetGroupDescription

func (x *UserGroup) GetGroupDescription() string

func (*UserGroup) GetGroupDisplayName

func (x *UserGroup) GetGroupDisplayName() string

func (*UserGroup) GetGroupId

func (x *UserGroup) GetGroupId() int64

func (*UserGroup) GetGroupName

func (x *UserGroup) GetGroupName() string

func (*UserGroup) GetIsDefault

func (x *UserGroup) GetIsDefault() bool

func (*UserGroup) GetIsSystem

func (x *UserGroup) GetIsSystem() bool

func (*UserGroup) ProtoMessage

func (*UserGroup) ProtoMessage()

func (*UserGroup) ProtoReflect

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

func (*UserGroup) Reset

func (x *UserGroup) Reset()

func (*UserGroup) String

func (x *UserGroup) String() string

func (*UserGroup) Validate

func (m *UserGroup) Validate() error

Validate checks the field values on UserGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserGroup) ValidateAll

func (m *UserGroup) ValidateAll() error

ValidateAll checks the field values on UserGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserGroupMultiError, or nil if none found.

type UserGroupMultiError

type UserGroupMultiError []error

UserGroupMultiError is an error wrapping multiple validation errors returned by UserGroup.ValidateAll() if the designated constraints aren't met.

func (UserGroupMultiError) AllErrors

func (m UserGroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserGroupMultiError) Error

func (m UserGroupMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserGroupValidationError

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

UserGroupValidationError is the validation error returned by UserGroup.Validate if the designated constraints aren't met.

func (UserGroupValidationError) Cause

func (e UserGroupValidationError) Cause() error

Cause function returns cause value.

func (UserGroupValidationError) Error

func (e UserGroupValidationError) Error() string

Error satisfies the builtin error interface

func (UserGroupValidationError) ErrorName

func (e UserGroupValidationError) ErrorName() string

ErrorName returns error name.

func (UserGroupValidationError) Field

func (e UserGroupValidationError) Field() string

Field function returns field value.

func (UserGroupValidationError) Key

Key function returns key value.

func (UserGroupValidationError) Reason

func (e UserGroupValidationError) Reason() string

Reason function returns reason value.

type UserMultiError

type UserMultiError []error

UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserProfile

type UserProfile struct {
	Id          int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid        string  `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	UserId      int64   `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ProfileName *string `protobuf:"bytes,4,opt,name=profile_name,json=profileName,proto3,oneof" json:"profile_name,omitempty"` // Name/label for this profile
	FirstName   *string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
	LastName    *string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
	DisplayName *string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	Bio         *string `protobuf:"bytes,8,opt,name=bio,proto3,oneof" json:"bio,omitempty"`
	AvatarUrl   *string `protobuf:"bytes,9,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	DateOfBirth *string `protobuf:"bytes,10,opt,name=date_of_birth,json=dateOfBirth,proto3,oneof" json:"date_of_birth,omitempty"` // yyyy-mm-dd
	Gender      *string `protobuf:"bytes,11,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Timezone    *string `protobuf:"bytes,12,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"`
	Locale      *string `protobuf:"bytes,13,opt,name=locale,proto3,oneof" json:"locale,omitempty"`
	Country     *string `protobuf:"bytes,14,opt,name=country,proto3,oneof" json:"country,omitempty"`
	City        *string `protobuf:"bytes,15,opt,name=city,proto3,oneof" json:"city,omitempty"`
	Address     *string `protobuf:"bytes,16,opt,name=address,proto3,oneof" json:"address,omitempty"`
	PostalCode  *string `protobuf:"bytes,17,opt,name=postal_code,json=postalCode,proto3,oneof" json:"postal_code,omitempty"`
	WebsiteUrl  *string `protobuf:"bytes,18,opt,name=website_url,json=websiteUrl,proto3,oneof" json:"website_url,omitempty"`
	Metadata    []byte  `protobuf:"bytes,19,opt,name=metadata,proto3" json:"metadata,omitempty"` // JSON metadata
	CreatedAt   int64   `protobuf:"varint,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   int64   `protobuf:"varint,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

UserProfile represents extended user profile information

func (*UserProfile) Descriptor deprecated

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

Deprecated: Use UserProfile.ProtoReflect.Descriptor instead.

func (*UserProfile) GetAddress

func (x *UserProfile) GetAddress() string

func (*UserProfile) GetAvatarUrl

func (x *UserProfile) GetAvatarUrl() string

func (*UserProfile) GetBio

func (x *UserProfile) GetBio() string

func (*UserProfile) GetCity

func (x *UserProfile) GetCity() string

func (*UserProfile) GetCountry

func (x *UserProfile) GetCountry() string

func (*UserProfile) GetCreatedAt

func (x *UserProfile) GetCreatedAt() int64

func (*UserProfile) GetDateOfBirth

func (x *UserProfile) GetDateOfBirth() string

func (*UserProfile) GetDisplayName

func (x *UserProfile) GetDisplayName() string

func (*UserProfile) GetFirstName

func (x *UserProfile) GetFirstName() string

func (*UserProfile) GetGender

func (x *UserProfile) GetGender() string

func (*UserProfile) GetId

func (x *UserProfile) GetId() int64

func (*UserProfile) GetLastName

func (x *UserProfile) GetLastName() string

func (*UserProfile) GetLocale

func (x *UserProfile) GetLocale() string

func (*UserProfile) GetMetadata

func (x *UserProfile) GetMetadata() []byte

func (*UserProfile) GetPostalCode

func (x *UserProfile) GetPostalCode() string

func (*UserProfile) GetProfileName

func (x *UserProfile) GetProfileName() string

func (*UserProfile) GetTimezone

func (x *UserProfile) GetTimezone() string

func (*UserProfile) GetUpdatedAt

func (x *UserProfile) GetUpdatedAt() int64

func (*UserProfile) GetUserId

func (x *UserProfile) GetUserId() int64

func (*UserProfile) GetUuid

func (x *UserProfile) GetUuid() string

func (*UserProfile) GetWebsiteUrl

func (x *UserProfile) GetWebsiteUrl() string

func (*UserProfile) ProtoMessage

func (*UserProfile) ProtoMessage()

func (*UserProfile) ProtoReflect

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

func (*UserProfile) Reset

func (x *UserProfile) Reset()

func (*UserProfile) String

func (x *UserProfile) String() string

func (*UserProfile) Validate

func (m *UserProfile) Validate() error

Validate checks the field values on UserProfile with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserProfile) ValidateAll

func (m *UserProfile) ValidateAll() error

ValidateAll checks the field values on UserProfile with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserProfileMultiError, or nil if none found.

type UserProfileMultiError

type UserProfileMultiError []error

UserProfileMultiError is an error wrapping multiple validation errors returned by UserProfile.ValidateAll() if the designated constraints aren't met.

func (UserProfileMultiError) AllErrors

func (m UserProfileMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserProfileMultiError) Error

func (m UserProfileMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserProfileValidationError

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

UserProfileValidationError is the validation error returned by UserProfile.Validate if the designated constraints aren't met.

func (UserProfileValidationError) Cause

Cause function returns cause value.

func (UserProfileValidationError) Error

Error satisfies the builtin error interface

func (UserProfileValidationError) ErrorName

func (e UserProfileValidationError) ErrorName() string

ErrorName returns error name.

func (UserProfileValidationError) Field

Field function returns field value.

func (UserProfileValidationError) Key

Key function returns key value.

func (UserProfileValidationError) Reason

Reason function returns reason value.

type UserValidationError

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type ValidateTokenRequest

type ValidateTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

ValidateTokenRequest to check token validity

func (*ValidateTokenRequest) Descriptor deprecated

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

Deprecated: Use ValidateTokenRequest.ProtoReflect.Descriptor instead.

func (*ValidateTokenRequest) GetAccessToken

func (x *ValidateTokenRequest) GetAccessToken() string

func (*ValidateTokenRequest) ProtoMessage

func (*ValidateTokenRequest) ProtoMessage()

func (*ValidateTokenRequest) ProtoReflect

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

func (*ValidateTokenRequest) Reset

func (x *ValidateTokenRequest) Reset()

func (*ValidateTokenRequest) String

func (x *ValidateTokenRequest) String() string

func (*ValidateTokenRequest) Validate

func (m *ValidateTokenRequest) Validate() error

Validate checks the field values on ValidateTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ValidateTokenRequest) ValidateAll

func (m *ValidateTokenRequest) ValidateAll() error

ValidateAll checks the field values on ValidateTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateTokenRequestMultiError, or nil if none found.

type ValidateTokenRequestMultiError

type ValidateTokenRequestMultiError []error

ValidateTokenRequestMultiError is an error wrapping multiple validation errors returned by ValidateTokenRequest.ValidateAll() if the designated constraints aren't met.

func (ValidateTokenRequestMultiError) AllErrors

func (m ValidateTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValidateTokenRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ValidateTokenRequestValidationError

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

ValidateTokenRequestValidationError is the validation error returned by ValidateTokenRequest.Validate if the designated constraints aren't met.

func (ValidateTokenRequestValidationError) Cause

Cause function returns cause value.

func (ValidateTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (ValidateTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (ValidateTokenRequestValidationError) Field

Field function returns field value.

func (ValidateTokenRequestValidationError) Key

Key function returns key value.

func (ValidateTokenRequestValidationError) Reason

Reason function returns reason value.

type ValidateTokenResponse

type ValidateTokenResponse struct {
	Valid     bool   `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Message   string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	User      *User  `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"`                             // User info if token is valid
	ExpiresAt *int64 `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` // Token expiration
	// contains filtered or unexported fields
}

ValidateTokenResponse

func (*ValidateTokenResponse) Descriptor deprecated

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

Deprecated: Use ValidateTokenResponse.ProtoReflect.Descriptor instead.

func (*ValidateTokenResponse) GetExpiresAt

func (x *ValidateTokenResponse) GetExpiresAt() int64

func (*ValidateTokenResponse) GetMessage

func (x *ValidateTokenResponse) GetMessage() string

func (*ValidateTokenResponse) GetUser

func (x *ValidateTokenResponse) GetUser() *User

func (*ValidateTokenResponse) GetValid

func (x *ValidateTokenResponse) GetValid() bool

func (*ValidateTokenResponse) ProtoMessage

func (*ValidateTokenResponse) ProtoMessage()

func (*ValidateTokenResponse) ProtoReflect

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

func (*ValidateTokenResponse) Reset

func (x *ValidateTokenResponse) Reset()

func (*ValidateTokenResponse) String

func (x *ValidateTokenResponse) String() string

func (*ValidateTokenResponse) Validate

func (m *ValidateTokenResponse) Validate() error

Validate checks the field values on ValidateTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ValidateTokenResponse) ValidateAll

func (m *ValidateTokenResponse) ValidateAll() error

ValidateAll checks the field values on ValidateTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateTokenResponseMultiError, or nil if none found.

type ValidateTokenResponseMultiError

type ValidateTokenResponseMultiError []error

ValidateTokenResponseMultiError is an error wrapping multiple validation errors returned by ValidateTokenResponse.ValidateAll() if the designated constraints aren't met.

func (ValidateTokenResponseMultiError) AllErrors

func (m ValidateTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValidateTokenResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ValidateTokenResponseValidationError

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

ValidateTokenResponseValidationError is the validation error returned by ValidateTokenResponse.Validate if the designated constraints aren't met.

func (ValidateTokenResponseValidationError) Cause

Cause function returns cause value.

func (ValidateTokenResponseValidationError) Error

Error satisfies the builtin error interface

func (ValidateTokenResponseValidationError) ErrorName

ErrorName returns error name.

func (ValidateTokenResponseValidationError) Field

Field function returns field value.

func (ValidateTokenResponseValidationError) Key

Key function returns key value.

func (ValidateTokenResponseValidationError) Reason

Reason function returns reason value.

type ValueType

type ValueType int32
const (
	ValueType_VALUE_TYPE_UNSPECIFIED ValueType = 0
	ValueType_VALUE_TYPE_STRING      ValueType = 1
	ValueType_VALUE_TYPE_INT         ValueType = 2
	ValueType_VALUE_TYPE_FLOAT       ValueType = 3
	ValueType_VALUE_TYPE_BOOL        ValueType = 4
	ValueType_VALUE_TYPE_JSON        ValueType = 5
)

func (ValueType) Descriptor

func (ValueType) Descriptor() protoreflect.EnumDescriptor

func (ValueType) Enum

func (x ValueType) Enum() *ValueType

func (ValueType) EnumDescriptor deprecated

func (ValueType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ValueType.Descriptor instead.

func (ValueType) Number

func (x ValueType) Number() protoreflect.EnumNumber

func (ValueType) String

func (x ValueType) String() string

func (ValueType) Type

type VerificationResponse

type VerificationResponse struct {
	Verified bool   `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"`
	Message  string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

VerificationResponse for verification operations

func (*VerificationResponse) Descriptor deprecated

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

Deprecated: Use VerificationResponse.ProtoReflect.Descriptor instead.

func (*VerificationResponse) GetMessage

func (x *VerificationResponse) GetMessage() string

func (*VerificationResponse) GetVerified

func (x *VerificationResponse) GetVerified() bool

func (*VerificationResponse) ProtoMessage

func (*VerificationResponse) ProtoMessage()

func (*VerificationResponse) ProtoReflect

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

func (*VerificationResponse) Reset

func (x *VerificationResponse) Reset()

func (*VerificationResponse) String

func (x *VerificationResponse) String() string

func (*VerificationResponse) Validate

func (m *VerificationResponse) Validate() error

Validate checks the field values on VerificationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerificationResponse) ValidateAll

func (m *VerificationResponse) ValidateAll() error

ValidateAll checks the field values on VerificationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerificationResponseMultiError, or nil if none found.

type VerificationResponseMultiError

type VerificationResponseMultiError []error

VerificationResponseMultiError is an error wrapping multiple validation errors returned by VerificationResponse.ValidateAll() if the designated constraints aren't met.

func (VerificationResponseMultiError) AllErrors

func (m VerificationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerificationResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type VerificationResponseValidationError

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

VerificationResponseValidationError is the validation error returned by VerificationResponse.Validate if the designated constraints aren't met.

func (VerificationResponseValidationError) Cause

Cause function returns cause value.

func (VerificationResponseValidationError) Error

Error satisfies the builtin error interface

func (VerificationResponseValidationError) ErrorName

ErrorName returns error name.

func (VerificationResponseValidationError) Field

Field function returns field value.

func (VerificationResponseValidationError) Key

Key function returns key value.

func (VerificationResponseValidationError) Reason

Reason function returns reason value.

type VerifyEmailRequest

type VerifyEmailRequest struct {
	Email            string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	// contains filtered or unexported fields
}

VerifyEmailRequest for email verification

func (*VerifyEmailRequest) Descriptor deprecated

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

Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.

func (*VerifyEmailRequest) GetEmail

func (x *VerifyEmailRequest) GetEmail() string

func (*VerifyEmailRequest) GetVerificationCode

func (x *VerifyEmailRequest) GetVerificationCode() string

func (*VerifyEmailRequest) ProtoMessage

func (*VerifyEmailRequest) ProtoMessage()

func (*VerifyEmailRequest) ProtoReflect

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

func (*VerifyEmailRequest) Reset

func (x *VerifyEmailRequest) Reset()

func (*VerifyEmailRequest) String

func (x *VerifyEmailRequest) String() string

func (*VerifyEmailRequest) Validate

func (m *VerifyEmailRequest) Validate() error

Validate checks the field values on VerifyEmailRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerifyEmailRequest) ValidateAll

func (m *VerifyEmailRequest) ValidateAll() error

ValidateAll checks the field values on VerifyEmailRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyEmailRequestMultiError, or nil if none found.

type VerifyEmailRequestMultiError

type VerifyEmailRequestMultiError []error

VerifyEmailRequestMultiError is an error wrapping multiple validation errors returned by VerifyEmailRequest.ValidateAll() if the designated constraints aren't met.

func (VerifyEmailRequestMultiError) AllErrors

func (m VerifyEmailRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyEmailRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type VerifyEmailRequestValidationError

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

VerifyEmailRequestValidationError is the validation error returned by VerifyEmailRequest.Validate if the designated constraints aren't met.

func (VerifyEmailRequestValidationError) Cause

Cause function returns cause value.

func (VerifyEmailRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifyEmailRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifyEmailRequestValidationError) Field

Field function returns field value.

func (VerifyEmailRequestValidationError) Key

Key function returns key value.

func (VerifyEmailRequestValidationError) Reason

Reason function returns reason value.

type VerifyPhoneRequest

type VerifyPhoneRequest struct {
	Phone            string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
	VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	// contains filtered or unexported fields
}

VerifyPhoneRequest for phone verification

func (*VerifyPhoneRequest) Descriptor deprecated

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

Deprecated: Use VerifyPhoneRequest.ProtoReflect.Descriptor instead.

func (*VerifyPhoneRequest) GetPhone

func (x *VerifyPhoneRequest) GetPhone() string

func (*VerifyPhoneRequest) GetVerificationCode

func (x *VerifyPhoneRequest) GetVerificationCode() string

func (*VerifyPhoneRequest) ProtoMessage

func (*VerifyPhoneRequest) ProtoMessage()

func (*VerifyPhoneRequest) ProtoReflect

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

func (*VerifyPhoneRequest) Reset

func (x *VerifyPhoneRequest) Reset()

func (*VerifyPhoneRequest) String

func (x *VerifyPhoneRequest) String() string

func (*VerifyPhoneRequest) Validate

func (m *VerifyPhoneRequest) Validate() error

Validate checks the field values on VerifyPhoneRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerifyPhoneRequest) ValidateAll

func (m *VerifyPhoneRequest) ValidateAll() error

ValidateAll checks the field values on VerifyPhoneRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyPhoneRequestMultiError, or nil if none found.

type VerifyPhoneRequestMultiError

type VerifyPhoneRequestMultiError []error

VerifyPhoneRequestMultiError is an error wrapping multiple validation errors returned by VerifyPhoneRequest.ValidateAll() if the designated constraints aren't met.

func (VerifyPhoneRequestMultiError) AllErrors

func (m VerifyPhoneRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyPhoneRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type VerifyPhoneRequestValidationError

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

VerifyPhoneRequestValidationError is the validation error returned by VerifyPhoneRequest.Validate if the designated constraints aren't met.

func (VerifyPhoneRequestValidationError) Cause

Cause function returns cause value.

func (VerifyPhoneRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifyPhoneRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifyPhoneRequestValidationError) Field

Field function returns field value.

func (VerifyPhoneRequestValidationError) Key

Key function returns key value.

func (VerifyPhoneRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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