Documentation ¶
Index ¶
- Variables
- type Cursor
- func (*Cursor) Descriptor() ([]byte, []int)deprecated
- func (x *Cursor) GetAfter() string
- func (x *Cursor) GetBefore() string
- func (*Cursor) ProtoMessage()
- func (x *Cursor) ProtoReflect() protoreflect.Message
- func (x *Cursor) Reset()
- func (x *Cursor) String() string
- func (m *Cursor) Validate() error
- func (m *Cursor) ValidateAll() error
- type CursorMultiError
- type CursorValidationError
- type CustomersServiceClient
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetCustomerId() string
- func (x *DeleteUserRequest) GetUserId() 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 FindUserRequest
- func (*FindUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindUserRequest) GetCustomerId() string
- func (x *FindUserRequest) GetEmail() string
- func (x *FindUserRequest) GetType() UserAccountType
- func (*FindUserRequest) ProtoMessage()
- func (x *FindUserRequest) ProtoReflect() protoreflect.Message
- func (x *FindUserRequest) Reset()
- func (x *FindUserRequest) String() string
- func (m *FindUserRequest) Validate() error
- func (m *FindUserRequest) ValidateAll() error
- type FindUserRequestMultiError
- type FindUserRequestValidationError
- func (e FindUserRequestValidationError) Cause() error
- func (e FindUserRequestValidationError) Error() string
- func (e FindUserRequestValidationError) ErrorName() string
- func (e FindUserRequestValidationError) Field() string
- func (e FindUserRequestValidationError) Key() bool
- func (e FindUserRequestValidationError) Reason() string
- type FindUserResponse
- func (*FindUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindUserResponse) GetUser() *User
- func (*FindUserResponse) ProtoMessage()
- func (x *FindUserResponse) ProtoReflect() protoreflect.Message
- func (x *FindUserResponse) Reset()
- func (x *FindUserResponse) String() string
- func (m *FindUserResponse) Validate() error
- func (m *FindUserResponse) ValidateAll() error
- type FindUserResponseMultiError
- type FindUserResponseValidationError
- func (e FindUserResponseValidationError) Cause() error
- func (e FindUserResponseValidationError) Error() string
- func (e FindUserResponseValidationError) ErrorName() string
- func (e FindUserResponseValidationError) Field() string
- func (e FindUserResponseValidationError) Key() bool
- func (e FindUserResponseValidationError) Reason() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetCustomerId() string
- func (x *GetUserRequest) GetUserId() 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 GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- 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 InviteUserRequest
- func (*InviteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteUserRequest) GetAccountType() UserAccountType
- func (x *InviteUserRequest) GetCustomerId() string
- func (x *InviteUserRequest) GetEmail() string
- func (x *InviteUserRequest) GetFederative() bool
- func (x *InviteUserRequest) GetFirstName() string
- func (x *InviteUserRequest) GetIdpId() string
- func (x *InviteUserRequest) GetLastName() string
- func (x *InviteUserRequest) GetMiddleName() string
- func (x *InviteUserRequest) GetUserName() string
- func (*InviteUserRequest) ProtoMessage()
- func (x *InviteUserRequest) ProtoReflect() protoreflect.Message
- func (x *InviteUserRequest) Reset()
- func (x *InviteUserRequest) String() string
- func (m *InviteUserRequest) Validate() error
- func (m *InviteUserRequest) ValidateAll() error
- type InviteUserRequestMultiError
- type InviteUserRequestValidationError
- func (e InviteUserRequestValidationError) Cause() error
- func (e InviteUserRequestValidationError) Error() string
- func (e InviteUserRequestValidationError) ErrorName() string
- func (e InviteUserRequestValidationError) Field() string
- func (e InviteUserRequestValidationError) Key() bool
- func (e InviteUserRequestValidationError) Reason() string
- type InviteUserResponse
- func (*InviteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InviteUserResponse) GetUserId() string
- func (*InviteUserResponse) ProtoMessage()
- func (x *InviteUserResponse) ProtoReflect() protoreflect.Message
- func (x *InviteUserResponse) Reset()
- func (x *InviteUserResponse) String() string
- func (m *InviteUserResponse) Validate() error
- func (m *InviteUserResponse) ValidateAll() error
- type InviteUserResponseMultiError
- type InviteUserResponseValidationError
- func (e InviteUserResponseValidationError) Cause() error
- func (e InviteUserResponseValidationError) Error() string
- func (e InviteUserResponseValidationError) ErrorName() string
- func (e InviteUserResponseValidationError) Field() string
- func (e InviteUserResponseValidationError) Key() bool
- func (e InviteUserResponseValidationError) Reason() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetAccountType() UserAccountType
- func (x *ListUsersRequest) GetAfter() string
- func (x *ListUsersRequest) GetBefore() string
- func (x *ListUsersRequest) GetCustomerId() string
- func (x *ListUsersRequest) GetEmail() string
- func (x *ListUsersRequest) GetIsFederative() bool
- func (x *ListUsersRequest) GetLimit() uint32
- func (x *ListUsersRequest) GetUserName() 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) GetCursor() *Cursor
- func (x *ListUsersResponse) GetLimit() uint32
- 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 ReInviteUserRequest
- func (*ReInviteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReInviteUserRequest) GetCustomerId() string
- func (x *ReInviteUserRequest) GetUserId() string
- func (*ReInviteUserRequest) ProtoMessage()
- func (x *ReInviteUserRequest) ProtoReflect() protoreflect.Message
- func (x *ReInviteUserRequest) Reset()
- func (x *ReInviteUserRequest) String() string
- func (m *ReInviteUserRequest) Validate() error
- func (m *ReInviteUserRequest) ValidateAll() error
- type ReInviteUserRequestMultiError
- type ReInviteUserRequestValidationError
- func (e ReInviteUserRequestValidationError) Cause() error
- func (e ReInviteUserRequestValidationError) Error() string
- func (e ReInviteUserRequestValidationError) ErrorName() string
- func (e ReInviteUserRequestValidationError) Field() string
- func (e ReInviteUserRequestValidationError) Key() bool
- func (e ReInviteUserRequestValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetCustomerId() string
- func (x *UpdateUserRequest) GetEnabled() bool
- func (x *UpdateUserRequest) GetFirstName() string
- func (x *UpdateUserRequest) GetLastName() string
- func (x *UpdateUserRequest) GetMiddleName() string
- func (x *UpdateUserRequest) GetUserId() 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) GetAccountType() UserAccountType
- func (x *User) GetEmail() string
- func (x *User) GetEnabled() bool
- func (x *User) GetFirstName() string
- func (x *User) GetLastName() string
- func (x *User) GetMiddleName() string
- func (x *User) GetUserId() string
- func (x *User) GetUsername() 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 UserAccountType
- func (UserAccountType) Descriptor() protoreflect.EnumDescriptor
- func (x UserAccountType) Enum() *UserAccountType
- func (UserAccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserAccountType) Number() protoreflect.EnumNumber
- func (x UserAccountType) String() string
- func (UserAccountType) Type() protoreflect.EnumType
- type UserMultiError
- type UserValidationError
Constants ¶
This section is empty.
Variables ¶
var ( UserAccountType_name = map[int32]string{ 0: "USER_ACCOUNT_TYPE_UNDEFINED", 1: "USER_ACCOUNT_TYPE_FEDERATED", 2: "USER_ACCOUNT_TYPE_LOCAL", } UserAccountType_value = map[string]int32{ "USER_ACCOUNT_TYPE_UNDEFINED": 0, "USER_ACCOUNT_TYPE_FEDERATED": 1, "USER_ACCOUNT_TYPE_LOCAL": 2, } )
Enum value maps for UserAccountType.
var File_iam_customers_v1_customers_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cursor ¶
type Cursor struct { // Before - cursor for the previous page Before string `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` // After - cursor for the next page After string `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` // contains filtered or unexported fields }
Cursor - is used for cursor pagination
func (*Cursor) Descriptor
deprecated
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
func (*Cursor) ProtoReflect ¶
func (x *Cursor) ProtoReflect() protoreflect.Message
func (*Cursor) Validate ¶
Validate checks the field values on Cursor 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 (*Cursor) ValidateAll ¶
ValidateAll checks the field values on Cursor 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 CursorMultiError, or nil if none found.
type CursorMultiError ¶
type CursorMultiError []error
CursorMultiError is an error wrapping multiple validation errors returned by Cursor.ValidateAll() if the designated constraints aren't met.
func (CursorMultiError) AllErrors ¶
func (m CursorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CursorMultiError) Error ¶
func (m CursorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CursorValidationError ¶
type CursorValidationError struct {
// contains filtered or unexported fields
}
CursorValidationError is the validation error returned by Cursor.Validate if the designated constraints aren't met.
func (CursorValidationError) Cause ¶
func (e CursorValidationError) Cause() error
Cause function returns cause value.
func (CursorValidationError) Error ¶
func (e CursorValidationError) Error() string
Error satisfies the builtin error interface
func (CursorValidationError) ErrorName ¶
func (e CursorValidationError) ErrorName() string
ErrorName returns error name.
func (CursorValidationError) Field ¶
func (e CursorValidationError) Field() string
Field function returns field value.
func (CursorValidationError) Key ¶
func (e CursorValidationError) Key() bool
Key function returns key value.
func (CursorValidationError) Reason ¶
func (e CursorValidationError) Reason() string
Reason function returns reason value.
type CustomersServiceClient ¶
type CustomersServiceClient interface { // InviteUser invite user to customer InviteUser(ctx context.Context, in *InviteUserRequest, opts ...grpc.CallOption) (*InviteUserResponse, error) // UpdateUser update customer user. // Only federative users are supported for update UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) // ReInviteUser re-invite user to customer ReInviteUser(ctx context.Context, in *ReInviteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetUser get customer user GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) // DeleteUser delete user from customer DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // FindUser find customer user by email FindUser(ctx context.Context, in *FindUserRequest, opts ...grpc.CallOption) (*FindUserResponse, error) // ListUsers - list customer's users ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) }
CustomersServiceClient is the client API for CustomersService 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 NewCustomersServiceClient ¶
func NewCustomersServiceClient(cc grpc.ClientConnInterface) CustomersServiceClient
type DeleteUserRequest ¶
type DeleteUserRequest struct { // UserID - id of user to delete UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // CustomerId - customer id to delete user from CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
DeleteUserRequest - delete user from customer request
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetCustomerId ¶
func (x *DeleteUserRequest) GetCustomerId() string
func (*DeleteUserRequest) GetUserId ¶
func (x *DeleteUserRequest) GetUserId() 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 FindUserRequest ¶
type FindUserRequest struct { // CustomerID - customer id CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // Email - email of user Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // Type - user account type Type UserAccountType `protobuf:"varint,3,opt,name=type,proto3,enum=sbercloud.cp.iam.api.v1.customers.UserAccountType" json:"type,omitempty"` // contains filtered or unexported fields }
FindUserRequest - find user by email
func (*FindUserRequest) Descriptor
deprecated
func (*FindUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindUserRequest.ProtoReflect.Descriptor instead.
func (*FindUserRequest) GetCustomerId ¶
func (x *FindUserRequest) GetCustomerId() string
func (*FindUserRequest) GetEmail ¶
func (x *FindUserRequest) GetEmail() string
func (*FindUserRequest) GetType ¶
func (x *FindUserRequest) GetType() UserAccountType
func (*FindUserRequest) ProtoMessage ¶
func (*FindUserRequest) ProtoMessage()
func (*FindUserRequest) ProtoReflect ¶
func (x *FindUserRequest) ProtoReflect() protoreflect.Message
func (*FindUserRequest) Reset ¶
func (x *FindUserRequest) Reset()
func (*FindUserRequest) String ¶
func (x *FindUserRequest) String() string
func (*FindUserRequest) Validate ¶
func (m *FindUserRequest) Validate() error
Validate checks the field values on FindUserRequest 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 (*FindUserRequest) ValidateAll ¶
func (m *FindUserRequest) ValidateAll() error
ValidateAll checks the field values on FindUserRequest 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 FindUserRequestMultiError, or nil if none found.
type FindUserRequestMultiError ¶
type FindUserRequestMultiError []error
FindUserRequestMultiError is an error wrapping multiple validation errors returned by FindUserRequest.ValidateAll() if the designated constraints aren't met.
func (FindUserRequestMultiError) AllErrors ¶
func (m FindUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindUserRequestMultiError) Error ¶
func (m FindUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindUserRequestValidationError ¶
type FindUserRequestValidationError struct {
// contains filtered or unexported fields
}
FindUserRequestValidationError is the validation error returned by FindUserRequest.Validate if the designated constraints aren't met.
func (FindUserRequestValidationError) Cause ¶
func (e FindUserRequestValidationError) Cause() error
Cause function returns cause value.
func (FindUserRequestValidationError) Error ¶
func (e FindUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindUserRequestValidationError) ErrorName ¶
func (e FindUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindUserRequestValidationError) Field ¶
func (e FindUserRequestValidationError) Field() string
Field function returns field value.
func (FindUserRequestValidationError) Key ¶
func (e FindUserRequestValidationError) Key() bool
Key function returns key value.
func (FindUserRequestValidationError) Reason ¶
func (e FindUserRequestValidationError) Reason() string
Reason function returns reason value.
type FindUserResponse ¶
type FindUserResponse struct { // User - user data User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
FindUserResponse - find user response
func (*FindUserResponse) Descriptor
deprecated
func (*FindUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindUserResponse.ProtoReflect.Descriptor instead.
func (*FindUserResponse) GetUser ¶
func (x *FindUserResponse) GetUser() *User
func (*FindUserResponse) ProtoMessage ¶
func (*FindUserResponse) ProtoMessage()
func (*FindUserResponse) ProtoReflect ¶
func (x *FindUserResponse) ProtoReflect() protoreflect.Message
func (*FindUserResponse) Reset ¶
func (x *FindUserResponse) Reset()
func (*FindUserResponse) String ¶
func (x *FindUserResponse) String() string
func (*FindUserResponse) Validate ¶
func (m *FindUserResponse) Validate() error
Validate checks the field values on FindUserResponse 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 (*FindUserResponse) ValidateAll ¶
func (m *FindUserResponse) ValidateAll() error
ValidateAll checks the field values on FindUserResponse 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 FindUserResponseMultiError, or nil if none found.
type FindUserResponseMultiError ¶
type FindUserResponseMultiError []error
FindUserResponseMultiError is an error wrapping multiple validation errors returned by FindUserResponse.ValidateAll() if the designated constraints aren't met.
func (FindUserResponseMultiError) AllErrors ¶
func (m FindUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindUserResponseMultiError) Error ¶
func (m FindUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindUserResponseValidationError ¶
type FindUserResponseValidationError struct {
// contains filtered or unexported fields
}
FindUserResponseValidationError is the validation error returned by FindUserResponse.Validate if the designated constraints aren't met.
func (FindUserResponseValidationError) Cause ¶
func (e FindUserResponseValidationError) Cause() error
Cause function returns cause value.
func (FindUserResponseValidationError) Error ¶
func (e FindUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FindUserResponseValidationError) ErrorName ¶
func (e FindUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FindUserResponseValidationError) Field ¶
func (e FindUserResponseValidationError) Field() string
Field function returns field value.
func (FindUserResponseValidationError) Key ¶
func (e FindUserResponseValidationError) Key() bool
Key function returns key value.
func (FindUserResponseValidationError) Reason ¶
func (e FindUserResponseValidationError) Reason() string
Reason function returns reason value.
type GetUserRequest ¶
type GetUserRequest struct { // UserID - id of user UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // CustomerId - customer id CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
GetUserRequest - get customer user request
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetCustomerId ¶
func (x *GetUserRequest) GetCustomerId() string
func (*GetUserRequest) GetUserId ¶
func (x *GetUserRequest) GetUserId() 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 GetUserResponse ¶
type GetUserResponse struct { // User - user data User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
GetUserRequest - get customer user request
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
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 InviteUserRequest ¶
type InviteUserRequest struct { // UserName - user's username UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // FirstName - user's first name FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` // LastName - user's last name LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` // MiddleName - user's middle name MiddleName string `protobuf:"bytes,4,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"` // Email - user's email Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Federative - flag meaning is user federative or local // Deprecated - use AccountType field instead Federative bool `protobuf:"varint,6,opt,name=federative,proto3" json:"federative,omitempty"` // IDPID - optional field to link user with customer idp // Supported only for federative users IdpId *string `protobuf:"bytes,7,opt,name=idp_id,json=idpId,proto3,oneof" json:"idp_id,omitempty"` // AccountType - user account type: federated or local AccountType UserAccountType `` /* 150-byte string literal not displayed */ // CustomerId customer id where user is invited CustomerId string `protobuf:"bytes,15,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
InviteUserRequest - invite user to customer request
func (*InviteUserRequest) Descriptor
deprecated
func (*InviteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteUserRequest.ProtoReflect.Descriptor instead.
func (*InviteUserRequest) GetAccountType ¶
func (x *InviteUserRequest) GetAccountType() UserAccountType
func (*InviteUserRequest) GetCustomerId ¶
func (x *InviteUserRequest) GetCustomerId() string
func (*InviteUserRequest) GetEmail ¶
func (x *InviteUserRequest) GetEmail() string
func (*InviteUserRequest) GetFederative ¶
func (x *InviteUserRequest) GetFederative() bool
func (*InviteUserRequest) GetFirstName ¶
func (x *InviteUserRequest) GetFirstName() string
func (*InviteUserRequest) GetIdpId ¶
func (x *InviteUserRequest) GetIdpId() string
func (*InviteUserRequest) GetLastName ¶
func (x *InviteUserRequest) GetLastName() string
func (*InviteUserRequest) GetMiddleName ¶
func (x *InviteUserRequest) GetMiddleName() string
func (*InviteUserRequest) GetUserName ¶
func (x *InviteUserRequest) GetUserName() string
func (*InviteUserRequest) ProtoMessage ¶
func (*InviteUserRequest) ProtoMessage()
func (*InviteUserRequest) ProtoReflect ¶
func (x *InviteUserRequest) ProtoReflect() protoreflect.Message
func (*InviteUserRequest) Reset ¶
func (x *InviteUserRequest) Reset()
func (*InviteUserRequest) String ¶
func (x *InviteUserRequest) String() string
func (*InviteUserRequest) Validate ¶
func (m *InviteUserRequest) Validate() error
Validate checks the field values on InviteUserRequest 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 (*InviteUserRequest) ValidateAll ¶
func (m *InviteUserRequest) ValidateAll() error
ValidateAll checks the field values on InviteUserRequest 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 InviteUserRequestMultiError, or nil if none found.
type InviteUserRequestMultiError ¶
type InviteUserRequestMultiError []error
InviteUserRequestMultiError is an error wrapping multiple validation errors returned by InviteUserRequest.ValidateAll() if the designated constraints aren't met.
func (InviteUserRequestMultiError) AllErrors ¶
func (m InviteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InviteUserRequestMultiError) Error ¶
func (m InviteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InviteUserRequestValidationError ¶
type InviteUserRequestValidationError struct {
// contains filtered or unexported fields
}
InviteUserRequestValidationError is the validation error returned by InviteUserRequest.Validate if the designated constraints aren't met.
func (InviteUserRequestValidationError) Cause ¶
func (e InviteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (InviteUserRequestValidationError) Error ¶
func (e InviteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (InviteUserRequestValidationError) ErrorName ¶
func (e InviteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (InviteUserRequestValidationError) Field ¶
func (e InviteUserRequestValidationError) Field() string
Field function returns field value.
func (InviteUserRequestValidationError) Key ¶
func (e InviteUserRequestValidationError) Key() bool
Key function returns key value.
func (InviteUserRequestValidationError) Reason ¶
func (e InviteUserRequestValidationError) Reason() string
Reason function returns reason value.
type InviteUserResponse ¶
type InviteUserResponse struct { // UserID - id of created user UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
InviteUserResponse - invite user to customer response
func (*InviteUserResponse) Descriptor
deprecated
func (*InviteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use InviteUserResponse.ProtoReflect.Descriptor instead.
func (*InviteUserResponse) GetUserId ¶
func (x *InviteUserResponse) GetUserId() string
func (*InviteUserResponse) ProtoMessage ¶
func (*InviteUserResponse) ProtoMessage()
func (*InviteUserResponse) ProtoReflect ¶
func (x *InviteUserResponse) ProtoReflect() protoreflect.Message
func (*InviteUserResponse) Reset ¶
func (x *InviteUserResponse) Reset()
func (*InviteUserResponse) String ¶
func (x *InviteUserResponse) String() string
func (*InviteUserResponse) Validate ¶
func (m *InviteUserResponse) Validate() error
Validate checks the field values on InviteUserResponse 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 (*InviteUserResponse) ValidateAll ¶
func (m *InviteUserResponse) ValidateAll() error
ValidateAll checks the field values on InviteUserResponse 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 InviteUserResponseMultiError, or nil if none found.
type InviteUserResponseMultiError ¶
type InviteUserResponseMultiError []error
InviteUserResponseMultiError is an error wrapping multiple validation errors returned by InviteUserResponse.ValidateAll() if the designated constraints aren't met.
func (InviteUserResponseMultiError) AllErrors ¶
func (m InviteUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InviteUserResponseMultiError) Error ¶
func (m InviteUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InviteUserResponseValidationError ¶
type InviteUserResponseValidationError struct {
// contains filtered or unexported fields
}
InviteUserResponseValidationError is the validation error returned by InviteUserResponse.Validate if the designated constraints aren't met.
func (InviteUserResponseValidationError) Cause ¶
func (e InviteUserResponseValidationError) Cause() error
Cause function returns cause value.
func (InviteUserResponseValidationError) Error ¶
func (e InviteUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (InviteUserResponseValidationError) ErrorName ¶
func (e InviteUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (InviteUserResponseValidationError) Field ¶
func (e InviteUserResponseValidationError) Field() string
Field function returns field value.
func (InviteUserResponseValidationError) Key ¶
func (e InviteUserResponseValidationError) Key() bool
Key function returns key value.
func (InviteUserResponseValidationError) Reason ¶
func (e InviteUserResponseValidationError) Reason() string
Reason function returns reason value.
type ListUsersRequest ¶
type ListUsersRequest struct { // CustomerID - customer id CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // Email - user email. Search users by partial match Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"` // UserName - user's username. Search users by partial match UserName *string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3,oneof" json:"user_name,omitempty"` // IsFederative - flag to filter only federative/local users // Deprecated - use AccountType field instead IsFederative *bool `protobuf:"varint,4,opt,name=is_federative,json=isFederative,proto3,oneof" json:"is_federative,omitempty"` // Limit - count of elements per page Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // Before - cursor for the previous page Before string `protobuf:"bytes,6,opt,name=before,proto3" json:"before,omitempty"` // After - cursor for the next page After string `protobuf:"bytes,7,opt,name=after,proto3" json:"after,omitempty"` // AccountType - user account type: federated or local AccountType *UserAccountType `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
ListUsersRequest - request to list customer users
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetAccountType ¶
func (x *ListUsersRequest) GetAccountType() UserAccountType
func (*ListUsersRequest) GetAfter ¶
func (x *ListUsersRequest) GetAfter() string
func (*ListUsersRequest) GetBefore ¶
func (x *ListUsersRequest) GetBefore() string
func (*ListUsersRequest) GetCustomerId ¶
func (x *ListUsersRequest) GetCustomerId() string
func (*ListUsersRequest) GetEmail ¶
func (x *ListUsersRequest) GetEmail() string
func (*ListUsersRequest) GetIsFederative ¶
func (x *ListUsersRequest) GetIsFederative() bool
func (*ListUsersRequest) GetLimit ¶
func (x *ListUsersRequest) GetLimit() uint32
func (*ListUsersRequest) GetUserName ¶
func (x *ListUsersRequest) GetUserName() 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 - list of project users Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // Limit - count of elements per page Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // Cursor - cursor pagination Cursor *Cursor `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
ListUsersResponse - list customer users response
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetCursor ¶
func (x *ListUsersResponse) GetCursor() *Cursor
func (*ListUsersResponse) GetLimit ¶
func (x *ListUsersResponse) GetLimit() uint32
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 ReInviteUserRequest ¶
type ReInviteUserRequest struct { // UserID - user id UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // CustomerId - customer id where user is invited CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
ReInviteUserRequest - re-invite user request
func (*ReInviteUserRequest) Descriptor
deprecated
func (*ReInviteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReInviteUserRequest.ProtoReflect.Descriptor instead.
func (*ReInviteUserRequest) GetCustomerId ¶
func (x *ReInviteUserRequest) GetCustomerId() string
func (*ReInviteUserRequest) GetUserId ¶
func (x *ReInviteUserRequest) GetUserId() string
func (*ReInviteUserRequest) ProtoMessage ¶
func (*ReInviteUserRequest) ProtoMessage()
func (*ReInviteUserRequest) ProtoReflect ¶
func (x *ReInviteUserRequest) ProtoReflect() protoreflect.Message
func (*ReInviteUserRequest) Reset ¶
func (x *ReInviteUserRequest) Reset()
func (*ReInviteUserRequest) String ¶
func (x *ReInviteUserRequest) String() string
func (*ReInviteUserRequest) Validate ¶
func (m *ReInviteUserRequest) Validate() error
Validate checks the field values on ReInviteUserRequest 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 (*ReInviteUserRequest) ValidateAll ¶
func (m *ReInviteUserRequest) ValidateAll() error
ValidateAll checks the field values on ReInviteUserRequest 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 ReInviteUserRequestMultiError, or nil if none found.
type ReInviteUserRequestMultiError ¶
type ReInviteUserRequestMultiError []error
ReInviteUserRequestMultiError is an error wrapping multiple validation errors returned by ReInviteUserRequest.ValidateAll() if the designated constraints aren't met.
func (ReInviteUserRequestMultiError) AllErrors ¶
func (m ReInviteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReInviteUserRequestMultiError) Error ¶
func (m ReInviteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReInviteUserRequestValidationError ¶
type ReInviteUserRequestValidationError struct {
// contains filtered or unexported fields
}
ReInviteUserRequestValidationError is the validation error returned by ReInviteUserRequest.Validate if the designated constraints aren't met.
func (ReInviteUserRequestValidationError) Cause ¶
func (e ReInviteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ReInviteUserRequestValidationError) Error ¶
func (e ReInviteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReInviteUserRequestValidationError) ErrorName ¶
func (e ReInviteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReInviteUserRequestValidationError) Field ¶
func (e ReInviteUserRequestValidationError) Field() string
Field function returns field value.
func (ReInviteUserRequestValidationError) Key ¶
func (e ReInviteUserRequestValidationError) Key() bool
Key function returns key value.
func (ReInviteUserRequestValidationError) Reason ¶
func (e ReInviteUserRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct { // UserID - id of user to update UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // FirstName - user's first name FirstName *string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"` // LastName - user's last name LastName *string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"` // MiddleName - user's middle name MiddleName *string `protobuf:"bytes,4,opt,name=middle_name,json=middleName,proto3,oneof" json:"middle_name,omitempty"` // Enabled - flag to block/unblock user Enabled *bool `protobuf:"varint,5,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // CustomerId - user customer id CustomerId string `protobuf:"bytes,15,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
UpdateUserRequest - update user request
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetCustomerId ¶
func (x *UpdateUserRequest) GetCustomerId() string
func (*UpdateUserRequest) GetEnabled ¶
func (x *UpdateUserRequest) GetEnabled() bool
func (*UpdateUserRequest) GetFirstName ¶
func (x *UpdateUserRequest) GetFirstName() string
func (*UpdateUserRequest) GetLastName ¶
func (x *UpdateUserRequest) GetLastName() string
func (*UpdateUserRequest) GetMiddleName ¶
func (x *UpdateUserRequest) GetMiddleName() string
func (*UpdateUserRequest) GetUserId ¶
func (x *UpdateUserRequest) GetUserId() 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 - updated user User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
UpdateUserResponse - update user response
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 { // UserID - id of user UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Username - username of user Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // Email - email of user Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // FirstName - first name of user FirstName *string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"` // LastName - last name of user LastName *string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"` // MiddleName - middle name of user MiddleName *string `protobuf:"bytes,6,opt,name=middle_name,json=middleName,proto3,oneof" json:"middle_name,omitempty"` // Enabled - flag meaning if user is disabled or not Enabled *bool `protobuf:"varint,7,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // AccountType - user account type. // Can be either federated or local AccountType UserAccountType `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
User - user data
func (*User) Descriptor
deprecated
func (*User) GetAccountType ¶
func (x *User) GetAccountType() UserAccountType
func (*User) GetEnabled ¶
func (*User) GetFirstName ¶
func (*User) GetLastName ¶
func (*User) GetMiddleName ¶
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 UserAccountType ¶
type UserAccountType int32
UserAccountType - user account type undefined - unknown value federated - account type for users with authentication via identity provider local - account type for local users
const ( UserAccountType_USER_ACCOUNT_TYPE_UNDEFINED UserAccountType = 0 UserAccountType_USER_ACCOUNT_TYPE_FEDERATED UserAccountType = 1 UserAccountType_USER_ACCOUNT_TYPE_LOCAL UserAccountType = 2 )
func (UserAccountType) Descriptor ¶
func (UserAccountType) Descriptor() protoreflect.EnumDescriptor
func (UserAccountType) Enum ¶
func (x UserAccountType) Enum() *UserAccountType
func (UserAccountType) EnumDescriptor
deprecated
func (UserAccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserAccountType.Descriptor instead.
func (UserAccountType) Number ¶
func (x UserAccountType) Number() protoreflect.EnumNumber
func (UserAccountType) String ¶
func (x UserAccountType) String() string
func (UserAccountType) Type ¶
func (UserAccountType) Type() protoreflect.EnumType
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 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.