dto

package
v0.0.0-...-c99e9fc Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEntity        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEntity          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEntity = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRole        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRole          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRole = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthUser        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUser          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUser = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type CreateEntityReq

type CreateEntityReq struct {
	Name        string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
	AvatarURL   string `protobuf:"bytes,3,opt,name=AvatarURL,proto3" json:"AvatarURL,omitempty"`
}

func NewPopulatedCreateEntityReq

func NewPopulatedCreateEntityReq(r randyEntity, easy bool) *CreateEntityReq

func (*CreateEntityReq) Descriptor

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

func (*CreateEntityReq) Equal

func (this *CreateEntityReq) Equal(that interface{}) bool

func (*CreateEntityReq) GoString

func (this *CreateEntityReq) GoString() string

func (*CreateEntityReq) Marshal

func (m *CreateEntityReq) Marshal() (dAtA []byte, err error)

func (*CreateEntityReq) MarshalTo

func (m *CreateEntityReq) MarshalTo(dAtA []byte) (int, error)

func (*CreateEntityReq) MarshalToSizedBuffer

func (m *CreateEntityReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateEntityReq) ProtoMessage

func (*CreateEntityReq) ProtoMessage()

func (*CreateEntityReq) Reset

func (m *CreateEntityReq) Reset()

func (*CreateEntityReq) Size

func (m *CreateEntityReq) Size() (n int)

func (*CreateEntityReq) String

func (this *CreateEntityReq) String() string

func (*CreateEntityReq) Unmarshal

func (m *CreateEntityReq) Unmarshal(dAtA []byte) error

func (*CreateEntityReq) XXX_DiscardUnknown

func (m *CreateEntityReq) XXX_DiscardUnknown()

func (*CreateEntityReq) XXX_Marshal

func (m *CreateEntityReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateEntityReq) XXX_Merge

func (m *CreateEntityReq) XXX_Merge(src proto.Message)

func (*CreateEntityReq) XXX_Size

func (m *CreateEntityReq) XXX_Size() int

func (*CreateEntityReq) XXX_Unmarshal

func (m *CreateEntityReq) XXX_Unmarshal(b []byte) error

type CreateRoleReq

type CreateRoleReq struct {
	EntityID    github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,1,opt,name=EntityID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"EntityID"`
	Name        string                             `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Permissions []user.Permission                  `protobuf:"bytes,3,rep,name=Permissions,proto3" json:"Permissions"`
}

func NewPopulatedCreateRoleReq

func NewPopulatedCreateRoleReq(r randyRole, easy bool) *CreateRoleReq

func (*CreateRoleReq) Descriptor

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

func (*CreateRoleReq) Equal

func (this *CreateRoleReq) Equal(that interface{}) bool

func (*CreateRoleReq) GoString

func (this *CreateRoleReq) GoString() string

func (*CreateRoleReq) Marshal

func (m *CreateRoleReq) Marshal() (dAtA []byte, err error)

func (*CreateRoleReq) MarshalTo

func (m *CreateRoleReq) MarshalTo(dAtA []byte) (int, error)

func (*CreateRoleReq) MarshalToSizedBuffer

func (m *CreateRoleReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateRoleReq) ProtoMessage

func (*CreateRoleReq) ProtoMessage()

func (*CreateRoleReq) Reset

func (m *CreateRoleReq) Reset()

func (*CreateRoleReq) Size

func (m *CreateRoleReq) Size() (n int)

func (*CreateRoleReq) String

func (this *CreateRoleReq) String() string

func (*CreateRoleReq) Unmarshal

func (m *CreateRoleReq) Unmarshal(dAtA []byte) error

func (*CreateRoleReq) XXX_DiscardUnknown

func (m *CreateRoleReq) XXX_DiscardUnknown()

func (*CreateRoleReq) XXX_Marshal

func (m *CreateRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRoleReq) XXX_Merge

func (m *CreateRoleReq) XXX_Merge(src proto.Message)

func (*CreateRoleReq) XXX_Size

func (m *CreateRoleReq) XXX_Size() int

func (*CreateRoleReq) XXX_Unmarshal

func (m *CreateRoleReq) XXX_Unmarshal(b []byte) error

type CreateRoleUserReq

type CreateRoleUserReq struct {
	RoleID github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,1,opt,name=RoleID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"RoleID"`
	UserID github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,2,opt,name=UserID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"UserID"`
}

func NewPopulatedCreateRoleUserReq

func NewPopulatedCreateRoleUserReq(r randyRole, easy bool) *CreateRoleUserReq

func (*CreateRoleUserReq) Descriptor

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

func (*CreateRoleUserReq) Equal

func (this *CreateRoleUserReq) Equal(that interface{}) bool

func (*CreateRoleUserReq) GoString

func (this *CreateRoleUserReq) GoString() string

func (*CreateRoleUserReq) Marshal

func (m *CreateRoleUserReq) Marshal() (dAtA []byte, err error)

func (*CreateRoleUserReq) MarshalTo

func (m *CreateRoleUserReq) MarshalTo(dAtA []byte) (int, error)

func (*CreateRoleUserReq) MarshalToSizedBuffer

func (m *CreateRoleUserReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateRoleUserReq) ProtoMessage

func (*CreateRoleUserReq) ProtoMessage()

func (*CreateRoleUserReq) Reset

func (m *CreateRoleUserReq) Reset()

func (*CreateRoleUserReq) Size

func (m *CreateRoleUserReq) Size() (n int)

func (*CreateRoleUserReq) String

func (this *CreateRoleUserReq) String() string

func (*CreateRoleUserReq) Unmarshal

func (m *CreateRoleUserReq) Unmarshal(dAtA []byte) error

func (*CreateRoleUserReq) XXX_DiscardUnknown

func (m *CreateRoleUserReq) XXX_DiscardUnknown()

func (*CreateRoleUserReq) XXX_Marshal

func (m *CreateRoleUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRoleUserReq) XXX_Merge

func (m *CreateRoleUserReq) XXX_Merge(src proto.Message)

func (*CreateRoleUserReq) XXX_Size

func (m *CreateRoleUserReq) XXX_Size() int

func (*CreateRoleUserReq) XXX_Unmarshal

