models

package
v0.0.0-...-e01f8af Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: GPL-3.0 Imports: 4 Imported by: ? modules, 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 GIF

type GIF struct {
	ObjectMeta

	// deactivated at
	// Format: date-time
	DeactivatedAt *strfmt.DateTime `json:"deactivatedAt,omitempty"`

	// request src
	RequestSrc string `json:"requestSrc,omitempty"`

	// requester ID
	RequesterID string `json:"requesterID,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

GIF g i f swagger:model GIF

func (*GIF) MarshalBinary

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

MarshalBinary interface implementation

func (GIF) MarshalJSON

func (m GIF) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GIF) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GIF) UnmarshalJSON

func (m *GIF) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GIF) Validate

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

Validate validates this g i f

type ObjectMeta

type ObjectMeta struct {

	// id
	ID uint64 `json:"id,omitempty" gorm:"primary_key"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// deleted at
	// Format: date-time
	DeletedAt *strfmt.DateTime `json:"deletedAt,omitempty" sql:"index"`
}

ObjectMeta object meta swagger:model ObjectMeta

func (*ObjectMeta) MarshalBinary

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

MarshalBinary interface implementation

func (*ObjectMeta) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ObjectMeta) Validate

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

Validate validates this object meta

Jump to

Keyboard shortcuts

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