gen

package
v0.0.0-...-9e1cc8c Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MPL-2.0 Imports: 15 Imported by: 6

Documentation

Index

Constants

View Source
const (
	OrgService_Add_FullMethodName              = "/ukama.nucleus.org.v1.OrgService/Add"
	OrgService_Get_FullMethodName              = "/ukama.nucleus.org.v1.OrgService/Get"
	OrgService_GetByName_FullMethodName        = "/ukama.nucleus.org.v1.OrgService/GetByName"
	OrgService_GetByOwner_FullMethodName       = "/ukama.nucleus.org.v1.OrgService/GetByOwner"
	OrgService_GetByUser_FullMethodName        = "/ukama.nucleus.org.v1.OrgService/GetByUser"
	OrgService_RegisterUser_FullMethodName     = "/ukama.nucleus.org.v1.OrgService/RegisterUser"
	OrgService_UpdateUser_FullMethodName       = "/ukama.nucleus.org.v1.OrgService/UpdateUser"
	OrgService_UpdateOrgForUser_FullMethodName = "/ukama.nucleus.org.v1.OrgService/UpdateOrgForUser"
	OrgService_RemoveOrgForUser_FullMethodName = "/ukama.nucleus.org.v1.OrgService/RemoveOrgForUser"
)

Variables

View Source
var OrgService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ukama.nucleus.org.v1.OrgService",
	HandlerType: (*OrgServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Add",
			Handler:    _OrgService_Add_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _OrgService_Get_Handler,
		},
		{
			MethodName: "GetByName",
			Handler:    _OrgService_GetByName_Handler,
		},
		{
			MethodName: "GetByOwner",
			Handler:    _OrgService_GetByOwner_Handler,
		},
		{
			MethodName: "GetByUser",
			Handler:    _OrgService_GetByUser_Handler,
		},
		{
			MethodName: "RegisterUser",
			Handler:    _OrgService_RegisterUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _OrgService_UpdateUser_Handler,
		},
		{
			MethodName: "UpdateOrgForUser",
			Handler:    _OrgService_UpdateOrgForUser_Handler,
		},
		{
			MethodName: "RemoveOrgForUser",
			Handler:    _OrgService_RemoveOrgForUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "org.proto",
}

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

Functions

func RegisterOrgServiceServer

func RegisterOrgServiceServer(s grpc.ServiceRegistrar, srv OrgServiceServer)

Types

type AddRequest

type AddRequest struct {
	Org *Organization `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRequest) Descriptor deprecated

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

Deprecated: Use AddRequest.ProtoReflect.Descriptor instead.

func (*AddRequest) GetOrg

func (x *AddRequest) GetOrg() *Organization

func (*AddRequest) ProtoMessage

func (*AddRequest) ProtoMessage()

func (*AddRequest) ProtoReflect

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

func (*AddRequest) Reset

func (x *AddRequest) Reset()

func (*AddRequest) String

func (x *AddRequest) String() string

func (*AddRequest) Validate

func (this *AddRequest) Validate() error

type AddResponse

type AddResponse struct {
	Org *Organization `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	// contains filtered or unexported fields
}

func (*AddResponse) Descriptor deprecated

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

Deprecated: Use AddResponse.ProtoReflect.Descriptor instead.

func (*AddResponse) GetOrg

func (x *AddResponse) GetOrg() *Organization

func (*AddResponse) ProtoMessage

func (*AddResponse) ProtoMessage()

func (*AddResponse) ProtoReflect

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

func (*AddResponse) Reset

func (x *AddResponse) Reset()

func (*AddResponse) String

func (x *AddResponse) String() string

func (*AddResponse) Validate

func (this *AddResponse) Validate() error

type GetByNameRequest

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

func (*GetByNameRequest) Descriptor deprecated

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

Deprecated: Use GetByNameRequest.ProtoReflect.Descriptor instead.

func (*GetByNameRequest) GetName

func (x *GetByNameRequest) GetName() string