func (m *CreateRoleUserReq) XXX_Unmarshal(b []byte) error

type DeleteEntityReq

type DeleteEntityReq struct {
	ID github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,1,opt,name=ID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"ID"`
}

func NewPopulatedDeleteEntityReq

func NewPopulatedDeleteEntityReq(r randyEntity, easy bool) *DeleteEntityReq

func (*DeleteEntityReq) Descriptor

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

func (*DeleteEntityReq) Equal

func (this *DeleteEntityReq) Equal(that interface{}) bool

func (*DeleteEntityReq) GoString

func (this *DeleteEntityReq) GoString() string

func (*DeleteEntityReq) Marshal

func (m *DeleteEntityReq) Marshal() (dAtA []byte, err error)

func (*DeleteEntityReq) MarshalTo

func (m *DeleteEntityReq) MarshalTo(dAtA []byte) (int, error)

func (*DeleteEntityReq) MarshalToSizedBuffer

func (m *DeleteEntityReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteEntityReq) ProtoMessage

func (*DeleteEntityReq) ProtoMessage()

func (*DeleteEntityReq) Reset

func (m *DeleteEntityReq) Reset()

func (*DeleteEntityReq) Size

func (m *DeleteEntityReq) Size() (n int)

func (*DeleteEntityReq) String

func (this *DeleteEntityReq) String() string

func (*DeleteEntityReq) Unmarshal

func (m *DeleteEntityReq) Unmarshal(dAtA []byte) error

func (*DeleteEntityReq) XXX_DiscardUnknown

func (m *DeleteEntityReq) XXX_DiscardUnknown()

func (*DeleteEntityReq) XXX_Marshal

func (m *DeleteEntityReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteEntityReq) XXX_Merge

func (m *DeleteEntityReq) XXX_Merge(src proto.Message)

func (*DeleteEntityReq) XXX_Size

func (m *DeleteEntityReq) XXX_Size() int

func (*DeleteEntityReq) XXX_Unmarshal

func (m *DeleteEntityReq) XXX_Unmarshal(b []byte) error

type DeleteEntityResp

type DeleteEntityResp struct {
	Entity user.Entity `protobuf:"bytes,1,opt,name=Entity,proto3" json:"Entity"`
}

func NewPopulatedDeleteEntityResp

func NewPopulatedDeleteEntityResp(r randyEntity, easy bool) *DeleteEntityResp

func (*DeleteEntityResp) Descriptor

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

func (*DeleteEntityResp) Equal

func (this *DeleteEntityResp) Equal(that interface{}) bool

func (*DeleteEntityResp) GoString

func (this *DeleteEntityResp) GoString() string

func (*DeleteEntityResp) Marshal

func (m *DeleteEntityResp) Marshal() (dAtA []byte, err error)

func (*DeleteEntityResp) MarshalTo

func (m *DeleteEntityResp) MarshalTo(dAtA []byte) (int, error)

func (*DeleteEntityResp) MarshalToSizedBuffer

func (m *DeleteEntityResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteEntityResp) ProtoMessage

func (*DeleteEntityResp) ProtoMessage()

func (*DeleteEntityResp) Reset

func (m *DeleteEntityResp) Reset()

func (*DeleteEntityResp) Size

func (m *DeleteEntityResp) Size() (n int)

func (*DeleteEntityResp) String

func (this *DeleteEntityResp) String() string

func (*DeleteEntityResp) Unmarshal

func (m *DeleteEntityResp) Unmarshal(dAtA []byte) error

func (*DeleteEntityResp) XXX_DiscardUnknown

func (m *DeleteEntityResp) XXX_DiscardUnknown()

func (*DeleteEntityResp) XXX_Marshal

func (m *DeleteEntityResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteEntityResp) XXX_Merge

func (m *DeleteEntityResp) XXX_Merge(src proto.Message)

func (*DeleteEntityResp) XXX_Size

func (m *DeleteEntityResp) XXX_Size() int

func (*DeleteEntityResp) XXX_Unmarshal

func (m *DeleteEntityResp) XXX_Unmarshal(b []byte) error

type DeleteRoleReq

type DeleteRoleReq struct {
	ID github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,1,opt,name=ID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"ID"`
}

func NewPopulatedDeleteRoleReq

func NewPopulatedDeleteRoleReq(r randyRole, easy bool) *DeleteRoleReq

func (*DeleteRoleReq) Descriptor

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

func (*DeleteRoleReq) Equal

func (this *DeleteRoleReq) Equal(that interface{}) bool

func (*DeleteRoleReq) GoString

func (this *DeleteRoleReq) GoString() string

func (*DeleteRoleReq) Marshal

func (m *DeleteRoleReq) Marshal() (dAtA []byte, err error)

func (*DeleteRoleReq) MarshalTo

func (m *DeleteRoleReq) MarshalTo(dAtA []byte) (int, error)

func (*DeleteRoleReq) MarshalToSizedBuffer

func (m *DeleteRoleReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteRoleReq) ProtoMessage

func (*DeleteRoleReq) ProtoMessage()

func (*DeleteRoleReq) Reset

func (m *DeleteRoleReq) Reset()

func (*DeleteRoleReq) Size

func (m *DeleteRoleReq) Size() (n int)

func (*DeleteRoleReq) String

func (this *DeleteRoleReq) String() string

func (*DeleteRoleReq) Unmarshal

func (m *DeleteRoleReq) Unmarshal(dAtA []byte) error

func (*DeleteRoleReq) XXX_DiscardUnknown

func (m *DeleteRoleReq) XXX_DiscardUnknown()

func (*DeleteRoleReq) XXX_Marshal

func (m *DeleteRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRoleReq) XXX_Merge

func (m *DeleteRoleReq) XXX_Merge(src proto.Message)

func (*DeleteRoleReq) XXX_Size

func (m *DeleteRoleReq) XXX_Size() int

func (*DeleteRoleReq) XXX_Unmarshal

func (m *DeleteRoleReq) XXX_Unmarshal(b []byte) error

type DeleteRoleUserReq

type DeleteRoleUserReq struct {
	RoleID github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,1,opt,name=RoleID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"RoleID"`
	UserID github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,2,opt,name=UserID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"UserID"`
}

func NewPopulatedDeleteRoleUserReq

func NewPopulatedDeleteRoleUserReq(r randyRole, easy bool) *DeleteRoleUserReq

func (*DeleteRoleUserReq) Descriptor

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

func (*DeleteRoleUserReq) Equal

func (this *DeleteRoleUserReq) Equal(that interface{}) bool

func (*DeleteRoleUserReq) GoString

func (this *DeleteRoleUserReq) GoString() string

func (*DeleteRoleUserReq) Marshal

func (m *DeleteRoleUserReq) Marshal() (dAtA []byte, err error)

func (*DeleteRoleUserReq) MarshalTo

func (m *DeleteRoleUserReq) MarshalTo(dAtA []byte) (int, error)

func (*DeleteRoleUserReq) MarshalToSizedBuffer

func (m *DeleteRoleUserReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteRoleUserReq) ProtoMessage

func (*DeleteRoleUserReq) ProtoMessage()

func (*DeleteRoleUserReq) Reset

func (m *DeleteRoleUserReq) Reset()

func (*DeleteRoleUserReq) Size

func (m *DeleteRoleUserReq) Size() (n int)

func (*DeleteRoleUserReq) String

func (this *DeleteRoleUserReq) String() string

func (*DeleteRoleUserReq) Unmarshal

func (m *DeleteRoleUserReq) Unmarshal(dAtA []byte) error

func (*DeleteRoleUserReq) XXX_DiscardUnknown

func (m *DeleteRoleUserReq) XXX_DiscardUnknown()

func (*DeleteRoleUserReq) XXX_Marshal

func (m *DeleteRoleUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRoleUserReq) XXX_Merge

func (m *DeleteRoleUserReq) XXX_Merge(src proto.Message)

func (*DeleteRoleUserReq) XXX_Size

func (m *DeleteRoleUserReq) XXX_Size() int

func (*DeleteRoleUserReq) XXX_Unmarshal

func (m *DeleteRoleUserReq) XXX_Unmarshal(b []byte) error

type FetchEntityReq

type FetchEntityReq struct {
	ID github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,1,opt,name=ID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"ID"`
}

func NewPopulatedFetchEntityReq

func NewPopulatedFetchEntityReq(r randyEntity, easy bool) *FetchEntityReq

func (*FetchEntityReq) Descriptor

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

func (*FetchEntityReq) Equal

func (this *FetchEntityReq) Equal(that interface{}) bool

func (*FetchEntityReq) GoString

func (this *FetchEntityReq) GoString() string

func (*FetchEntityReq) Marshal

func (m *FetchEntityReq) Marshal() (dAtA []byte, err error)

func (*FetchEntityReq) MarshalTo

func (m *FetchEntityReq) MarshalTo(dAtA []byte) (int, error)

func (*FetchEntityReq) MarshalToSizedBuffer

func (m *FetchEntityReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FetchEntityReq) ProtoMessage

func (*FetchEntityReq) ProtoMessage()

func (*FetchEntityReq) Reset

func (m *FetchEntityReq) Reset()

func (*FetchEntityReq) Size

func (m *FetchEntityReq) Size() (n int)

func (*FetchEntityReq) String

func (this *FetchEntityReq) String() string

func (*FetchEntityReq) Unmarshal

func (m *FetchEntityReq) Unmarshal(dAtA []byte) error

func (*FetchEntityReq) XXX_DiscardUnknown

func (m *FetchEntityReq) XXX_DiscardUnknown()

func (*FetchEntityReq) XXX_Marshal

func (m *FetchEntityReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FetchEntityReq) XXX_Merge

func (m *FetchEntityReq) XXX_Merge(src proto.Message)

func (*FetchEntityReq) XXX_Size

func (m *FetchEntityReq) XXX_Size() int

func (*FetchEntityReq) XXX_Unmarshal

func (m *FetchEntityReq) XXX_Unmarshal(b []byte) error

type FetchUserReq

type FetchUserReq struct {
	Me       bool                               `protobuf:"varint,1,opt,name=Me,proto3" json:"Me,omitempty"`
	ID       github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,2,opt,name=ID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"ID"`
	EntityID github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,3,opt,name=EntityID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"EntityID"`
}

func NewPopulatedFetchUserReq

func NewPopulatedFetchUserReq(r randyUser, easy bool) *FetchUserReq

func (*FetchUserReq) Descriptor

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

func (*FetchUserReq) Equal

func (this *FetchUserReq) Equal(that interface{}) bool

func (*FetchUserReq) GoString

func (this *FetchUserReq) GoString() string

func (*FetchUserReq) Marshal

func (m *FetchUserReq) Marshal() (dAtA []byte, err error)

func (*FetchUserReq) MarshalTo

func (m *FetchUserReq) MarshalTo(dAtA []byte) (int, error)

func (*FetchUserReq) MarshalToSizedBuffer

func (m *FetchUserReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FetchUserReq) ProtoMessage

func (*FetchUserReq) ProtoMessage()

func (*FetchUserReq) Reset

func (m *FetchUserReq) Reset()

func (*FetchUserReq) Size

func (m *FetchUserReq) Size() (n int)

func (*FetchUserReq) String

func (this *FetchUserReq) String() string

func (*FetchUserReq) Unmarshal

func (m *FetchUserReq) Unmarshal(dAtA []byte) error

func (*FetchUserReq) XXX_DiscardUnknown

func (m *FetchUserReq) XXX_DiscardUnknown()

func (*FetchUserReq) XXX_Marshal

func (m *FetchUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FetchUserReq) XXX_Merge

func (m *FetchUserReq) XXX_Merge(src proto.Message)

func (*FetchUserReq) XXX_Size

func (m *FetchUserReq) XXX_Size() int

func (*FetchUserReq) XXX_Unmarshal

func (m *FetchUserReq) XXX_Unmarshal(b []byte) error

type InviteUserReq

type InviteUserReq struct {
	Email    string                               `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"`
	EntityID github_com_elojah_trax_pkg_ulid.ID   `protobuf:"bytes,2,opt,name=EntityID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"EntityID"`
	RoleIDs  []github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,3,rep,name=RoleIDs,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"RoleIDs"`
}

func NewPopulatedInviteUserReq

func NewPopulatedInviteUserReq(r randyUser, easy bool) *InviteUserReq

func (*InviteUserReq) Descriptor

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

func (*InviteUserReq) Equal

func (this *InviteUserReq) Equal(that interface{}) bool

func (*InviteUserReq) GoString

func (this *InviteUserReq) GoString() string

func (*InviteUserReq) Marshal

func (m *InviteUserReq) Marshal() (dAtA []byte, err error)

func (*InviteUserReq) MarshalTo

func (m *InviteUserReq) MarshalTo(dAtA []byte) (int, error)

func (*InviteUserReq) MarshalToSizedBuffer

func (m *InviteUserReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InviteUserReq) ProtoMessage

func (*InviteUserReq) ProtoMessage()

func (*InviteUserReq) Reset

func (m *InviteUserReq) Reset()

func (*InviteUserReq) Size

func (m *InviteUserReq) Size() (n int)

func (*InviteUserReq) String

func (this *InviteUserReq) String() string

func (*InviteUserReq) Unmarshal

func (m *InviteUserReq) Unmarshal(dAtA []byte) error

func (*InviteUserReq) XXX_DiscardUnknown

func (m *InviteUserReq) XXX_DiscardUnknown()

func (*InviteUserReq) XXX_Marshal

func (m *InviteUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InviteUserReq) XXX_Merge

func (m *InviteUserReq) XXX_Merge(src proto.Message)

func (*InviteUserReq) XXX_Size

func (m *InviteUserReq) XXX_Size() int

func (*InviteUserReq) XXX_Unmarshal

func (m *InviteUserReq) XXX_Unmarshal(b []byte) error

type ListEntityReq

type ListEntityReq struct {
	Paginate *paginate.Paginate                   `protobuf:"bytes,1,opt,name=Paginate,proto3" json:"Paginate,omitempty"`
	Search   string                               `protobuf:"bytes,2,opt,name=Search,proto3" json:"Search,omitempty"`
	Own      bool                                 `protobuf:"varint,3,opt,name=Own,proto3" json:"Own,omitempty"`
	IDs      []github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,4,rep,name=IDs,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"IDs"`
}

