models

package
v0.0.0-...-8982ac9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateObject

type CreateObject struct {

	// status
	Status string `json:"status,omitempty"`

	// uuid
	UUID string `json:"uuid,omitempty"`
}

CreateObject create object

swagger:model CreateObject

func (*CreateObject) ContextValidate

func (m *CreateObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create object based on context it is used

func (*CreateObject) MarshalBinary

func (m *CreateObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateObject) UnmarshalBinary

func (m *CreateObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateObject) Validate

func (m *CreateObject) Validate(formats strfmt.Registry) error

Validate validates this create object

type Meetup

type Meetup struct {

	// city
	// Required: true
	City *string `json:"city"`

	// country
	// Required: true
	Country *string `json:"country"`

	// duration
	// Required: true
	Duration *int64 `json:"duration"`

	// image
	Image string `json:"image,omitempty"`

	// location
	// Required: true
	Location *string `json:"location"`

	// registration Url
	RegistrationURL string `json:"registrationUrl,omitempty"`

	// speakers
	Speakers []string `json:"speakers"`

	// sponsors
	Sponsors []string `json:"sponsors"`

	// status
	Status bool `json:"status,omitempty"`

	// tags
	// Required: true
	Tags []string `json:"tags"`

	// time
	// Required: true
	// Format: date-time
	Time *strfmt.DateTime `json:"time"`

	// uuid
	UUID string `json:"uuid,omitempty"`
}

Meetup meetup

swagger:model Meetup

func (*Meetup) ContextValidate

func (m *Meetup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this meetup based on context it is used

func (*Meetup) MarshalBinary

func (m *Meetup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Meetup) UnmarshalBinary

func (m *Meetup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Meetup) Validate

func (m *Meetup) Validate(formats strfmt.Registry) error

Validate validates this meetup

type Speaker

type Speaker struct {

	// company
	// Required: true
	Company *string `json:"company"`

	// image
	// Required: true
	Image *string `json:"image"`

	// name
	// Required: true
	Name *string `json:"name"`

	// position
	// Required: true
	Position *string `json:"position"`

	// title
	// Required: true
	Title *string `json:"title"`

	// uuid
	UUID string `json:"uuid,omitempty"`
}

Speaker speaker

swagger:model Speaker

func (*Speaker) ContextValidate

func (m *Speaker) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this speaker based on context it is used

func (*Speaker) MarshalBinary

func (m *Speaker) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Speaker) UnmarshalBinary

func (m *Speaker) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Speaker) Validate

func (m *Speaker) Validate(formats strfmt.Registry) error

Validate validates this speaker

type Sponsor struct {

	// image
	// Required: true
	Image *string `json:"image"`

	// name
	// Required: true
	Name *string `json:"name"`

	// uuid
	UUID string `json:"uuid,omitempty"`
}

Sponsor sponsor

swagger:model Sponsor

func (*Sponsor) ContextValidate

func (m *Sponsor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sponsor based on context it is used

func (*Sponsor) MarshalBinary

func (m *Sponsor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Sponsor) UnmarshalBinary

func (m *Sponsor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Sponsor) Validate

func (m *Sponsor) Validate(formats strfmt.Registry) error

Validate validates this sponsor

Jump to

Keyboard shortcuts

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