func (*GetByNameRequest) ProtoMessage

func (*GetByNameRequest) ProtoMessage()

func (*GetByNameRequest) ProtoReflect

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

func (*GetByNameRequest) Reset

func (x *GetByNameRequest) Reset()

func (*GetByNameRequest) String

func (x *GetByNameRequest) String() string

func (*GetByNameRequest) Validate

func (this *GetByNameRequest) Validate() error

type GetByNameResponse

type GetByNameResponse struct {
	Org *Organization `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByNameResponse) Descriptor deprecated

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

Deprecated: Use GetByNameResponse.ProtoReflect.Descriptor instead.

func (*GetByNameResponse) GetOrg

func (x *GetByNameResponse) GetOrg() *Organization

func (*GetByNameResponse) ProtoMessage

func (*GetByNameResponse) ProtoMessage()

func (*GetByNameResponse) ProtoReflect

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

func (*GetByNameResponse) Reset

func (x *GetByNameResponse) Reset()

func (*GetByNameResponse) String

func (x *GetByNameResponse) String() string

func (*GetByNameResponse) Validate

func (this *GetByNameResponse) Validate() error

type GetByOwnerRequest

type GetByOwnerRequest struct {
	UserUuid string `protobuf:"bytes,1,opt,name=userUuid,json=user_uuid,proto3" json:"userUuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByOwnerRequest) Descriptor deprecated

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

Deprecated: Use GetByOwnerRequest.ProtoReflect.Descriptor instead.

func (*GetByOwnerRequest) GetUserUuid

func (x *GetByOwnerRequest) GetUserUuid() string

func (*GetByOwnerRequest) ProtoMessage

func (*GetByOwnerRequest) ProtoMessage()

func (*GetByOwnerRequest) ProtoReflect

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

func (*GetByOwnerRequest) Reset

func (x *GetByOwnerRequest) Reset()

func (*GetByOwnerRequest) String

func (x *GetByOwnerRequest) String() string

func (*GetByOwnerRequest) Validate

func (this *GetByOwnerRequest) Validate() error

type GetByOwnerResponse

type GetByOwnerResponse struct {
	Owner string          `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Orgs  []*Organization `protobuf:"bytes,2,rep,name=orgs,proto3" json:"orgs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByOwnerResponse) Descriptor deprecated

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

Deprecated: Use GetByOwnerResponse.ProtoReflect.Descriptor instead.

func (*GetByOwnerResponse) GetOrgs

func (x *GetByOwnerResponse) GetOrgs() []*Organization

func (*GetByOwnerResponse) GetOwner

func (x *GetByOwnerResponse) GetOwner() string

func (*GetByOwnerResponse) ProtoMessage

func (*GetByOwnerResponse) ProtoMessage()

func (*GetByOwnerResponse) ProtoReflect

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

func (*GetByOwnerResponse) Reset

func (x *GetByOwnerResponse) Reset()

func (*GetByOwnerResponse) String

func (x *GetByOwnerResponse) String() string

func (*GetByOwnerResponse) Validate

func (this *GetByOwnerResponse) Validate() error

type GetByUserResponse

type GetByUserResponse struct {
	User     string          `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	OwnerOf  []*Organization `protobuf:"bytes,2,rep,name=ownerOf,json=owner_of,proto3" json:"ownerOf,omitempty"`
	MemberOf []*Organization `protobuf:"bytes,3,rep,name=memberOf,json=member_of,proto3" json:"memberOf,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByUserResponse) Descriptor deprecated

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

Deprecated: Use GetByUserResponse.ProtoReflect.Descriptor instead.

func (*GetByUserResponse) GetMemberOf

func (x *GetByUserResponse) GetMemberOf() []*Organization

func (*GetByUserResponse) GetOwnerOf

func (x *GetByUserResponse) GetOwnerOf() []*Organization

func (*GetByUserResponse) GetUser

func (x *GetByUserResponse) GetUser() string

func (*GetByUserResponse) ProtoMessage

func (*GetByUserResponse) ProtoMessage()

func (*GetByUserResponse) ProtoReflect

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

func (*GetByUserResponse) Reset

func (x *GetByUserResponse) Reset()

func (*GetByUserResponse) String

func (x *GetByUserResponse) String() string

func (*GetByUserResponse) Validate

func (this *GetByUserResponse) Validate() error

type GetMembersRequest

type GetMembersRequest struct {
	OrgName string `protobuf:"bytes,1,opt,name=orgName,json=org,proto3" json:"orgName,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMembersRequest) Descriptor deprecated

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

Deprecated: Use GetMembersRequest.ProtoReflect.Descriptor instead.

func (*GetMembersRequest) GetOrgName

func (x *GetMembersRequest) GetOrgName() string

func (*GetMembersRequest) ProtoMessage

func (*GetMembersRequest) ProtoMessage()

func (*GetMembersRequest) ProtoReflect

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

func (*GetMembersRequest) Reset

func (x *GetMembersRequest) Reset()

func (*GetMembersRequest) String

func (x *GetMembersRequest) String() string

func (*GetMembersRequest) Validate

func (this *GetMembersRequest) Validate() error

type GetRequest

type GetRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,json=org_id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetId

func (x *GetRequest) GetId() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

func (*GetRequest) Validate

func (this *GetRequest) Validate() error

type GetResponse

type GetResponse struct {
	Org *Organization `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetOrg

func (x *GetResponse) GetOrg() *Organization

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

func (*GetResponse) Validate

func (this *GetResponse) Validate() error

type OrgServiceClient

type OrgServiceClient interface {
	// Orgs
	Add(ctx context.Context, in *AddRequest, opts ...grpc.CallOption) (*AddResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	GetByName(ctx context.Context, in *GetByNameRequest, opts ...grpc.CallOption) (*GetByNameResponse, error)
	GetByOwner(ctx context.Context, in *GetByOwnerRequest, opts ...grpc.CallOption) (*GetByOwnerResponse, error)
	GetByUser(ctx context.Context, in *GetByOwnerRequest, opts ...grpc.CallOption) (*GetByUserResponse, error)
	RegisterUser(ctx context.Context, in *RegisterUserRequest, opts ...grpc.CallOption) (*RegisterUserResponse, error)
	// Users
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	UpdateOrgForUser(ctx context.Context, in *UpdateOrgForUserRequest, opts ...grpc.CallOption) (*UpdateOrgForUserResponse, error)
	RemoveOrgForUser(ctx context.Context, in *RemoveOrgForUserRequest, opts ...grpc.CallOption) (*RemoveOrgForUserResponse, error)
}

OrgServiceClient is the client API for OrgService 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 NewOrgServiceClient

func NewOrgServiceClient(cc grpc.ClientConnInterface) OrgServiceClient

type OrgServiceServer

OrgServiceServer is the server API for OrgService service. All implementations must embed UnimplementedOrgServiceServer for forward compatibility

type Organization

type Organization struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // there is extra vlidation on repository level
	Owner         string                 `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Certificate   string                 `protobuf:"bytes,4,opt,name=certificate,proto3" json:"certificate,omitempty"`
	IsDeactivated bool                   `protobuf:"varint,5,opt,name=isDeactivated,json=is_deactivated,proto3" json:"isDeactivated,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Organization) Descriptor deprecated

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

Deprecated: Use Organization.ProtoReflect.Descriptor instead.

func (*Organization) GetCertificate

func (x *Organization) GetCertificate() string

func (*Organization) GetCreatedAt

func (x *Organization) GetCreatedAt() *timestamppb.Timestamp

func (*Organization) GetId

func (x *Organization) GetId() string

func (*Organization) GetIsDeactivated

func (x *Organization) GetIsDeactivated() bool

func (*Organization) GetName

func (x *Organization) GetName() string

func (*Organization) GetOwner

func (x *Organization) GetOwner() string

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) ProtoReflect

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

func (*Organization) Reset

func (x *Organization) Reset()

func (*Organization) String

func (x *Organization) String() string

func (*Organization) Validate

func (this *Organization) Validate() error

type RegisterUserRequest

type RegisterUserRequest struct {
	UserUuid string `protobuf:"bytes,1,opt,name=userUuid,json=user_uuid,proto3" json:"userUuid,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterUserRequest) Descriptor deprecated

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

Deprecated: Use RegisterUserRequest.ProtoReflect.Descriptor instead.

func (*RegisterUserRequest) GetUserUuid

func (x *RegisterUserRequest) GetUserUuid() string

func (*RegisterUserRequest) ProtoMessage

func (*RegisterUserRequest) ProtoMessage()

func (*RegisterUserRequest) ProtoReflect

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

func (*RegisterUserRequest) Reset

func (x *RegisterUserRequest) Reset()

func (*RegisterUserRequest) String

func (x *RegisterUserRequest) String() string

func (*RegisterUserRequest) Validate

func (this *RegisterUserRequest) Validate() error

type RegisterUserResponse

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

func (*RegisterUserResponse) Descriptor deprecated

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

Deprecated: Use RegisterUserResponse.ProtoReflect.Descriptor instead.

func (*RegisterUserResponse) ProtoMessage

func (*RegisterUserResponse) ProtoMessage()

func (*RegisterUserResponse) ProtoReflect

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

func (*RegisterUserResponse) Reset

func (x *RegisterUserResponse) Reset()

func (*RegisterUserResponse) String

func (x *RegisterUserResponse) String() string

func (*RegisterUserResponse) Validate

func (this *RegisterUserResponse) Validate() error

type RemoveOrgForUserRequest

type RemoveOrgForUserRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	OrgId  string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveOrgForUserRequest) Descriptor deprecated

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

Deprecated: Use RemoveOrgForUserRequest.ProtoReflect.Descriptor instead.

func (*RemoveOrgForUserRequest) GetOrgId

func (x *RemoveOrgForUserRequest) GetOrgId() string

func (*RemoveOrgForUserRequest) GetUserId

func (x *RemoveOrgForUserRequest) GetUserId() string

func (*RemoveOrgForUserRequest) ProtoMessage

func (*RemoveOrgForUserRequest) ProtoMessage()

func (*RemoveOrgForUserRequest) ProtoReflect

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

func (*RemoveOrgForUserRequest) Reset

func (x *RemoveOrgForUserRequest) Reset()

func (*RemoveOrgForUserRequest) String

func (x *RemoveOrgForUserRequest) String() string

func (*RemoveOrgForUserRequest) Validate

func (this *RemoveOrgForUserRequest) Validate() error

type RemoveOrgForUserResponse

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

func (*RemoveOrgForUserResponse) Descriptor deprecated

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

Deprecated: Use RemoveOrgForUserResponse.ProtoReflect.Descriptor instead.

func (*RemoveOrgForUserResponse) ProtoMessage

func (*RemoveOrgForUserResponse) ProtoMessage()

func (*RemoveOrgForUserResponse) ProtoReflect

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

func (*RemoveOrgForUserResponse) Reset

func (x *RemoveOrgForUserResponse) Reset()

func (*RemoveOrgForUserResponse) String

func (x *RemoveOrgForUserResponse) String() string

func (*RemoveOrgForUserResponse) Validate

func (this *RemoveOrgForUserResponse) Validate() error

type UnimplementedOrgServiceServer

type UnimplementedOrgServiceServer struct {
}

UnimplementedOrgServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOrgServiceServer) Add

func (UnimplementedOrgServiceServer) Get

func (UnimplementedOrgServiceServer) GetByName

func (UnimplementedOrgServiceServer) GetByOwner

func (UnimplementedOrgServiceServer) GetByUser

func (UnimplementedOrgServiceServer) RegisterUser

func (UnimplementedOrgServiceServer) RemoveOrgForUser

func (UnimplementedOrgServiceServer) UpdateOrgForUser

func (UnimplementedOrgServiceServer) UpdateUser

type UnsafeOrgServiceServer

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

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

type UpdateOrgForUserRequest

type UpdateOrgForUserRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	OrgId  string `protobuf:"bytes,2,opt,name=orgId,proto3" json:"orgId,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOrgForUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateOrgForUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrgForUserRequest) GetOrgId

func (x *UpdateOrgForUserRequest) GetOrgId() string

func (*UpdateOrgForUserRequest) GetUserId

func (x *UpdateOrgForUserRequest) GetUserId() string

func (*UpdateOrgForUserRequest) ProtoMessage

func (*UpdateOrgForUserRequest) ProtoMessage()

func (*UpdateOrgForUserRequest) ProtoReflect

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

func (*UpdateOrgForUserRequest) Reset

func (x *UpdateOrgForUserRequest) Reset()

func (*UpdateOrgForUserRequest) String

func (x *UpdateOrgForUserRequest) String() string

func (*UpdateOrgForUserRequest) Validate

func (this *UpdateOrgForUserRequest) Validate() error

type UpdateOrgForUserResponse

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

func (*UpdateOrgForUserResponse) Descriptor deprecated

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

Deprecated: Use UpdateOrgForUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateOrgForUserResponse) ProtoMessage

func (*UpdateOrgForUserResponse) ProtoMessage()

func (*UpdateOrgForUserResponse) ProtoReflect

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

func (*UpdateOrgForUserResponse) Reset

func (x *UpdateOrgForUserResponse) Reset()

func (*UpdateOrgForUserResponse) String

func (x *UpdateOrgForUserResponse) String() string

func (*UpdateOrgForUserResponse) Validate

func (this *UpdateOrgForUserResponse) Validate() error

type UpdateUserRequest

type UpdateUserRequest struct {
	UserUuid   string          `protobuf:"bytes,1,opt,name=userUuid,json=user_uuid,proto3" json:"userUuid,omitempty"`
	Attributes *UserAttributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAttributes

func (x *UpdateUserRequest) GetAttributes() *UserAttributes

func (*UpdateUserRequest) GetUserUuid

func (x *UpdateUserRequest) GetUserUuid() 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 (this *UpdateUserRequest) Validate() error

type UpdateUserResponse

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

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 (this *UpdateUserResponse) Validate() error

type User

type User struct {
	UserId        uint64 `protobuf:"varint,1,opt,name=userId,json=user_id,proto3" json:"userId,omitempty"`
	Uuid          string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	IsDeactivated bool   `protobuf:"varint,3,opt,name=isDeactivated,json=is_deactivated,proto3" json:"isDeactivated,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetIsDeactivated

func (x *User) GetIsDeactivated() bool

func (*User) GetUserId

func (x *User) GetUserId() uint64

func (*User) GetUuid

func (x *User) GetUuid() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (this *User) Validate() error

type UserAttributes

type UserAttributes struct {
	IsDeactivated bool `protobuf:"varint,3,opt,name=isDeactivated,json=is_deactivated,proto3" json:"isDeactivated,omitempty"`
	// contains filtered or unexported fields
}

func (*UserAttributes) Descriptor deprecated

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

Deprecated: Use UserAttributes.ProtoReflect.Descriptor instead.

func (*UserAttributes) GetIsDeactivated

func (x *UserAttributes) GetIsDeactivated() bool

func (*UserAttributes) ProtoMessage

func (*UserAttributes) ProtoMessage()

func (*UserAttributes) ProtoReflect

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

func (*UserAttributes) Reset

func (x *UserAttributes) Reset()

func (*UserAttributes) String

func (x *UserAttributes) String() string

func (*UserAttributes) Validate

func (this *UserAttributes) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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