Documentation
¶
Overview ¶
Package openauth_v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterOpenAuthHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOpenAuthHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenAuthClient) error
- func RegisterOpenAuthHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOpenAuthHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenAuthServer) error
- func RegisterOpenAuthServer(s grpc.ServiceRegistrar, srv OpenAuthServer)
- type AssignPermissionsToGroupRequest
- func (*AssignPermissionsToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPermissionsToGroupRequest) GetGroupId() int64
- func (x *AssignPermissionsToGroupRequest) GetPermissionsIds() []int64
- func (*AssignPermissionsToGroupRequest) ProtoMessage()
- func (x *AssignPermissionsToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *AssignPermissionsToGroupRequest) Reset()
- func (x *AssignPermissionsToGroupRequest) String() string
- func (m *AssignPermissionsToGroupRequest) Validate() error
- func (m *AssignPermissionsToGroupRequest) ValidateAll() error
- type AssignPermissionsToGroupRequestMultiError
- type AssignPermissionsToGroupRequestValidationError
- func (e AssignPermissionsToGroupRequestValidationError) Cause() error
- func (e AssignPermissionsToGroupRequestValidationError) Error() string
- func (e AssignPermissionsToGroupRequestValidationError) ErrorName() string
- func (e AssignPermissionsToGroupRequestValidationError) Field() string
- func (e AssignPermissionsToGroupRequestValidationError) Key() bool
- func (e AssignPermissionsToGroupRequestValidationError) Reason() string
- type AssignPermissionsToGroupResponse
- func (*AssignPermissionsToGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPermissionsToGroupResponse) GetMessage() string
- func (*AssignPermissionsToGroupResponse) ProtoMessage()
- func (x *AssignPermissionsToGroupResponse) ProtoReflect() protoreflect.Message
- func (x *AssignPermissionsToGroupResponse) Reset()
- func (x *AssignPermissionsToGroupResponse) String() string
- func (m *AssignPermissionsToGroupResponse) Validate() error
- func (m *AssignPermissionsToGroupResponse) ValidateAll() error
- type AssignPermissionsToGroupResponseMultiError
- type AssignPermissionsToGroupResponseValidationError
- func (e AssignPermissionsToGroupResponseValidationError) Cause() error
- func (e AssignPermissionsToGroupResponseValidationError) Error() string
- func (e AssignPermissionsToGroupResponseValidationError) ErrorName() string
- func (e AssignPermissionsToGroupResponseValidationError) Field() string
- func (e AssignPermissionsToGroupResponseValidationError) Key() bool
- func (e AssignPermissionsToGroupResponseValidationError) Reason() string
- type AssignPermissionsToUserRequest
- func (*AssignPermissionsToUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPermissionsToUserRequest) GetExpiresAt() int64
- func (x *AssignPermissionsToUserRequest) GetPermissionsIds() []int64
- func (x *AssignPermissionsToUserRequest) GetUserId() int64
- func (*AssignPermissionsToUserRequest) ProtoMessage()
- func (x *AssignPermissionsToUserRequest) ProtoReflect() protoreflect.Message
- func (x *AssignPermissionsToUserRequest) Reset()
- func (x *AssignPermissionsToUserRequest) String() string
- func (m *AssignPermissionsToUserRequest) Validate() error
- func (m *AssignPermissionsToUserRequest) ValidateAll() error
- type AssignPermissionsToUserRequestMultiError
- type AssignPermissionsToUserRequestValidationError
- func (e AssignPermissionsToUserRequestValidationError) Cause() error
- func (e AssignPermissionsToUserRequestValidationError) Error() string
- func (e AssignPermissionsToUserRequestValidationError) ErrorName() string
- func (e AssignPermissionsToUserRequestValidationError) Field() string
- func (e AssignPermissionsToUserRequestValidationError) Key() bool
- func (e AssignPermissionsToUserRequestValidationError) Reason() string
- type AssignPermissionsToUserResponse
- func (*AssignPermissionsToUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPermissionsToUserResponse) GetMessage() string
- func (*AssignPermissionsToUserResponse) ProtoMessage()
- func (x *AssignPermissionsToUserResponse) ProtoReflect() protoreflect.Message
- func (x *AssignPermissionsToUserResponse) Reset()
- func (x *AssignPermissionsToUserResponse) String() string
- func (m *AssignPermissionsToUserResponse) Validate() error
- func (m *AssignPermissionsToUserResponse) ValidateAll() error
- type AssignPermissionsToUserResponseMultiError
- type AssignPermissionsToUserResponseValidationError
- func (e AssignPermissionsToUserResponseValidationError) Cause() error
- func (e AssignPermissionsToUserResponseValidationError) Error() string
- func (e AssignPermissionsToUserResponseValidationError) ErrorName() string
- func (e AssignPermissionsToUserResponseValidationError) Field() string
- func (e AssignPermissionsToUserResponseValidationError) Key() bool
- func (e AssignPermissionsToUserResponseValidationError) Reason() string
- type AssignUsersToGroupRequest
- func (*AssignUsersToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignUsersToGroupRequest) GetExpiresAt() int64
- func (x *AssignUsersToGroupRequest) GetGroupId() int64
- func (x *AssignUsersToGroupRequest) GetUserIds() []int64
- func (*AssignUsersToGroupRequest) ProtoMessage()
- func (x *AssignUsersToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *AssignUsersToGroupRequest) Reset()
- func (x *AssignUsersToGroupRequest) String() string
- func (m *AssignUsersToGroupRequest) Validate() error
- func (m *AssignUsersToGroupRequest) ValidateAll() error
- type AssignUsersToGroupRequestMultiError
- type AssignUsersToGroupRequestValidationError
- func (e AssignUsersToGroupRequestValidationError) Cause() error
- func (e AssignUsersToGroupRequestValidationError) Error() string
- func (e AssignUsersToGroupRequestValidationError) ErrorName() string
- func (e AssignUsersToGroupRequestValidationError) Field() string
- func (e AssignUsersToGroupRequestValidationError) Key() bool
- func (e AssignUsersToGroupRequestValidationError) Reason() string
- type AssignUsersToGroupResponse
- func (*AssignUsersToGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignUsersToGroupResponse) GetMessage() string
- func (x *AssignUsersToGroupResponse) GetSuccess() bool
- func (*AssignUsersToGroupResponse) ProtoMessage()
- func (x *AssignUsersToGroupResponse) ProtoReflect() protoreflect.Message
- func (x *AssignUsersToGroupResponse) Reset()
- func (x *AssignUsersToGroupResponse) String() string
- func (m *AssignUsersToGroupResponse) Validate() error
- func (m *AssignUsersToGroupResponse) ValidateAll() error
- type AssignUsersToGroupResponseMultiError
- type AssignUsersToGroupResponseValidationError
- func (e AssignUsersToGroupResponseValidationError) Cause() error
- func (e AssignUsersToGroupResponseValidationError) Error() string
- func (e AssignUsersToGroupResponseValidationError) ErrorName() string
- func (e AssignUsersToGroupResponseValidationError) Field() string
- func (e AssignUsersToGroupResponseValidationError) Key() bool
- func (e AssignUsersToGroupResponseValidationError) Reason() string
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetCurrentPassword() string
- func (x *ChangePasswordRequest) GetNewPassword() string
- func (x *ChangePasswordRequest) GetUuid() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- func (m *ChangePasswordRequest) Validate() error
- func (m *ChangePasswordRequest) ValidateAll() error
- type ChangePasswordRequestMultiError
- type ChangePasswordRequestValidationError
- func (e ChangePasswordRequestValidationError) Cause() error
- func (e ChangePasswordRequestValidationError) Error() string
- func (e ChangePasswordRequestValidationError) ErrorName() string
- func (e ChangePasswordRequestValidationError) Field() string
- func (e ChangePasswordRequestValidationError) Key() bool
- func (e ChangePasswordRequestValidationError) Reason() string
- type ChangePasswordResponse
- func (*ChangePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordResponse) GetMessage() string
- func (x *ChangePasswordResponse) GetSuccess() bool
- func (*ChangePasswordResponse) ProtoMessage()
- func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordResponse) Reset()
- func (x *ChangePasswordResponse) String() string
- func (m *ChangePasswordResponse) Validate() error
- func (m *ChangePasswordResponse) ValidateAll() error
- type ChangePasswordResponseMultiError
- type ChangePasswordResponseValidationError
- func (e ChangePasswordResponseValidationError) Cause() error
- func (e ChangePasswordResponseValidationError) Error() string
- func (e ChangePasswordResponseValidationError) ErrorName() string
- func (e ChangePasswordResponseValidationError) Field() string
- func (e ChangePasswordResponseValidationError) Key() bool
- func (e ChangePasswordResponseValidationError) Reason() string
- type CheckEmailRequest
- func (*CheckEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckEmailRequest) GetEmail() string
- func (*CheckEmailRequest) ProtoMessage()
- func (x *CheckEmailRequest) ProtoReflect() protoreflect.Message
- func (x *CheckEmailRequest) Reset()
- func (x *CheckEmailRequest) String() string
- func (m *CheckEmailRequest) Validate() error
- func (m *CheckEmailRequest) ValidateAll() error
- type CheckEmailRequestMultiError
- type CheckEmailRequestValidationError
- func (e CheckEmailRequestValidationError) Cause() error
- func (e CheckEmailRequestValidationError) Error() string
- func (e CheckEmailRequestValidationError) ErrorName() string
- func (e CheckEmailRequestValidationError) Field() string
- func (e CheckEmailRequestValidationError) Key() bool
- func (e CheckEmailRequestValidationError) Reason() string
- type CheckEmailResponse
- func (*CheckEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckEmailResponse) GetAvailable() bool
- func (x *CheckEmailResponse) GetMessage() string
- func (*CheckEmailResponse) ProtoMessage()
- func (x *CheckEmailResponse) ProtoReflect() protoreflect.Message
- func (x *CheckEmailResponse) Reset()
- func (x *CheckEmailResponse) String() string
- func (m *CheckEmailResponse) Validate() error
- func (m *CheckEmailResponse) ValidateAll() error
- type CheckEmailResponseMultiError
- type CheckEmailResponseValidationError
- func (e CheckEmailResponseValidationError) Cause() error
- func (e CheckEmailResponseValidationError) Error() string
- func (e CheckEmailResponseValidationError) ErrorName() string
- func (e CheckEmailResponseValidationError) Field() string
- func (e CheckEmailResponseValidationError) Key() bool
- func (e CheckEmailResponseValidationError) Reason() string
- type CheckUsernameRequest
- func (*CheckUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUsernameRequest) GetUsername() string
- func (*CheckUsernameRequest) ProtoMessage()
- func (x *CheckUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *CheckUsernameRequest) Reset()
- func (x *CheckUsernameRequest) String() string
- func (m *CheckUsernameRequest) Validate() error
- func (m *CheckUsernameRequest) ValidateAll() error
- type CheckUsernameRequestMultiError
- type CheckUsernameRequestValidationError
- func (e CheckUsernameRequestValidationError) Cause() error
- func (e CheckUsernameRequestValidationError) Error() string
- func (e CheckUsernameRequestValidationError) ErrorName() string
- func (e CheckUsernameRequestValidationError) Field() string
- func (e CheckUsernameRequestValidationError) Key() bool
- func (e CheckUsernameRequestValidationError) Reason() string
- type CheckUsernameResponse
- func (*CheckUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUsernameResponse) GetAvailable() bool
- func (x *CheckUsernameResponse) GetMessage() string
- func (x *CheckUsernameResponse) GetSuggestions() []string
- func (*CheckUsernameResponse) ProtoMessage()
- func (x *CheckUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *CheckUsernameResponse) Reset()
- func (x *CheckUsernameResponse) String() string
- func (m *CheckUsernameResponse) Validate() error
- func (m *CheckUsernameResponse) ValidateAll() error
- type CheckUsernameResponseMultiError
- type CheckUsernameResponseValidationError
- func (e CheckUsernameResponseValidationError) Cause() error
- func (e CheckUsernameResponseValidationError) Error() string
- func (e CheckUsernameResponseValidationError) ErrorName() string
- func (e CheckUsernameResponseValidationError) Field() string
- func (e CheckUsernameResponseValidationError) Key() bool
- func (e CheckUsernameResponseValidationError) Reason() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetBoolValue() bool
- func (x *Config) GetCreatedAt() int64
- func (x *Config) GetCreatedBy() int64
- func (x *Config) GetDescription() string
- func (x *Config) GetDisplayName() string
- func (x *Config) GetEntityId() int64
- func (x *Config) GetFloatValue() float64
- func (x *Config) GetId() int64
- func (x *Config) GetIntValue() int64
- func (x *Config) GetIsSystem() bool
- func (x *Config) GetJsonValue() string
- func (x *Config) GetKey() string
- func (x *Config) GetMetadata() string
- func (x *Config) GetStringValue() string
- func (x *Config) GetType() ValueType
- func (x *Config) GetUpdatedAt() int64
- func (x *Config) GetUpdatedBy() int64
- func (m *Config) GetValue() isConfig_Value
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- func (m *Config) Validate() error
- func (m *Config) ValidateAll() error
- type ConfigEntity
- func (*ConfigEntity) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigEntity) GetCreatedAt() int64
- func (x *ConfigEntity) GetCreatedBy() int64
- func (x *ConfigEntity) GetDescription() string
- func (x *ConfigEntity) GetDisplayName() string
- func (x *ConfigEntity) GetId() int64
- func (x *ConfigEntity) GetIsSystem() bool
- func (x *ConfigEntity) GetName() string
- func (x *ConfigEntity) GetReadPerm() string
- func (x *ConfigEntity) GetUpdatedAt() int64
- func (x *ConfigEntity) GetWritePerm() string
- func (*ConfigEntity) ProtoMessage()
- func (x *ConfigEntity) ProtoReflect() protoreflect.Message
- func (x *ConfigEntity) Reset()
- func (x *ConfigEntity) String() string
- func (m *ConfigEntity) Validate() error
- func (m *ConfigEntity) ValidateAll() error
- type ConfigEntityMultiError
- type ConfigEntityValidationError
- func (e ConfigEntityValidationError) Cause() error
- func (e ConfigEntityValidationError) Error() string
- func (e ConfigEntityValidationError) ErrorName() string
- func (e ConfigEntityValidationError) Field() string
- func (e ConfigEntityValidationError) Key() bool
- func (e ConfigEntityValidationError) Reason() string
- type ConfigMultiError
- type ConfigValidationError
- type Config_BoolValue
- type Config_FloatValue
- type Config_IntValue
- type Config_JsonValue
- type Config_StringValue
- type CreateConfigEntityRequest
- func (*CreateConfigEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConfigEntityRequest) GetDescription() string
- func (x *CreateConfigEntityRequest) GetDisplayName() string
- func (x *CreateConfigEntityRequest) GetName() string
- func (x *CreateConfigEntityRequest) GetReadPerm() string
- func (x *CreateConfigEntityRequest) GetWritePerm() string
- func (*CreateConfigEntityRequest) ProtoMessage()
- func (x *CreateConfigEntityRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConfigEntityRequest) Reset()
- func (x *CreateConfigEntityRequest) String() string
- func (m *CreateConfigEntityRequest) Validate() error
- func (m *CreateConfigEntityRequest) ValidateAll() error
- type CreateConfigEntityRequestMultiError
- type CreateConfigEntityRequestValidationError
- func (e CreateConfigEntityRequestValidationError) Cause() error
- func (e CreateConfigEntityRequestValidationError) Error() string
- func (e CreateConfigEntityRequestValidationError) ErrorName() string
- func (e CreateConfigEntityRequestValidationError) Field() string
- func (e CreateConfigEntityRequestValidationError) Key() bool
- func (e CreateConfigEntityRequestValidationError) Reason() string
- type CreateConfigRequest
- func (*CreateConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConfigRequest) GetBoolValue() bool
- func (x *CreateConfigRequest) GetDescription() string
- func (x *CreateConfigRequest) GetDisplayName() string
- func (x *CreateConfigRequest) GetEntityId() int64
- func (x *CreateConfigRequest) GetFloatValue() float64
- func (x *CreateConfigRequest) GetIntValue() int64
- func (x *CreateConfigRequest) GetJsonValue() string
- func (x *CreateConfigRequest) GetKey() string
- func (x *CreateConfigRequest) GetMetadata() string
- func (x *CreateConfigRequest) GetStringValue() string
- func (x *CreateConfigRequest) GetType() ValueType
- func (m *CreateConfigRequest) GetValue() isCreateConfigRequest_Value
- func (*CreateConfigRequest) ProtoMessage()
- func (x *CreateConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConfigRequest) Reset()
- func (x *CreateConfigRequest) String() string
- func (m *CreateConfigRequest) Validate() error
- func (m *CreateConfigRequest) ValidateAll() error
- type CreateConfigRequestMultiError
- type CreateConfigRequestValidationError
- func (e CreateConfigRequestValidationError) Cause() error
- func (e CreateConfigRequestValidationError) Error() string
- func (e CreateConfigRequestValidationError) ErrorName() string
- func (e CreateConfigRequestValidationError) Field() string
- func (e CreateConfigRequestValidationError) Key() bool
- func (e CreateConfigRequestValidationError) Reason() string
- type CreateConfigRequest_BoolValue
- type CreateConfigRequest_FloatValue
- type CreateConfigRequest_IntValue
- type CreateConfigRequest_JsonValue
- type CreateConfigRequest_StringValue
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetDescription() string
- func (x *CreateGroupRequest) GetDisplayName() string
- func (x *CreateGroupRequest) GetIsDefault() bool
- func (x *CreateGroupRequest) GetName() string
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- func (m *CreateGroupRequest) Validate() error
- func (m *CreateGroupRequest) ValidateAll() error
- type CreateGroupRequestMultiError
- type CreateGroupRequestValidationError
- func (e CreateGroupRequestValidationError) Cause() error
- func (e CreateGroupRequestValidationError) Error() string
- func (e CreateGroupRequestValidationError) ErrorName() string
- func (e CreateGroupRequestValidationError) Field() string
- func (e CreateGroupRequestValidationError) Key() bool
- func (e CreateGroupRequestValidationError) Reason() string
- type CreateGroupResponse
- func (*CreateGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupResponse) GetGroup() *Group
- func (x *CreateGroupResponse) GetMessage() string
- func (*CreateGroupResponse) ProtoMessage()
- func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGroupResponse) Reset()
- func (x *CreateGroupResponse) String() string
- func (m *CreateGroupResponse) Validate() error
- func (m *CreateGroupResponse) ValidateAll() error
- type CreateGroupResponseMultiError
- type CreateGroupResponseValidationError
- func (e CreateGroupResponseValidationError) Cause() error
- func (e CreateGroupResponseValidationError) Error() string
- func (e CreateGroupResponseValidationError) ErrorName() string
- func (e CreateGroupResponseValidationError) Field() string
- func (e CreateGroupResponseValidationError) Key() bool
- func (e CreateGroupResponseValidationError) Reason() string
- type CreatePermissionRequest
- func (*CreatePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePermissionRequest) GetDescription() string
- func (x *CreatePermissionRequest) GetDisplayName() string
- func (x *CreatePermissionRequest) GetName() string
- func (*CreatePermissionRequest) ProtoMessage()
- func (x *CreatePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePermissionRequest) Reset()
- func (x *CreatePermissionRequest) String() string
- func (m *CreatePermissionRequest) Validate() error
- func (m *CreatePermissionRequest) ValidateAll() error
- type CreatePermissionRequestMultiError
- type CreatePermissionRequestValidationError
- func (e CreatePermissionRequestValidationError) Cause() error
- func (e CreatePermissionRequestValidationError) Error() string
- func (e CreatePermissionRequestValidationError) ErrorName() string
- func (e CreatePermissionRequestValidationError) Field() string
- func (e CreatePermissionRequestValidationError) Key() bool
- func (e CreatePermissionRequestValidationError) Reason() string
- type CreateProfileRequest
- func (*CreateProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProfileRequest) GetAddress() string
- func (x *CreateProfileRequest) GetAvatarUrl() string
- func (x *CreateProfileRequest) GetBio() string
- func (x *CreateProfileRequest) GetCity() string
- func (x *CreateProfileRequest) GetCountry() string
- func (x *CreateProfileRequest) GetDateOfBirth() string
- func (x *CreateProfileRequest) GetDisplayName() string
- func (x *CreateProfileRequest) GetFirstName() string
- func (x *CreateProfileRequest) GetGender() string
- func (x *CreateProfileRequest) GetLastName() string
- func (x *CreateProfileRequest) GetLocale() string
- func (x *CreateProfileRequest) GetMetadata() []byte
- func (x *CreateProfileRequest) GetPostalCode() string
- func (x *CreateProfileRequest) GetProfileName() string
- func (x *CreateProfileRequest) GetTimezone() string
- func (x *CreateProfileRequest) GetUserId() int64
- func (x *CreateProfileRequest) GetWebsiteUrl() string
- func (*CreateProfileRequest) ProtoMessage()
- func (x *CreateProfileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProfileRequest) Reset()
- func (x *CreateProfileRequest) String() string
- func (m *CreateProfileRequest) Validate() error
- func (m *CreateProfileRequest) ValidateAll() error
- type CreateProfileRequestMultiError
- type CreateProfileRequestValidationError
- func (e CreateProfileRequestValidationError) Cause() error
- func (e CreateProfileRequestValidationError) Error() string
- func (e CreateProfileRequestValidationError) ErrorName() string
- func (e CreateProfileRequestValidationError) Field() string
- func (e CreateProfileRequestValidationError) Key() bool
- func (e CreateProfileRequestValidationError) Reason() string
- type CreateProfileResponse
- func (*CreateProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProfileResponse) GetMessage() string
- func (x *CreateProfileResponse) GetProfile() *UserProfile
- func (*CreateProfileResponse) ProtoMessage()
- func (x *CreateProfileResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProfileResponse) Reset()
- func (x *CreateProfileResponse) String() string
- func (m *CreateProfileResponse) Validate() error
- func (m *CreateProfileResponse) ValidateAll() error
- type CreateProfileResponseMultiError
- type CreateProfileResponseValidationError
- func (e CreateProfileResponseValidationError) Cause() error
- func (e CreateProfileResponseValidationError) Error() string
- func (e CreateProfileResponseValidationError) ErrorName() string
- func (e CreateProfileResponseValidationError) Field() string
- func (e CreateProfileResponseValidationError) Key() bool
- func (e CreateProfileResponseValidationError) Reason() string
- type DeleteConfigEntityRequest
- func (*DeleteConfigEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConfigEntityRequest) GetId() int64
- func (*DeleteConfigEntityRequest) ProtoMessage()
- func (x *DeleteConfigEntityRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConfigEntityRequest) Reset()
- func (x *DeleteConfigEntityRequest) String() string
- func (m *DeleteConfigEntityRequest) Validate() error
- func (m *DeleteConfigEntityRequest) ValidateAll() error
- type DeleteConfigEntityRequestMultiError
- type DeleteConfigEntityRequestValidationError
- func (e DeleteConfigEntityRequestValidationError) Cause() error
- func (e DeleteConfigEntityRequestValidationError) Error() string
- func (e DeleteConfigEntityRequestValidationError) ErrorName() string
- func (e DeleteConfigEntityRequestValidationError) Field() string
- func (e DeleteConfigEntityRequestValidationError) Key() bool
- func (e DeleteConfigEntityRequestValidationError) Reason() string
- type DeleteConfigRequest
- func (*DeleteConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConfigRequest) GetId() int64
- func (*DeleteConfigRequest) ProtoMessage()
- func (x *DeleteConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConfigRequest) Reset()
- func (x *DeleteConfigRequest) String() string
- func (m *DeleteConfigRequest) Validate() error
- func (m *DeleteConfigRequest) ValidateAll() error
- type DeleteConfigRequestMultiError
- type DeleteConfigRequestValidationError
- func (e DeleteConfigRequestValidationError) Cause() error
- func (e DeleteConfigRequestValidationError) Error() string
- func (e DeleteConfigRequestValidationError) ErrorName() string
- func (e DeleteConfigRequestValidationError) Field() string
- func (e DeleteConfigRequestValidationError) Key() bool
- func (e DeleteConfigRequestValidationError) Reason() string
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupRequest) GetId() int64
- func (*DeleteGroupRequest) ProtoMessage()
- func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupRequest) Reset()
- func (x *DeleteGroupRequest) String() string
- func (m *DeleteGroupRequest) Validate() error
- func (m *DeleteGroupRequest) ValidateAll() error
- type DeleteGroupRequestMultiError
- type DeleteGroupRequestValidationError
- func (e DeleteGroupRequestValidationError) Cause() error
- func (e DeleteGroupRequestValidationError) Error() string
- func (e DeleteGroupRequestValidationError) ErrorName() string
- func (e DeleteGroupRequestValidationError) Field() string
- func (e DeleteGroupRequestValidationError) Key() bool
- func (e DeleteGroupRequestValidationError) Reason() string
- type DeleteGroupResponse
- func (*DeleteGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupResponse) GetMessage() string
- func (x *DeleteGroupResponse) GetSuccess() bool
- func (*DeleteGroupResponse) ProtoMessage()
- func (x *DeleteGroupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupResponse) Reset()
- func (x *DeleteGroupResponse) String() string
- func (m *DeleteGroupResponse) Validate() error
- func (m *DeleteGroupResponse) ValidateAll() error
- type DeleteGroupResponseMultiError
- type DeleteGroupResponseValidationError
- func (e DeleteGroupResponseValidationError) Cause() error
- func (e DeleteGroupResponseValidationError) Error() string
- func (e DeleteGroupResponseValidationError) ErrorName() string
- func (e DeleteGroupResponseValidationError) Field() string
- func (e DeleteGroupResponseValidationError) Key() bool
- func (e DeleteGroupResponseValidationError) Reason() string
- type DeletePermissionRequest
- func (*DeletePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePermissionRequest) GetId() int64
- func (*DeletePermissionRequest) ProtoMessage()
- func (x *DeletePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePermissionRequest) Reset()
- func (x *DeletePermissionRequest) String() string
- func (m *DeletePermissionRequest) Validate() error
- func (m *DeletePermissionRequest) ValidateAll() error
- type DeletePermissionRequestMultiError
- type DeletePermissionRequestValidationError
- func (e DeletePermissionRequestValidationError) Cause() error
- func (e DeletePermissionRequestValidationError) Error() string
- func (e DeletePermissionRequestValidationError) ErrorName() string
- func (e DeletePermissionRequestValidationError) Field() string
- func (e DeletePermissionRequestValidationError) Key() bool
- func (e DeletePermissionRequestValidationError) Reason() string
- type DeletePermissionResponse
- func (*DeletePermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePermissionResponse) GetMessage() string
- func (x *DeletePermissionResponse) GetSuccess() bool
- func (*DeletePermissionResponse) ProtoMessage()
- func (x *DeletePermissionResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePermissionResponse) Reset()
- func (x *DeletePermissionResponse) String() string
- func (m *DeletePermissionResponse) Validate() error
- func (m *DeletePermissionResponse) ValidateAll() error
- type DeletePermissionResponseMultiError
- type DeletePermissionResponseValidationError
- func (e DeletePermissionResponseValidationError) Cause() error
- func (e DeletePermissionResponseValidationError) Error() string
- func (e DeletePermissionResponseValidationError) ErrorName() string
- func (e DeletePermissionResponseValidationError) Field() string
- func (e DeletePermissionResponseValidationError) Key() bool
- func (e DeletePermissionResponseValidationError) Reason() string
- type DeleteProfileRequest
- func (*DeleteProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProfileRequest) GetProfileUuid() string
- func (*DeleteProfileRequest) ProtoMessage()
- func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProfileRequest) Reset()
- func (x *DeleteProfileRequest) String() string
- func (m *DeleteProfileRequest) Validate() error
- func (m *DeleteProfileRequest) ValidateAll() error
- type DeleteProfileRequestMultiError
- type DeleteProfileRequestValidationError
- func (e DeleteProfileRequestValidationError) Cause() error
- func (e DeleteProfileRequestValidationError) Error() string
- func (e DeleteProfileRequestValidationError) ErrorName() string
- func (e DeleteProfileRequestValidationError) Field() string
- func (e DeleteProfileRequestValidationError) Key() bool
- func (e DeleteProfileRequestValidationError) Reason() string
- type DeleteProfileResponse
- func (*DeleteProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProfileResponse) GetMessage() string
- func (x *DeleteProfileResponse) GetSuccess() bool
- func (*DeleteProfileResponse) ProtoMessage()
- func (x *DeleteProfileResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteProfileResponse) Reset()
- func (x *DeleteProfileResponse) String() string
- func (m *DeleteProfileResponse) Validate() error
- func (m *DeleteProfileResponse) ValidateAll() error
- type DeleteProfileResponseMultiError
- type DeleteProfileResponseValidationError
- func (e DeleteProfileResponseValidationError) Cause() error
- func (e DeleteProfileResponseValidationError) Error() string
- func (e DeleteProfileResponseValidationError) ErrorName() string
- func (e DeleteProfileResponseValidationError) Field() string
- func (e DeleteProfileResponseValidationError) Key() bool
- func (e DeleteProfileResponseValidationError) Reason() string
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResponse) GetMessage() string
- func (x *DeleteResponse) GetSuccess() bool
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- func (m *DeleteResponse) Validate() error
- func (m *DeleteResponse) ValidateAll() error
- type DeleteResponseMultiError
- type DeleteResponseValidationError
- func (e DeleteResponseValidationError) Cause() error
- func (e DeleteResponseValidationError) Error() string
- func (e DeleteResponseValidationError) ErrorName() string
- func (e DeleteResponseValidationError) Field() string
- func (e DeleteResponseValidationError) Key() bool
- func (e DeleteResponseValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetSoftDelete() bool
- func (x *DeleteUserRequest) GetUuid() string
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserResponse) GetMessage() string
- func (x *DeleteUserResponse) GetSuccess() bool
- func (*DeleteUserResponse) ProtoMessage()
- func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserResponse) Reset()
- func (x *DeleteUserResponse) String() string
- func (m *DeleteUserResponse) Validate() error
- func (m *DeleteUserResponse) ValidateAll() error
- type DeleteUserResponseMultiError
- type DeleteUserResponseValidationError
- func (e DeleteUserResponseValidationError) Cause() error
- func (e DeleteUserResponseValidationError) Error() string
- func (e DeleteUserResponseValidationError) ErrorName() string
- func (e DeleteUserResponseValidationError) Field() string
- func (e DeleteUserResponseValidationError) Key() bool
- func (e DeleteUserResponseValidationError) Reason() string
- type EffectivePermission
- func (*EffectivePermission) Descriptor() ([]byte, []int)deprecated
- func (x *EffectivePermission) GetExpiresAt() int64
- func (x *EffectivePermission) GetGrantedAt() int64
- func (x *EffectivePermission) GetGrantedBy() int64
- func (x *EffectivePermission) GetGroupDisplayName() string
- func (x *EffectivePermission) GetGroupId() int64
- func (x *EffectivePermission) GetGroupName() string
- func (x *EffectivePermission) GetPermissionDescription() string
- func (x *EffectivePermission) GetPermissionDisplayName() string
- func (x *EffectivePermission) GetPermissionId() int64
- func (x *EffectivePermission) GetPermissionName() string
- func (x *EffectivePermission) GetSource() string
- func (*EffectivePermission) ProtoMessage()
- func (x *EffectivePermission) ProtoReflect() protoreflect.Message
- func (x *EffectivePermission) Reset()
- func (x *EffectivePermission) String() string
- func (m *EffectivePermission) Validate() error
- func (m *EffectivePermission) ValidateAll() error
- type EffectivePermissionMultiError
- type EffectivePermissionValidationError
- func (e EffectivePermissionValidationError) Cause() error
- func (e EffectivePermissionValidationError) Error() string
- func (e EffectivePermissionValidationError) ErrorName() string
- func (e EffectivePermissionValidationError) Field() string
- func (e EffectivePermissionValidationError) Key() bool
- func (e EffectivePermissionValidationError) Reason() string
- type GetConfigByKeyRequest
- func (*GetConfigByKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigByKeyRequest) GetEntityName() string
- func (x *GetConfigByKeyRequest) GetKey() string
- func (*GetConfigByKeyRequest) ProtoMessage()
- func (x *GetConfigByKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigByKeyRequest) Reset()
- func (x *GetConfigByKeyRequest) String() string
- func (m *GetConfigByKeyRequest) Validate() error
- func (m *GetConfigByKeyRequest) ValidateAll() error
- type GetConfigByKeyRequestMultiError
- type GetConfigByKeyRequestValidationError
- func (e GetConfigByKeyRequestValidationError) Cause() error
- func (e GetConfigByKeyRequestValidationError) Error() string
- func (e GetConfigByKeyRequestValidationError) ErrorName() string
- func (e GetConfigByKeyRequestValidationError) Field() string
- func (e GetConfigByKeyRequestValidationError) Key() bool
- func (e GetConfigByKeyRequestValidationError) Reason() string
- type GetConfigEntityByNameRequest
- func (*GetConfigEntityByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigEntityByNameRequest) GetName() string
- func (*GetConfigEntityByNameRequest) ProtoMessage()
- func (x *GetConfigEntityByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigEntityByNameRequest) Reset()
- func (x *GetConfigEntityByNameRequest) String() string
- func (m *GetConfigEntityByNameRequest) Validate() error
- func (m *GetConfigEntityByNameRequest) ValidateAll() error
- type GetConfigEntityByNameRequestMultiError
- type GetConfigEntityByNameRequestValidationError
- func (e GetConfigEntityByNameRequestValidationError) Cause() error
- func (e GetConfigEntityByNameRequestValidationError) Error() string
- func (e GetConfigEntityByNameRequestValidationError) ErrorName() string
- func (e GetConfigEntityByNameRequestValidationError) Field() string
- func (e GetConfigEntityByNameRequestValidationError) Key() bool
- func (e GetConfigEntityByNameRequestValidationError) Reason() string
- type GetConfigEntityRequest
- func (*GetConfigEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigEntityRequest) GetId() int64
- func (*GetConfigEntityRequest) ProtoMessage()
- func (x *GetConfigEntityRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigEntityRequest) Reset()
- func (x *GetConfigEntityRequest) String() string
- func (m *GetConfigEntityRequest) Validate() error
- func (m *GetConfigEntityRequest) ValidateAll() error
- type GetConfigEntityRequestMultiError
- type GetConfigEntityRequestValidationError
- func (e GetConfigEntityRequestValidationError) Cause() error
- func (e GetConfigEntityRequestValidationError) Error() string
- func (e GetConfigEntityRequestValidationError) ErrorName() string
- func (e GetConfigEntityRequestValidationError) Field() string
- func (e GetConfigEntityRequestValidationError) Key() bool
- func (e GetConfigEntityRequestValidationError) Reason() string
- type GetConfigRequest
- func (*GetConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigRequest) GetId() int64
- func (*GetConfigRequest) ProtoMessage()
- func (x *GetConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigRequest) Reset()
- func (x *GetConfigRequest) String() string
- func (m *GetConfigRequest) Validate() error
- func (m *GetConfigRequest) ValidateAll() error
- type GetConfigRequestMultiError
- type GetConfigRequestValidationError
- func (e GetConfigRequestValidationError) Cause() error
- func (e GetConfigRequestValidationError) Error() string
- func (e GetConfigRequestValidationError) ErrorName() string
- func (e GetConfigRequestValidationError) Field() string
- func (e GetConfigRequestValidationError) Key() bool
- func (e GetConfigRequestValidationError) Reason() string
- type GetConfigsByKeysRequest
- func (*GetConfigsByKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigsByKeysRequest) GetEntityName() string
- func (x *GetConfigsByKeysRequest) GetKeys() []string
- func (*GetConfigsByKeysRequest) ProtoMessage()
- func (x *GetConfigsByKeysRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigsByKeysRequest) Reset()
- func (x *GetConfigsByKeysRequest) String() string
- func (m *GetConfigsByKeysRequest) Validate() error
- func (m *GetConfigsByKeysRequest) ValidateAll() error
- type GetConfigsByKeysRequestMultiError
- type GetConfigsByKeysRequestValidationError
- func (e GetConfigsByKeysRequestValidationError) Cause() error
- func (e GetConfigsByKeysRequestValidationError) Error() string
- func (e GetConfigsByKeysRequestValidationError) ErrorName() string
- func (e GetConfigsByKeysRequestValidationError) Field() string
- func (e GetConfigsByKeysRequestValidationError) Key() bool
- func (e GetConfigsByKeysRequestValidationError) Reason() string
- type GetConfigsByKeysResponse
- func (*GetConfigsByKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigsByKeysResponse) GetConfigs() map[string]*Config
- func (*GetConfigsByKeysResponse) ProtoMessage()
- func (x *GetConfigsByKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigsByKeysResponse) Reset()
- func (x *GetConfigsByKeysResponse) String() string
- func (m *GetConfigsByKeysResponse) Validate() error
- func (m *GetConfigsByKeysResponse) ValidateAll() error
- type GetConfigsByKeysResponseMultiError
- type GetConfigsByKeysResponseValidationError
- func (e GetConfigsByKeysResponseValidationError) Cause() error
- func (e GetConfigsByKeysResponseValidationError) Error() string
- func (e GetConfigsByKeysResponseValidationError) ErrorName() string
- func (e GetConfigsByKeysResponseValidationError) Field() string
- func (e GetConfigsByKeysResponseValidationError) Key() bool
- func (e GetConfigsByKeysResponseValidationError) Reason() string
- type GetGroupRequest
- func (*GetGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupRequest) GetId() int64
- func (*GetGroupRequest) ProtoMessage()
- func (x *GetGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupRequest) Reset()
- func (x *GetGroupRequest) String() string
- func (m *GetGroupRequest) Validate() error
- func (m *GetGroupRequest) ValidateAll() error
- type GetGroupRequestMultiError
- type GetGroupRequestValidationError
- func (e GetGroupRequestValidationError) Cause() error
- func (e GetGroupRequestValidationError) Error() string
- func (e GetGroupRequestValidationError) ErrorName() string
- func (e GetGroupRequestValidationError) Field() string
- func (e GetGroupRequestValidationError) Key() bool
- func (e GetGroupRequestValidationError) Reason() string
- type GetGroupResponse
- func (*GetGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupResponse) GetGroup() *Group
- func (*GetGroupResponse) ProtoMessage()
- func (x *GetGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupResponse) Reset()
- func (x *GetGroupResponse) String() string
- func (m *GetGroupResponse) Validate() error
- func (m *GetGroupResponse) ValidateAll() error
- type GetGroupResponseMultiError
- type GetGroupResponseValidationError
- func (e GetGroupResponseValidationError) Cause() error
- func (e GetGroupResponseValidationError) Error() string
- func (e GetGroupResponseValidationError) ErrorName() string
- func (e GetGroupResponseValidationError) Field() string
- func (e GetGroupResponseValidationError) Key() bool
- func (e GetGroupResponseValidationError) Reason() string
- type GetPermissionRequest
- func (*GetPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionRequest) GetId() int64
- func (*GetPermissionRequest) ProtoMessage()
- func (x *GetPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *GetPermissionRequest) Reset()
- func (x *GetPermissionRequest) String() string
- func (m *GetPermissionRequest) Validate() error
- func (m *GetPermissionRequest) ValidateAll() error
- type GetPermissionRequestMultiError
- type GetPermissionRequestValidationError
- func (e GetPermissionRequestValidationError) Cause() error
- func (e GetPermissionRequestValidationError) Error() string
- func (e GetPermissionRequestValidationError) ErrorName() string
- func (e GetPermissionRequestValidationError) Field() string
- func (e GetPermissionRequestValidationError) Key() bool
- func (e GetPermissionRequestValidationError) Reason() string
- type GetUserEffectivePermissionsRequest
- func (*GetUserEffectivePermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserEffectivePermissionsRequest) GetUserId() int64
- func (*GetUserEffectivePermissionsRequest) ProtoMessage()
- func (x *GetUserEffectivePermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserEffectivePermissionsRequest) Reset()
- func (x *GetUserEffectivePermissionsRequest) String() string
- func (m *GetUserEffectivePermissionsRequest) Validate() error
- func (m *GetUserEffectivePermissionsRequest) ValidateAll() error
- type GetUserEffectivePermissionsRequestMultiError
- type GetUserEffectivePermissionsRequestValidationError
- func (e GetUserEffectivePermissionsRequestValidationError) Cause() error
- func (e GetUserEffectivePermissionsRequestValidationError) Error() string
- func (e GetUserEffectivePermissionsRequestValidationError) ErrorName() string
- func (e GetUserEffectivePermissionsRequestValidationError) Field() string
- func (e GetUserEffectivePermissionsRequestValidationError) Key() bool
- func (e GetUserEffectivePermissionsRequestValidationError) Reason() string
- type GetUserEffectivePermissionsResponse
- func (*GetUserEffectivePermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserEffectivePermissionsResponse) GetPermissions() []*EffectivePermission
- func (*GetUserEffectivePermissionsResponse) ProtoMessage()
- func (x *GetUserEffectivePermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserEffectivePermissionsResponse) Reset()
- func (x *GetUserEffectivePermissionsResponse) String() string
- func (m *GetUserEffectivePermissionsResponse) Validate() error
- func (m *GetUserEffectivePermissionsResponse) ValidateAll() error
- type GetUserEffectivePermissionsResponseMultiError
- type GetUserEffectivePermissionsResponseValidationError
- func (e GetUserEffectivePermissionsResponseValidationError) Cause() error
- func (e GetUserEffectivePermissionsResponseValidationError) Error() string
- func (e GetUserEffectivePermissionsResponseValidationError) ErrorName() string
- func (e GetUserEffectivePermissionsResponseValidationError) Field() string
- func (e GetUserEffectivePermissionsResponseValidationError) Key() bool
- func (e GetUserEffectivePermissionsResponseValidationError) Reason() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetId() int64
- func (m *GetUserRequest) GetIdentifier() isGetUserRequest_Identifier
- func (x *GetUserRequest) GetIncludeProfile() bool
- func (x *GetUserRequest) GetUuid() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (m *GetUserRequest) Validate() error
- func (m *GetUserRequest) ValidateAll() error
- type GetUserRequestMultiError
- type GetUserRequestValidationError
- func (e GetUserRequestValidationError) Cause() error
- func (e GetUserRequestValidationError) Error() string
- func (e GetUserRequestValidationError) ErrorName() string
- func (e GetUserRequestValidationError) Field() string
- func (e GetUserRequestValidationError) Key() bool
- func (e GetUserRequestValidationError) Reason() string
- type GetUserRequest_Id
- type GetUserRequest_Uuid
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetProfiles() []*UserProfile
- func (x *GetUserResponse) GetUser() *User
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- func (m *GetUserResponse) Validate() error
- func (m *GetUserResponse) ValidateAll() error
- type GetUserResponseMultiError
- type GetUserResponseValidationError
- func (e GetUserResponseValidationError) Cause() error
- func (e GetUserResponseValidationError) Error() string
- func (e GetUserResponseValidationError) ErrorName() string
- func (e GetUserResponseValidationError) Field() string
- func (e GetUserResponseValidationError) Key() bool
- func (e GetUserResponseValidationError) Reason() string
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetCreatedAt() int64
- func (x *Group) GetCreatedBy() int64
- func (x *Group) GetDescription() string
- func (x *Group) GetDisplayName() string
- func (x *Group) GetId() int64
- func (x *Group) GetIsSystem() bool
- func (x *Group) GetName() string
- func (x *Group) GetUpdatedAt() int64
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- func (m *Group) Validate() error
- func (m *Group) ValidateAll() error
- type GroupMultiError
- type GroupUser
- func (*GroupUser) Descriptor() ([]byte, []int)deprecated
- func (x *GroupUser) GetAssignedAt() int64
- func (x *GroupUser) GetAssignedBy() int64
- func (x *GroupUser) GetAvatar() string
- func (x *GroupUser) GetEmail() string
- func (x *GroupUser) GetExpiresAt() int64
- func (x *GroupUser) GetName() string
- func (x *GroupUser) GetUserId() int64
- func (x *GroupUser) GetUserUuid() string
- func (x *GroupUser) GetUsername() string
- func (*GroupUser) ProtoMessage()
- func (x *GroupUser) ProtoReflect() protoreflect.Message
- func (x *GroupUser) Reset()
- func (x *GroupUser) String() string
- func (m *GroupUser) Validate() error
- func (m *GroupUser) ValidateAll() error
- type GroupUserMultiError
- type GroupUserValidationError
- type GroupValidationError
- type ListConfigEntitiesRequest
- func (*ListConfigEntitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConfigEntitiesRequest) GetAll() bool
- func (x *ListConfigEntitiesRequest) GetLimit() int32
- func (x *ListConfigEntitiesRequest) GetOffset() int32
- func (x *ListConfigEntitiesRequest) GetSearch() string
- func (*ListConfigEntitiesRequest) ProtoMessage()
- func (x *ListConfigEntitiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListConfigEntitiesRequest) Reset()
- func (x *ListConfigEntitiesRequest) String() string
- func (m *ListConfigEntitiesRequest) Validate() error
- func (m *ListConfigEntitiesRequest) ValidateAll() error
- type ListConfigEntitiesRequestMultiError
- type ListConfigEntitiesRequestValidationError
- func (e ListConfigEntitiesRequestValidationError) Cause() error
- func (e ListConfigEntitiesRequestValidationError) Error() string
- func (e ListConfigEntitiesRequestValidationError) ErrorName() string
- func (e ListConfigEntitiesRequestValidationError) Field() string
- func (e ListConfigEntitiesRequestValidationError) Key() bool
- func (e ListConfigEntitiesRequestValidationError) Reason() string
- type ListConfigEntitiesResponse
- func (*ListConfigEntitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConfigEntitiesResponse) GetEntities() []*ConfigEntity
- func (*ListConfigEntitiesResponse) ProtoMessage()
- func (x *ListConfigEntitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListConfigEntitiesResponse) Reset()
- func (x *ListConfigEntitiesResponse) String() string
- func (m *ListConfigEntitiesResponse) Validate() error
- func (m *ListConfigEntitiesResponse) ValidateAll() error
- type ListConfigEntitiesResponseMultiError
- type ListConfigEntitiesResponseValidationError
- func (e ListConfigEntitiesResponseValidationError) Cause() error
- func (e ListConfigEntitiesResponseValidationError) Error() string
- func (e ListConfigEntitiesResponseValidationError) ErrorName() string
- func (e ListConfigEntitiesResponseValidationError) Field() string
- func (e ListConfigEntitiesResponseValidationError) Key() bool
- func (e ListConfigEntitiesResponseValidationError) Reason() string
- type ListConfigsRequest
- func (*ListConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConfigsRequest) GetAll() bool
- func (m *ListConfigsRequest) GetEntity() isListConfigsRequest_Entity
- func (x *ListConfigsRequest) GetEntityId() int64
- func (x *ListConfigsRequest) GetEntityName() string
- func (x *ListConfigsRequest) GetLimit() int32
- func (x *ListConfigsRequest) GetOffset() int32
- func (x *ListConfigsRequest) GetSearch() string
- func (*ListConfigsRequest) ProtoMessage()
- func (x *ListConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConfigsRequest) Reset()
- func (x *ListConfigsRequest) String() string
- func (m *ListConfigsRequest) Validate() error
- func (m *ListConfigsRequest) ValidateAll() error
- type ListConfigsRequestMultiError
- type ListConfigsRequestValidationError
- func (e ListConfigsRequestValidationError) Cause() error
- func (e ListConfigsRequestValidationError) Error() string
- func (e ListConfigsRequestValidationError) ErrorName() string
- func (e ListConfigsRequestValidationError) Field() string
- func (e ListConfigsRequestValidationError) Key() bool
- func (e ListConfigsRequestValidationError) Reason() string
- type ListConfigsRequest_EntityId
- type ListConfigsRequest_EntityName
- type ListConfigsResponse
- func (*ListConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConfigsResponse) GetConfigs() []*Config
- func (*ListConfigsResponse) ProtoMessage()
- func (x *ListConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConfigsResponse) Reset()
- func (x *ListConfigsResponse) String() string
- func (m *ListConfigsResponse) Validate() error
- func (m *ListConfigsResponse) ValidateAll() error
- type ListConfigsResponseMultiError
- type ListConfigsResponseValidationError
- func (e ListConfigsResponseValidationError) Cause() error
- func (e ListConfigsResponseValidationError) Error() string
- func (e ListConfigsResponseValidationError) ErrorName() string
- func (e ListConfigsResponseValidationError) Field() string
- func (e ListConfigsResponseValidationError) Key() bool
- func (e ListConfigsResponseValidationError) Reason() string
- type ListGroupPermissionsRequest
- func (*ListGroupPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupPermissionsRequest) GetGroupId() int64
- func (*ListGroupPermissionsRequest) ProtoMessage()
- func (x *ListGroupPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupPermissionsRequest) Reset()
- func (x *ListGroupPermissionsRequest) String() string
- func (m *ListGroupPermissionsRequest) Validate() error
- func (m *ListGroupPermissionsRequest) ValidateAll() error
- type ListGroupPermissionsRequestMultiError
- type ListGroupPermissionsRequestValidationError
- func (e ListGroupPermissionsRequestValidationError) Cause() error
- func (e ListGroupPermissionsRequestValidationError) Error() string
- func (e ListGroupPermissionsRequestValidationError) ErrorName() string
- func (e ListGroupPermissionsRequestValidationError) Field() string
- func (e ListGroupPermissionsRequestValidationError) Key() bool
- func (e ListGroupPermissionsRequestValidationError) Reason() string
- type ListGroupPermissionsResponse
- func (*ListGroupPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupPermissionsResponse) GetPermissions() []*EffectivePermission
- func (*ListGroupPermissionsResponse) ProtoMessage()
- func (x *ListGroupPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListGroupPermissionsResponse) Reset()
- func (x *ListGroupPermissionsResponse) String() string
- func (m *ListGroupPermissionsResponse) Validate() error
- func (m *ListGroupPermissionsResponse) ValidateAll() error
- type ListGroupPermissionsResponseMultiError
- type ListGroupPermissionsResponseValidationError
- func (e ListGroupPermissionsResponseValidationError) Cause() error
- func (e ListGroupPermissionsResponseValidationError) Error() string
- func (e ListGroupPermissionsResponseValidationError) ErrorName() string
- func (e ListGroupPermissionsResponseValidationError) Field() string
- func (e ListGroupPermissionsResponseValidationError) Key() bool
- func (e ListGroupPermissionsResponseValidationError) Reason() string
- type ListGroupUsersRequest
- func (*ListGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupUsersRequest) GetGroupId() int64
- func (x *ListGroupUsersRequest) GetLimit() int32
- func (x *ListGroupUsersRequest) GetOffset() int32
- func (*ListGroupUsersRequest) ProtoMessage()
- func (x *ListGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupUsersRequest) Reset()
- func (x *ListGroupUsersRequest) String() string
- func (m *ListGroupUsersRequest) Validate() error
- func (m *ListGroupUsersRequest) ValidateAll() error
- type ListGroupUsersRequestMultiError
- type ListGroupUsersRequestValidationError
- func (e ListGroupUsersRequestValidationError) Cause() error
- func (e ListGroupUsersRequestValidationError) Error() string
- func (e ListGroupUsersRequestValidationError) ErrorName() string
- func (e ListGroupUsersRequestValidationError) Field() string
- func (e ListGroupUsersRequestValidationError) Key() bool
- func (e ListGroupUsersRequestValidationError) Reason() string
- type ListGroupUsersResponse
- func (*ListGroupUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupUsersResponse) GetUsers() []*GroupUser
- func (*ListGroupUsersResponse) ProtoMessage()
- func (x *ListGroupUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListGroupUsersResponse) Reset()
- func (x *ListGroupUsersResponse) String() string
- func (m *ListGroupUsersResponse) Validate() error
- func (m *ListGroupUsersResponse) ValidateAll() error
- type ListGroupUsersResponseMultiError
- type ListGroupUsersResponseValidationError
- func (e ListGroupUsersResponseValidationError) Cause() error
- func (e ListGroupUsersResponseValidationError) Error() string
- func (e ListGroupUsersResponseValidationError) ErrorName() string
- func (e ListGroupUsersResponseValidationError) Field() string
- func (e ListGroupUsersResponseValidationError) Key() bool
- func (e ListGroupUsersResponseValidationError) Reason() string
- type ListGroupsRequest
- func (*ListGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsRequest) GetAll() bool
- func (x *ListGroupsRequest) GetId() int64
- func (x *ListGroupsRequest) GetLimit() int32
- func (x *ListGroupsRequest) GetOffset() int32
- func (x *ListGroupsRequest) GetSearch() string
- func (*ListGroupsRequest) ProtoMessage()
- func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupsRequest) Reset()
- func (x *ListGroupsRequest) String() string
- func (m *ListGroupsRequest) Validate() error
- func (m *ListGroupsRequest) ValidateAll() error
- type ListGroupsRequestMultiError
- type ListGroupsRequestValidationError
- func (e ListGroupsRequestValidationError) Cause() error
- func (e ListGroupsRequestValidationError) Error() string
- func (e ListGroupsRequestValidationError) ErrorName() string
- func (e ListGroupsRequestValidationError) Field() string
- func (e ListGroupsRequestValidationError) Key() bool
- func (e ListGroupsRequestValidationError) Reason() string
- type ListGroupsResponse
- func (*ListGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsResponse) GetGroups() []*Group
- func (*ListGroupsResponse) ProtoMessage()
- func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListGroupsResponse) Reset()
- func (x *ListGroupsResponse) String() string
- func (m *ListGroupsResponse) Validate() error
- func (m *ListGroupsResponse) ValidateAll() error
- type ListGroupsResponseMultiError
- type ListGroupsResponseValidationError
- func (e ListGroupsResponseValidationError) Cause() error
- func (e ListGroupsResponseValidationError) Error() string
- func (e ListGroupsResponseValidationError) ErrorName() string
- func (e ListGroupsResponseValidationError) Field() string
- func (e ListGroupsResponseValidationError) Key() bool
- func (e ListGroupsResponseValidationError) Reason() string
- type ListPermissionsRequest
- func (*ListPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsRequest) GetAll() bool
- func (x *ListPermissionsRequest) GetId() int64
- func (x *ListPermissionsRequest) GetLimit() int32
- func (x *ListPermissionsRequest) GetOffset() int32
- func (x *ListPermissionsRequest) GetSearch() string
- func (*ListPermissionsRequest) ProtoMessage()
- func (x *ListPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsRequest) Reset()
- func (x *ListPermissionsRequest) String() string
- func (m *ListPermissionsRequest) Validate() error
- func (m *ListPermissionsRequest) ValidateAll() error
- type ListPermissionsRequestMultiError
- type ListPermissionsRequestValidationError
- func (e ListPermissionsRequestValidationError) Cause() error
- func (e ListPermissionsRequestValidationError) Error() string
- func (e ListPermissionsRequestValidationError) ErrorName() string
- func (e ListPermissionsRequestValidationError) Field() string
- func (e ListPermissionsRequestValidationError) Key() bool
- func (e ListPermissionsRequestValidationError) Reason() string
- type ListPermissionsResponse
- func (*ListPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsResponse) GetPermissions() []*Permission
- func (*ListPermissionsResponse) ProtoMessage()
- func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsResponse) Reset()
- func (x *ListPermissionsResponse) String() string
- func (m *ListPermissionsResponse) Validate() error
- func (m *ListPermissionsResponse) ValidateAll() error
- type ListPermissionsResponseMultiError
- type ListPermissionsResponseValidationError
- func (e ListPermissionsResponseValidationError) Cause() error
- func (e ListPermissionsResponseValidationError) Error() string
- func (e ListPermissionsResponseValidationError) ErrorName() string
- func (e ListPermissionsResponseValidationError) Field() string
- func (e ListPermissionsResponseValidationError) Key() bool
- func (e ListPermissionsResponseValidationError) Reason() string
- type ListUserGroupsRequest
- func (*ListUserGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserGroupsRequest) GetAll() bool
- func (x *ListUserGroupsRequest) GetLimit() int32
- func (x *ListUserGroupsRequest) GetOffset() int32
- func (x *ListUserGroupsRequest) GetUserId() int64
- func (*ListUserGroupsRequest) ProtoMessage()
- func (x *ListUserGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserGroupsRequest) Reset()
- func (x *ListUserGroupsRequest) String() string
- func (m *ListUserGroupsRequest) Validate() error
- func (m *ListUserGroupsRequest) ValidateAll() error
- type ListUserGroupsRequestMultiError
- type ListUserGroupsRequestValidationError
- func (e ListUserGroupsRequestValidationError) Cause() error
- func (e ListUserGroupsRequestValidationError) Error() string
- func (e ListUserGroupsRequestValidationError) ErrorName() string
- func (e ListUserGroupsRequestValidationError) Field() string
- func (e ListUserGroupsRequestValidationError) Key() bool
- func (e ListUserGroupsRequestValidationError) Reason() string
- type ListUserGroupsResponse
- func (*ListUserGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserGroupsResponse) GetGroups() []*UserGroup
- func (*ListUserGroupsResponse) ProtoMessage()
- func (x *ListUserGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserGroupsResponse) Reset()
- func (x *ListUserGroupsResponse) String() string
- func (m *ListUserGroupsResponse) Validate() error
- func (m *ListUserGroupsResponse) ValidateAll() error
- type ListUserGroupsResponseMultiError
- type ListUserGroupsResponseValidationError
- func (e ListUserGroupsResponseValidationError) Cause() error
- func (e ListUserGroupsResponseValidationError) Error() string
- func (e ListUserGroupsResponseValidationError) ErrorName() string
- func (e ListUserGroupsResponseValidationError) Field() string
- func (e ListUserGroupsResponseValidationError) Key() bool
- func (e ListUserGroupsResponseValidationError) Reason() string
- type ListUserPermissionsRequest
- func (*ListUserPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserPermissionsRequest) GetUserId() int64
- func (*ListUserPermissionsRequest) ProtoMessage()
- func (x *ListUserPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserPermissionsRequest) Reset()
- func (x *ListUserPermissionsRequest) String() string
- func (m *ListUserPermissionsRequest) Validate() error
- func (m *ListUserPermissionsRequest) ValidateAll() error
- type ListUserPermissionsRequestMultiError
- type ListUserPermissionsRequestValidationError
- func (e ListUserPermissionsRequestValidationError) Cause() error
- func (e ListUserPermissionsRequestValidationError) Error() string
- func (e ListUserPermissionsRequestValidationError) ErrorName() string
- func (e ListUserPermissionsRequestValidationError) Field() string
- func (e ListUserPermissionsRequestValidationError) Key() bool
- func (e ListUserPermissionsRequestValidationError) Reason() string
- type ListUserPermissionsResponse
- func (*ListUserPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserPermissionsResponse) GetPermissions() []*EffectivePermission
- func (*ListUserPermissionsResponse) ProtoMessage()
- func (x *ListUserPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserPermissionsResponse) Reset()
- func (x *ListUserPermissionsResponse) String() string
- func (m *ListUserPermissionsResponse) Validate() error
- func (m *ListUserPermissionsResponse) ValidateAll() error
- type ListUserPermissionsResponseMultiError
- type ListUserPermissionsResponseValidationError
- func (e ListUserPermissionsResponseValidationError) Cause() error
- func (e ListUserPermissionsResponseValidationError) Error() string
- func (e ListUserPermissionsResponseValidationError) ErrorName() string
- func (e ListUserPermissionsResponseValidationError) Field() string
- func (e ListUserPermissionsResponseValidationError) Key() bool
- func (e ListUserPermissionsResponseValidationError) Reason() string
- type ListUserProfilesRequest
- func (*ListUserProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserProfilesRequest) GetLimit() int32
- func (x *ListUserProfilesRequest) GetOffset() int32
- func (x *ListUserProfilesRequest) GetUserUuid() string
- func (*ListUserProfilesRequest) ProtoMessage()
- func (x *ListUserProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserProfilesRequest) Reset()
- func (x *ListUserProfilesRequest) String() string
- func (m *ListUserProfilesRequest) Validate() error
- func (m *ListUserProfilesRequest) ValidateAll() error
- type ListUserProfilesRequestMultiError
- type ListUserProfilesRequestValidationError
- func (e ListUserProfilesRequestValidationError) Cause() error
- func (e ListUserProfilesRequestValidationError) Error() string
- func (e ListUserProfilesRequestValidationError) ErrorName() string
- func (e ListUserProfilesRequestValidationError) Field() string
- func (e ListUserProfilesRequestValidationError) Key() bool
- func (e ListUserProfilesRequestValidationError) Reason() string
- type ListUserProfilesResponse
- func (*ListUserProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserProfilesResponse) GetProfiles() []*UserProfile
- func (*ListUserProfilesResponse) ProtoMessage()
- func (x *ListUserProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserProfilesResponse) Reset()
- func (x *ListUserProfilesResponse) String() string
- func (m *ListUserProfilesResponse) Validate() error
- func (m *ListUserProfilesResponse) ValidateAll() error
- type ListUserProfilesResponseMultiError
- type ListUserProfilesResponseValidationError
- func (e ListUserProfilesResponseValidationError) Cause() error
- func (e ListUserProfilesResponseValidationError) Error() string
- func (e ListUserProfilesResponseValidationError) ErrorName() string
- func (e ListUserProfilesResponseValidationError) Field() string
- func (e ListUserProfilesResponseValidationError) Key() bool
- func (e ListUserProfilesResponseValidationError) Reason() string
- type ListUserSessionsRequest
- func (*ListUserSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserSessionsRequest) GetActiveOnly() bool
- func (x *ListUserSessionsRequest) GetLimit() int32
- func (x *ListUserSessionsRequest) GetOffset() int32
- func (x *ListUserSessionsRequest) GetUserUuid() string
- func (*ListUserSessionsRequest) ProtoMessage()
- func (x *ListUserSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserSessionsRequest) Reset()
- func (x *ListUserSessionsRequest) String() string
- func (m *ListUserSessionsRequest) Validate() error
- func (m *ListUserSessionsRequest) ValidateAll() error
- type ListUserSessionsRequestMultiError
- type ListUserSessionsRequestValidationError
- func (e ListUserSessionsRequestValidationError) Cause() error
- func (e ListUserSessionsRequestValidationError) Error() string
- func (e ListUserSessionsRequestValidationError) ErrorName() string
- func (e ListUserSessionsRequestValidationError) Field() string
- func (e ListUserSessionsRequestValidationError) Key() bool
- func (e ListUserSessionsRequestValidationError) Reason() string
- type ListUserSessionsResponse
- func (*ListUserSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserSessionsResponse) GetSessions() []*Session
- func (*ListUserSessionsResponse) ProtoMessage()
- func (x *ListUserSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserSessionsResponse) Reset()
- func (x *ListUserSessionsResponse) String() string
- func (m *ListUserSessionsResponse) Validate() error
- func (m *ListUserSessionsResponse) ValidateAll() error
- type ListUserSessionsResponseMultiError
- type ListUserSessionsResponseValidationError
- func (e ListUserSessionsResponseValidationError) Cause() error
- func (e ListUserSessionsResponseValidationError) Error() string
- func (e ListUserSessionsResponseValidationError) ErrorName() string
- func (e ListUserSessionsResponseValidationError) Field() string
- func (e ListUserSessionsResponseValidationError) Key() bool
- func (e ListUserSessionsResponseValidationError) Reason() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetLimit() int32
- func (x *ListUsersRequest) GetOffset() int32
- func (x *ListUsersRequest) GetSearch() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- func (m *ListUsersRequest) Validate() error
- func (m *ListUsersRequest) ValidateAll() error
- type ListUsersRequestMultiError
- type ListUsersRequestValidationError
- func (e ListUsersRequestValidationError) Cause() error
- func (e ListUsersRequestValidationError) Error() string
- func (e ListUsersRequestValidationError) ErrorName() string
- func (e ListUsersRequestValidationError) Field() string
- func (e ListUsersRequestValidationError) Key() bool
- func (e ListUsersRequestValidationError) Reason() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- func (m *ListUsersResponse) Validate() error
- func (m *ListUsersResponse) ValidateAll() error
- type ListUsersResponseMultiError
- type ListUsersResponseValidationError
- func (e ListUsersResponseValidationError) Cause() error
- func (e ListUsersResponseValidationError) Error() string
- func (e ListUsersResponseValidationError) ErrorName() string
- func (e ListUsersResponseValidationError) Field() string
- func (e ListUsersResponseValidationError) Key() bool
- func (e ListUsersResponseValidationError) Reason() string
- type LogoutRequest
- func (*LogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutRequest) GetAllSessions() bool
- func (x *LogoutRequest) GetSessionId() string
- func (*LogoutRequest) ProtoMessage()
- func (x *LogoutRequest) ProtoReflect() protoreflect.Message
- func (x *LogoutRequest) Reset()
- func (x *LogoutRequest) String() string
- func (m *LogoutRequest) Validate() error
- func (m *LogoutRequest) ValidateAll() error
- type LogoutRequestMultiError
- type LogoutRequestValidationError
- func (e LogoutRequestValidationError) Cause() error
- func (e LogoutRequestValidationError) Error() string
- func (e LogoutRequestValidationError) ErrorName() string
- func (e LogoutRequestValidationError) Field() string
- func (e LogoutRequestValidationError) Key() bool
- func (e LogoutRequestValidationError) Reason() string
- type LogoutResponse
- func (*LogoutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutResponse) GetMessage() string
- func (x *LogoutResponse) GetSessionsTerminated() int32
- func (x *LogoutResponse) GetSuccess() bool
- func (*LogoutResponse) ProtoMessage()
- func (x *LogoutResponse) ProtoReflect() protoreflect.Message
- func (x *LogoutResponse) Reset()
- func (x *LogoutResponse) String() string
- func (m *LogoutResponse) Validate() error
- func (m *LogoutResponse) ValidateAll() error
- type LogoutResponseMultiError
- type LogoutResponseValidationError
- func (e LogoutResponseValidationError) Cause() error
- func (e LogoutResponseValidationError) Error() string
- func (e LogoutResponseValidationError) ErrorName() string
- func (e LogoutResponseValidationError) Field() string
- func (e LogoutResponseValidationError) Key() bool
- func (e LogoutResponseValidationError) Reason() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetOptions() []string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) Validate() error
- func (m *Metadata) ValidateAll() error
- type MetadataMultiError
- type MetadataValidationError
- type OpenAuthClient
- type OpenAuthServer
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetCreatedAt() int64
- func (x *Permission) GetCreatedBy() int64
- func (x *Permission) GetDescription() string
- func (x *Permission) GetDisplayName() string
- func (x *Permission) GetId() int64
- func (x *Permission) GetIsSystem() bool
- func (x *Permission) GetName() string
- func (x *Permission) GetUpdatedAt() int64
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- func (m *Permission) Validate() error
- func (m *Permission) ValidateAll() error
- type PermissionMultiError
- type PermissionValidationError
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PingRequest) GetMessage() string
- func (*PingRequest) ProtoMessage()
- func (x *PingRequest) ProtoReflect() protoreflect.Message
- func (x *PingRequest) Reset()
- func (x *PingRequest) String() string
- func (m *PingRequest) Validate() error
- func (m *PingRequest) ValidateAll() error
- type PingRequestMultiError
- type PingRequestValidationError
- func (e PingRequestValidationError) Cause() error
- func (e PingRequestValidationError) Error() string
- func (e PingRequestValidationError) ErrorName() string
- func (e PingRequestValidationError) Field() string
- func (e PingRequestValidationError) Key() bool
- func (e PingRequestValidationError) Reason() string
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingResponse) GetMessage() string
- func (*PingResponse) ProtoMessage()
- func (x *PingResponse) ProtoReflect() protoreflect.Message
- func (x *PingResponse) Reset()
- func (x *PingResponse) String() string
- func (m *PingResponse) Validate() error
- func (m *PingResponse) ValidateAll() error
- type PingResponseMultiError
- type PingResponseValidationError
- func (e PingResponseValidationError) Cause() error
- func (e PingResponseValidationError) Error() string
- func (e PingResponseValidationError) ErrorName() string
- func (e PingResponseValidationError) Field() string
- func (e PingResponseValidationError) Key() bool
- func (e PingResponseValidationError) Reason() string
- type RefreshTokenRequest
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenRequest) GetDeviceId() string
- func (x *RefreshTokenRequest) GetIncludePermissions() bool
- func (x *RefreshTokenRequest) GetProfiles() bool
- func (x *RefreshTokenRequest) GetRefreshToken() string
- func (*RefreshTokenRequest) ProtoMessage()
- func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRequest) Reset()
- func (x *RefreshTokenRequest) String() string
- func (m *RefreshTokenRequest) Validate() error
- func (m *RefreshTokenRequest) ValidateAll() error
- type RefreshTokenRequestMultiError
- type RefreshTokenRequestValidationError
- func (e RefreshTokenRequestValidationError) Cause() error
- func (e RefreshTokenRequestValidationError) Error() string
- func (e RefreshTokenRequestValidationError) ErrorName() string
- func (e RefreshTokenRequestValidationError) Field() string
- func (e RefreshTokenRequestValidationError) Key() bool
- func (e RefreshTokenRequestValidationError) Reason() string
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenResponse) GetAccessToken() string
- func (x *RefreshTokenResponse) GetExpiresAt() int64
- func (x *RefreshTokenResponse) GetMessage() string
- func (x *RefreshTokenResponse) GetRefreshExpiresAt() int64
- func (x *RefreshTokenResponse) GetRefreshToken() string
- func (*RefreshTokenResponse) ProtoMessage()
- func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenResponse) Reset()
- func (x *RefreshTokenResponse) String() string
- func (m *RefreshTokenResponse) Validate() error
- func (m *RefreshTokenResponse) ValidateAll() error
- type RefreshTokenResponseMultiError
- type RefreshTokenResponseValidationError
- func (e RefreshTokenResponseValidationError) Cause() error
- func (e RefreshTokenResponseValidationError) Error() string
- func (e RefreshTokenResponseValidationError) ErrorName() string
- func (e RefreshTokenResponseValidationError) Field() string
- func (e RefreshTokenResponseValidationError) Key() bool
- func (e RefreshTokenResponseValidationError) Reason() string
- type RemovePermissionsFromGroupRequest
- func (*RemovePermissionsFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePermissionsFromGroupRequest) GetGroupId() int64
- func (x *RemovePermissionsFromGroupRequest) GetPermissionsIds() []int64
- func (*RemovePermissionsFromGroupRequest) ProtoMessage()
- func (x *RemovePermissionsFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePermissionsFromGroupRequest) Reset()
- func (x *RemovePermissionsFromGroupRequest) String() string
- func (m *RemovePermissionsFromGroupRequest) Validate() error
- func (m *RemovePermissionsFromGroupRequest) ValidateAll() error
- type RemovePermissionsFromGroupRequestMultiError
- type RemovePermissionsFromGroupRequestValidationError
- func (e RemovePermissionsFromGroupRequestValidationError) Cause() error
- func (e RemovePermissionsFromGroupRequestValidationError) Error() string
- func (e RemovePermissionsFromGroupRequestValidationError) ErrorName() string
- func (e RemovePermissionsFromGroupRequestValidationError) Field() string
- func (e RemovePermissionsFromGroupRequestValidationError) Key() bool
- func (e RemovePermissionsFromGroupRequestValidationError) Reason() string
- type RemovePermissionsFromGroupResponse
- func (*RemovePermissionsFromGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePermissionsFromGroupResponse) GetMessage() string
- func (x *RemovePermissionsFromGroupResponse) GetSuccess() bool
- func (*RemovePermissionsFromGroupResponse) ProtoMessage()
- func (x *RemovePermissionsFromGroupResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePermissionsFromGroupResponse) Reset()
- func (x *RemovePermissionsFromGroupResponse) String() string
- func (m *RemovePermissionsFromGroupResponse) Validate() error
- func (m *RemovePermissionsFromGroupResponse) ValidateAll() error
- type RemovePermissionsFromGroupResponseMultiError
- type RemovePermissionsFromGroupResponseValidationError
- func (e RemovePermissionsFromGroupResponseValidationError) Cause() error
- func (e RemovePermissionsFromGroupResponseValidationError) Error() string
- func (e RemovePermissionsFromGroupResponseValidationError) ErrorName() string
- func (e RemovePermissionsFromGroupResponseValidationError) Field() string
- func (e RemovePermissionsFromGroupResponseValidationError) Key() bool
- func (e RemovePermissionsFromGroupResponseValidationError) Reason() string
- type RemovePermissionsFromUserRequest
- func (*RemovePermissionsFromUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePermissionsFromUserRequest) GetPermissionsIds() []int64
- func (x *RemovePermissionsFromUserRequest) GetUserId() int64
- func (*RemovePermissionsFromUserRequest) ProtoMessage()
- func (x *RemovePermissionsFromUserRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePermissionsFromUserRequest) Reset()
- func (x *RemovePermissionsFromUserRequest) String() string
- func (m *RemovePermissionsFromUserRequest) Validate() error
- func (m *RemovePermissionsFromUserRequest) ValidateAll() error
- type RemovePermissionsFromUserRequestMultiError
- type RemovePermissionsFromUserRequestValidationError
- func (e RemovePermissionsFromUserRequestValidationError) Cause() error
- func (e RemovePermissionsFromUserRequestValidationError) Error() string
- func (e RemovePermissionsFromUserRequestValidationError) ErrorName() string
- func (e RemovePermissionsFromUserRequestValidationError) Field() string
- func (e RemovePermissionsFromUserRequestValidationError) Key() bool
- func (e RemovePermissionsFromUserRequestValidationError) Reason() string
- type RemovePermissionsFromUserResponse
- func (*RemovePermissionsFromUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePermissionsFromUserResponse) GetMessage() string
- func (x *RemovePermissionsFromUserResponse) GetSuccess() bool
- func (*RemovePermissionsFromUserResponse) ProtoMessage()
- func (x *RemovePermissionsFromUserResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePermissionsFromUserResponse) Reset()
- func (x *RemovePermissionsFromUserResponse) String() string
- func (m *RemovePermissionsFromUserResponse) Validate() error
- func (m *RemovePermissionsFromUserResponse) ValidateAll() error
- type RemovePermissionsFromUserResponseMultiError
- type RemovePermissionsFromUserResponseValidationError
- func (e RemovePermissionsFromUserResponseValidationError) Cause() error
- func (e RemovePermissionsFromUserResponseValidationError) Error() string
- func (e RemovePermissionsFromUserResponseValidationError) ErrorName() string
- func (e RemovePermissionsFromUserResponseValidationError) Field() string
- func (e RemovePermissionsFromUserResponseValidationError) Key() bool
- func (e RemovePermissionsFromUserResponseValidationError) Reason() string
- type RemoveUsersFromGroupRequest
- func (*RemoveUsersFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUsersFromGroupRequest) GetGroupId() int64
- func (x *RemoveUsersFromGroupRequest) GetUserIds() []int64
- func (*RemoveUsersFromGroupRequest) ProtoMessage()
- func (x *RemoveUsersFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUsersFromGroupRequest) Reset()
- func (x *RemoveUsersFromGroupRequest) String() string
- func (m *RemoveUsersFromGroupRequest) Validate() error
- func (m *RemoveUsersFromGroupRequest) ValidateAll() error
- type RemoveUsersFromGroupRequestMultiError
- type RemoveUsersFromGroupRequestValidationError
- func (e RemoveUsersFromGroupRequestValidationError) Cause() error
- func (e RemoveUsersFromGroupRequestValidationError) Error() string
- func (e RemoveUsersFromGroupRequestValidationError) ErrorName() string
- func (e RemoveUsersFromGroupRequestValidationError) Field() string
- func (e RemoveUsersFromGroupRequestValidationError) Key() bool
- func (e RemoveUsersFromGroupRequestValidationError) Reason() string
- type RemoveUsersFromGroupResponse
- func (*RemoveUsersFromGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUsersFromGroupResponse) GetMessage() string
- func (x *RemoveUsersFromGroupResponse) GetSuccess() bool
- func (*RemoveUsersFromGroupResponse) ProtoMessage()
- func (x *RemoveUsersFromGroupResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveUsersFromGroupResponse) Reset()
- func (x *RemoveUsersFromGroupResponse) String() string
- func (m *RemoveUsersFromGroupResponse) Validate() error
- func (m *RemoveUsersFromGroupResponse) ValidateAll() error
- type RemoveUsersFromGroupResponseMultiError
- type RemoveUsersFromGroupResponseValidationError
- func (e RemoveUsersFromGroupResponseValidationError) Cause() error
- func (e RemoveUsersFromGroupResponseValidationError) Error() string
- func (e RemoveUsersFromGroupResponseValidationError) ErrorName() string
- func (e RemoveUsersFromGroupResponseValidationError) Field() string
- func (e RemoveUsersFromGroupResponseValidationError) Key() bool
- func (e RemoveUsersFromGroupResponseValidationError) Reason() string
- type RequestHeaders
- func (*RequestHeaders) Descriptor() ([]byte, []int)deprecated
- func (x *RequestHeaders) GetAuthorization() string
- func (x *RequestHeaders) GetXClientId() string
- func (x *RequestHeaders) GetXClientVersion() string
- func (*RequestHeaders) ProtoMessage()
- func (x *RequestHeaders) ProtoReflect() protoreflect.Message
- func (x *RequestHeaders) Reset()
- func (x *RequestHeaders) String() string
- func (m *RequestHeaders) Validate() error
- func (m *RequestHeaders) ValidateAll() error
- type RequestHeadersMultiError
- type RequestHeadersValidationError
- func (e RequestHeadersValidationError) Cause() error
- func (e RequestHeadersValidationError) Error() string
- func (e RequestHeadersValidationError) ErrorName() string
- func (e RequestHeadersValidationError) Field() string
- func (e RequestHeadersValidationError) Key() bool
- func (e RequestHeadersValidationError) Reason() string
- type SendVerificationCodeRequest
- func (*SendVerificationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendVerificationCodeRequest) GetIdentifier() string
- func (*SendVerificationCodeRequest) ProtoMessage()
- func (x *SendVerificationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *SendVerificationCodeRequest) Reset()
- func (x *SendVerificationCodeRequest) String() string
- func (m *SendVerificationCodeRequest) Validate() error
- func (m *SendVerificationCodeRequest) ValidateAll() error
- type SendVerificationCodeRequestMultiError
- type SendVerificationCodeRequestValidationError
- func (e SendVerificationCodeRequestValidationError) Cause() error
- func (e SendVerificationCodeRequestValidationError) Error() string
- func (e SendVerificationCodeRequestValidationError) ErrorName() string
- func (e SendVerificationCodeRequestValidationError) Field() string
- func (e SendVerificationCodeRequestValidationError) Key() bool
- func (e SendVerificationCodeRequestValidationError) Reason() string
- type SendVerificationCodeResponse
- func (*SendVerificationCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendVerificationCodeResponse) GetExpiresAt() int64
- func (x *SendVerificationCodeResponse) GetId() int64
- func (x *SendVerificationCodeResponse) GetMessage() string
- func (x *SendVerificationCodeResponse) GetResendAfter() int64
- func (x *SendVerificationCodeResponse) GetSent() bool
- func (*SendVerificationCodeResponse) ProtoMessage()
- func (x *SendVerificationCodeResponse) ProtoReflect() protoreflect.Message
- func (x *SendVerificationCodeResponse) Reset()
- func (x *SendVerificationCodeResponse) String() string
- func (m *SendVerificationCodeResponse) Validate() error
- func (m *SendVerificationCodeResponse) ValidateAll() error
- type SendVerificationCodeResponseMultiError
- type SendVerificationCodeResponseValidationError
- func (e SendVerificationCodeResponseValidationError) Cause() error
- func (e SendVerificationCodeResponseValidationError) Error() string
- func (e SendVerificationCodeResponseValidationError) ErrorName() string
- func (e SendVerificationCodeResponseValidationError) Field() string
- func (e SendVerificationCodeResponseValidationError) Key() bool
- func (e SendVerificationCodeResponseValidationError) Reason() string
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCreatedAt() int64
- func (x *Session) GetDeviceId() string
- func (x *Session) GetDeviceName() string
- func (x *Session) GetDeviceType() string
- func (x *Session) GetExpiresAt() int64
- func (x *Session) GetId() string
- func (x *Session) GetIpAddress() string
- func (x *Session) GetIsActive() bool
- func (x *Session) GetLastActivityAt() int64
- func (x *Session) GetLocation() string
- func (x *Session) GetUserAgent() string
- func (x *Session) GetUserId() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- func (m *Session) Validate() error
- func (m *Session) ValidateAll() error
- type SessionMultiError
- type SessionValidationError
- type SignInMetadata
- func (*SignInMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SignInMetadata) GetDeviceId() string
- func (x *SignInMetadata) GetDeviceName() string
- func (x *SignInMetadata) GetDeviceType() string
- func (x *SignInMetadata) GetLat() float64
- func (x *SignInMetadata) GetLong() float64
- func (*SignInMetadata) ProtoMessage()
- func (x *SignInMetadata) ProtoReflect() protoreflect.Message
- func (x *SignInMetadata) Reset()
- func (x *SignInMetadata) String() string
- func (m *SignInMetadata) Validate() error
- func (m *SignInMetadata) ValidateAll() error
- type SignInMetadataMultiError
- type SignInMetadataValidationError
- func (e SignInMetadataValidationError) Cause() error
- func (e SignInMetadataValidationError) Error() string
- func (e SignInMetadataValidationError) ErrorName() string
- func (e SignInMetadataValidationError) Field() string
- func (e SignInMetadataValidationError) Key() bool
- func (e SignInMetadataValidationError) Reason() string
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest) GetIncludePermissions() bool
- func (x *SignInRequest) GetMetadata() *SignInMetadata
- func (x *SignInRequest) GetOtp() string
- func (x *SignInRequest) GetPassword() string
- func (x *SignInRequest) GetProfiles() bool
- func (x *SignInRequest) GetRememberMe() bool
- func (x *SignInRequest) GetUsername() string
- func (x *SignInRequest) GetVerificationId() int64
- func (*SignInRequest) ProtoMessage()
- func (x *SignInRequest) ProtoReflect() protoreflect.Message
- func (x *SignInRequest) Reset()
- func (x *SignInRequest) String() string
- func (m *SignInRequest) Validate() error
- func (m *SignInRequest) ValidateAll() error
- type SignInRequestMultiError
- type SignInRequestValidationError
- func (e SignInRequestValidationError) Cause() error
- func (e SignInRequestValidationError) Error() string
- func (e SignInRequestValidationError) ErrorName() string
- func (e SignInRequestValidationError) Field() string
- func (e SignInRequestValidationError) Key() bool
- func (e SignInRequestValidationError) Reason() string
- type SignInResponse
- func (*SignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignInResponse) GetAccessToken() string
- func (x *SignInResponse) GetExpiresAt() int64
- func (x *SignInResponse) GetMessage() string
- func (x *SignInResponse) GetRefreshExpiresAt() int64
- func (x *SignInResponse) GetRefreshToken() string
- func (x *SignInResponse) GetSessionId() string
- func (x *SignInResponse) GetUser() *User
- func (*SignInResponse) ProtoMessage()
- func (x *SignInResponse) ProtoReflect() protoreflect.Message
- func (x *SignInResponse) Reset()
- func (x *SignInResponse) String() string
- func (m *SignInResponse) Validate() error
- func (m *SignInResponse) ValidateAll() error
- type SignInResponseMultiError
- type SignInResponseValidationError
- func (e SignInResponseValidationError) Cause() error
- func (e SignInResponseValidationError) Error() string
- func (e SignInResponseValidationError) ErrorName() string
- func (e SignInResponseValidationError) Field() string
- func (e SignInResponseValidationError) Key() bool
- func (e SignInResponseValidationError) Reason() string
- type SignUpRequest
- func (*SignUpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpRequest) GetEmail() string
- func (x *SignUpRequest) GetName() string
- func (x *SignUpRequest) GetPassword() string
- func (x *SignUpRequest) GetPhone() string
- func (x *SignUpRequest) GetUsername() string
- func (*SignUpRequest) ProtoMessage()
- func (x *SignUpRequest) ProtoReflect() protoreflect.Message
- func (x *SignUpRequest) Reset()
- func (x *SignUpRequest) String() string
- func (m *SignUpRequest) Validate() error
- func (m *SignUpRequest) ValidateAll() error
- type SignUpRequestMultiError
- type SignUpRequestValidationError
- func (e SignUpRequestValidationError) Cause() error
- func (e SignUpRequestValidationError) Error() string
- func (e SignUpRequestValidationError) ErrorName() string
- func (e SignUpRequestValidationError) Field() string
- func (e SignUpRequestValidationError) Key() bool
- func (e SignUpRequestValidationError) Reason() string
- type SignUpResponse
- func (*SignUpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpResponse) GetEmailVerificationRequired() bool
- func (x *SignUpResponse) GetMessage() string
- func (x *SignUpResponse) GetPhoneVerificationRequired() bool
- func (x *SignUpResponse) GetUser() *User
- func (*SignUpResponse) ProtoMessage()
- func (x *SignUpResponse) ProtoReflect() protoreflect.Message
- func (x *SignUpResponse) Reset()
- func (x *SignUpResponse) String() string
- func (m *SignUpResponse) Validate() error
- func (m *SignUpResponse) ValidateAll() error
- type SignUpResponseMultiError
- type SignUpResponseValidationError
- func (e SignUpResponseValidationError) Cause() error
- func (e SignUpResponseValidationError) Error() string
- func (e SignUpResponseValidationError) ErrorName() string
- func (e SignUpResponseValidationError) Field() string
- func (e SignUpResponseValidationError) Key() bool
- func (e SignUpResponseValidationError) Reason() string
- type SortOrder
- type StatsRequest
- func (*StatsRequest) Descriptor() ([]byte, []int)deprecated
- func (*StatsRequest) ProtoMessage()
- func (x *StatsRequest) ProtoReflect() protoreflect.Message
- func (x *StatsRequest) Reset()
- func (x *StatsRequest) String() string
- func (m *StatsRequest) Validate() error
- func (m *StatsRequest) ValidateAll() error
- type StatsRequestMultiError
- type StatsRequestValidationError
- func (e StatsRequestValidationError) Cause() error
- func (e StatsRequestValidationError) Error() string
- func (e StatsRequestValidationError) ErrorName() string
- func (e StatsRequestValidationError) Field() string
- func (e StatsRequestValidationError) Key() bool
- func (e StatsRequestValidationError) Reason() string
- type StatsResponse
- func (*StatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatsResponse) GetActiveUsers() int64
- func (x *StatsResponse) GetTotalGroups() int64
- func (x *StatsResponse) GetTotalPermissions() int64
- func (x *StatsResponse) GetTotalUsers() int64
- func (*StatsResponse) ProtoMessage()
- func (x *StatsResponse) ProtoReflect() protoreflect.Message
- func (x *StatsResponse) Reset()
- func (x *StatsResponse) String() string
- func (m *StatsResponse) Validate() error
- func (m *StatsResponse) ValidateAll() error
- type StatsResponseMultiError
- type StatsResponseValidationError
- func (e StatsResponseValidationError) Cause() error
- func (e StatsResponseValidationError) Error() string
- func (e StatsResponseValidationError) ErrorName() string
- func (e StatsResponseValidationError) Field() string
- func (e StatsResponseValidationError) Key() bool
- func (e StatsResponseValidationError) Reason() string
- type TerminateSessionRequest
- func (*TerminateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateSessionRequest) GetSessionId() string
- func (x *TerminateSessionRequest) GetUserId() string
- func (*TerminateSessionRequest) ProtoMessage()
- func (x *TerminateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *TerminateSessionRequest) Reset()
- func (x *TerminateSessionRequest) String() string
- func (m *TerminateSessionRequest) Validate() error
- func (m *TerminateSessionRequest) ValidateAll() error
- type TerminateSessionRequestMultiError
- type TerminateSessionRequestValidationError
- func (e TerminateSessionRequestValidationError) Cause() error
- func (e TerminateSessionRequestValidationError) Error() string
- func (e TerminateSessionRequestValidationError) ErrorName() string
- func (e TerminateSessionRequestValidationError) Field() string
- func (e TerminateSessionRequestValidationError) Key() bool
- func (e TerminateSessionRequestValidationError) Reason() string
- type TerminateSessionResponse
- func (*TerminateSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateSessionResponse) GetMessage() string
- func (x *TerminateSessionResponse) GetSuccess() bool
- func (*TerminateSessionResponse) ProtoMessage()
- func (x *TerminateSessionResponse) ProtoReflect() protoreflect.Message
- func (x *TerminateSessionResponse) Reset()
- func (x *TerminateSessionResponse) String() string
- func (m *TerminateSessionResponse) Validate() error
- func (m *TerminateSessionResponse) ValidateAll() error
- type TerminateSessionResponseMultiError
- type TerminateSessionResponseValidationError
- func (e TerminateSessionResponseValidationError) Cause() error
- func (e TerminateSessionResponseValidationError) Error() string
- func (e TerminateSessionResponseValidationError) ErrorName() string
- func (e TerminateSessionResponseValidationError) Field() string
- func (e TerminateSessionResponseValidationError) Key() bool
- func (e TerminateSessionResponseValidationError) Reason() string
- type UnimplementedOpenAuthServer
- func (UnimplementedOpenAuthServer) AssignPermissionsToGroup(context.Context, *AssignPermissionsToGroupRequest) (*AssignPermissionsToGroupResponse, error)
- func (UnimplementedOpenAuthServer) AssignPermissionsToUser(context.Context, *AssignPermissionsToUserRequest) (*AssignPermissionsToUserResponse, error)
- func (UnimplementedOpenAuthServer) AssignUsersToGroup(context.Context, *AssignUsersToGroupRequest) (*AssignUsersToGroupResponse, error)
- func (UnimplementedOpenAuthServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (UnimplementedOpenAuthServer) CheckEmail(context.Context, *CheckEmailRequest) (*CheckEmailResponse, error)
- func (UnimplementedOpenAuthServer) CheckUsername(context.Context, *CheckUsernameRequest) (*CheckUsernameResponse, error)
- func (UnimplementedOpenAuthServer) CreateConfig(context.Context, *CreateConfigRequest) (*Config, error)
- func (UnimplementedOpenAuthServer) CreateConfigEntity(context.Context, *CreateConfigEntityRequest) (*ConfigEntity, error)
- func (UnimplementedOpenAuthServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
- func (UnimplementedOpenAuthServer) CreatePermission(context.Context, *CreatePermissionRequest) (*Permission, error)
- func (UnimplementedOpenAuthServer) CreateProfile(context.Context, *CreateProfileRequest) (*CreateProfileResponse, error)
- func (UnimplementedOpenAuthServer) DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteResponse, error)
- func (UnimplementedOpenAuthServer) DeleteConfigEntity(context.Context, *DeleteConfigEntityRequest) (*DeleteResponse, error)
- func (UnimplementedOpenAuthServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
- func (UnimplementedOpenAuthServer) DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error)
- func (UnimplementedOpenAuthServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
- func (UnimplementedOpenAuthServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedOpenAuthServer) GetConfig(context.Context, *GetConfigRequest) (*Config, error)
- func (UnimplementedOpenAuthServer) GetConfigEntity(context.Context, *GetConfigEntityRequest) (*ConfigEntity, error)
- func (UnimplementedOpenAuthServer) GetConfigsByKeys(context.Context, *GetConfigsByKeysRequest) (*GetConfigsByKeysResponse, error)
- func (UnimplementedOpenAuthServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
- func (UnimplementedOpenAuthServer) GetPermission(context.Context, *GetPermissionRequest) (*Permission, error)
- func (UnimplementedOpenAuthServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedOpenAuthServer) GetUserEffectivePermissions(context.Context, *GetUserEffectivePermissionsRequest) (*GetUserEffectivePermissionsResponse, error)
- func (UnimplementedOpenAuthServer) ListConfigEntities(context.Context, *ListConfigEntitiesRequest) (*ListConfigEntitiesResponse, error)
- func (UnimplementedOpenAuthServer) ListConfigs(context.Context, *ListConfigsRequest) (*ListConfigsResponse, error)
- func (UnimplementedOpenAuthServer) ListGroupPermissions(context.Context, *ListGroupPermissionsRequest) (*ListGroupPermissionsResponse, error)
- func (UnimplementedOpenAuthServer) ListGroupUsers(context.Context, *ListGroupUsersRequest) (*ListGroupUsersResponse, error)
- func (UnimplementedOpenAuthServer) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
- func (UnimplementedOpenAuthServer) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
- func (UnimplementedOpenAuthServer) ListUserGroups(context.Context, *ListUserGroupsRequest) (*ListUserGroupsResponse, error)
- func (UnimplementedOpenAuthServer) ListUserPermissions(context.Context, *ListUserPermissionsRequest) (*ListUserPermissionsResponse, error)
- func (UnimplementedOpenAuthServer) ListUserProfiles(context.Context, *ListUserProfilesRequest) (*ListUserProfilesResponse, error)
- func (UnimplementedOpenAuthServer) ListUserSessions(context.Context, *ListUserSessionsRequest) (*ListUserSessionsResponse, error)
- func (UnimplementedOpenAuthServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedOpenAuthServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedOpenAuthServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedOpenAuthServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
- func (UnimplementedOpenAuthServer) RemovePermissionsFromGroup(context.Context, *RemovePermissionsFromGroupRequest) (*RemovePermissionsFromGroupResponse, error)
- func (UnimplementedOpenAuthServer) RemovePermissionsFromUser(context.Context, *RemovePermissionsFromUserRequest) (*RemovePermissionsFromUserResponse, error)
- func (UnimplementedOpenAuthServer) RemoveUsersFromGroup(context.Context, *RemoveUsersFromGroupRequest) (*RemoveUsersFromGroupResponse, error)
- func (UnimplementedOpenAuthServer) SendVerificationCode(context.Context, *SendVerificationCodeRequest) (*SendVerificationCodeResponse, error)
- func (UnimplementedOpenAuthServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
- func (UnimplementedOpenAuthServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
- func (UnimplementedOpenAuthServer) Stats(context.Context, *StatsRequest) (*StatsResponse, error)
- func (UnimplementedOpenAuthServer) TerminateSession(context.Context, *TerminateSessionRequest) (*TerminateSessionResponse, error)
- func (UnimplementedOpenAuthServer) UpdateConfig(context.Context, *UpdateConfigRequest) (*UpdateResponse, error)
- func (UnimplementedOpenAuthServer) UpdateConfigEntity(context.Context, *UpdateConfigEntityRequest) (*UpdateResponse, error)
- func (UnimplementedOpenAuthServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
- func (UnimplementedOpenAuthServer) UpdatePermission(context.Context, *UpdatePermissionRequest) (*Permission, error)
- func (UnimplementedOpenAuthServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
- func (UnimplementedOpenAuthServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- func (UnimplementedOpenAuthServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
- func (UnimplementedOpenAuthServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerificationResponse, error)
- func (UnimplementedOpenAuthServer) VerifyPhone(context.Context, *VerifyPhoneRequest) (*VerificationResponse, error)
- type UnsafeOpenAuthServer
- type UpdateConfigEntityRequest
- func (*UpdateConfigEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConfigEntityRequest) GetDescription() string
- func (x *UpdateConfigEntityRequest) GetDisplayName() string
- func (x *UpdateConfigEntityRequest) GetId() int64
- func (x *UpdateConfigEntityRequest) GetName() string
- func (x *UpdateConfigEntityRequest) GetReadPerm() string
- func (x *UpdateConfigEntityRequest) GetWritePerm() string
- func (*UpdateConfigEntityRequest) ProtoMessage()
- func (x *UpdateConfigEntityRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConfigEntityRequest) Reset()
- func (x *UpdateConfigEntityRequest) String() string
- func (m *UpdateConfigEntityRequest) Validate() error
- func (m *UpdateConfigEntityRequest) ValidateAll() error
- type UpdateConfigEntityRequestMultiError
- type UpdateConfigEntityRequestValidationError
- func (e UpdateConfigEntityRequestValidationError) Cause() error
- func (e UpdateConfigEntityRequestValidationError) Error() string
- func (e UpdateConfigEntityRequestValidationError) ErrorName() string
- func (e UpdateConfigEntityRequestValidationError) Field() string
- func (e UpdateConfigEntityRequestValidationError) Key() bool
- func (e UpdateConfigEntityRequestValidationError) Reason() string
- type UpdateConfigRequest
- func (*UpdateConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConfigRequest) GetBoolValue() bool
- func (x *UpdateConfigRequest) GetDescription() string
- func (x *UpdateConfigRequest) GetDisplayName() string
- func (x *UpdateConfigRequest) GetFloatValue() float64
- func (x *UpdateConfigRequest) GetId() int64
- func (x *UpdateConfigRequest) GetIntValue() int64
- func (x *UpdateConfigRequest) GetJsonValue() string
- func (x *UpdateConfigRequest) GetMetadata() string
- func (x *UpdateConfigRequest) GetName() string
- func (x *UpdateConfigRequest) GetStringValue() string
- func (m *UpdateConfigRequest) GetValue() isUpdateConfigRequest_Value
- func (*UpdateConfigRequest) ProtoMessage()
- func (x *UpdateConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConfigRequest) Reset()
- func (x *UpdateConfigRequest) String() string
- func (m *UpdateConfigRequest) Validate() error
- func (m *UpdateConfigRequest) ValidateAll() error
- type UpdateConfigRequestMultiError
- type UpdateConfigRequestValidationError
- func (e UpdateConfigRequestValidationError) Cause() error
- func (e UpdateConfigRequestValidationError) Error() string
- func (e UpdateConfigRequestValidationError) ErrorName() string
- func (e UpdateConfigRequestValidationError) Field() string
- func (e UpdateConfigRequestValidationError) Key() bool
- func (e UpdateConfigRequestValidationError) Reason() string
- type UpdateConfigRequest_BoolValue
- type UpdateConfigRequest_FloatValue
- type UpdateConfigRequest_IntValue
- type UpdateConfigRequest_JsonValue
- type UpdateConfigRequest_StringValue
- type UpdateGroupRequest
- func (*UpdateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupRequest) GetDescription() string
- func (x *UpdateGroupRequest) GetDisplayName() string
- func (x *UpdateGroupRequest) GetId() int64
- func (x *UpdateGroupRequest) GetName() string
- func (*UpdateGroupRequest) ProtoMessage()
- func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupRequest) Reset()
- func (x *UpdateGroupRequest) String() string
- func (m *UpdateGroupRequest) Validate() error
- func (m *UpdateGroupRequest) ValidateAll() error
- type UpdateGroupRequestMultiError
- type UpdateGroupRequestValidationError
- func (e UpdateGroupRequestValidationError) Cause() error
- func (e UpdateGroupRequestValidationError) Error() string
- func (e UpdateGroupRequestValidationError) ErrorName() string
- func (e UpdateGroupRequestValidationError) Field() string
- func (e UpdateGroupRequestValidationError) Key() bool
- func (e UpdateGroupRequestValidationError) Reason() string
- type UpdateGroupResponse
- func (*UpdateGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupResponse) GetGroup() *Group
- func (x *UpdateGroupResponse) GetMessage() string
- func (*UpdateGroupResponse) ProtoMessage()
- func (x *UpdateGroupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupResponse) Reset()
- func (x *UpdateGroupResponse) String() string
- func (m *UpdateGroupResponse) Validate() error
- func (m *UpdateGroupResponse) ValidateAll() error
- type UpdateGroupResponseMultiError
- type UpdateGroupResponseValidationError
- func (e UpdateGroupResponseValidationError) Cause() error
- func (e UpdateGroupResponseValidationError) Error() string
- func (e UpdateGroupResponseValidationError) ErrorName() string
- func (e UpdateGroupResponseValidationError) Field() string
- func (e UpdateGroupResponseValidationError) Key() bool
- func (e UpdateGroupResponseValidationError) Reason() string
- type UpdatePermissionRequest
- func (*UpdatePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePermissionRequest) GetDescription() string
- func (x *UpdatePermissionRequest) GetDisplayName() string
- func (x *UpdatePermissionRequest) GetId() int64
- func (x *UpdatePermissionRequest) GetName() string
- func (*UpdatePermissionRequest) ProtoMessage()
- func (x *UpdatePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePermissionRequest) Reset()
- func (x *UpdatePermissionRequest) String() string
- func (m *UpdatePermissionRequest) Validate() error
- func (m *UpdatePermissionRequest) ValidateAll() error
- type UpdatePermissionRequestMultiError
- type UpdatePermissionRequestValidationError
- func (e UpdatePermissionRequestValidationError) Cause() error
- func (e UpdatePermissionRequestValidationError) Error() string
- func (e UpdatePermissionRequestValidationError) ErrorName() string
- func (e UpdatePermissionRequestValidationError) Field() string
- func (e UpdatePermissionRequestValidationError) Key() bool
- func (e UpdatePermissionRequestValidationError) Reason() string
- type UpdateProfileRequest
- func (*UpdateProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileRequest) GetAddress() string
- func (x *UpdateProfileRequest) GetAvatarUrl() string
- func (x *UpdateProfileRequest) GetBio() string
- func (x *UpdateProfileRequest) GetCity() string
- func (x *UpdateProfileRequest) GetCountry() string
- func (x *UpdateProfileRequest) GetDateOfBirth() string
- func (x *UpdateProfileRequest) GetDisplayName() string
- func (x *UpdateProfileRequest) GetFirstName() string
- func (x *UpdateProfileRequest) GetGender() string
- func (x *UpdateProfileRequest) GetLastName() string
- func (x *UpdateProfileRequest) GetLocale() string
- func (x *UpdateProfileRequest) GetMetadata() []byte
- func (x *UpdateProfileRequest) GetPostalCode() string
- func (x *UpdateProfileRequest) GetProfileName() string
- func (x *UpdateProfileRequest) GetProfileUuid() string
- func (x *UpdateProfileRequest) GetTimezone() string
- func (x *UpdateProfileRequest) GetWebsiteUrl() string
- func (*UpdateProfileRequest) ProtoMessage()
- func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileRequest) Reset()
- func (x *UpdateProfileRequest) String() string
- func (m *UpdateProfileRequest) Validate() error
- func (m *UpdateProfileRequest) ValidateAll() error
- type UpdateProfileRequestMultiError
- type UpdateProfileRequestValidationError
- func (e UpdateProfileRequestValidationError) Cause() error
- func (e UpdateProfileRequestValidationError) Error() string
- func (e UpdateProfileRequestValidationError) ErrorName() string
- func (e UpdateProfileRequestValidationError) Field() string
- func (e UpdateProfileRequestValidationError) Key() bool
- func (e UpdateProfileRequestValidationError) Reason() string
- type UpdateProfileResponse
- func (*UpdateProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileResponse) GetMessage() string
- func (x *UpdateProfileResponse) GetProfile() *UserProfile
- func (*UpdateProfileResponse) ProtoMessage()
- func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileResponse) Reset()
- func (x *UpdateProfileResponse) String() string
- func (m *UpdateProfileResponse) Validate() error
- func (m *UpdateProfileResponse) ValidateAll() error
- type UpdateProfileResponseMultiError
- type UpdateProfileResponseValidationError
- func (e UpdateProfileResponseValidationError) Cause() error
- func (e UpdateProfileResponseValidationError) Error() string
- func (e UpdateProfileResponseValidationError) ErrorName() string
- func (e UpdateProfileResponseValidationError) Field() string
- func (e UpdateProfileResponseValidationError) Key() bool
- func (e UpdateProfileResponseValidationError) Reason() string
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResponse) GetMessage() string
- func (x *UpdateResponse) GetSuccess() bool
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- func (m *UpdateResponse) Validate() error
- func (m *UpdateResponse) ValidateAll() error
- type UpdateResponseMultiError
- type UpdateResponseValidationError
- func (e UpdateResponseValidationError) Cause() error
- func (e UpdateResponseValidationError) Error() string
- func (e UpdateResponseValidationError) ErrorName() string
- func (e UpdateResponseValidationError) Field() string
- func (e UpdateResponseValidationError) Key() bool
- func (e UpdateResponseValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAvatarUrl() string
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetIsActive() bool
- func (x *UpdateUserRequest) GetName() string
- func (x *UpdateUserRequest) GetPhone() string
- func (x *UpdateUserRequest) GetUsername() string
- func (x *UpdateUserRequest) GetUuid() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) ValidateAll() error
- type UpdateUserRequestMultiError
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type UpdateUserResponse
- func (*UpdateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserResponse) GetUser() *User
- func (*UpdateUserResponse) ProtoMessage()
- func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserResponse) Reset()
- func (x *UpdateUserResponse) String() string
- func (m *UpdateUserResponse) Validate() error
- func (m *UpdateUserResponse) ValidateAll() error
- type UpdateUserResponseMultiError
- type UpdateUserResponseValidationError
- func (e UpdateUserResponseValidationError) Cause() error
- func (e UpdateUserResponseValidationError) Error() string
- func (e UpdateUserResponseValidationError) ErrorName() string
- func (e UpdateUserResponseValidationError) Field() string
- func (e UpdateUserResponseValidationError) Key() bool
- func (e UpdateUserResponseValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatarUrl() string
- func (x *User) GetCreatedAt() int64
- func (x *User) GetDeactivated() bool
- func (x *User) GetEmail() string
- func (x *User) GetEmailVerified() bool
- func (x *User) GetFailedLoginAttempts() int32
- func (x *User) GetId() int64
- func (x *User) GetIsActive() bool
- func (x *User) GetIsLocked() bool
- func (x *User) GetLastLoginAt() int64
- func (x *User) GetName() string
- func (x *User) GetPasswordChangedAt() int64
- func (x *User) GetPhone() string
- func (x *User) GetPhoneVerified() bool
- func (x *User) GetUpdatedAt() int64
- func (x *User) GetUsername() string
- func (x *User) GetUuid() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserGroup
- func (*UserGroup) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroup) GetAssignedAt() int64
- func (x *UserGroup) GetAssignedBy() int64
- func (x *UserGroup) GetExpiresAt() int64
- func (x *UserGroup) GetGroupDescription() string
- func (x *UserGroup) GetGroupDisplayName() string
- func (x *UserGroup) GetGroupId() int64
- func (x *UserGroup) GetGroupName() string
- func (x *UserGroup) GetIsDefault() bool
- func (x *UserGroup) GetIsSystem() bool
- func (*UserGroup) ProtoMessage()
- func (x *UserGroup) ProtoReflect() protoreflect.Message
- func (x *UserGroup) Reset()
- func (x *UserGroup) String() string
- func (m *UserGroup) Validate() error
- func (m *UserGroup) ValidateAll() error
- type UserGroupMultiError
- type UserGroupValidationError
- type UserMultiError
- type UserProfile
- func (*UserProfile) Descriptor() ([]byte, []int)deprecated
- func (x *UserProfile) GetAddress() string
- func (x *UserProfile) GetAvatarUrl() string
- func (x *UserProfile) GetBio() string
- func (x *UserProfile) GetCity() string
- func (x *UserProfile) GetCountry() string
- func (x *UserProfile) GetCreatedAt() int64
- func (x *UserProfile) GetDateOfBirth() string
- func (x *UserProfile) GetDisplayName() string
- func (x *UserProfile) GetFirstName() string
- func (x *UserProfile) GetGender() string
- func (x *UserProfile) GetId() int64
- func (x *UserProfile) GetLastName() string
- func (x *UserProfile) GetLocale() string
- func (x *UserProfile) GetMetadata() []byte
- func (x *UserProfile) GetPostalCode() string
- func (x *UserProfile) GetProfileName() string
- func (x *UserProfile) GetTimezone() string
- func (x *UserProfile) GetUpdatedAt() int64
- func (x *UserProfile) GetUserId() int64
- func (x *UserProfile) GetUuid() string
- func (x *UserProfile) GetWebsiteUrl() string
- func (*UserProfile) ProtoMessage()
- func (x *UserProfile) ProtoReflect() protoreflect.Message
- func (x *UserProfile) Reset()
- func (x *UserProfile) String() string
- func (m *UserProfile) Validate() error
- func (m *UserProfile) ValidateAll() error
- type UserProfileMultiError
- type UserProfileValidationError
- func (e UserProfileValidationError) Cause() error
- func (e UserProfileValidationError) Error() string
- func (e UserProfileValidationError) ErrorName() string
- func (e UserProfileValidationError) Field() string
- func (e UserProfileValidationError) Key() bool
- func (e UserProfileValidationError) Reason() string
- type UserValidationError
- type ValidateTokenRequest
- func (*ValidateTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenRequest) GetAccessToken() string
- func (*ValidateTokenRequest) ProtoMessage()
- func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenRequest) Reset()
- func (x *ValidateTokenRequest) String() string
- func (m *ValidateTokenRequest) Validate() error
- func (m *ValidateTokenRequest) ValidateAll() error
- type ValidateTokenRequestMultiError
- type ValidateTokenRequestValidationError
- func (e ValidateTokenRequestValidationError) Cause() error
- func (e ValidateTokenRequestValidationError) Error() string
- func (e ValidateTokenRequestValidationError) ErrorName() string
- func (e ValidateTokenRequestValidationError) Field() string
- func (e ValidateTokenRequestValidationError) Key() bool
- func (e ValidateTokenRequestValidationError) Reason() string
- type ValidateTokenResponse
- func (*ValidateTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenResponse) GetExpiresAt() int64
- func (x *ValidateTokenResponse) GetMessage() string
- func (x *ValidateTokenResponse) GetUser() *User
- func (x *ValidateTokenResponse) GetValid() bool
- func (*ValidateTokenResponse) ProtoMessage()
- func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenResponse) Reset()
- func (x *ValidateTokenResponse) String() string
- func (m *ValidateTokenResponse) Validate() error
- func (m *ValidateTokenResponse) ValidateAll() error
- type ValidateTokenResponseMultiError
- type ValidateTokenResponseValidationError
- func (e ValidateTokenResponseValidationError) Cause() error
- func (e ValidateTokenResponseValidationError) Error() string
- func (e ValidateTokenResponseValidationError) ErrorName() string
- func (e ValidateTokenResponseValidationError) Field() string
- func (e ValidateTokenResponseValidationError) Key() bool
- func (e ValidateTokenResponseValidationError) Reason() string
- type ValueType
- type VerificationResponse
- func (*VerificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationResponse) GetMessage() string
- func (x *VerificationResponse) GetVerified() bool
- func (*VerificationResponse) ProtoMessage()
- func (x *VerificationResponse) ProtoReflect() protoreflect.Message
- func (x *VerificationResponse) Reset()
- func (x *VerificationResponse) String() string
- func (m *VerificationResponse) Validate() error
- func (m *VerificationResponse) ValidateAll() error
- type VerificationResponseMultiError
- type VerificationResponseValidationError
- func (e VerificationResponseValidationError) Cause() error
- func (e VerificationResponseValidationError) Error() string
- func (e VerificationResponseValidationError) ErrorName() string
- func (e VerificationResponseValidationError) Field() string
- func (e VerificationResponseValidationError) Key() bool
- func (e VerificationResponseValidationError) Reason() string
- type VerifyEmailRequest
- func (*VerifyEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailRequest) GetEmail() string
- func (x *VerifyEmailRequest) GetVerificationCode() string
- func (*VerifyEmailRequest) ProtoMessage()
- func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailRequest) Reset()
- func (x *VerifyEmailRequest) String() string
- func (m *VerifyEmailRequest) Validate() error
- func (m *VerifyEmailRequest) ValidateAll() error
- type VerifyEmailRequestMultiError
- type VerifyEmailRequestValidationError
- func (e VerifyEmailRequestValidationError) Cause() error
- func (e VerifyEmailRequestValidationError) Error() string
- func (e VerifyEmailRequestValidationError) ErrorName() string
- func (e VerifyEmailRequestValidationError) Field() string
- func (e VerifyEmailRequestValidationError) Key() bool
- func (e VerifyEmailRequestValidationError) Reason() string
- type VerifyPhoneRequest
- func (*VerifyPhoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyPhoneRequest) GetPhone() string
- func (x *VerifyPhoneRequest) GetVerificationCode() string
- func (*VerifyPhoneRequest) ProtoMessage()
- func (x *VerifyPhoneRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyPhoneRequest) Reset()
- func (x *VerifyPhoneRequest) String() string
- func (m *VerifyPhoneRequest) Validate() error
- func (m *VerifyPhoneRequest) ValidateAll() error
- type VerifyPhoneRequestMultiError
- type VerifyPhoneRequestValidationError
- func (e VerifyPhoneRequestValidationError) Cause() error
- func (e VerifyPhoneRequestValidationError) Error() string
- func (e VerifyPhoneRequestValidationError) ErrorName() string
- func (e VerifyPhoneRequestValidationError) Field() string
- func (e VerifyPhoneRequestValidationError) Key() bool
- func (e VerifyPhoneRequestValidationError) Reason() string
Constants ¶
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_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 ¶
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.
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.
var File_proto_common_headers_proto protoreflect.FileDescriptor
var File_proto_common_ping_proto protoreflect.FileDescriptor
var File_proto_common_sort_proto protoreflect.FileDescriptor
var File_proto_openauth_v1_configs_proto protoreflect.FileDescriptor
var File_proto_openauth_v1_groups_proto protoreflect.FileDescriptor
var File_proto_openauth_v1_openauth_proto protoreflect.FileDescriptor
var File_proto_openauth_v1_permission_assignments_proto protoreflect.FileDescriptor
var File_proto_openauth_v1_permissions_proto protoreflect.FileDescriptor
var File_proto_openauth_v1_sessions_proto protoreflect.FileDescriptor
var File_proto_openauth_v1_stats_proto protoreflect.FileDescriptor
var File_proto_openauth_v1_users_proto protoreflect.FileDescriptor
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: "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 (x *AssignPermissionsToGroupRequest) ProtoReflect() protoreflect.Message
func (*AssignPermissionsToGroupRequest) Reset ¶
func (x *AssignPermissionsToGroupRequest) Reset()
func (*AssignPermissionsToGroupRequest) String ¶
func (x *AssignPermissionsToGroupRequest) String() 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 ¶
func (m AssignPermissionsToGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignPermissionsToGroupRequestMultiError) Error ¶
func (m AssignPermissionsToGroupRequestMultiError) Error() string
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 ¶
func (e AssignPermissionsToGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (AssignPermissionsToGroupRequestValidationError) Error ¶
func (e AssignPermissionsToGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AssignPermissionsToGroupRequestValidationError) ErrorName ¶
func (e AssignPermissionsToGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AssignPermissionsToGroupRequestValidationError) Field ¶
func (e AssignPermissionsToGroupRequestValidationError) Field() string
Field function returns field value.
func (AssignPermissionsToGroupRequestValidationError) Key ¶
func (e AssignPermissionsToGroupRequestValidationError) Key() bool
Key function returns key value.
func (AssignPermissionsToGroupRequestValidationError) Reason ¶
func (e AssignPermissionsToGroupRequestValidationError) Reason() string
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 (x *AssignPermissionsToGroupResponse) ProtoReflect() protoreflect.Message
func (*AssignPermissionsToGroupResponse) Reset ¶
func (x *AssignPermissionsToGroupResponse) Reset()
func (*AssignPermissionsToGroupResponse) String ¶
func (x *AssignPermissionsToGroupResponse) String() string
func (*AssignPermissionsToGroupResponse) Validate ¶
func (m *AssignPermissionsToGroupResponse) Validate() error
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 ¶
func (m AssignPermissionsToGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignPermissionsToGroupResponseMultiError) Error ¶
func (m AssignPermissionsToGroupResponseMultiError) Error() string
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 ¶
func (e AssignPermissionsToGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (AssignPermissionsToGroupResponseValidationError) Error ¶
func (e AssignPermissionsToGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AssignPermissionsToGroupResponseValidationError) ErrorName ¶
func (e AssignPermissionsToGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AssignPermissionsToGroupResponseValidationError) Field ¶
func (e AssignPermissionsToGroupResponseValidationError) Field() string
Field function returns field value.
func (AssignPermissionsToGroupResponseValidationError) Key ¶
func (e AssignPermissionsToGroupResponseValidationError) Key() bool
Key function returns key value.
func (AssignPermissionsToGroupResponseValidationError) Reason ¶
func (e AssignPermissionsToGroupResponseValidationError) Reason() string
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 (x *AssignPermissionsToUserRequest) ProtoReflect() protoreflect.Message
func (*AssignPermissionsToUserRequest) Reset ¶
func (x *AssignPermissionsToUserRequest) Reset()
func (*AssignPermissionsToUserRequest) String ¶
func (x *AssignPermissionsToUserRequest) String() 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 ¶
func (m AssignPermissionsToUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignPermissionsToUserRequestMultiError) Error ¶
func (m AssignPermissionsToUserRequestMultiError) Error() string
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 ¶
func (e AssignPermissionsToUserRequestValidationError) Cause() error
Cause function returns cause value.
func (AssignPermissionsToUserRequestValidationError) Error ¶
func (e AssignPermissionsToUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AssignPermissionsToUserRequestValidationError) ErrorName ¶
func (e AssignPermissionsToUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AssignPermissionsToUserRequestValidationError) Field ¶
func (e AssignPermissionsToUserRequestValidationError) Field() string
Field function returns field value.
func (AssignPermissionsToUserRequestValidationError) Key ¶
func (e AssignPermissionsToUserRequestValidationError) Key() bool
Key function returns key value.
func (AssignPermissionsToUserRequestValidationError) Reason ¶
func (e AssignPermissionsToUserRequestValidationError) Reason() string
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 (x *AssignPermissionsToUserResponse) ProtoReflect() protoreflect.Message
func (*AssignPermissionsToUserResponse) Reset ¶
func (x *AssignPermissionsToUserResponse) Reset()
func (*AssignPermissionsToUserResponse) String ¶
func (x *AssignPermissionsToUserResponse) String() 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 ¶
func (m AssignPermissionsToUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignPermissionsToUserResponseMultiError) Error ¶
func (m AssignPermissionsToUserResponseMultiError) Error() string
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 ¶
func (e AssignPermissionsToUserResponseValidationError) Cause() error
Cause function returns cause value.
func (AssignPermissionsToUserResponseValidationError) Error ¶
func (e AssignPermissionsToUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AssignPermissionsToUserResponseValidationError) ErrorName ¶
func (e AssignPermissionsToUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AssignPermissionsToUserResponseValidationError) Field ¶
func (e AssignPermissionsToUserResponseValidationError) Field() string
Field function returns field value.
func (AssignPermissionsToUserResponseValidationError) Key ¶
func (e AssignPermissionsToUserResponseValidationError) Key() bool
Key function returns key value.
func (AssignPermissionsToUserResponseValidationError) Reason ¶
func (e AssignPermissionsToUserResponseValidationError) Reason() string
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 (x *AssignUsersToGroupRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m AssignUsersToGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignUsersToGroupRequestMultiError) Error ¶
func (m AssignUsersToGroupRequestMultiError) Error() string
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 ¶
func (e AssignUsersToGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (AssignUsersToGroupRequestValidationError) Error ¶
func (e AssignUsersToGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AssignUsersToGroupRequestValidationError) ErrorName ¶
func (e AssignUsersToGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AssignUsersToGroupRequestValidationError) Field ¶
func (e AssignUsersToGroupRequestValidationError) Field() string
Field function returns field value.
func (AssignUsersToGroupRequestValidationError) Key ¶
func (e AssignUsersToGroupRequestValidationError) Key() bool
Key function returns key value.
func (AssignUsersToGroupRequestValidationError) Reason ¶
func (e AssignUsersToGroupRequestValidationError) Reason() string
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 (x *AssignUsersToGroupResponse) ProtoReflect() protoreflect.Message
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 ¶
func (m AssignUsersToGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignUsersToGroupResponseMultiError) Error ¶
func (m AssignUsersToGroupResponseMultiError) Error() string
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 ¶
func (e AssignUsersToGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (AssignUsersToGroupResponseValidationError) Error ¶
func (e AssignUsersToGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AssignUsersToGroupResponseValidationError) ErrorName ¶
func (e AssignUsersToGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AssignUsersToGroupResponseValidationError) Field ¶
func (e AssignUsersToGroupResponseValidationError) Field() string
Field function returns field value.
func (AssignUsersToGroupResponseValidationError) Key ¶
func (e AssignUsersToGroupResponseValidationError) Key() bool
Key function returns key value.
func (AssignUsersToGroupResponseValidationError) Reason ¶
func (e AssignUsersToGroupResponseValidationError) Reason() string
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 ¶
func (m ChangePasswordRequestMultiError) Error() string
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 ¶
func (e ChangePasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordRequestValidationError) Error ¶
func (e ChangePasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordRequestValidationError) ErrorName ¶
func (e ChangePasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordRequestValidationError) Field ¶
func (e ChangePasswordRequestValidationError) Field() string
Field function returns field value.
func (ChangePasswordRequestValidationError) Key ¶
func (e ChangePasswordRequestValidationError) Key() bool
Key function returns key value.
func (ChangePasswordRequestValidationError) Reason ¶
func (e ChangePasswordRequestValidationError) Reason() string
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 ¶
func (m ChangePasswordResponseMultiError) Error() string
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 ¶
func (e ChangePasswordResponseValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordResponseValidationError) Error ¶
func (e ChangePasswordResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordResponseValidationError) ErrorName ¶
func (e ChangePasswordResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordResponseValidationError) Field ¶
func (e ChangePasswordResponseValidationError) Field() string
Field function returns field value.
func (ChangePasswordResponseValidationError) Key ¶
func (e ChangePasswordResponseValidationError) Key() bool
Key function returns key value.
func (ChangePasswordResponseValidationError) Reason ¶
func (e ChangePasswordResponseValidationError) Reason() string
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 ¶
func (m CheckEmailRequestMultiError) Error() string
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 ¶
func (e CheckEmailRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckEmailRequestValidationError) Error ¶
func (e CheckEmailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckEmailRequestValidationError) ErrorName ¶
func (e CheckEmailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckEmailRequestValidationError) Field ¶
func (e CheckEmailRequestValidationError) Field() string
Field function returns field value.
func (CheckEmailRequestValidationError) Key ¶
func (e CheckEmailRequestValidationError) Key() bool
Key function returns key value.
func (CheckEmailRequestValidationError) Reason ¶
func (e CheckEmailRequestValidationError) Reason() string
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 ¶
func (m CheckEmailResponseMultiError) Error() string
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 ¶
func (e CheckEmailResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckEmailResponseValidationError) Error ¶
func (e CheckEmailResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckEmailResponseValidationError) ErrorName ¶
func (e CheckEmailResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckEmailResponseValidationError) Field ¶
func (e CheckEmailResponseValidationError) Field() string
Field function returns field value.
func (CheckEmailResponseValidationError) Key ¶
func (e CheckEmailResponseValidationError) Key() bool
Key function returns key value.
func (CheckEmailResponseValidationError) Reason ¶
func (e CheckEmailResponseValidationError) Reason() string
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 ¶
func (m CheckUsernameRequestMultiError) Error() string
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 ¶
func (e CheckUsernameRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckUsernameRequestValidationError) Error ¶
func (e CheckUsernameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckUsernameRequestValidationError) ErrorName ¶
func (e CheckUsernameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckUsernameRequestValidationError) Field ¶
func (e CheckUsernameRequestValidationError) Field() string
Field function returns field value.
func (CheckUsernameRequestValidationError) Key ¶
func (e CheckUsernameRequestValidationError) Key() bool
Key function returns key value.
func (CheckUsernameRequestValidationError) Reason ¶
func (e CheckUsernameRequestValidationError) Reason() string
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 ¶
func (m CheckUsernameResponseMultiError) Error() string
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 ¶
func (e CheckUsernameResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckUsernameResponseValidationError) Error ¶
func (e CheckUsernameResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckUsernameResponseValidationError) ErrorName ¶
func (e CheckUsernameResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckUsernameResponseValidationError) Field ¶
func (e CheckUsernameResponseValidationError) Field() string
Field function returns field value.
func (CheckUsernameResponseValidationError) Key ¶
func (e CheckUsernameResponseValidationError) Key() bool
Key function returns key value.
func (CheckUsernameResponseValidationError) Reason ¶
func (e CheckUsernameResponseValidationError) Reason() string
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) GetBoolValue ¶
func (*Config) GetCreatedAt ¶
func (*Config) GetCreatedBy ¶
func (*Config) GetDescription ¶
func (*Config) GetDisplayName ¶
func (*Config) GetEntityId ¶
func (*Config) GetFloatValue ¶
func (*Config) GetIntValue ¶
func (*Config) GetIsSystem ¶
func (*Config) GetJsonValue ¶
func (*Config) GetMetadata ¶
func (*Config) GetStringValue ¶
func (*Config) GetUpdatedAt ¶
func (*Config) GetUpdatedBy ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) Validate ¶
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 ¶
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 ¶
func (e ConfigEntityValidationError) Cause() error
Cause function returns cause value.
func (ConfigEntityValidationError) Error ¶
func (e ConfigEntityValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigEntityValidationError) ErrorName ¶
func (e ConfigEntityValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigEntityValidationError) Field ¶
func (e ConfigEntityValidationError) Field() string
Field function returns field value.
func (ConfigEntityValidationError) Key ¶
func (e ConfigEntityValidationError) Key() bool
Key function returns key value.
func (ConfigEntityValidationError) Reason ¶
func (e ConfigEntityValidationError) Reason() string
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 (x *CreateConfigEntityRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m CreateConfigEntityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateConfigEntityRequestMultiError) Error ¶
func (m CreateConfigEntityRequestMultiError) Error() string
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 ¶
func (e CreateConfigEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateConfigEntityRequestValidationError) Error ¶
func (e CreateConfigEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateConfigEntityRequestValidationError) ErrorName ¶
func (e CreateConfigEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateConfigEntityRequestValidationError) Field ¶
func (e CreateConfigEntityRequestValidationError) Field() string
Field function returns field value.
func (CreateConfigEntityRequestValidationError) Key ¶
func (e CreateConfigEntityRequestValidationError) Key() bool
Key function returns key value.
func (CreateConfigEntityRequestValidationError) Reason ¶
func (e CreateConfigEntityRequestValidationError) Reason() string
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 ¶
func (m CreateConfigRequestMultiError) Error() string
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 ¶
func (e CreateConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateConfigRequestValidationError) Error ¶
func (e CreateConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateConfigRequestValidationError) ErrorName ¶
func (e CreateConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateConfigRequestValidationError) Field ¶
func (e CreateConfigRequestValidationError) Field() string
Field function returns field value.
func (CreateConfigRequestValidationError) Key ¶
func (e CreateConfigRequestValidationError) Key() bool
Key function returns key value.
func (CreateConfigRequestValidationError) Reason ¶
func (e CreateConfigRequestValidationError) Reason() string
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 ¶
func (m CreateGroupRequestMultiError) Error() string
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 ¶
func (e CreateGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateGroupRequestValidationError) Error ¶
func (e CreateGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupRequestValidationError) ErrorName ¶
func (e CreateGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGroupRequestValidationError) Field ¶
func (e CreateGroupRequestValidationError) Field() string
Field function returns field value.
func (CreateGroupRequestValidationError) Key ¶
func (e CreateGroupRequestValidationError) Key() bool
Key function returns key value.
func (CreateGroupRequestValidationError) Reason ¶
func (e CreateGroupRequestValidationError) Reason() string
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 ¶
func (m CreateGroupResponseMultiError) Error() string
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 ¶
func (e CreateGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateGroupResponseValidationError) Error ¶
func (e CreateGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupResponseValidationError) ErrorName ¶
func (e CreateGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGroupResponseValidationError) Field ¶
func (e CreateGroupResponseValidationError) Field() string
Field function returns field value.
func (CreateGroupResponseValidationError) Key ¶
func (e CreateGroupResponseValidationError) Key() bool
Key function returns key value.
func (CreateGroupResponseValidationError) Reason ¶
func (e CreateGroupResponseValidationError) Reason() string
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 ¶
func (m CreatePermissionRequestMultiError) Error() string
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 ¶
func (e CreatePermissionRequestValidationError) Cause() error
Cause function returns cause value.
func (CreatePermissionRequestValidationError) Error ¶
func (e CreatePermissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePermissionRequestValidationError) ErrorName ¶
func (e CreatePermissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePermissionRequestValidationError) Field ¶
func (e CreatePermissionRequestValidationError) Field() string
Field function returns field value.
func (CreatePermissionRequestValidationError) Key ¶
func (e CreatePermissionRequestValidationError) Key() bool
Key function returns key value.
func (CreatePermissionRequestValidationError) Reason ¶
func (e CreatePermissionRequestValidationError) Reason() string
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 ¶
func (m CreateProfileRequestMultiError) Error() string
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 ¶
func (e CreateProfileRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateProfileRequestValidationError) Error ¶
func (e CreateProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProfileRequestValidationError) ErrorName ¶
func (e CreateProfileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProfileRequestValidationError) Field ¶
func (e CreateProfileRequestValidationError) Field() string
Field function returns field value.
func (CreateProfileRequestValidationError) Key ¶
func (e CreateProfileRequestValidationError) Key() bool
Key function returns key value.
func (CreateProfileRequestValidationError) Reason ¶
func (e CreateProfileRequestValidationError) Reason() string
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 ¶
func (m CreateProfileResponseMultiError) Error() string
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 ¶
func (e CreateProfileResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateProfileResponseValidationError) Error ¶
func (e CreateProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProfileResponseValidationError) ErrorName ¶
func (e CreateProfileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProfileResponseValidationError) Field ¶
func (e CreateProfileResponseValidationError) Field() string
Field function returns field value.
func (CreateProfileResponseValidationError) Key ¶
func (e CreateProfileResponseValidationError) Key() bool
Key function returns key value.
func (CreateProfileResponseValidationError) Reason ¶
func (e CreateProfileResponseValidationError) Reason() string
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 (x *DeleteConfigEntityRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m DeleteConfigEntityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteConfigEntityRequestMultiError) Error ¶
func (m DeleteConfigEntityRequestMultiError) Error() string
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 ¶
func (e DeleteConfigEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteConfigEntityRequestValidationError) Error ¶
func (e DeleteConfigEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteConfigEntityRequestValidationError) ErrorName ¶
func (e DeleteConfigEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteConfigEntityRequestValidationError) Field ¶
func (e DeleteConfigEntityRequestValidationError) Field() string
Field function returns field value.
func (DeleteConfigEntityRequestValidationError) Key ¶
func (e DeleteConfigEntityRequestValidationError) Key() bool
Key function returns key value.
func (DeleteConfigEntityRequestValidationError) Reason ¶
func (e DeleteConfigEntityRequestValidationError) Reason() string
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 ¶
func (m DeleteConfigRequestMultiError) Error() string
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 ¶
func (e DeleteConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteConfigRequestValidationError) Error ¶
func (e DeleteConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteConfigRequestValidationError) ErrorName ¶
func (e DeleteConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteConfigRequestValidationError) Field ¶
func (e DeleteConfigRequestValidationError) Field() string
Field function returns field value.
func (DeleteConfigRequestValidationError) Key ¶
func (e DeleteConfigRequestValidationError) Key() bool
Key function returns key value.
func (DeleteConfigRequestValidationError) Reason ¶
func (e DeleteConfigRequestValidationError) Reason() string
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 ¶
func (m DeleteGroupRequestMultiError) Error() string
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 ¶
func (e DeleteGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteGroupRequestValidationError) Error ¶
func (e DeleteGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGroupRequestValidationError) ErrorName ¶
func (e DeleteGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteGroupRequestValidationError) Field ¶
func (e DeleteGroupRequestValidationError) Field() string
Field function returns field value.
func (DeleteGroupRequestValidationError) Key ¶
func (e DeleteGroupRequestValidationError) Key() bool
Key function returns key value.
func (DeleteGroupRequestValidationError) Reason ¶
func (e DeleteGroupRequestValidationError) Reason() string
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 ¶
func (m DeleteGroupResponseMultiError) Error() string
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 ¶
func (e DeleteGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteGroupResponseValidationError) Error ¶
func (e DeleteGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGroupResponseValidationError) ErrorName ¶
func (e DeleteGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteGroupResponseValidationError) Field ¶
func (e DeleteGroupResponseValidationError) Field() string
Field function returns field value.
func (DeleteGroupResponseValidationError) Key ¶
func (e DeleteGroupResponseValidationError) Key() bool
Key function returns key value.
func (DeleteGroupResponseValidationError) Reason ¶
func (e DeleteGroupResponseValidationError) Reason() string
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 ¶
func (m DeletePermissionRequestMultiError) Error() string
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 ¶
func (e DeletePermissionRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletePermissionRequestValidationError) Error ¶
func (e DeletePermissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePermissionRequestValidationError) ErrorName ¶
func (e DeletePermissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePermissionRequestValidationError) Field ¶
func (e DeletePermissionRequestValidationError) Field() string
Field function returns field value.
func (DeletePermissionRequestValidationError) Key ¶
func (e DeletePermissionRequestValidationError) Key() bool
Key function returns key value.
func (DeletePermissionRequestValidationError) Reason ¶
func (e DeletePermissionRequestValidationError) Reason() string
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 ¶
func (m DeletePermissionResponseMultiError) Error() string
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 ¶
func (e DeletePermissionResponseValidationError) Cause() error
Cause function returns cause value.
func (DeletePermissionResponseValidationError) Error ¶
func (e DeletePermissionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePermissionResponseValidationError) ErrorName ¶
func (e DeletePermissionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePermissionResponseValidationError) Field ¶
func (e DeletePermissionResponseValidationError) Field() string
Field function returns field value.
func (DeletePermissionResponseValidationError) Key ¶
func (e DeletePermissionResponseValidationError) Key() bool
Key function returns key value.
func (DeletePermissionResponseValidationError) Reason ¶
func (e DeletePermissionResponseValidationError) Reason() string
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 ¶
func (m DeleteProfileRequestMultiError) Error() string
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 ¶
func (e DeleteProfileRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteProfileRequestValidationError) Error ¶
func (e DeleteProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProfileRequestValidationError) ErrorName ¶
func (e DeleteProfileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProfileRequestValidationError) Field ¶
func (e DeleteProfileRequestValidationError) Field() string
Field function returns field value.
func (DeleteProfileRequestValidationError) Key ¶
func (e DeleteProfileRequestValidationError) Key() bool
Key function returns key value.
func (DeleteProfileRequestValidationError) Reason ¶
func (e DeleteProfileRequestValidationError) Reason() string
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 ¶
func (m DeleteProfileResponseMultiError) Error() string
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 ¶
func (e DeleteProfileResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteProfileResponseValidationError) Error ¶
func (e DeleteProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProfileResponseValidationError) ErrorName ¶
func (e DeleteProfileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProfileResponseValidationError) Field ¶
func (e DeleteProfileResponseValidationError) Field() string
Field function returns field value.
func (DeleteProfileResponseValidationError) Key ¶
func (e DeleteProfileResponseValidationError) Key() bool
Key function returns key value.
func (DeleteProfileResponseValidationError) Reason ¶
func (e DeleteProfileResponseValidationError) Reason() string
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 ¶
func (e DeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteResponseValidationError) Error ¶
func (e DeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteResponseValidationError) ErrorName ¶
func (e DeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteResponseValidationError) Field ¶
func (e DeleteResponseValidationError) Field() string
Field function returns field value.
func (DeleteResponseValidationError) Key ¶
func (e DeleteResponseValidationError) Key() bool
Key function returns key value.
func (DeleteResponseValidationError) Reason ¶
func (e DeleteResponseValidationError) Reason() string
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 ¶
func (m DeleteUserRequestMultiError) Error() string
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 ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
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 ¶
func (m DeleteUserResponseMultiError) Error() string
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 ¶
func (e DeleteUserResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserResponseValidationError) Error ¶
func (e DeleteUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserResponseValidationError) ErrorName ¶
func (e DeleteUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserResponseValidationError) Field ¶
func (e DeleteUserResponseValidationError) Field() string
Field function returns field value.
func (DeleteUserResponseValidationError) Key ¶
func (e DeleteUserResponseValidationError) Key() bool
Key function returns key value.
func (DeleteUserResponseValidationError) Reason ¶
func (e DeleteUserResponseValidationError) Reason() string
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 ¶
func (m EffectivePermissionMultiError) Error() string
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 ¶
func (e EffectivePermissionValidationError) Cause() error
Cause function returns cause value.
func (EffectivePermissionValidationError) Error ¶
func (e EffectivePermissionValidationError) Error() string
Error satisfies the builtin error interface
func (EffectivePermissionValidationError) ErrorName ¶
func (e EffectivePermissionValidationError) ErrorName() string
ErrorName returns error name.
func (EffectivePermissionValidationError) Field ¶
func (e EffectivePermissionValidationError) Field() string
Field function returns field value.
func (EffectivePermissionValidationError) Key ¶
func (e EffectivePermissionValidationError) Key() bool
Key function returns key value.
func (EffectivePermissionValidationError) Reason ¶
func (e EffectivePermissionValidationError) Reason() string
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 ¶
func (m GetConfigByKeyRequestMultiError) Error() string
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 ¶
func (e GetConfigByKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConfigByKeyRequestValidationError) Error ¶
func (e GetConfigByKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigByKeyRequestValidationError) ErrorName ¶
func (e GetConfigByKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigByKeyRequestValidationError) Field ¶
func (e GetConfigByKeyRequestValidationError) Field() string
Field function returns field value.
func (GetConfigByKeyRequestValidationError) Key ¶
func (e GetConfigByKeyRequestValidationError) Key() bool
Key function returns key value.
func (GetConfigByKeyRequestValidationError) Reason ¶
func (e GetConfigByKeyRequestValidationError) Reason() string
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 (x *GetConfigEntityByNameRequest) ProtoReflect() protoreflect.Message
func (*GetConfigEntityByNameRequest) Reset ¶
func (x *GetConfigEntityByNameRequest) Reset()
func (*GetConfigEntityByNameRequest) String ¶
func (x *GetConfigEntityByNameRequest) String() 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 ¶
func (m GetConfigEntityByNameRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConfigEntityByNameRequestMultiError) Error ¶
func (m GetConfigEntityByNameRequestMultiError) Error() string
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 ¶
func (e GetConfigEntityByNameRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConfigEntityByNameRequestValidationError) Error ¶
func (e GetConfigEntityByNameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigEntityByNameRequestValidationError) ErrorName ¶
func (e GetConfigEntityByNameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigEntityByNameRequestValidationError) Field ¶
func (e GetConfigEntityByNameRequestValidationError) Field() string
Field function returns field value.
func (GetConfigEntityByNameRequestValidationError) Key ¶
func (e GetConfigEntityByNameRequestValidationError) Key() bool
Key function returns key value.
func (GetConfigEntityByNameRequestValidationError) Reason ¶
func (e GetConfigEntityByNameRequestValidationError) Reason() string
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 ¶
func (m GetConfigEntityRequestMultiError) Error() string
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 ¶
func (e GetConfigEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConfigEntityRequestValidationError) Error ¶
func (e GetConfigEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigEntityRequestValidationError) ErrorName ¶
func (e GetConfigEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigEntityRequestValidationError) Field ¶
func (e GetConfigEntityRequestValidationError) Field() string
Field function returns field value.
func (GetConfigEntityRequestValidationError) Key ¶
func (e GetConfigEntityRequestValidationError) Key() bool
Key function returns key value.
func (GetConfigEntityRequestValidationError) Reason ¶
func (e GetConfigEntityRequestValidationError) Reason() string
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 ¶
func (m GetConfigRequestMultiError) Error() string
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 ¶
func (e GetConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConfigRequestValidationError) Error ¶
func (e GetConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigRequestValidationError) ErrorName ¶
func (e GetConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigRequestValidationError) Field ¶
func (e GetConfigRequestValidationError) Field() string
Field function returns field value.
func (GetConfigRequestValidationError) Key ¶
func (e GetConfigRequestValidationError) Key() bool
Key function returns key value.
func (GetConfigRequestValidationError) Reason ¶
func (e GetConfigRequestValidationError) Reason() string
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 ¶
func (m GetConfigsByKeysRequestMultiError) Error() string
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 ¶
func (e GetConfigsByKeysRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConfigsByKeysRequestValidationError) Error ¶
func (e GetConfigsByKeysRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigsByKeysRequestValidationError) ErrorName ¶
func (e GetConfigsByKeysRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigsByKeysRequestValidationError) Field ¶
func (e GetConfigsByKeysRequestValidationError) Field() string
Field function returns field value.
func (GetConfigsByKeysRequestValidationError) Key ¶
func (e GetConfigsByKeysRequestValidationError) Key() bool
Key function returns key value.
func (GetConfigsByKeysRequestValidationError) Reason ¶
func (e GetConfigsByKeysRequestValidationError) Reason() string
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 ¶
func (m GetConfigsByKeysResponseMultiError) Error() string
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 ¶
func (e GetConfigsByKeysResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConfigsByKeysResponseValidationError) Error ¶
func (e GetConfigsByKeysResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigsByKeysResponseValidationError) ErrorName ¶
func (e GetConfigsByKeysResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigsByKeysResponseValidationError) Field ¶
func (e GetConfigsByKeysResponseValidationError) Field() string
Field function returns field value.
func (GetConfigsByKeysResponseValidationError) Key ¶
func (e GetConfigsByKeysResponseValidationError) Key() bool
Key function returns key value.
func (GetConfigsByKeysResponseValidationError) Reason ¶
func (e GetConfigsByKeysResponseValidationError) Reason() string
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 ¶
func (m GetGroupRequestMultiError) Error() string
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 ¶
func (e GetGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (GetGroupRequestValidationError) Error ¶
func (e GetGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupRequestValidationError) ErrorName ¶
func (e GetGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupRequestValidationError) Field ¶
func (e GetGroupRequestValidationError) Field() string
Field function returns field value.
func (GetGroupRequestValidationError) Key ¶
func (e GetGroupRequestValidationError) Key() bool
Key function returns key value.
func (GetGroupRequestValidationError) Reason ¶
func (e GetGroupRequestValidationError) Reason() string
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 ¶
func (m GetGroupResponseMultiError) Error() string
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 ¶
func (e GetGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (GetGroupResponseValidationError) Error ¶
func (e GetGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupResponseValidationError) ErrorName ¶
func (e GetGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupResponseValidationError) Field ¶
func (e GetGroupResponseValidationError) Field() string
Field function returns field value.
func (GetGroupResponseValidationError) Key ¶
func (e GetGroupResponseValidationError) Key() bool
Key function returns key value.
func (GetGroupResponseValidationError) Reason ¶
func (e GetGroupResponseValidationError) Reason() string
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 ¶
func (m GetPermissionRequestMultiError) Error() string
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 ¶
func (e GetPermissionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPermissionRequestValidationError) Error ¶
func (e GetPermissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPermissionRequestValidationError) ErrorName ¶
func (e GetPermissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPermissionRequestValidationError) Field ¶
func (e GetPermissionRequestValidationError) Field() string
Field function returns field value.
func (GetPermissionRequestValidationError) Key ¶
func (e GetPermissionRequestValidationError) Key() bool
Key function returns key value.
func (GetPermissionRequestValidationError) Reason ¶
func (e GetPermissionRequestValidationError) Reason() string
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 (x *GetUserEffectivePermissionsRequest) GetUserId() int64
func (*GetUserEffectivePermissionsRequest) ProtoMessage ¶
func (*GetUserEffectivePermissionsRequest) ProtoMessage()
func (*GetUserEffectivePermissionsRequest) ProtoReflect ¶
func (x *GetUserEffectivePermissionsRequest) ProtoReflect() protoreflect.Message
func (*GetUserEffectivePermissionsRequest) Reset ¶
func (x *GetUserEffectivePermissionsRequest) Reset()
func (*GetUserEffectivePermissionsRequest) String ¶
func (x *GetUserEffectivePermissionsRequest) String() string
func (*GetUserEffectivePermissionsRequest) Validate ¶
func (m *GetUserEffectivePermissionsRequest) Validate() error
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 ¶
func (m GetUserEffectivePermissionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserEffectivePermissionsRequestMultiError) Error ¶
func (m GetUserEffectivePermissionsRequestMultiError) Error() string
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 ¶
func (e GetUserEffectivePermissionsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserEffectivePermissionsRequestValidationError) Error ¶
func (e GetUserEffectivePermissionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserEffectivePermissionsRequestValidationError) ErrorName ¶
func (e GetUserEffectivePermissionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserEffectivePermissionsRequestValidationError) Field ¶
func (e GetUserEffectivePermissionsRequestValidationError) Field() string
Field function returns field value.
func (GetUserEffectivePermissionsRequestValidationError) Key ¶
func (e GetUserEffectivePermissionsRequestValidationError) Key() bool
Key function returns key value.
func (GetUserEffectivePermissionsRequestValidationError) Reason ¶
func (e GetUserEffectivePermissionsRequestValidationError) Reason() string
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 (x *GetUserEffectivePermissionsResponse) GetPermissions() []*EffectivePermission
func (*GetUserEffectivePermissionsResponse) ProtoMessage ¶
func (*GetUserEffectivePermissionsResponse) ProtoMessage()
func (*GetUserEffectivePermissionsResponse) ProtoReflect ¶
func (x *GetUserEffectivePermissionsResponse) ProtoReflect() protoreflect.Message
func (*GetUserEffectivePermissionsResponse) Reset ¶
func (x *GetUserEffectivePermissionsResponse) Reset()
func (*GetUserEffectivePermissionsResponse) String ¶
func (x *GetUserEffectivePermissionsResponse) String() string
func (*GetUserEffectivePermissionsResponse) Validate ¶
func (m *GetUserEffectivePermissionsResponse) Validate() error
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 ¶
func (m GetUserEffectivePermissionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserEffectivePermissionsResponseMultiError) Error ¶
func (m GetUserEffectivePermissionsResponseMultiError) Error() string
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 ¶
func (e GetUserEffectivePermissionsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserEffectivePermissionsResponseValidationError) Error ¶
func (e GetUserEffectivePermissionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserEffectivePermissionsResponseValidationError) ErrorName ¶
func (e GetUserEffectivePermissionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserEffectivePermissionsResponseValidationError) Field ¶
func (e GetUserEffectivePermissionsResponseValidationError) Field() string
Field function returns field value.
func (GetUserEffectivePermissionsResponseValidationError) Key ¶
func (e GetUserEffectivePermissionsResponseValidationError) Key() bool
Key function returns key value.
func (GetUserEffectivePermissionsResponseValidationError) Reason ¶
func (e GetUserEffectivePermissionsResponseValidationError) Reason() string
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 ¶
func (e GetUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRequestValidationError) Error ¶
func (e GetUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRequestValidationError) ErrorName ¶
func (e GetUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRequestValidationError) Field ¶
func (e GetUserRequestValidationError) Field() string
Field function returns field value.
func (GetUserRequestValidationError) Key ¶
func (e GetUserRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRequestValidationError) Reason ¶
func (e GetUserRequestValidationError) Reason() string
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 ¶
func (m GetUserResponseMultiError) Error() string
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 ¶
func (e GetUserResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserResponseValidationError) Error ¶
func (e GetUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserResponseValidationError) ErrorName ¶
func (e GetUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserResponseValidationError) Field ¶
func (e GetUserResponseValidationError) Field() string
Field function returns field value.
func (GetUserResponseValidationError) Key ¶
func (e GetUserResponseValidationError) Key() bool
Key function returns key value.
func (GetUserResponseValidationError) Reason ¶
func (e GetUserResponseValidationError) Reason() string
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) GetCreatedAt ¶
func (*Group) GetCreatedBy ¶
func (*Group) GetDescription ¶
func (*Group) GetDisplayName ¶
func (*Group) GetIsSystem ¶
func (*Group) GetUpdatedAt ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
func (*Group) Validate ¶
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 ¶
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) GetAssignedAt ¶
func (*GroupUser) GetAssignedBy ¶
func (*GroupUser) GetExpiresAt ¶
func (*GroupUser) GetUserUuid ¶
func (*GroupUser) GetUsername ¶
func (*GroupUser) ProtoMessage ¶
func (*GroupUser) ProtoMessage()
func (*GroupUser) ProtoReflect ¶
func (x *GroupUser) ProtoReflect() protoreflect.Message
func (*GroupUser) Validate ¶
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 ¶
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 ¶
func (e GroupUserValidationError) Key() bool
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 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 (x *ListConfigEntitiesRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m ListConfigEntitiesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListConfigEntitiesRequestMultiError) Error ¶
func (m ListConfigEntitiesRequestMultiError) Error() string
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 ¶
func (e ListConfigEntitiesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListConfigEntitiesRequestValidationError) Error ¶
func (e ListConfigEntitiesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListConfigEntitiesRequestValidationError) ErrorName ¶
func (e ListConfigEntitiesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListConfigEntitiesRequestValidationError) Field ¶
func (e ListConfigEntitiesRequestValidationError) Field() string
Field function returns field value.
func (ListConfigEntitiesRequestValidationError) Key ¶
func (e ListConfigEntitiesRequestValidationError) Key() bool
Key function returns key value.
func (ListConfigEntitiesRequestValidationError) Reason ¶
func (e ListConfigEntitiesRequestValidationError) Reason() string
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 (x *ListConfigEntitiesResponse) ProtoReflect() protoreflect.Message
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 ¶
func (m ListConfigEntitiesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListConfigEntitiesResponseMultiError) Error ¶
func (m ListConfigEntitiesResponseMultiError) Error() string
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 ¶
func (e ListConfigEntitiesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListConfigEntitiesResponseValidationError) Error ¶
func (e ListConfigEntitiesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListConfigEntitiesResponseValidationError) ErrorName ¶
func (e ListConfigEntitiesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListConfigEntitiesResponseValidationError) Field ¶
func (e ListConfigEntitiesResponseValidationError) Field() string
Field function returns field value.
func (ListConfigEntitiesResponseValidationError) Key ¶
func (e ListConfigEntitiesResponseValidationError) Key() bool
Key function returns key value.
func (ListConfigEntitiesResponseValidationError) Reason ¶
func (e ListConfigEntitiesResponseValidationError) Reason() string
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 ¶
func (m ListConfigsRequestMultiError) Error() string
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 ¶
func (e ListConfigsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListConfigsRequestValidationError) Error ¶
func (e ListConfigsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListConfigsRequestValidationError) ErrorName ¶
func (e ListConfigsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListConfigsRequestValidationError) Field ¶
func (e ListConfigsRequestValidationError) Field() string
Field function returns field value.
func (ListConfigsRequestValidationError) Key ¶
func (e ListConfigsRequestValidationError) Key() bool
Key function returns key value.
func (ListConfigsRequestValidationError) Reason ¶
func (e ListConfigsRequestValidationError) Reason() string
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 ¶
func (m ListConfigsResponseMultiError) Error() string
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 ¶
func (e ListConfigsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListConfigsResponseValidationError) Error ¶
func (e ListConfigsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListConfigsResponseValidationError) ErrorName ¶
func (e ListConfigsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListConfigsResponseValidationError) Field ¶
func (e ListConfigsResponseValidationError) Field() string
Field function returns field value.
func (ListConfigsResponseValidationError) Key ¶
func (e ListConfigsResponseValidationError) Key() bool
Key function returns key value.
func (ListConfigsResponseValidationError) Reason ¶
func (e ListConfigsResponseValidationError) Reason() string
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 (x *ListGroupPermissionsRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m ListGroupPermissionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListGroupPermissionsRequestMultiError) Error ¶
func (m ListGroupPermissionsRequestMultiError) Error() string
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 ¶
func (e ListGroupPermissionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListGroupPermissionsRequestValidationError) Error ¶
func (e ListGroupPermissionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupPermissionsRequestValidationError) ErrorName ¶
func (e ListGroupPermissionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListGroupPermissionsRequestValidationError) Field ¶
func (e ListGroupPermissionsRequestValidationError) Field() string
Field function returns field value.
func (ListGroupPermissionsRequestValidationError) Key ¶
func (e ListGroupPermissionsRequestValidationError) Key() bool
Key function returns key value.
func (ListGroupPermissionsRequestValidationError) Reason ¶
func (e ListGroupPermissionsRequestValidationError) Reason() string
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 (x *ListGroupPermissionsResponse) ProtoReflect() protoreflect.Message
func (*ListGroupPermissionsResponse) Reset ¶
func (x *ListGroupPermissionsResponse) Reset()
func (*ListGroupPermissionsResponse) String ¶
func (x *ListGroupPermissionsResponse) String() 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 ¶
func (m ListGroupPermissionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListGroupPermissionsResponseMultiError) Error ¶
func (m ListGroupPermissionsResponseMultiError) Error() string
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 ¶
func (e ListGroupPermissionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListGroupPermissionsResponseValidationError) Error ¶
func (e ListGroupPermissionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupPermissionsResponseValidationError) ErrorName ¶
func (e ListGroupPermissionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListGroupPermissionsResponseValidationError) Field ¶
func (e ListGroupPermissionsResponseValidationError) Field() string
Field function returns field value.
func (ListGroupPermissionsResponseValidationError) Key ¶
func (e ListGroupPermissionsResponseValidationError) Key() bool
Key function returns key value.
func (ListGroupPermissionsResponseValidationError) Reason ¶
func (e ListGroupPermissionsResponseValidationError) Reason() string
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 ¶
func (m ListGroupUsersRequestMultiError) Error() string
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 ¶
func (e ListGroupUsersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListGroupUsersRequestValidationError) Error ¶
func (e ListGroupUsersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupUsersRequestValidationError) ErrorName ¶
func (e ListGroupUsersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListGroupUsersRequestValidationError) Field ¶
func (e ListGroupUsersRequestValidationError) Field() string
Field function returns field value.
func (ListGroupUsersRequestValidationError) Key ¶
func (e ListGroupUsersRequestValidationError) Key() bool
Key function returns key value.
func (ListGroupUsersRequestValidationError) Reason ¶
func (e ListGroupUsersRequestValidationError) Reason() string
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 ¶
func (m ListGroupUsersResponseMultiError) Error() string
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 ¶
func (e ListGroupUsersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListGroupUsersResponseValidationError) Error ¶
func (e ListGroupUsersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupUsersResponseValidationError) ErrorName ¶
func (e ListGroupUsersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListGroupUsersResponseValidationError) Field ¶
func (e ListGroupUsersResponseValidationError) Field() string
Field function returns field value.
func (ListGroupUsersResponseValidationError) Key ¶
func (e ListGroupUsersResponseValidationError) Key() bool
Key function returns key value.
func (ListGroupUsersResponseValidationError) Reason ¶
func (e ListGroupUsersResponseValidationError) Reason() string
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 ¶
func (m ListGroupsRequestMultiError) Error() string
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 ¶
func (e ListGroupsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListGroupsRequestValidationError) Error ¶
func (e ListGroupsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupsRequestValidationError) ErrorName ¶
func (e ListGroupsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListGroupsRequestValidationError) Field ¶
func (e ListGroupsRequestValidationError) Field() string
Field function returns field value.
func (ListGroupsRequestValidationError) Key ¶
func (e ListGroupsRequestValidationError) Key() bool
Key function returns key value.
func (ListGroupsRequestValidationError) Reason ¶
func (e ListGroupsRequestValidationError) Reason() string
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 ¶
func (m ListGroupsResponseMultiError) Error() string
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 ¶
func (e ListGroupsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListGroupsResponseValidationError) Error ¶
func (e ListGroupsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupsResponseValidationError) ErrorName ¶
func (e ListGroupsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListGroupsResponseValidationError) Field ¶
func (e ListGroupsResponseValidationError) Field() string
Field function returns field value.
func (ListGroupsResponseValidationError) Key ¶
func (e ListGroupsResponseValidationError) Key() bool
Key function returns key value.
func (ListGroupsResponseValidationError) Reason ¶
func (e ListGroupsResponseValidationError) Reason() string
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 ¶
func (m ListPermissionsRequestMultiError) Error() string
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 ¶
func (e ListPermissionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListPermissionsRequestValidationError) Error ¶
func (e ListPermissionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListPermissionsRequestValidationError) ErrorName ¶
func (e ListPermissionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListPermissionsRequestValidationError) Field ¶
func (e ListPermissionsRequestValidationError) Field() string
Field function returns field value.
func (ListPermissionsRequestValidationError) Key ¶
func (e ListPermissionsRequestValidationError) Key() bool
Key function returns key value.
func (ListPermissionsRequestValidationError) Reason ¶
func (e ListPermissionsRequestValidationError) Reason() string
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 ¶
func (m ListPermissionsResponseMultiError) Error() string
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 ¶
func (e ListPermissionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListPermissionsResponseValidationError) Error ¶
func (e ListPermissionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListPermissionsResponseValidationError) ErrorName ¶
func (e ListPermissionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListPermissionsResponseValidationError) Field ¶
func (e ListPermissionsResponseValidationError) Field() string
Field function returns field value.
func (ListPermissionsResponseValidationError) Key ¶
func (e ListPermissionsResponseValidationError) Key() bool
Key function returns key value.
func (ListPermissionsResponseValidationError) Reason ¶
func (e ListPermissionsResponseValidationError) Reason() string
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 ¶
func (m ListUserGroupsRequestMultiError) Error() string
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 ¶
func (e ListUserGroupsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserGroupsRequestValidationError) Error ¶
func (e ListUserGroupsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserGroupsRequestValidationError) ErrorName ¶
func (e ListUserGroupsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserGroupsRequestValidationError) Field ¶
func (e ListUserGroupsRequestValidationError) Field() string
Field function returns field value.
func (ListUserGroupsRequestValidationError) Key ¶
func (e ListUserGroupsRequestValidationError) Key() bool
Key function returns key value.
func (ListUserGroupsRequestValidationError) Reason ¶
func (e ListUserGroupsRequestValidationError) Reason() string
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 ¶
func (m ListUserGroupsResponseMultiError) Error() string
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 ¶
func (e ListUserGroupsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUserGroupsResponseValidationError) Error ¶
func (e ListUserGroupsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserGroupsResponseValidationError) ErrorName ¶
func (e ListUserGroupsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserGroupsResponseValidationError) Field ¶
func (e ListUserGroupsResponseValidationError) Field() string
Field function returns field value.
func (ListUserGroupsResponseValidationError) Key ¶
func (e ListUserGroupsResponseValidationError) Key() bool
Key function returns key value.
func (ListUserGroupsResponseValidationError) Reason ¶
func (e ListUserGroupsResponseValidationError) Reason() string
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 (x *ListUserPermissionsRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m ListUserPermissionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserPermissionsRequestMultiError) Error ¶
func (m ListUserPermissionsRequestMultiError) Error() string
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 ¶
func (e ListUserPermissionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserPermissionsRequestValidationError) Error ¶
func (e ListUserPermissionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserPermissionsRequestValidationError) ErrorName ¶
func (e ListUserPermissionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserPermissionsRequestValidationError) Field ¶
func (e ListUserPermissionsRequestValidationError) Field() string
Field function returns field value.
func (ListUserPermissionsRequestValidationError) Key ¶
func (e ListUserPermissionsRequestValidationError) Key() bool
Key function returns key value.
func (ListUserPermissionsRequestValidationError) Reason ¶
func (e ListUserPermissionsRequestValidationError) Reason() string
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 (x *ListUserPermissionsResponse) ProtoReflect() protoreflect.Message
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 ¶
func (m ListUserPermissionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserPermissionsResponseMultiError) Error ¶
func (m ListUserPermissionsResponseMultiError) Error() string
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 ¶
func (e ListUserPermissionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUserPermissionsResponseValidationError) Error ¶
func (e ListUserPermissionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserPermissionsResponseValidationError) ErrorName ¶
func (e ListUserPermissionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserPermissionsResponseValidationError) Field ¶
func (e ListUserPermissionsResponseValidationError) Field() string
Field function returns field value.
func (ListUserPermissionsResponseValidationError) Key ¶
func (e ListUserPermissionsResponseValidationError) Key() bool
Key function returns key value.
func (ListUserPermissionsResponseValidationError) Reason ¶
func (e ListUserPermissionsResponseValidationError) Reason() string
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 ¶
func (m ListUserProfilesRequestMultiError) Error() string
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 ¶
func (e ListUserProfilesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserProfilesRequestValidationError) Error ¶
func (e ListUserProfilesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserProfilesRequestValidationError) ErrorName ¶
func (e ListUserProfilesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserProfilesRequestValidationError) Field ¶
func (e ListUserProfilesRequestValidationError) Field() string
Field function returns field value.
func (ListUserProfilesRequestValidationError) Key ¶
func (e ListUserProfilesRequestValidationError) Key() bool
Key function returns key value.
func (ListUserProfilesRequestValidationError) Reason ¶
func (e ListUserProfilesRequestValidationError) Reason() string
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 ¶
func (m ListUserProfilesResponseMultiError) Error() string
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 ¶
func (e ListUserProfilesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUserProfilesResponseValidationError) Error ¶
func (e ListUserProfilesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserProfilesResponseValidationError) ErrorName ¶
func (e ListUserProfilesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserProfilesResponseValidationError) Field ¶
func (e ListUserProfilesResponseValidationError) Field() string
Field function returns field value.
func (ListUserProfilesResponseValidationError) Key ¶
func (e ListUserProfilesResponseValidationError) Key() bool
Key function returns key value.
func (ListUserProfilesResponseValidationError) Reason ¶
func (e ListUserProfilesResponseValidationError) Reason() string
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 ¶
func (m ListUserSessionsRequestMultiError) Error() string
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 ¶
func (e ListUserSessionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserSessionsRequestValidationError) Error ¶
func (e ListUserSessionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserSessionsRequestValidationError) ErrorName ¶
func (e ListUserSessionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserSessionsRequestValidationError) Field ¶
func (e ListUserSessionsRequestValidationError) Field() string
Field function returns field value.
func (ListUserSessionsRequestValidationError) Key ¶
func (e ListUserSessionsRequestValidationError) Key() bool
Key function returns key value.
func (ListUserSessionsRequestValidationError) Reason ¶
func (e ListUserSessionsRequestValidationError) Reason() string
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 ¶
func (m ListUserSessionsResponseMultiError) Error() string
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 ¶
func (e ListUserSessionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUserSessionsResponseValidationError) Error ¶
func (e ListUserSessionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserSessionsResponseValidationError) ErrorName ¶
func (e ListUserSessionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserSessionsResponseValidationError) Field ¶
func (e ListUserSessionsResponseValidationError) Field() string
Field function returns field value.
func (ListUserSessionsResponseValidationError) Key ¶
func (e ListUserSessionsResponseValidationError) Key() bool
Key function returns key value.
func (ListUserSessionsResponseValidationError) Reason ¶
func (e ListUserSessionsResponseValidationError) Reason() string
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 ¶
func (m ListUsersRequestMultiError) Error() string
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 ¶
func (e ListUsersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUsersRequestValidationError) Error ¶
func (e ListUsersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersRequestValidationError) ErrorName ¶
func (e ListUsersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersRequestValidationError) Field ¶
func (e ListUsersRequestValidationError) Field() string
Field function returns field value.
func (ListUsersRequestValidationError) Key ¶
func (e ListUsersRequestValidationError) Key() bool
Key function returns key value.
func (ListUsersRequestValidationError) Reason ¶
func (e ListUsersRequestValidationError) Reason() string
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 ¶
func (m ListUsersResponseMultiError) Error() string
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 ¶
func (e ListUsersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUsersResponseValidationError) Error ¶
func (e ListUsersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersResponseValidationError) ErrorName ¶
func (e ListUsersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersResponseValidationError) Field ¶
func (e ListUsersResponseValidationError) Field() string
Field function returns field value.
func (ListUsersResponseValidationError) Key ¶
func (e ListUsersResponseValidationError) Key() bool
Key function returns key value.
func (ListUsersResponseValidationError) Reason ¶
func (e ListUsersResponseValidationError) Reason() string
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 ¶
func (e LogoutRequestValidationError) Cause() error
Cause function returns cause value.
func (LogoutRequestValidationError) Error ¶
func (e LogoutRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutRequestValidationError) ErrorName ¶
func (e LogoutRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutRequestValidationError) Field ¶
func (e LogoutRequestValidationError) Field() string
Field function returns field value.
func (LogoutRequestValidationError) Key ¶
func (e LogoutRequestValidationError) Key() bool
Key function returns key value.
func (LogoutRequestValidationError) Reason ¶
func (e LogoutRequestValidationError) Reason() string
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 ¶
func (e LogoutResponseValidationError) Cause() error
Cause function returns cause value.
func (LogoutResponseValidationError) Error ¶
func (e LogoutResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutResponseValidationError) ErrorName ¶
func (e LogoutResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutResponseValidationError) Field ¶
func (e LogoutResponseValidationError) Field() string
Field function returns field value.
func (LogoutResponseValidationError) Key ¶
func (e LogoutResponseValidationError) Key() bool
Key function returns key value.
func (LogoutResponseValidationError) Reason ¶
func (e LogoutResponseValidationError) Reason() string
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) GetOptions ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) Validate ¶
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 ¶
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)
// 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)
// 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 ¶
func (e PermissionValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionValidationError) ErrorName ¶
func (e PermissionValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionValidationError) Field ¶
func (e PermissionValidationError) Field() string
Field function returns field value.
func (PermissionValidationError) Key ¶
func (e PermissionValidationError) Key() bool
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 ¶
func (e PingRequestValidationError) Cause() error
Cause function returns cause value.
func (PingRequestValidationError) Error ¶
func (e PingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PingRequestValidationError) ErrorName ¶
func (e PingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PingRequestValidationError) Field ¶
func (e PingRequestValidationError) Field() string
Field function returns field value.
func (PingRequestValidationError) Key ¶
func (e PingRequestValidationError) Key() bool
Key function returns key value.
func (PingRequestValidationError) Reason ¶
func (e PingRequestValidationError) Reason() string
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 ¶
func (e PingResponseValidationError) Cause() error
Cause function returns cause value.
func (PingResponseValidationError) Error ¶
func (e PingResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PingResponseValidationError) ErrorName ¶
func (e PingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PingResponseValidationError) Field ¶
func (e PingResponseValidationError) Field() string
Field function returns field value.
func (PingResponseValidationError) Key ¶
func (e PingResponseValidationError) Key() bool
Key function returns key value.
func (PingResponseValidationError) Reason ¶
func (e PingResponseValidationError) Reason() string
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 ¶
func (m RefreshTokenRequestMultiError) Error() string
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 ¶
func (e RefreshTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenRequestValidationError) Error ¶
func (e RefreshTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenRequestValidationError) ErrorName ¶
func (e RefreshTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenRequestValidationError) Field ¶
func (e RefreshTokenRequestValidationError) Field() string
Field function returns field value.
func (RefreshTokenRequestValidationError) Key ¶
func (e RefreshTokenRequestValidationError) Key() bool
Key function returns key value.
func (RefreshTokenRequestValidationError) Reason ¶
func (e RefreshTokenRequestValidationError) Reason() string
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 ¶
func (m RefreshTokenResponseMultiError) Error() string
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 ¶
func (e RefreshTokenResponseValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenResponseValidationError) Error ¶
func (e RefreshTokenResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenResponseValidationError) ErrorName ¶
func (e RefreshTokenResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenResponseValidationError) Field ¶
func (e RefreshTokenResponseValidationError) Field() string
Field function returns field value.
func (RefreshTokenResponseValidationError) Key ¶
func (e RefreshTokenResponseValidationError) Key() bool
Key function returns key value.
func (RefreshTokenResponseValidationError) Reason ¶
func (e RefreshTokenResponseValidationError) Reason() string
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 (x *RemovePermissionsFromGroupRequest) ProtoReflect() protoreflect.Message
func (*RemovePermissionsFromGroupRequest) Reset ¶
func (x *RemovePermissionsFromGroupRequest) Reset()
func (*RemovePermissionsFromGroupRequest) String ¶
func (x *RemovePermissionsFromGroupRequest) String() string
func (*RemovePermissionsFromGroupRequest) Validate ¶
func (m *RemovePermissionsFromGroupRequest) Validate() error
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 ¶
func (m RemovePermissionsFromGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemovePermissionsFromGroupRequestMultiError) Error ¶
func (m RemovePermissionsFromGroupRequestMultiError) Error() string
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 ¶
func (e RemovePermissionsFromGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (RemovePermissionsFromGroupRequestValidationError) Error ¶
func (e RemovePermissionsFromGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemovePermissionsFromGroupRequestValidationError) ErrorName ¶
func (e RemovePermissionsFromGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemovePermissionsFromGroupRequestValidationError) Field ¶
func (e RemovePermissionsFromGroupRequestValidationError) Field() string
Field function returns field value.
func (RemovePermissionsFromGroupRequestValidationError) Key ¶
func (e RemovePermissionsFromGroupRequestValidationError) Key() bool
Key function returns key value.
func (RemovePermissionsFromGroupRequestValidationError) Reason ¶
func (e RemovePermissionsFromGroupRequestValidationError) Reason() string
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 (x *RemovePermissionsFromGroupResponse) GetMessage() string
func (*RemovePermissionsFromGroupResponse) GetSuccess ¶
func (x *RemovePermissionsFromGroupResponse) GetSuccess() bool
func (*RemovePermissionsFromGroupResponse) ProtoMessage ¶
func (*RemovePermissionsFromGroupResponse) ProtoMessage()
func (*RemovePermissionsFromGroupResponse) ProtoReflect ¶
func (x *RemovePermissionsFromGroupResponse) ProtoReflect() protoreflect.Message
func (*RemovePermissionsFromGroupResponse) Reset ¶
func (x *RemovePermissionsFromGroupResponse) Reset()
func (*RemovePermissionsFromGroupResponse) String ¶
func (x *RemovePermissionsFromGroupResponse) String() string
func (*RemovePermissionsFromGroupResponse) Validate ¶
func (m *RemovePermissionsFromGroupResponse) Validate() error
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 ¶
func (m RemovePermissionsFromGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemovePermissionsFromGroupResponseMultiError) Error ¶
func (m RemovePermissionsFromGroupResponseMultiError) Error() string
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 ¶
func (e RemovePermissionsFromGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (RemovePermissionsFromGroupResponseValidationError) Error ¶
func (e RemovePermissionsFromGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemovePermissionsFromGroupResponseValidationError) ErrorName ¶
func (e RemovePermissionsFromGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemovePermissionsFromGroupResponseValidationError) Field ¶
func (e RemovePermissionsFromGroupResponseValidationError) Field() string
Field function returns field value.
func (RemovePermissionsFromGroupResponseValidationError) Key ¶
func (e RemovePermissionsFromGroupResponseValidationError) Key() bool
Key function returns key value.
func (RemovePermissionsFromGroupResponseValidationError) Reason ¶
func (e RemovePermissionsFromGroupResponseValidationError) Reason() string
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 (x *RemovePermissionsFromUserRequest) ProtoReflect() protoreflect.Message
func (*RemovePermissionsFromUserRequest) Reset ¶
func (x *RemovePermissionsFromUserRequest) Reset()
func (*RemovePermissionsFromUserRequest) String ¶
func (x *RemovePermissionsFromUserRequest) String() string
func (*RemovePermissionsFromUserRequest) Validate ¶
func (m *RemovePermissionsFromUserRequest) Validate() error
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 ¶
func (m RemovePermissionsFromUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemovePermissionsFromUserRequestMultiError) Error ¶
func (m RemovePermissionsFromUserRequestMultiError) Error() string
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 ¶
func (e RemovePermissionsFromUserRequestValidationError) Cause() error
Cause function returns cause value.
func (RemovePermissionsFromUserRequestValidationError) Error ¶
func (e RemovePermissionsFromUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemovePermissionsFromUserRequestValidationError) ErrorName ¶
func (e RemovePermissionsFromUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemovePermissionsFromUserRequestValidationError) Field ¶
func (e RemovePermissionsFromUserRequestValidationError) Field() string
Field function returns field value.
func (RemovePermissionsFromUserRequestValidationError) Key ¶
func (e RemovePermissionsFromUserRequestValidationError) Key() bool
Key function returns key value.
func (RemovePermissionsFromUserRequestValidationError) Reason ¶
func (e RemovePermissionsFromUserRequestValidationError) Reason() string
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 (x *RemovePermissionsFromUserResponse) ProtoReflect() protoreflect.Message
func (*RemovePermissionsFromUserResponse) Reset ¶
func (x *RemovePermissionsFromUserResponse) Reset()
func (*RemovePermissionsFromUserResponse) String ¶
func (x *RemovePermissionsFromUserResponse) String() string
func (*RemovePermissionsFromUserResponse) Validate ¶
func (m *RemovePermissionsFromUserResponse) Validate() error
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 ¶
func (m RemovePermissionsFromUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemovePermissionsFromUserResponseMultiError) Error ¶
func (m RemovePermissionsFromUserResponseMultiError) Error() string
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 ¶
func (e RemovePermissionsFromUserResponseValidationError) Cause() error
Cause function returns cause value.
func (RemovePermissionsFromUserResponseValidationError) Error ¶
func (e RemovePermissionsFromUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemovePermissionsFromUserResponseValidationError) ErrorName ¶
func (e RemovePermissionsFromUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemovePermissionsFromUserResponseValidationError) Field ¶
func (e RemovePermissionsFromUserResponseValidationError) Field() string
Field function returns field value.
func (RemovePermissionsFromUserResponseValidationError) Key ¶
func (e RemovePermissionsFromUserResponseValidationError) Key() bool
Key function returns key value.
func (RemovePermissionsFromUserResponseValidationError) Reason ¶
func (e RemovePermissionsFromUserResponseValidationError) Reason() string
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 (x *RemoveUsersFromGroupRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m RemoveUsersFromGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveUsersFromGroupRequestMultiError) Error ¶
func (m RemoveUsersFromGroupRequestMultiError) Error() string
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 ¶
func (e RemoveUsersFromGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveUsersFromGroupRequestValidationError) Error ¶
func (e RemoveUsersFromGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveUsersFromGroupRequestValidationError) ErrorName ¶
func (e RemoveUsersFromGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveUsersFromGroupRequestValidationError) Field ¶
func (e RemoveUsersFromGroupRequestValidationError) Field() string
Field function returns field value.
func (RemoveUsersFromGroupRequestValidationError) Key ¶
func (e RemoveUsersFromGroupRequestValidationError) Key() bool
Key function returns key value.
func (RemoveUsersFromGroupRequestValidationError) Reason ¶
func (e RemoveUsersFromGroupRequestValidationError) Reason() string
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 (x *RemoveUsersFromGroupResponse) ProtoReflect() protoreflect.Message
func (*RemoveUsersFromGroupResponse) Reset ¶
func (x *RemoveUsersFromGroupResponse) Reset()
func (*RemoveUsersFromGroupResponse) String ¶
func (x *RemoveUsersFromGroupResponse) String() 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 ¶
func (m RemoveUsersFromGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveUsersFromGroupResponseMultiError) Error ¶
func (m RemoveUsersFromGroupResponseMultiError) Error() string
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 ¶
func (e RemoveUsersFromGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveUsersFromGroupResponseValidationError) Error ¶
func (e RemoveUsersFromGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveUsersFromGroupResponseValidationError) ErrorName ¶
func (e RemoveUsersFromGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveUsersFromGroupResponseValidationError) Field ¶
func (e RemoveUsersFromGroupResponseValidationError) Field() string
Field function returns field value.
func (RemoveUsersFromGroupResponseValidationError) Key ¶
func (e RemoveUsersFromGroupResponseValidationError) Key() bool
Key function returns key value.
func (RemoveUsersFromGroupResponseValidationError) Reason ¶
func (e RemoveUsersFromGroupResponseValidationError) Reason() string
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 ¶
func (e RequestHeadersValidationError) Cause() error
Cause function returns cause value.
func (RequestHeadersValidationError) Error ¶
func (e RequestHeadersValidationError) Error() string
Error satisfies the builtin error interface
func (RequestHeadersValidationError) ErrorName ¶
func (e RequestHeadersValidationError) ErrorName() string
ErrorName returns error name.
func (RequestHeadersValidationError) Field ¶
func (e RequestHeadersValidationError) Field() string
Field function returns field value.
func (RequestHeadersValidationError) Key ¶
func (e RequestHeadersValidationError) Key() bool
Key function returns key value.
func (RequestHeadersValidationError) Reason ¶
func (e RequestHeadersValidationError) Reason() string
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 (x *SendVerificationCodeRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m SendVerificationCodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendVerificationCodeRequestMultiError) Error ¶
func (m SendVerificationCodeRequestMultiError) Error() string
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 ¶
func (e SendVerificationCodeRequestValidationError) Cause() error
Cause function returns cause value.
func (SendVerificationCodeRequestValidationError) Error ¶
func (e SendVerificationCodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendVerificationCodeRequestValidationError) ErrorName ¶
func (e SendVerificationCodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendVerificationCodeRequestValidationError) Field ¶
func (e SendVerificationCodeRequestValidationError) Field() string
Field function returns field value.
func (SendVerificationCodeRequestValidationError) Key ¶
func (e SendVerificationCodeRequestValidationError) Key() bool
Key function returns key value.
func (SendVerificationCodeRequestValidationError) Reason ¶
func (e SendVerificationCodeRequestValidationError) Reason() string
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 (x *SendVerificationCodeResponse) GetId() int64
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 (x *SendVerificationCodeResponse) ProtoReflect() protoreflect.Message
func (*SendVerificationCodeResponse) Reset ¶
func (x *SendVerificationCodeResponse) Reset()
func (*SendVerificationCodeResponse) String ¶
func (x *SendVerificationCodeResponse) String() 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 ¶
func (m SendVerificationCodeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendVerificationCodeResponseMultiError) Error ¶
func (m SendVerificationCodeResponseMultiError) Error() string
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 ¶
func (e SendVerificationCodeResponseValidationError) Cause() error
Cause function returns cause value.
func (SendVerificationCodeResponseValidationError) Error ¶
func (e SendVerificationCodeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendVerificationCodeResponseValidationError) ErrorName ¶
func (e SendVerificationCodeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendVerificationCodeResponseValidationError) Field ¶
func (e SendVerificationCodeResponseValidationError) Field() string
Field function returns field value.
func (SendVerificationCodeResponseValidationError) Key ¶
func (e SendVerificationCodeResponseValidationError) Key() bool
Key function returns key value.
func (SendVerificationCodeResponseValidationError) Reason ¶
func (e SendVerificationCodeResponseValidationError) Reason() string
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) GetCreatedAt ¶
func (*Session) GetDeviceId ¶
func (*Session) GetDeviceName ¶
func (*Session) GetDeviceType ¶
func (*Session) GetExpiresAt ¶
func (*Session) GetIpAddress ¶
func (*Session) GetIsActive ¶
func (*Session) GetLastActivityAt ¶
func (*Session) GetLocation ¶
func (*Session) GetUserAgent ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
func (*Session) Validate ¶
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 ¶
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 ¶
func (e SignInMetadataValidationError) Cause() error
Cause function returns cause value.
func (SignInMetadataValidationError) Error ¶
func (e SignInMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SignInMetadataValidationError) ErrorName ¶
func (e SignInMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SignInMetadataValidationError) Field ¶
func (e SignInMetadataValidationError) Field() string
Field function returns field value.
func (SignInMetadataValidationError) Key ¶
func (e SignInMetadataValidationError) Key() bool
Key function returns key value.
func (SignInMetadataValidationError) Reason ¶
func (e SignInMetadataValidationError) Reason() string
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 ¶
func (e SignInRequestValidationError) Cause() error
Cause function returns cause value.
func (SignInRequestValidationError) Error ¶
func (e SignInRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SignInRequestValidationError) ErrorName ¶
func (e SignInRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SignInRequestValidationError) Field ¶
func (e SignInRequestValidationError) Field() string
Field function returns field value.
func (SignInRequestValidationError) Key ¶
func (e SignInRequestValidationError) Key() bool
Key function returns key value.
func (SignInRequestValidationError) Reason ¶
func (e SignInRequestValidationError) Reason() string
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 ¶
func (e SignInResponseValidationError) Cause() error
Cause function returns cause value.
func (SignInResponseValidationError) Error ¶
func (e SignInResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SignInResponseValidationError) ErrorName ¶
func (e SignInResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SignInResponseValidationError) Field ¶
func (e SignInResponseValidationError) Field() string
Field function returns field value.
func (SignInResponseValidationError) Key ¶
func (e SignInResponseValidationError) Key() bool
Key function returns key value.
func (SignInResponseValidationError) Reason ¶
func (e SignInResponseValidationError) Reason() string
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 ¶
func (e SignUpRequestValidationError) Cause() error
Cause function returns cause value.
func (SignUpRequestValidationError) Error ¶
func (e SignUpRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SignUpRequestValidationError) ErrorName ¶
func (e SignUpRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SignUpRequestValidationError) Field ¶
func (e SignUpRequestValidationError) Field() string
Field function returns field value.
func (SignUpRequestValidationError) Key ¶
func (e SignUpRequestValidationError) Key() bool
Key function returns key value.
func (SignUpRequestValidationError) Reason ¶
func (e SignUpRequestValidationError) Reason() string
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 ¶
func (e SignUpResponseValidationError) Cause() error
Cause function returns cause value.
func (SignUpResponseValidationError) Error ¶
func (e SignUpResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SignUpResponseValidationError) ErrorName ¶
func (e SignUpResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SignUpResponseValidationError) Field ¶
func (e SignUpResponseValidationError) Field() string
Field function returns field value.
func (SignUpResponseValidationError) Key ¶
func (e SignUpResponseValidationError) Key() bool
Key function returns key value.
func (SignUpResponseValidationError) Reason ¶
func (e SignUpResponseValidationError) Reason() string
Reason function returns reason value.
type SortOrder ¶
type SortOrder int32
func (SortOrder) Descriptor ¶
func (SortOrder) Descriptor() protoreflect.EnumDescriptor
func (SortOrder) EnumDescriptor
deprecated
func (SortOrder) Number ¶
func (x SortOrder) Number() protoreflect.EnumNumber
func (SortOrder) Type ¶
func (SortOrder) Type() protoreflect.EnumType
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 ¶
func (e StatsRequestValidationError) Cause() error
Cause function returns cause value.
func (StatsRequestValidationError) Error ¶
func (e StatsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatsRequestValidationError) ErrorName ¶
func (e StatsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatsRequestValidationError) Field ¶
func (e StatsRequestValidationError) Field() string
Field function returns field value.
func (StatsRequestValidationError) Key ¶
func (e StatsRequestValidationError) Key() bool
Key function returns key value.
func (StatsRequestValidationError) Reason ¶
func (e StatsRequestValidationError) Reason() string
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 ¶
func (e StatsResponseValidationError) Cause() error
Cause function returns cause value.
func (StatsResponseValidationError) Error ¶
func (e StatsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatsResponseValidationError) ErrorName ¶
func (e StatsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatsResponseValidationError) Field ¶
func (e StatsResponseValidationError) Field() string
Field function returns field value.
func (StatsResponseValidationError) Key ¶
func (e StatsResponseValidationError) Key() bool
Key function returns key value.
func (StatsResponseValidationError) Reason ¶
func (e StatsResponseValidationError) Reason() string
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 ¶
func (m TerminateSessionRequestMultiError) Error() string
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 ¶
func (e TerminateSessionRequestValidationError) Cause() error
Cause function returns cause value.
func (TerminateSessionRequestValidationError) Error ¶
func (e TerminateSessionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TerminateSessionRequestValidationError) ErrorName ¶
func (e TerminateSessionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TerminateSessionRequestValidationError) Field ¶
func (e TerminateSessionRequestValidationError) Field() string
Field function returns field value.
func (TerminateSessionRequestValidationError) Key ¶
func (e TerminateSessionRequestValidationError) Key() bool
Key function returns key value.
func (TerminateSessionRequestValidationError) Reason ¶
func (e TerminateSessionRequestValidationError) Reason() string
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 ¶
func (m TerminateSessionResponseMultiError) Error() string
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 ¶
func (e TerminateSessionResponseValidationError) Cause() error
Cause function returns cause value.
func (TerminateSessionResponseValidationError) Error ¶
func (e TerminateSessionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TerminateSessionResponseValidationError) ErrorName ¶
func (e TerminateSessionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TerminateSessionResponseValidationError) Field ¶
func (e TerminateSessionResponseValidationError) Field() string
Field function returns field value.
func (TerminateSessionResponseValidationError) Key ¶
func (e TerminateSessionResponseValidationError) Key() bool
Key function returns key value.
func (TerminateSessionResponseValidationError) Reason ¶
func (e TerminateSessionResponseValidationError) Reason() string
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) AssignPermissionsToGroup ¶
func (UnimplementedOpenAuthServer) AssignPermissionsToGroup(context.Context, *AssignPermissionsToGroupRequest) (*AssignPermissionsToGroupResponse, error)
func (UnimplementedOpenAuthServer) AssignPermissionsToUser ¶
func (UnimplementedOpenAuthServer) AssignPermissionsToUser(context.Context, *AssignPermissionsToUserRequest) (*AssignPermissionsToUserResponse, error)
func (UnimplementedOpenAuthServer) AssignUsersToGroup ¶
func (UnimplementedOpenAuthServer) AssignUsersToGroup(context.Context, *AssignUsersToGroupRequest) (*AssignUsersToGroupResponse, error)
func (UnimplementedOpenAuthServer) ChangePassword ¶
func (UnimplementedOpenAuthServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (UnimplementedOpenAuthServer) CheckEmail ¶
func (UnimplementedOpenAuthServer) CheckEmail(context.Context, *CheckEmailRequest) (*CheckEmailResponse, error)
func (UnimplementedOpenAuthServer) CheckUsername ¶
func (UnimplementedOpenAuthServer) CheckUsername(context.Context, *CheckUsernameRequest) (*CheckUsernameResponse, error)
func (UnimplementedOpenAuthServer) CreateConfig ¶
func (UnimplementedOpenAuthServer) CreateConfig(context.Context, *CreateConfigRequest) (*Config, error)
func (UnimplementedOpenAuthServer) CreateConfigEntity ¶
func (UnimplementedOpenAuthServer) CreateConfigEntity(context.Context, *CreateConfigEntityRequest) (*ConfigEntity, error)
func (UnimplementedOpenAuthServer) CreateGroup ¶
func (UnimplementedOpenAuthServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
func (UnimplementedOpenAuthServer) CreatePermission ¶
func (UnimplementedOpenAuthServer) CreatePermission(context.Context, *CreatePermissionRequest) (*Permission, error)
func (UnimplementedOpenAuthServer) CreateProfile ¶
func (UnimplementedOpenAuthServer) CreateProfile(context.Context, *CreateProfileRequest) (*CreateProfileResponse, error)
func (UnimplementedOpenAuthServer) DeleteConfig ¶
func (UnimplementedOpenAuthServer) DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteResponse, error)
func (UnimplementedOpenAuthServer) DeleteConfigEntity ¶
func (UnimplementedOpenAuthServer) DeleteConfigEntity(context.Context, *DeleteConfigEntityRequest) (*DeleteResponse, error)
func (UnimplementedOpenAuthServer) DeleteGroup ¶
func (UnimplementedOpenAuthServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
func (UnimplementedOpenAuthServer) DeletePermission ¶
func (UnimplementedOpenAuthServer) DeletePermission(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error)
func (UnimplementedOpenAuthServer) DeleteProfile ¶
func (UnimplementedOpenAuthServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
func (UnimplementedOpenAuthServer) DeleteUser ¶
func (UnimplementedOpenAuthServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedOpenAuthServer) GetConfig ¶
func (UnimplementedOpenAuthServer) GetConfig(context.Context, *GetConfigRequest) (*Config, error)
func (UnimplementedOpenAuthServer) GetConfigEntity ¶
func (UnimplementedOpenAuthServer) GetConfigEntity(context.Context, *GetConfigEntityRequest) (*ConfigEntity, error)
func (UnimplementedOpenAuthServer) GetConfigsByKeys ¶
func (UnimplementedOpenAuthServer) GetConfigsByKeys(context.Context, *GetConfigsByKeysRequest) (*GetConfigsByKeysResponse, error)
func (UnimplementedOpenAuthServer) GetGroup ¶
func (UnimplementedOpenAuthServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
func (UnimplementedOpenAuthServer) GetPermission ¶
func (UnimplementedOpenAuthServer) GetPermission(context.Context, *GetPermissionRequest) (*Permission, error)
func (UnimplementedOpenAuthServer) GetUser ¶
func (UnimplementedOpenAuthServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedOpenAuthServer) GetUserEffectivePermissions ¶
func (UnimplementedOpenAuthServer) GetUserEffectivePermissions(context.Context, *GetUserEffectivePermissionsRequest) (*GetUserEffectivePermissionsResponse, error)
func (UnimplementedOpenAuthServer) ListConfigEntities ¶
func (UnimplementedOpenAuthServer) ListConfigEntities(context.Context, *ListConfigEntitiesRequest) (*ListConfigEntitiesResponse, error)
func (UnimplementedOpenAuthServer) ListConfigs ¶
func (UnimplementedOpenAuthServer) ListConfigs(context.Context, *ListConfigsRequest) (*ListConfigsResponse, error)
func (UnimplementedOpenAuthServer) ListGroupPermissions ¶
func (UnimplementedOpenAuthServer) ListGroupPermissions(context.Context, *ListGroupPermissionsRequest) (*ListGroupPermissionsResponse, error)
func (UnimplementedOpenAuthServer) ListGroupUsers ¶
func (UnimplementedOpenAuthServer) ListGroupUsers(context.Context, *ListGroupUsersRequest) (*ListGroupUsersResponse, error)
func (UnimplementedOpenAuthServer) ListGroups ¶
func (UnimplementedOpenAuthServer) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
func (UnimplementedOpenAuthServer) ListPermissions ¶
func (UnimplementedOpenAuthServer) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
func (UnimplementedOpenAuthServer) ListUserGroups ¶
func (UnimplementedOpenAuthServer) ListUserGroups(context.Context, *ListUserGroupsRequest) (*ListUserGroupsResponse, error)
func (UnimplementedOpenAuthServer) ListUserPermissions ¶
func (UnimplementedOpenAuthServer) ListUserPermissions(context.Context, *ListUserPermissionsRequest) (*ListUserPermissionsResponse, error)
func (UnimplementedOpenAuthServer) ListUserProfiles ¶
func (UnimplementedOpenAuthServer) ListUserProfiles(context.Context, *ListUserProfilesRequest) (*ListUserProfilesResponse, error)
func (UnimplementedOpenAuthServer) ListUserSessions ¶
func (UnimplementedOpenAuthServer) ListUserSessions(context.Context, *ListUserSessionsRequest) (*ListUserSessionsResponse, error)
func (UnimplementedOpenAuthServer) ListUsers ¶
func (UnimplementedOpenAuthServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedOpenAuthServer) Logout ¶
func (UnimplementedOpenAuthServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedOpenAuthServer) Ping ¶
func (UnimplementedOpenAuthServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedOpenAuthServer) RefreshToken ¶
func (UnimplementedOpenAuthServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
func (UnimplementedOpenAuthServer) RemovePermissionsFromGroup ¶
func (UnimplementedOpenAuthServer) RemovePermissionsFromGroup(context.Context, *RemovePermissionsFromGroupRequest) (*RemovePermissionsFromGroupResponse, error)
func (UnimplementedOpenAuthServer) RemovePermissionsFromUser ¶
func (UnimplementedOpenAuthServer) RemovePermissionsFromUser(context.Context, *RemovePermissionsFromUserRequest) (*RemovePermissionsFromUserResponse, error)
func (UnimplementedOpenAuthServer) RemoveUsersFromGroup ¶
func (UnimplementedOpenAuthServer) RemoveUsersFromGroup(context.Context, *RemoveUsersFromGroupRequest) (*RemoveUsersFromGroupResponse, error)
func (UnimplementedOpenAuthServer) SendVerificationCode ¶
func (UnimplementedOpenAuthServer) SendVerificationCode(context.Context, *SendVerificationCodeRequest) (*SendVerificationCodeResponse, error)
func (UnimplementedOpenAuthServer) SignIn ¶
func (UnimplementedOpenAuthServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
func (UnimplementedOpenAuthServer) SignUp ¶
func (UnimplementedOpenAuthServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
func (UnimplementedOpenAuthServer) Stats ¶
func (UnimplementedOpenAuthServer) Stats(context.Context, *StatsRequest) (*StatsResponse, error)
func (UnimplementedOpenAuthServer) TerminateSession ¶
func (UnimplementedOpenAuthServer) TerminateSession(context.Context, *TerminateSessionRequest) (*TerminateSessionResponse, error)
func (UnimplementedOpenAuthServer) UpdateConfig ¶
func (UnimplementedOpenAuthServer) UpdateConfig(context.Context, *UpdateConfigRequest) (*UpdateResponse, error)
func (UnimplementedOpenAuthServer) UpdateConfigEntity ¶
func (UnimplementedOpenAuthServer) UpdateConfigEntity(context.Context, *UpdateConfigEntityRequest) (*UpdateResponse, error)
func (UnimplementedOpenAuthServer) UpdateGroup ¶
func (UnimplementedOpenAuthServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
func (UnimplementedOpenAuthServer) UpdatePermission ¶
func (UnimplementedOpenAuthServer) UpdatePermission(context.Context, *UpdatePermissionRequest) (*Permission, error)
func (UnimplementedOpenAuthServer) UpdateProfile ¶
func (UnimplementedOpenAuthServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
func (UnimplementedOpenAuthServer) UpdateUser ¶
func (UnimplementedOpenAuthServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
func (UnimplementedOpenAuthServer) ValidateToken ¶
func (UnimplementedOpenAuthServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
func (UnimplementedOpenAuthServer) VerifyEmail ¶
func (UnimplementedOpenAuthServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerificationResponse, error)
func (UnimplementedOpenAuthServer) VerifyPhone ¶
func (UnimplementedOpenAuthServer) VerifyPhone(context.Context, *VerifyPhoneRequest) (*VerificationResponse, error)
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 (x *UpdateConfigEntityRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m UpdateConfigEntityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateConfigEntityRequestMultiError) Error ¶
func (m UpdateConfigEntityRequestMultiError) Error() string
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 ¶
func (e UpdateConfigEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateConfigEntityRequestValidationError) Error ¶
func (e UpdateConfigEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateConfigEntityRequestValidationError) ErrorName ¶
func (e UpdateConfigEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateConfigEntityRequestValidationError) Field ¶
func (e UpdateConfigEntityRequestValidationError) Field() string
Field function returns field value.
func (UpdateConfigEntityRequestValidationError) Key ¶
func (e UpdateConfigEntityRequestValidationError) Key() bool
Key function returns key value.
func (UpdateConfigEntityRequestValidationError) Reason ¶
func (e UpdateConfigEntityRequestValidationError) Reason() string
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 ¶
func (m UpdateConfigRequestMultiError) Error() string
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 ¶
func (e UpdateConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateConfigRequestValidationError) Error ¶
func (e UpdateConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateConfigRequestValidationError) ErrorName ¶
func (e UpdateConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateConfigRequestValidationError) Field ¶
func (e UpdateConfigRequestValidationError) Field() string
Field function returns field value.
func (UpdateConfigRequestValidationError) Key ¶
func (e UpdateConfigRequestValidationError) Key() bool
Key function returns key value.
func (UpdateConfigRequestValidationError) Reason ¶
func (e UpdateConfigRequestValidationError) Reason() string
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 ¶
func (m UpdateGroupRequestMultiError) Error() string
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 ¶
func (e UpdateGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateGroupRequestValidationError) Error ¶
func (e UpdateGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateGroupRequestValidationError) ErrorName ¶
func (e UpdateGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateGroupRequestValidationError) Field ¶
func (e UpdateGroupRequestValidationError) Field() string
Field function returns field value.
func (UpdateGroupRequestValidationError) Key ¶
func (e UpdateGroupRequestValidationError) Key() bool
Key function returns key value.
func (UpdateGroupRequestValidationError) Reason ¶
func (e UpdateGroupRequestValidationError) Reason() string
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 ¶
func (m UpdateGroupResponseMultiError) Error() string
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 ¶
func (e UpdateGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateGroupResponseValidationError) Error ¶
func (e UpdateGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateGroupResponseValidationError) ErrorName ¶
func (e UpdateGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateGroupResponseValidationError) Field ¶
func (e UpdateGroupResponseValidationError) Field() string
Field function returns field value.
func (UpdateGroupResponseValidationError) Key ¶
func (e UpdateGroupResponseValidationError) Key() bool
Key function returns key value.
func (UpdateGroupResponseValidationError) Reason ¶
func (e UpdateGroupResponseValidationError) Reason() string
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 ¶
func (m UpdatePermissionRequestMultiError) Error() string
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 ¶
func (e UpdatePermissionRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdatePermissionRequestValidationError) Error ¶
func (e UpdatePermissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePermissionRequestValidationError) ErrorName ¶
func (e UpdatePermissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePermissionRequestValidationError) Field ¶
func (e UpdatePermissionRequestValidationError) Field() string
Field function returns field value.
func (UpdatePermissionRequestValidationError) Key ¶
func (e UpdatePermissionRequestValidationError) Key() bool
Key function returns key value.
func (UpdatePermissionRequestValidationError) Reason ¶
func (e UpdatePermissionRequestValidationError) Reason() string
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 ¶
func (m UpdateProfileRequestMultiError) Error() string
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 ¶
func (e UpdateProfileRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateProfileRequestValidationError) Error ¶
func (e UpdateProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProfileRequestValidationError) ErrorName ¶
func (e UpdateProfileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProfileRequestValidationError) Field ¶
func (e UpdateProfileRequestValidationError) Field() string
Field function returns field value.
func (UpdateProfileRequestValidationError) Key ¶
func (e UpdateProfileRequestValidationError) Key() bool
Key function returns key value.
func (UpdateProfileRequestValidationError) Reason ¶
func (e UpdateProfileRequestValidationError) Reason() string
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 ¶
func (m UpdateProfileResponseMultiError) Error() string
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 ¶
func (e UpdateProfileResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateProfileResponseValidationError) Error ¶
func (e UpdateProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProfileResponseValidationError) ErrorName ¶
func (e UpdateProfileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProfileResponseValidationError) Field ¶
func (e UpdateProfileResponseValidationError) Field() string
Field function returns field value.
func (UpdateProfileResponseValidationError) Key ¶
func (e UpdateProfileResponseValidationError) Key() bool
Key function returns key value.
func (UpdateProfileResponseValidationError) Reason ¶
func (e UpdateProfileResponseValidationError) Reason() string
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 ¶
func (e UpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateResponseValidationError) Error ¶
func (e UpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResponseValidationError) ErrorName ¶
func (e UpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResponseValidationError) Field ¶
func (e UpdateResponseValidationError) Field() string
Field function returns field value.
func (UpdateResponseValidationError) Key ¶
func (e UpdateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateResponseValidationError) Reason ¶
func (e UpdateResponseValidationError) Reason() string
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 ¶
func (m UpdateUserRequestMultiError) Error() string
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 ¶
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶
func (e UpdateUserRequestValidationError) Reason() string
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 ¶
func (m UpdateUserResponseMultiError) Error() string
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 ¶
func (e UpdateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserResponseValidationError) Error ¶
func (e UpdateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserResponseValidationError) ErrorName ¶
func (e UpdateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserResponseValidationError) Field ¶
func (e UpdateUserResponseValidationError) Field() string
Field function returns field value.
func (UpdateUserResponseValidationError) Key ¶
func (e UpdateUserResponseValidationError) Key() bool
Key function returns key value.
func (UpdateUserResponseValidationError) Reason ¶
func (e UpdateUserResponseValidationError) Reason() string
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) GetAvatarUrl ¶
func (*User) GetCreatedAt ¶
func (*User) GetDeactivated ¶
func (*User) GetEmailVerified ¶
func (*User) GetFailedLoginAttempts ¶
func (*User) GetIsActive ¶
func (*User) GetIsLocked ¶
func (*User) GetLastLoginAt ¶
func (*User) GetPasswordChangedAt ¶
func (*User) GetPhoneVerified ¶
func (*User) GetUpdatedAt ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) Validate ¶
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 ¶
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) GetAssignedAt ¶
func (*UserGroup) GetAssignedBy ¶
func (*UserGroup) GetExpiresAt ¶
func (*UserGroup) GetGroupDescription ¶
func (*UserGroup) GetGroupDisplayName ¶
func (*UserGroup) GetGroupId ¶
func (*UserGroup) GetGroupName ¶
func (*UserGroup) GetIsDefault ¶
func (*UserGroup) GetIsSystem ¶
func (*UserGroup) ProtoMessage ¶
func (*UserGroup) ProtoMessage()
func (*UserGroup) ProtoReflect ¶
func (x *UserGroup) ProtoReflect() protoreflect.Message
func (*UserGroup) Validate ¶
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 ¶
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 ¶
func (e UserGroupValidationError) Key() bool
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 ¶
func (e UserProfileValidationError) Cause() error
Cause function returns cause value.
func (UserProfileValidationError) Error ¶
func (e UserProfileValidationError) Error() string
Error satisfies the builtin error interface
func (UserProfileValidationError) ErrorName ¶
func (e UserProfileValidationError) ErrorName() string
ErrorName returns error name.
func (UserProfileValidationError) Field ¶
func (e UserProfileValidationError) Field() string
Field function returns field value.
func (UserProfileValidationError) Key ¶
func (e UserProfileValidationError) Key() bool
Key function returns key value.
func (UserProfileValidationError) Reason ¶
func (e UserProfileValidationError) Reason() string
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 ¶
func (m ValidateTokenRequestMultiError) Error() string
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 ¶
func (e ValidateTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (ValidateTokenRequestValidationError) Error ¶
func (e ValidateTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateTokenRequestValidationError) ErrorName ¶
func (e ValidateTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateTokenRequestValidationError) Field ¶
func (e ValidateTokenRequestValidationError) Field() string
Field function returns field value.
func (ValidateTokenRequestValidationError) Key ¶
func (e ValidateTokenRequestValidationError) Key() bool
Key function returns key value.
func (ValidateTokenRequestValidationError) Reason ¶
func (e ValidateTokenRequestValidationError) Reason() string
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 ¶
func (m ValidateTokenResponseMultiError) Error() string
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 ¶
func (e ValidateTokenResponseValidationError) Cause() error
Cause function returns cause value.
func (ValidateTokenResponseValidationError) Error ¶
func (e ValidateTokenResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateTokenResponseValidationError) ErrorName ¶
func (e ValidateTokenResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateTokenResponseValidationError) Field ¶
func (e ValidateTokenResponseValidationError) Field() string
Field function returns field value.
func (ValidateTokenResponseValidationError) Key ¶
func (e ValidateTokenResponseValidationError) Key() bool
Key function returns key value.
func (ValidateTokenResponseValidationError) Reason ¶
func (e ValidateTokenResponseValidationError) Reason() string
Reason function returns reason value.
type ValueType ¶
type ValueType int32
func (ValueType) Descriptor ¶
func (ValueType) Descriptor() protoreflect.EnumDescriptor
func (ValueType) EnumDescriptor
deprecated
func (ValueType) Number ¶
func (x ValueType) Number() protoreflect.EnumNumber
func (ValueType) Type ¶
func (ValueType) Type() protoreflect.EnumType
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 ¶
func (m VerificationResponseMultiError) Error() string
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 ¶
func (e VerificationResponseValidationError) Cause() error
Cause function returns cause value.
func (VerificationResponseValidationError) Error ¶
func (e VerificationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (VerificationResponseValidationError) ErrorName ¶
func (e VerificationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (VerificationResponseValidationError) Field ¶
func (e VerificationResponseValidationError) Field() string
Field function returns field value.
func (VerificationResponseValidationError) Key ¶
func (e VerificationResponseValidationError) Key() bool
Key function returns key value.
func (VerificationResponseValidationError) Reason ¶
func (e VerificationResponseValidationError) Reason() string
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 ¶
func (m VerifyEmailRequestMultiError) Error() string
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 ¶
func (e VerifyEmailRequestValidationError) Cause() error
Cause function returns cause value.
func (VerifyEmailRequestValidationError) Error ¶
func (e VerifyEmailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (VerifyEmailRequestValidationError) ErrorName ¶
func (e VerifyEmailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (VerifyEmailRequestValidationError) Field ¶
func (e VerifyEmailRequestValidationError) Field() string
Field function returns field value.
func (VerifyEmailRequestValidationError) Key ¶
func (e VerifyEmailRequestValidationError) Key() bool
Key function returns key value.
func (VerifyEmailRequestValidationError) Reason ¶
func (e VerifyEmailRequestValidationError) Reason() string
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 ¶
func (m VerifyPhoneRequestMultiError) Error() string
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 ¶
func (e VerifyPhoneRequestValidationError) Cause() error
Cause function returns cause value.
func (VerifyPhoneRequestValidationError) Error ¶
func (e VerifyPhoneRequestValidationError) Error() string
Error satisfies the builtin error interface
func (VerifyPhoneRequestValidationError) ErrorName ¶
func (e VerifyPhoneRequestValidationError) ErrorName() string
ErrorName returns error name.
func (VerifyPhoneRequestValidationError) Field ¶
func (e VerifyPhoneRequestValidationError) Field() string
Field function returns field value.
func (VerifyPhoneRequestValidationError) Key ¶
func (e VerifyPhoneRequestValidationError) Key() bool
Key function returns key value.
func (VerifyPhoneRequestValidationError) Reason ¶
func (e VerifyPhoneRequestValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- configs.pb.go
- configs.pb.validate.go
- groups.pb.go
- groups.pb.validate.go
- headers.pb.go
- headers.pb.validate.go
- openauth.pb.go
- openauth.pb.gw.go
- openauth.pb.validate.go
- openauth_grpc.pb.go
- permission_assignments.pb.go
- permission_assignments.pb.validate.go
- permissions.pb.go
- permissions.pb.validate.go
- ping.pb.go
- ping.pb.validate.go
- sessions.pb.go
- sessions.pb.validate.go
- sort.pb.go
- sort.pb.validate.go
- stats.pb.go
- stats.pb.validate.go
- users.pb.go
- users.pb.validate.go