gqtypes

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginParams

type LoginParams struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type Pet

type Pet struct {
	ID             string `json:"id"`
	Name           string `json:"name"`
	Breed          string `json:"breed"`
	Gender         string `json:"gender"`
	Photo          string `json:"photo"`
	AdoptionStatus string `json:"adoptionStatus"`
	ShelterID      string `json:"shelterID"`
	CurrentOwnerID string `json:"currentOwnerID"`
}

type PetParams

type PetParams struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	Breed     string `json:"breed"`
	Gender    string `json:"gender"`
	ShelterID string `json:"shelterID"`
}

type RegisterParams

type RegisterParams struct {
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`

	Username string `json:"username"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

type Shelter

type Shelter struct {
	ID                 string `json:"id"`
	Name               string `json:"name"`
	Description        string `json:"description"`
	Website            string `json:"website"`
	Location           string `json:"location"`
	ContactInformation string `json:"contactInformation"`
	NumberOfPets       int64  `json:"numberOfPets"`
	OwnerID            string `json:"ownerID"`
}

type ShelterParams

type ShelterParams struct {
	ID                 string `json:"id"`
	Name               string `json:"name"`
	Description        string `json:"description"`
	Website            string `json:"website"`
	Location           string `json:"location"`
	ContactInformation string `json:"contactInformation"`
	OwnerID            string `json:"-"`
}

type User

type User struct {
	ID       string `json:"id"`
	Username string `json:"username"`
	Email    string `json:"email"`
	FullName string `json:"fullName"`
	Bio      string `json:"bio"`
	Location string `json:"location"`
	Avatar   string `json:"avatar"`
	IsActive bool   `json:"isActive"`
	IsAdmin  bool   `json:"isAdmin"`
}

Jump to

Keyboard shortcuts

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