Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttendeeList ¶
type AttendeeList struct { // attending Attending []UserID `json:"attending"` // pending Pending []UserID `json:"pending"` }
AttendeeList attendee list
swagger:model attendeeList
func (*AttendeeList) MarshalBinary ¶
func (m *AttendeeList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AttendeeList) UnmarshalBinary ¶
func (m *AttendeeList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AttendeeStatus ¶
type AttendeeStatus string
AttendeeStatus attendee status
swagger:model attendeeStatus
const ( // AttendeeStatusAttending captures enum value "attending" AttendeeStatusAttending AttendeeStatus = "attending" // AttendeeStatusPending captures enum value "pending" AttendeeStatusPending AttendeeStatus = "pending" // AttendeeStatusRejected captures enum value "rejected" AttendeeStatusRejected AttendeeStatus = "rejected" // AttendeeStatusNone captures enum value "none" AttendeeStatusNone AttendeeStatus = "none" )
type Coordinates ¶
type Coordinates struct { // lat // Required: true // Maximum: 90 // Minimum: -90 Lat *float64 `json:"lat"` // lon // Required: true // Maximum: 180 // Minimum: -180 Lon *float64 `json:"lon"` }
Coordinates coordinates
swagger:model coordinates
func (*Coordinates) MarshalBinary ¶
func (m *Coordinates) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Coordinates) UnmarshalBinary ¶
func (m *Coordinates) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` }
Error error
swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Location ¶
type Location struct { // coordinates Coordinates *Coordinates `json:"coordinates,omitempty"` // name Name string `json:"name,omitempty"` // url URL string `json:"url,omitempty"` }
Location location
swagger:model location
func (*Location) MarshalBinary ¶
MarshalBinary interface implementation
func (*Location) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Meetup ¶
type Meetup struct { // attendees Attendees []UserID `json:"attendees"` // canceled Canceled bool `json:"canceled,omitempty"` // description Description string `json:"description,omitempty"` // id // Required: true ID MeetupID `json:"id"` // location Location *Location `json:"location,omitempty"` // max capacity // Minimum: 0 MaxCapacity *int64 `json:"maxCapacity,omitempty"` // min capacity // Minimum: 0 MinCapacity *int64 `json:"minCapacity,omitempty"` // owner Owner UserID `json:"owner,omitempty"` // pending attendees PendingAttendees []UserID `json:"pendingAttendees"` // rejected Rejected bool `json:"rejected,omitempty"` // tags Tags []string `json:"tags"` // time // Format: date-time Time strfmt.DateTime `json:"time,omitempty"` // title Title string `json:"title,omitempty"` }
Meetup meetup
swagger:model meetup
func (*Meetup) MarshalBinary ¶
MarshalBinary interface implementation
func (*Meetup) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MeetupRequestBody ¶
type MeetupRequestBody struct { // description Description string `json:"description,omitempty"` // location Location *Location `json:"location,omitempty"` // max capacity // Minimum: 0 MaxCapacity *int64 `json:"maxCapacity,omitempty"` // min capacity // Minimum: 0 MinCapacity *int64 `json:"minCapacity,omitempty"` // tags Tags []string `json:"tags"` // time // Format: date-time Time strfmt.DateTime `json:"time,omitempty"` // title Title string `json:"title,omitempty"` }
MeetupRequestBody meetup request body
swagger:model meetupRequestBody
func (*MeetupRequestBody) MarshalBinary ¶
func (m *MeetupRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MeetupRequestBody) UnmarshalBinary ¶
func (m *MeetupRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchMeetupAttendeeBody ¶
type PatchMeetupAttendeeBody struct { // attendee Attendee string `json:"attendee,omitempty"` // attendee status AttendeeStatus AttendeeStatus `json:"attendeeStatus,omitempty"` }
PatchMeetupAttendeeBody patch meetup attendee body
swagger:model patchMeetupAttendeeBody
func (*PatchMeetupAttendeeBody) MarshalBinary ¶
func (m *PatchMeetupAttendeeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchMeetupAttendeeBody) UnmarshalBinary ¶
func (m *PatchMeetupAttendeeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct { // attending Attending []MeetupID `json:"attending,omitempty"` // connections Connections []string `json:"connections,omitempty"` // contact info ContactInfo string `json:"contactInfo,omitempty"` // email Email string `json:"email,omitempty"` // id // Required: true ID UserID `json:"id"` // interests Interests []string `json:"interests,omitempty"` // join date // Format: date-time JoinDate strfmt.DateTime `json:"joinDate,omitempty"` // location Location *Coordinates `json:"location,omitempty"` // name Name string `json:"name,omitempty"` // owned meetups OwnedMeetups []MeetupID `json:"ownedMeetups,omitempty"` // pending approval PendingApproval []MeetupID `json:"pendingApproval,omitempty"` // profile pic ProfilePic string `json:"profilePic,omitempty"` }
User user
swagger:model user
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation