Documentation ¶
Index ¶
- Variables
- type Artist
- type Field
- type Folder
- type Format
- func (*Format) Descriptor() ([]byte, []int)deprecated
- func (x *Format) GetDescriptions() []string
- func (x *Format) GetName() string
- func (x *Format) GetQuantity() int32
- func (*Format) ProtoMessage()
- func (x *Format) ProtoReflect() protoreflect.Message
- func (x *Format) Reset()
- func (x *Format) String() string
- type Label
- type MasterRelease
- func (*MasterRelease) Descriptor() ([]byte, []int)deprecated
- func (x *MasterRelease) GetId() int64
- func (x *MasterRelease) GetYear() int32
- func (*MasterRelease) ProtoMessage()
- func (x *MasterRelease) ProtoReflect() protoreflect.Message
- func (x *MasterRelease) Reset()
- func (x *MasterRelease) String() string
- type MasterSort
- type Order
- type Pagination
- type Price
- type Release
- func (*Release) Descriptor() ([]byte, []int)deprecated
- func (x *Release) GetArtists() []*Artist
- func (x *Release) GetCondition() string
- func (x *Release) GetDateAdded() int64
- func (x *Release) GetFolderId() int32
- func (x *Release) GetFormats() []*Format
- func (x *Release) GetId() int64
- func (x *Release) GetInstanceId() int64
- func (x *Release) GetLabels() []*Label
- func (x *Release) GetMasterId() int64
- func (x *Release) GetNotes() map[int32]string
- func (x *Release) GetRating() int32
- func (x *Release) GetReleaseDate() int64
- func (x *Release) GetSleeveCondition() string
- func (x *Release) GetTitle() string
- func (*Release) ProtoMessage()
- func (x *Release) ProtoReflect() protoreflect.Message
- func (x *Release) Reset()
- func (x *Release) String() string
- type ReleaseStats
- func (*ReleaseStats) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseStats) GetLowPrice() int32
- func (x *ReleaseStats) GetMedianPrice() int32
- func (*ReleaseStats) ProtoMessage()
- func (x *ReleaseStats) ProtoReflect() protoreflect.Message
- func (x *ReleaseStats) Reset()
- func (x *ReleaseStats) String() string
- type SaleItem
- func (*SaleItem) Descriptor() ([]byte, []int)deprecated
- func (x *SaleItem) GetCondition() string
- func (x *SaleItem) GetPrice() *Price
- func (x *SaleItem) GetReleaseId() int64
- func (x *SaleItem) GetSaleId() int64
- func (x *SaleItem) GetStatus() SaleStatus
- func (*SaleItem) ProtoMessage()
- func (x *SaleItem) ProtoReflect() protoreflect.Message
- func (x *SaleItem) Reset()
- func (x *SaleItem) String() string
- type SaleStatus
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetDiscogsUserId() int32
- func (x *User) GetPersonalToken() string
- func (x *User) GetUserSecret() string
- func (x *User) GetUserToken() string
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type Want
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MasterSort_name = map[int32]string{ 0: "BY_YEAR", } MasterSort_value = map[string]int32{ "BY_YEAR": 0, } )
Enum value maps for MasterSort.
View Source
var ( SaleStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "FOR_SALE", 2: "SOLD", 3: "VIOLATION", 4: "DRAFT", 5: "EXPIRED", } SaleStatus_value = map[string]int32{ "UNKNOWN": 0, "FOR_SALE": 1, "SOLD": 2, "VIOLATION": 3, "DRAFT": 4, "EXPIRED": 5, } )
Enum value maps for SaleStatus.
View Source
var File_discogs_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Artist ¶
type Artist struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Artist) Descriptor
deprecated
func (*Artist) ProtoMessage ¶
func (*Artist) ProtoMessage()
func (*Artist) ProtoReflect ¶
func (x *Artist) ProtoReflect() protoreflect.Message
type Field ¶
type Field struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type Folder ¶
type Folder struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Folder) Descriptor
deprecated
func (*Folder) ProtoMessage ¶
func (*Folder) ProtoMessage()
func (*Folder) ProtoReflect ¶
func (x *Folder) ProtoReflect() protoreflect.Message
type Format ¶
type Format struct { Descriptions []string `protobuf:"bytes,1,rep,name=descriptions,proto3" json:"descriptions,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Quantity int32 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"` // contains filtered or unexported fields }
func (*Format) Descriptor
deprecated
func (*Format) GetDescriptions ¶
func (*Format) GetQuantity ¶
func (*Format) ProtoMessage ¶
func (*Format) ProtoMessage()
func (*Format) ProtoReflect ¶
func (x *Format) ProtoReflect() protoreflect.Message
type Label ¶
type Label struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Catno string `protobuf:"bytes,3,opt,name=catno,proto3" json:"catno,omitempty"` // contains filtered or unexported fields }
func (*Label) Descriptor
deprecated
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) ProtoReflect ¶
func (x *Label) ProtoReflect() protoreflect.Message
type MasterRelease ¶
type MasterRelease struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Year int32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
func (*MasterRelease) Descriptor
deprecated
func (*MasterRelease) Descriptor() ([]byte, []int)
Deprecated: Use MasterRelease.ProtoReflect.Descriptor instead.
func (*MasterRelease) GetId ¶
func (x *MasterRelease) GetId() int64
func (*MasterRelease) GetYear ¶
func (x *MasterRelease) GetYear() int32
func (*MasterRelease) ProtoMessage ¶
func (*MasterRelease) ProtoMessage()
func (*MasterRelease) ProtoReflect ¶
func (x *MasterRelease) ProtoReflect() protoreflect.Message
func (*MasterRelease) Reset ¶
func (x *MasterRelease) Reset()
func (*MasterRelease) String ¶
func (x *MasterRelease) String() string
type MasterSort ¶
type MasterSort int32
const (
MasterSort_BY_YEAR MasterSort = 0
)
func (MasterSort) Descriptor ¶
func (MasterSort) Descriptor() protoreflect.EnumDescriptor
func (MasterSort) Enum ¶
func (x MasterSort) Enum() *MasterSort
func (MasterSort) EnumDescriptor
deprecated
func (MasterSort) EnumDescriptor() ([]byte, []int)
Deprecated: Use MasterSort.Descriptor instead.
func (MasterSort) Number ¶
func (x MasterSort) Number() protoreflect.EnumNumber
func (MasterSort) String ¶
func (x MasterSort) String() string
func (MasterSort) Type ¶
func (MasterSort) Type() protoreflect.EnumType
type Order ¶
type Order struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Order) Descriptor
deprecated
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
type Pagination ¶
type Pagination struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Pages int32 `protobuf:"varint,2,opt,name=pages,proto3" json:"pages,omitempty"` // contains filtered or unexported fields }
func (*Pagination) Descriptor
deprecated
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetPage ¶
func (x *Pagination) GetPage() int32
func (*Pagination) GetPages ¶
func (x *Pagination) GetPages() int32
func (*Pagination) ProtoMessage ¶
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶
func (x *Pagination) Reset()
func (*Pagination) String ¶
func (x *Pagination) String() string
type Price ¶
type Price struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Price) Descriptor
deprecated
func (*Price) GetCurrency ¶
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) ProtoReflect ¶
func (x *Price) ProtoReflect() protoreflect.Message
type Release ¶
type Release struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` InstanceId int64 `protobuf:"varint,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` FolderId int32 `protobuf:"varint,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` Rating int32 `protobuf:"varint,4,opt,name=rating,proto3" json:"rating,omitempty"` Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` MasterId int64 `protobuf:"varint,13,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"` Condition string `protobuf:"bytes,8,opt,name=condition,proto3" json:"condition,omitempty"` SleeveCondition string `protobuf:"bytes,9,opt,name=sleeve_condition,json=sleeveCondition,proto3" json:"sleeve_condition,omitempty"` Formats []*Format `protobuf:"bytes,5,rep,name=formats,proto3" json:"formats,omitempty"` Labels []*Label `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"` Artists []*Artist `protobuf:"bytes,12,rep,name=artists,proto3" json:"artists,omitempty"` Notes map[int32]string `` /* 153-byte string literal not displayed */ ReleaseDate int64 `protobuf:"varint,11,opt,name=release_date,json=releaseDate,proto3" json:"release_date,omitempty"` DateAdded int64 `protobuf:"varint,14,opt,name=date_added,json=dateAdded,proto3" json:"date_added,omitempty"` // contains filtered or unexported fields }
func (*Release) Descriptor
deprecated
func (*Release) GetArtists ¶
func (*Release) GetCondition ¶
func (*Release) GetDateAdded ¶
func (*Release) GetFolderId ¶
func (*Release) GetFormats ¶
func (*Release) GetInstanceId ¶
func (*Release) GetMasterId ¶
func (*Release) GetReleaseDate ¶
func (*Release) GetSleeveCondition ¶
func (*Release) ProtoMessage ¶
func (*Release) ProtoMessage()
func (*Release) ProtoReflect ¶
func (x *Release) ProtoReflect() protoreflect.Message
type ReleaseStats ¶
type ReleaseStats struct { MedianPrice int32 `protobuf:"varint,1,opt,name=median_price,json=medianPrice,proto3" json:"median_price,omitempty"` LowPrice int32 `protobuf:"varint,2,opt,name=low_price,json=lowPrice,proto3" json:"low_price,omitempty"` // contains filtered or unexported fields }
func (*ReleaseStats) Descriptor
deprecated
func (*ReleaseStats) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseStats.ProtoReflect.Descriptor instead.
func (*ReleaseStats) GetLowPrice ¶
func (x *ReleaseStats) GetLowPrice() int32
func (*ReleaseStats) GetMedianPrice ¶
func (x *ReleaseStats) GetMedianPrice() int32
func (*ReleaseStats) ProtoMessage ¶
func (*ReleaseStats) ProtoMessage()
func (*ReleaseStats) ProtoReflect ¶
func (x *ReleaseStats) ProtoReflect() protoreflect.Message
func (*ReleaseStats) Reset ¶
func (x *ReleaseStats) Reset()
func (*ReleaseStats) String ¶
func (x *ReleaseStats) String() string
type SaleItem ¶
type SaleItem struct { SaleId int64 `protobuf:"varint,1,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"` Status SaleStatus `protobuf:"varint,2,opt,name=status,proto3,enum=discogs.SaleStatus" json:"status,omitempty"` Price *Price `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` ReleaseId int64 `protobuf:"varint,4,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"` Condition string `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"` // contains filtered or unexported fields }
func (*SaleItem) Descriptor
deprecated
func (*SaleItem) GetCondition ¶
func (*SaleItem) GetReleaseId ¶
func (*SaleItem) GetStatus ¶
func (x *SaleItem) GetStatus() SaleStatus
func (*SaleItem) ProtoMessage ¶
func (*SaleItem) ProtoMessage()
func (*SaleItem) ProtoReflect ¶
func (x *SaleItem) ProtoReflect() protoreflect.Message
type SaleStatus ¶
type SaleStatus int32
const ( SaleStatus_UNKNOWN SaleStatus = 0 SaleStatus_FOR_SALE SaleStatus = 1 SaleStatus_SOLD SaleStatus = 2 SaleStatus_VIOLATION SaleStatus = 3 SaleStatus_DRAFT SaleStatus = 4 SaleStatus_EXPIRED SaleStatus = 5 )
func (SaleStatus) Descriptor ¶
func (SaleStatus) Descriptor() protoreflect.EnumDescriptor
func (SaleStatus) Enum ¶
func (x SaleStatus) Enum() *SaleStatus
func (SaleStatus) EnumDescriptor
deprecated
func (SaleStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SaleStatus.Descriptor instead.
func (SaleStatus) Number ¶
func (x SaleStatus) Number() protoreflect.EnumNumber
func (SaleStatus) String ¶
func (x SaleStatus) String() string
func (SaleStatus) Type ¶
func (SaleStatus) Type() protoreflect.EnumType
type User ¶
type User struct { DiscogsUserId int32 `protobuf:"varint,1,opt,name=discogs_user_id,json=discogsUserId,proto3" json:"discogs_user_id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` UserToken string `protobuf:"bytes,3,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` UserSecret string `protobuf:"bytes,4,opt,name=user_secret,json=userSecret,proto3" json:"user_secret,omitempty"` PersonalToken string `protobuf:"bytes,5,opt,name=personal_token,json=personalToken,proto3" json:"personal_token,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetDiscogsUserId ¶
func (*User) GetPersonalToken ¶
func (*User) GetUserSecret ¶
func (*User) GetUserToken ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type Want ¶
type Want struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Artists []*Artist `protobuf:"bytes,3,rep,name=artists,proto3" json:"artists,omitempty"` // contains filtered or unexported fields }
func (*Want) Descriptor
deprecated
func (*Want) GetArtists ¶
func (*Want) ProtoMessage ¶
func (*Want) ProtoMessage()
func (*Want) ProtoReflect ¶
func (x *Want) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.