Documentation
¶
Index ¶
- Variables
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAuth0Id() string
- func (x *User) GetEmail() string
- func (x *User) GetOwnedCards() []string
- func (x *User) GetOwnedDecks() []string
- func (x *User) GetOwnedSets() []string
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_user_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" bson:"username"` // @gotags: bson:"username"
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty" bson:"email"` // @gotags: bson:"email"
Auth0Id string `protobuf:"bytes,3,opt,name=auth0Id,proto3" json:"auth0Id,omitempty" bson:"auth0Id"` // @gotags: bson:"auth0Id"
OwnedDecks []string `protobuf:"bytes,4,rep,name=ownedDecks,proto3" json:"ownedDecks,omitempty" bson:"ownedDecks"` // @gotags: bson:"ownedDecks"
OwnedCards []string `protobuf:"bytes,5,rep,name=ownedCards,proto3" json:"ownedCards,omitempty" bson:"ownedCards"` // @gotags: bson:"ownedCards"
OwnedSets []string `protobuf:"bytes,6,rep,name=ownedSets,proto3" json:"ownedSets,omitempty" bson:"ownedSets"` // @gotags: bson:"ownedSets"
// contains filtered or unexported fields
}
User - Represents an MTGJSON API user. The fields: decks, cards, and sets are a list of MTGJSON V4 UUID's that represent the objects that they own
func (*User) Descriptor
deprecated
added in
v1.2.0
func (*User) GetAuth0Id ¶ added in v1.2.0
func (*User) GetOwnedCards ¶ added in v1.2.0
func (*User) GetOwnedDecks ¶ added in v1.2.0
func (*User) GetOwnedSets ¶ added in v1.2.0
func (*User) GetUsername ¶ added in v1.2.0
func (*User) ProtoMessage ¶ added in v1.2.0
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v1.2.0
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.