func NewPopulatedListEntityReq

func NewPopulatedListEntityReq(r randyEntity, easy bool) *ListEntityReq

func (*ListEntityReq) Descriptor

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

func (*ListEntityReq) Equal

func (this *ListEntityReq) Equal(that interface{}) bool

func (*ListEntityReq) GoString

func (this *ListEntityReq) GoString() string

func (*ListEntityReq) Marshal

func (m *ListEntityReq) Marshal() (dAtA []byte, err error)

func (*ListEntityReq) MarshalTo

func (m *ListEntityReq) MarshalTo(dAtA []byte) (int, error)

func (*ListEntityReq) MarshalToSizedBuffer

func (m *ListEntityReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListEntityReq) ProtoMessage

func (*ListEntityReq) ProtoMessage()

func (*ListEntityReq) Reset

func (m *ListEntityReq) Reset()

func (*ListEntityReq) Size

func (m *ListEntityReq) Size() (n int)

func (*ListEntityReq) String

func (this *ListEntityReq) String() string

func (*ListEntityReq) Unmarshal

func (m *ListEntityReq) Unmarshal(dAtA []byte) error

func (*ListEntityReq) XXX_DiscardUnknown

func (m *ListEntityReq) XXX_DiscardUnknown()

func (*ListEntityReq) XXX_Marshal

func (m *ListEntityReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntityReq) XXX_Merge

func (m *ListEntityReq) XXX_Merge(src proto.Message)

func (*ListEntityReq) XXX_Size

func (m *ListEntityReq) XXX_Size() int

func (*ListEntityReq) XXX_Unmarshal

func (m *ListEntityReq) XXX_Unmarshal(b []byte) error

type ListEntityResp

type ListEntityResp struct {
	Entities []user.Entity `protobuf:"bytes,1,rep,name=Entities,proto3" json:"Entities"`
	Total    uint64        `protobuf:"varint,2,opt,name=Total,proto3" json:"Total,omitempty"`
}

func NewPopulatedListEntityResp

func NewPopulatedListEntityResp(r randyEntity, easy bool) *ListEntityResp

func (*ListEntityResp) Descriptor

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

func (*ListEntityResp) Equal

func (this *ListEntityResp) Equal(that interface{}) bool

func (*ListEntityResp) GoString

func (this *ListEntityResp) GoString() string

func (*ListEntityResp) Marshal

func (m *ListEntityResp) Marshal() (dAtA []byte, err error)

func (*ListEntityResp) MarshalTo

func (m *ListEntityResp) MarshalTo(dAtA []byte) (int, error)

func (*ListEntityResp) MarshalToSizedBuffer

func (m *ListEntityResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListEntityResp) ProtoMessage

func (*ListEntityResp) ProtoMessage()

func (*ListEntityResp) Reset

func (m *ListEntityResp) Reset()

func (*ListEntityResp) Size

func (m *ListEntityResp) Size() (n int)

func (*ListEntityResp) String

func (this *ListEntityResp) String() string

func (*ListEntityResp) Unmarshal

func (m *ListEntityResp) Unmarshal(dAtA []byte) error

func (*ListEntityResp) XXX_DiscardUnknown

func (m *ListEntityResp) XXX_DiscardUnknown()

func (*ListEntityResp) XXX_Marshal

func (m *ListEntityResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntityResp) XXX_Merge

func (m *ListEntityResp) XXX_Merge(src proto.Message)

func (*ListEntityResp) XXX_Size

func (m *ListEntityResp) XXX_Size() int

func (*ListEntityResp) XXX_Unmarshal

func (m *ListEntityResp) XXX_Unmarshal(b []byte) error

type ListRoleReq

type ListRoleReq struct {
	Paginate  *paginate.Paginate                   `protobuf:"bytes,1,opt,name=Paginate,proto3" json:"Paginate,omitempty"`
	Search    string                               `protobuf:"bytes,2,opt,name=Search,proto3" json:"Search,omitempty"`
	Own       bool                                 `protobuf:"varint,3,opt,name=Own,proto3" json:"Own,omitempty"`
	OwnEntity bool                                 `protobuf:"varint,4,opt,name=OwnEntity,proto3" json:"OwnEntity,omitempty"`
	IDs       []github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,5,rep,name=IDs,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"IDs"`
	EntityIDs []github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,6,rep,name=EntityIDs,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"EntityIDs"`
}

func NewPopulatedListRoleReq

func NewPopulatedListRoleReq(r randyRole, easy bool) *ListRoleReq

func (*ListRoleReq) Descriptor

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

func (*ListRoleReq) Equal

func (this *ListRoleReq) Equal(that interface{}) bool

func (*ListRoleReq) GoString

func (this *ListRoleReq) GoString() string

func (*ListRoleReq) Marshal

func (m *ListRoleReq) Marshal() (dAtA []byte, err error)

func (*ListRoleReq) MarshalTo

func (m *ListRoleReq) MarshalTo(dAtA []byte) (int, error)

func (*ListRoleReq) MarshalToSizedBuffer

func (m *ListRoleReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListRoleReq) ProtoMessage

func (*ListRoleReq) ProtoMessage()

func (*ListRoleReq) Reset

func (m *ListRoleReq) Reset()

func (*ListRoleReq) Size

func (m *ListRoleReq) Size() (n int)

func (*ListRoleReq) String

func (this *ListRoleReq) String() string

func (*ListRoleReq) Unmarshal

func (m *ListRoleReq) Unmarshal(dAtA []byte) error

func (*ListRoleReq) XXX_DiscardUnknown

func (m *ListRoleReq) XXX_DiscardUnknown()

func (*ListRoleReq) XXX_Marshal

func (m *ListRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRoleReq) XXX_Merge

func (m *ListRoleReq) XXX_Merge(src proto.Message)

func (*ListRoleReq) XXX_Size

func (m *ListRoleReq) XXX_Size() int

func (*ListRoleReq) XXX_Unmarshal

func (m *ListRoleReq) XXX_Unmarshal(b []byte) error

type ListRoleResp

type ListRoleResp struct {
	Roles []RoleUsers `protobuf:"bytes,1,rep,name=Roles,proto3" json:"Roles"`
	Total uint64      `protobuf:"varint,2,opt,name=Total,proto3" json:"Total,omitempty"`
}

func NewPopulatedListRoleResp

func NewPopulatedListRoleResp(r randyRole, easy bool) *ListRoleResp

func (*ListRoleResp) Descriptor

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

func (*ListRoleResp) Equal

func (this *ListRoleResp) Equal(that interface{}) bool

func (*ListRoleResp) GoString

func (this *ListRoleResp) GoString() string

func (*ListRoleResp) Marshal

func (m *ListRoleResp) Marshal() (dAtA []byte, err error)

func (*ListRoleResp) MarshalTo

func (m *ListRoleResp) MarshalTo(dAtA []byte) (int, error)

func (*ListRoleResp) MarshalToSizedBuffer

func (m *ListRoleResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListRoleResp) ProtoMessage

func (*ListRoleResp) ProtoMessage()

func (*ListRoleResp) Reset

func (m *ListRoleResp) Reset()

func (*ListRoleResp) Size

func (m *ListRoleResp) Size() (n int)

func (*ListRoleResp) String

func (this *ListRoleResp) String() string

func (*ListRoleResp) Unmarshal

func (m *ListRoleResp) Unmarshal(dAtA []byte) error

func (*ListRoleResp) XXX_DiscardUnknown

func (m *ListRoleResp) XXX_DiscardUnknown()

func (*ListRoleResp) XXX_Marshal

func (m *ListRoleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRoleResp) XXX_Merge

func (m *ListRoleResp) XXX_Merge(src proto.Message)

func (*ListRoleResp) XXX_Size

func (m *ListRoleResp) XXX_Size() int

func (*ListRoleResp) XXX_Unmarshal

func (m *ListRoleResp) XXX_Unmarshal(b []byte) error

type ListUserReq

type ListUserReq struct {
	Paginate  *paginate.Paginate                   `protobuf:"bytes,1,opt,name=Paginate,proto3" json:"Paginate,omitempty"`
	Search    string                               `protobuf:"bytes,2,opt,name=Search,proto3" json:"Search,omitempty"`
	OwnEntity bool                                 `protobuf:"varint,3,opt,name=OwnEntity,proto3" json:"OwnEntity,omitempty"`
	IDs       []github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,4,rep,name=IDs,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"IDs"`
	EntityIDs []github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,5,rep,name=EntityIDs,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"EntityIDs"`
}

func NewPopulatedListUserReq

func NewPopulatedListUserReq(r randyUser, easy bool) *ListUserReq

func (*ListUserReq) Descriptor

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

func (*ListUserReq) Equal

func (this *ListUserReq) Equal(that interface{}) bool

func (*ListUserReq) GoString

func (this *ListUserReq) GoString() string

func (*ListUserReq) Marshal

func (m *ListUserReq) Marshal() (dAtA []byte, err error)

func (*ListUserReq) MarshalTo

func (m *ListUserReq) MarshalTo(dAtA []byte) (int, error)

func (*ListUserReq) MarshalToSizedBuffer

func (m *ListUserReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListUserReq) ProtoMessage

func (*ListUserReq) ProtoMessage()

func (*ListUserReq) Reset

func (m *ListUserReq) Reset()

func (*ListUserReq) Size

func (m *ListUserReq) Size() (n int)

func (*ListUserReq) String

func (this *ListUserReq) String() string

func (*ListUserReq) Unmarshal

func (m *ListUserReq) Unmarshal(dAtA []byte) error

func (*ListUserReq) XXX_DiscardUnknown

func (m *ListUserReq) XXX_DiscardUnknown()

func (*ListUserReq) XXX_Marshal

func (m *ListUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUserReq) XXX_Merge

func (m *ListUserReq) XXX_Merge(src proto.Message)

func (*ListUserReq) XXX_Size

func (m *ListUserReq) XXX_Size() int

func (*ListUserReq) XXX_Unmarshal

func (m *ListUserReq) XXX_Unmarshal(b []byte) error

type ListUserResp

type ListUserResp struct {
	Users []UserRoles `protobuf:"bytes,1,rep,name=Users,proto3" json:"Users"`
	Total uint64      `protobuf:"varint,2,opt,name=Total,proto3" json:"Total,omitempty"`
}

func NewPopulatedListUserResp

func NewPopulatedListUserResp(r randyUser, easy bool) *ListUserResp

func (*ListUserResp) Descriptor

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

func (*ListUserResp) Equal

func (this *ListUserResp) Equal(that interface{}) bool

func (*ListUserResp) GoString

func (this *ListUserResp) GoString() string

func (*ListUserResp) Marshal

func (m *ListUserResp) Marshal() (dAtA []byte, err error)

func (*ListUserResp) MarshalTo

func (m *ListUserResp) MarshalTo(dAtA []byte) (int, error)

func (*ListUserResp) MarshalToSizedBuffer

func (m *ListUserResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListUserResp) ProtoMessage

func (*ListUserResp) ProtoMessage()

func (*ListUserResp) Reset

func (m *ListUserResp) Reset()

func (*ListUserResp) Size

func (m *ListUserResp) Size() (n int)

func (*ListUserResp) String

func (this *ListUserResp) String() string

func (*ListUserResp) Unmarshal

func (m *ListUserResp) Unmarshal(dAtA []byte) error

func (*ListUserResp) XXX_DiscardUnknown

func (m *ListUserResp) XXX_DiscardUnknown()

func (*ListUserResp) XXX_Marshal

func (m *ListUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUserResp) XXX_Merge

func (m *ListUserResp) XXX_Merge(src proto.Message)

func (*ListUserResp) XXX_Size

func (m *ListUserResp) XXX_Size() int

func (*ListUserResp) XXX_Unmarshal

func (m *ListUserResp) XXX_Unmarshal(b []byte) error

type RolePermission

type RolePermission struct {
	Role        user.Role         `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role"`
	Permissions []user.Permission `protobuf:"bytes,2,rep,name=Permissions,proto3" json:"Permissions"`
}

func NewPopulatedRolePermission

func NewPopulatedRolePermission(r randyRole, easy bool) *RolePermission

func (*RolePermission) Descriptor

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

func (*RolePermission) Equal

func (this *RolePermission) Equal(that interface{}) bool

func (*RolePermission) GoString

func (this *RolePermission) GoString() string

func (*RolePermission) Marshal

func (m *RolePermission) Marshal() (dAtA []byte, err error)

func (*RolePermission) MarshalTo

func (m *RolePermission) MarshalTo(dAtA []byte) (int, error)

func (*RolePermission) MarshalToSizedBuffer

func (m *RolePermission) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RolePermission) ProtoMessage

func (*RolePermission) ProtoMessage()

func (*RolePermission) Reset

func (m *RolePermission) Reset()

func (*RolePermission) Size

func (m *RolePermission) Size() (n int)

func (*RolePermission) String

func (this *RolePermission) String() string

func (*RolePermission) Unmarshal

func (m *RolePermission) Unmarshal(dAtA []byte) error

func (*RolePermission) XXX_DiscardUnknown

func (m *RolePermission) XXX_DiscardUnknown()

func (*RolePermission) XXX_Marshal

func (m *RolePermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RolePermission) XXX_Merge

func (m *RolePermission) XXX_Merge(src proto.Message)

func (*RolePermission) XXX_Size

func (m *RolePermission) XXX_Size() int

func (*RolePermission) XXX_Unmarshal

func (m *RolePermission) XXX_Unmarshal(b []byte) error

type RoleUsers

type RoleUsers struct {
	Role  RolePermission `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role"`
	Users []user.U       `protobuf:"bytes,2,rep,name=Users,proto3" json:"Users"`
}

func NewPopulatedRoleUsers

func NewPopulatedRoleUsers(r randyRole, easy bool) *RoleUsers

func (*RoleUsers) Descriptor

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

func (*RoleUsers) Equal

func (this *RoleUsers) Equal(that interface{}) bool

func (*RoleUsers) GoString

func (this *RoleUsers) GoString() string

func (*RoleUsers) Marshal

func (m *RoleUsers) Marshal() (dAtA []byte, err error)

func (*RoleUsers) MarshalTo

func (m *RoleUsers) MarshalTo(dAtA []byte) (int, error)

func (*RoleUsers) MarshalToSizedBuffer

func (m *RoleUsers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleUsers) ProtoMessage

func (*RoleUsers) ProtoMessage()

func (*RoleUsers) Reset

func (m *RoleUsers) Reset()

func (*RoleUsers) Size

func (m *RoleUsers) Size() (n int)

func (*RoleUsers) String

func (this *RoleUsers) String() string

func (*RoleUsers) Unmarshal

func (m *RoleUsers) Unmarshal(dAtA []byte) error

func (*RoleUsers) XXX_DiscardUnknown

func (m *RoleUsers) XXX_DiscardUnknown()

func (*RoleUsers) XXX_Marshal

func (m *RoleUsers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleUsers) XXX_Merge

func (m *RoleUsers) XXX_Merge(src proto.Message)

func (*RoleUsers) XXX_Size

func (m *RoleUsers) XXX_Size() int

func (*RoleUsers) XXX_Unmarshal

func (m *RoleUsers) XXX_Unmarshal(b []byte) error

type SigninReq

type SigninReq struct {
	Email    string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
}

func NewPopulatedSigninReq

func NewPopulatedSigninReq(r randyUser, easy bool) *SigninReq

func (*SigninReq) Descriptor

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

func (*SigninReq) Equal

func (this *SigninReq) Equal(that interface{}) bool

func (*SigninReq) GoString

func (this *SigninReq) GoString() string

func (*SigninReq) Marshal

func (m *SigninReq) Marshal() (dAtA []byte, err error)

func (*SigninReq) MarshalTo

func (m *SigninReq) MarshalTo(dAtA []byte) (int, error)

func (*SigninReq) MarshalToSizedBuffer

func (m *SigninReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SigninReq) ProtoMessage

func (*SigninReq) ProtoMessage()

func (*SigninReq) Reset

func (m *SigninReq) Reset()

func (*SigninReq) Size

func (m *SigninReq) Size() (n int)

func (*SigninReq) String

func (this *SigninReq) String() string

func (*SigninReq) Unmarshal

func (m *SigninReq) Unmarshal(dAtA []byte) error

func (*SigninReq) XXX_DiscardUnknown

func (m *SigninReq) XXX_DiscardUnknown()

func (*SigninReq) XXX_Marshal

func (m *SigninReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SigninReq) XXX_Merge

func (m *SigninReq) XXX_Merge(src proto.Message)

func (*SigninReq) XXX_Size

func (m *SigninReq) XXX_Size() int

func (*SigninReq) XXX_Unmarshal

func (m *SigninReq) XXX_Unmarshal(b []byte) error

type SigninResp

type SigninResp struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	RefreshToken string `protobuf:"bytes,2,opt,name=RefreshToken,proto3" json:"RefreshToken,omitempty"`
}

func NewPopulatedSigninResp

func NewPopulatedSigninResp(r randyUser, easy bool) *SigninResp

func (*SigninResp) Descriptor

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

func (*SigninResp) Equal

func (this *SigninResp) Equal(that interface{}) bool

func (*SigninResp) GoString

func (this *SigninResp) GoString() string

func (*SigninResp) Marshal

func (m *SigninResp) Marshal() (dAtA []byte, err error)

func (*SigninResp) MarshalTo

func (m *SigninResp) MarshalTo(dAtA []byte) (int, error)

func (*SigninResp) MarshalToSizedBuffer

func (m *SigninResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SigninResp) ProtoMessage

func (*SigninResp) ProtoMessage()

func (*SigninResp) Reset

func (m *SigninResp) Reset()

func (*SigninResp) Size

func (m *SigninResp) Size() (n int)

func (*SigninResp) String

func (this *SigninResp) String() string

func (*SigninResp) Unmarshal

func (m *SigninResp) Unmarshal(dAtA []byte) error

func (*SigninResp) XXX_DiscardUnknown

func (m *SigninResp) XXX_DiscardUnknown()

func (*SigninResp) XXX_Marshal

func (m *SigninResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SigninResp) XXX_Merge

func (m *SigninResp) XXX_Merge(src proto.Message)

func (*SigninResp) XXX_Size

func (m *SigninResp) XXX_Size() int

func (*SigninResp) XXX_Unmarshal

func (m *SigninResp) XXX_Unmarshal(b []byte) error

type SignupReq

type SignupReq struct {
	Firstname string `protobuf:"bytes,1,opt,name=Firstname,proto3" json:"Firstname,omitempty"`
	Lastname  string `protobuf:"bytes,2,opt,name=Lastname,proto3" json:"Lastname,omitempty"`
	Email     string `protobuf:"bytes,3,opt,name=Email,proto3" json:"Email,omitempty"`
	Password  string `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"`
}

func NewPopulatedSignupReq

func NewPopulatedSignupReq(r randyUser, easy bool) *SignupReq

func (*SignupReq) Descriptor

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

func (*SignupReq) Equal

func (this *SignupReq) Equal(that interface{}) bool

func (*SignupReq) GoString

func (this *SignupReq) GoString() string

func (*SignupReq) Marshal

func (m *SignupReq) Marshal() (dAtA []byte, err error)

func (*SignupReq) MarshalTo

func (m *SignupReq) MarshalTo(dAtA []byte) (int, error)

func (*SignupReq) MarshalToSizedBuffer

func (m *SignupReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignupReq) ProtoMessage

func (*SignupReq) ProtoMessage()

func (*SignupReq) Reset

func (m *SignupReq) Reset()

func (*SignupReq) Size

func (m *SignupReq) Size() (n int)

func (*SignupReq) String

func (this *SignupReq) String() string

func (*SignupReq) Unmarshal

func (m *SignupReq) Unmarshal(dAtA []byte) error

func (*SignupReq) XXX_DiscardUnknown

func (m *SignupReq) XXX_DiscardUnknown()

func (*SignupReq) XXX_Marshal

func (m *SignupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignupReq) XXX_Merge

func (m *SignupReq) XXX_Merge(src proto.Message)

func (*SignupReq) XXX_Size

func (m *SignupReq) XXX_Size() int

func (*SignupReq) XXX_Unmarshal

func (m *SignupReq) XXX_Unmarshal(b []byte) error

type UpdateEntityReq

type UpdateEntityReq struct {
	ID          github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,1,opt,name=ID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"ID"`
	Name        *pbtypes.String                    `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Description *pbtypes.String                    `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	AvatarURL   *pbtypes.String                    `protobuf:"bytes,4,opt,name=AvatarURL,proto3" json:"AvatarURL,omitempty"`
}

func NewPopulatedUpdateEntityReq

func NewPopulatedUpdateEntityReq(r randyEntity, easy bool) *UpdateEntityReq

func (*UpdateEntityReq) Descriptor

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

func (*UpdateEntityReq) Equal

func (this *UpdateEntityReq) Equal(that interface{}) bool

func (*UpdateEntityReq) GoString

func (this *UpdateEntityReq) GoString() string

func (*UpdateEntityReq) Marshal

func (m *UpdateEntityReq) Marshal() (dAtA []byte, err error)

func (*UpdateEntityReq) MarshalTo

func (m *UpdateEntityReq) MarshalTo(dAtA []byte) (int, error)

func (*UpdateEntityReq) MarshalToSizedBuffer

func (m *UpdateEntityReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateEntityReq) ProtoMessage

func (*UpdateEntityReq) ProtoMessage()

func (*UpdateEntityReq) Reset

func (m *UpdateEntityReq) Reset()

func (*UpdateEntityReq) Size

func (m *UpdateEntityReq) Size() (n int)

func (*UpdateEntityReq) String

func (this *UpdateEntityReq) String() string

func (*UpdateEntityReq) Unmarshal

func (m *UpdateEntityReq) Unmarshal(dAtA []byte) error

func (*UpdateEntityReq) XXX_DiscardUnknown

func (m *UpdateEntityReq) XXX_DiscardUnknown()

func (*UpdateEntityReq) XXX_Marshal

func (m *UpdateEntityReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateEntityReq) XXX_Merge

func (m *UpdateEntityReq) XXX_Merge(src proto.Message)

func (*UpdateEntityReq) XXX_Size

func (m *UpdateEntityReq) XXX_Size() int

func (*UpdateEntityReq) XXX_Unmarshal

func (m *UpdateEntityReq) XXX_Unmarshal(b []byte) error

type UpdateRoleReq

type UpdateRoleReq struct {
	ID          github_com_elojah_trax_pkg_ulid.ID `protobuf:"bytes,1,opt,name=ID,proto3,customtype=github.com/elojah/trax/pkg/ulid.ID" json:"ID"`
	Name        *pbtypes.String                    `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Permissions []user.Permission                  `protobuf:"bytes,3,rep,name=Permissions,proto3" json:"Permissions"`
}

func NewPopulatedUpdateRoleReq

func NewPopulatedUpdateRoleReq(r randyRole, easy bool) *UpdateRoleReq

func (*UpdateRoleReq) Descriptor

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

func (*UpdateRoleReq) Equal

func (this *UpdateRoleReq) Equal(that interface{}) bool

func (*UpdateRoleReq) GoString

func (this *UpdateRoleReq) GoString() string

func (*UpdateRoleReq) Marshal

func (m *UpdateRoleReq) Marshal() (dAtA []byte, err error)

func (*UpdateRoleReq) MarshalTo

func (m *UpdateRoleReq) MarshalTo(dAtA []byte) (int, error)

func (*UpdateRoleReq) MarshalToSizedBuffer

func (m *UpdateRoleReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateRoleReq) ProtoMessage

func (*UpdateRoleReq) ProtoMessage()

func (*UpdateRoleReq) Reset

func (m *UpdateRoleReq) Reset()

func (*UpdateRoleReq) Size

func (m *UpdateRoleReq) Size() (n int)

func (*UpdateRoleReq) String

func (this *UpdateRoleReq) String() string

func (*UpdateRoleReq) Unmarshal

func (m *UpdateRoleReq) Unmarshal(dAtA []byte) error

func (*UpdateRoleReq) XXX_DiscardUnknown

func (m *UpdateRoleReq) XXX_DiscardUnknown()

func (*UpdateRoleReq) XXX_Marshal

func (m *UpdateRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRoleReq) XXX_Merge

func (m *UpdateRoleReq) XXX_Merge(src proto.Message)

func (*UpdateRoleReq) XXX_Size

func (m *UpdateRoleReq) XXX_Size() int

func (*UpdateRoleReq) XXX_Unmarshal

func (m *UpdateRoleReq) XXX_Unmarshal(b []byte) error

type UpdateUserReq

type UpdateUserReq struct {
	Firstname *pbtypes.String `protobuf:"bytes,1,opt,name=Firstname,proto3" json:"Firstname,omitempty"`
	Lastname  *pbtypes.String `protobuf:"bytes,2,opt,name=Lastname,proto3" json:"Lastname,omitempty"`
	AvatarURL *pbtypes.String `protobuf:"bytes,3,opt,name=AvatarURL,proto3" json:"AvatarURL,omitempty"`
}

func NewPopulatedUpdateUserReq

func NewPopulatedUpdateUserReq(r randyUser, easy bool) *UpdateUserReq

func (*UpdateUserReq) Descriptor

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

func (*UpdateUserReq) Equal

func (this *UpdateUserReq) Equal(that interface{}) bool

func (*UpdateUserReq) GoString

func (this *UpdateUserReq) GoString() string

func (*UpdateUserReq) Marshal

func (m *UpdateUserReq) Marshal() (dAtA []byte, err error)

func (*UpdateUserReq) MarshalTo

func (m *UpdateUserReq) MarshalTo(dAtA []byte) (int, error)

func (*UpdateUserReq) MarshalToSizedBuffer

func (m *UpdateUserReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateUserReq) ProtoMessage

func (*UpdateUserReq) ProtoMessage()

func (*UpdateUserReq) Reset

func (m *UpdateUserReq) Reset()

func (*UpdateUserReq) Size

func (m *UpdateUserReq) Size() (n int)

func (*UpdateUserReq) String

func (this *UpdateUserReq) String() string

func (*UpdateUserReq) Unmarshal

func (m *UpdateUserReq) Unmarshal(dAtA []byte) error

func (*UpdateUserReq) XXX_DiscardUnknown

func (m *UpdateUserReq) XXX_DiscardUnknown()

func (*UpdateUserReq) XXX_Marshal

func (m *UpdateUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserReq) XXX_Merge

func (m *UpdateUserReq) XXX_Merge(src proto.Message)

func (*UpdateUserReq) XXX_Size

func (m *UpdateUserReq) XXX_Size() int

func (*UpdateUserReq) XXX_Unmarshal

func (m *UpdateUserReq) XXX_Unmarshal(b []byte) error

type UserRoles

type UserRoles struct {
	User  user.U      `protobuf:"bytes,1,opt,name=User,proto3" json:"User"`
	Roles []user.Role `protobuf:"bytes,2,rep,name=Roles,proto3" json:"Roles"`
}

func NewPopulatedUserRoles

func NewPopulatedUserRoles(r randyUser, easy bool) *UserRoles

func (*UserRoles) Descriptor

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

func (*UserRoles) Equal

func (this *UserRoles) Equal(that interface{}) bool

func (*UserRoles) GoString

func (this *UserRoles) GoString() string

func (*UserRoles) Marshal

func (m *UserRoles) Marshal() (dAtA []byte, err error)

func (*UserRoles) MarshalTo

func (m *UserRoles) MarshalTo(dAtA []byte) (int, error)

func (*UserRoles) MarshalToSizedBuffer

func (m *UserRoles) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserRoles) ProtoMessage

func (*UserRoles) ProtoMessage()

func (*UserRoles) Reset

func (m *UserRoles) Reset()

func (*UserRoles) Size

func (m *UserRoles) Size() (n int)

func (*UserRoles) String

func (this *UserRoles) String() string

func (*UserRoles) Unmarshal

func (m *UserRoles) Unmarshal(dAtA []byte) error

func (*UserRoles) XXX_DiscardUnknown

func (m *UserRoles) XXX_DiscardUnknown()

func (*UserRoles) XXX_Marshal

func (m *UserRoles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserRoles) XXX_Merge

func (m *UserRoles) XXX_Merge(src proto.Message)

func (*UserRoles) XXX_Size

func (m *UserRoles) XXX_Size() int

func (*UserRoles) XXX_Unmarshal

func (m *UserRoles) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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