Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v1.47.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MarshalTimestamp

func MarshalTimestamp(t time.Time) graphql.Marshaler

func UnmarshalTimestamp

func UnmarshalTimestamp(v any) (time.Time, error)

Types

type AddStrainPhenotypeInput

type AddStrainPhenotypeInput struct {
	Phenotype   string  `json:"phenotype"`
	Environment *string `json:"environment,omitempty"`
	Assay       *string `json:"assay,omitempty"`
	Publication string  `json:"publication"`
	Notes       *string `json:"notes,omitempty"`
}

type BasePublication

type BasePublication interface {
	IsBasePublication()
}

type Citation

type Citation struct {
	Authors  string `json:"authors"`
	Title    string `json:"title"`
	Journal  string `json:"journal"`
	PubmedID string `json:"pubmed_id"`
}

type CreateContentInput

type CreateContentInput struct {
	Name      string `json:"name"`
	CreatedBy string `json:"created_by"`
	Content   string `json:"content"`
	Namespace string `json:"namespace"`
}

type CreateGeneGeneralInfoInput

type CreateGeneGeneralInfoInput struct {
	NameDescription []*string `json:"name_description,omitempty"`
	GeneProduct     *string   `json:"gene_product,omitempty"`
	Synonyms        []*string `json:"synonyms,omitempty"`
	Description     *string   `json:"description,omitempty"`
	User            string    `json:"user"`
}

type CreateOrderInput

type CreateOrderInput struct {
	Courier          string         `json:"courier"`
	CourierAccount   string         `json:"courier_account"`
	Comments         *string        `json:"comments,omitempty"`
	Payment          string         `json:"payment"`
	PurchaseOrderNum *string        `json:"purchase_order_num,omitempty"`
	Status           StatusEnum     `json:"status"`
	Consumer         string         `json:"consumer"`
	Payer            string         `json:"payer"`
	Purchaser        string         `json:"purchaser"`
	Items            []string       `json:"items"`
	ConsumerInfo     *UserInfoInput `json:"consumer_info,omitempty"`
	PayerInfo        *UserInfoInput `json:"payer_info,omitempty"`
}

type CreatePermissionInput

type CreatePermissionInput struct {
	Permission  string `json:"permission"`
	Description string `json:"description"`
	Resource    string `json:"resource"`
}

type CreatePlasmidInput

type CreatePlasmidInput struct {
	CreatedBy        string   `json:"created_by"`
	UpdatedBy        string   `json:"updated_by"`
	Summary          *string  `json:"summary,omitempty"`
	EditableSummary  *string  `json:"editable_summary,omitempty"`
	Depositor        *string  `json:"depositor,omitempty"`
	Genes            []string `json:"genes,omitempty"`
	Dbxrefs          []string `json:"dbxrefs,omitempty"`
	Publications     []string `json:"publications,omitempty"`
	Name             string   `json:"name"`
	ImageMap         *string  `json:"image_map,omitempty"`
	Sequence         *string  `json:"sequence,omitempty"`
	InStock          bool     `json:"in_stock"`
	Keywords         []string `json:"keywords,omitempty"`
	GenbankAccession *string  `json:"genbank_accession,omitempty"`
}

type CreateRoleInput

type CreateRoleInput struct {
	Role        string `json:"role"`
	Description string `json:"description"`
}

type CreateStrainInput

type CreateStrainInput struct {
	CreatedBy           string   `json:"created_by"`
	UpdatedBy           string   `json:"updated_by"`
	Summary             *string  `json:"summary,omitempty"`
	EditableSummary     *string  `json:"editable_summary,omitempty"`
	Depositor           *string  `json:"depositor,omitempty"`
	Genes               []string `json:"genes,omitempty"`
	Dbxrefs             []string `json:"dbxrefs,omitempty"`
	Publications        []string `json:"publications,omitempty"`
	SystematicName      string   `json:"systematic_name"`
	Label               string   `json:"label"`
	Species             string   `json:"species"`
	Plasmid             *string  `json:"plasmid,omitempty"`
	Parent              *string  `json:"parent,omitempty"`
	Names               []string `json:"names,omitempty"`
	InStock             bool     `json:"in_stock"`
	Phenotypes          []string `json:"phenotypes,omitempty"`
	GeneticModification *string  `json:"genetic_modification,omitempty"`
	MutagenesisMethod   *string  `json:"mutagenesis_method,omitempty"`
	Characteristics     []string `json:"characteristics,omitempty"`
	Genotypes           []string `json:"genotypes,omitempty"`
}

type CreateUserInput

type CreateUserInput struct {
	FirstName     string  `json:"first_name"`
	LastName      string  `json:"last_name"`
	Email         string  `json:"email"`
	Organization  *string `json:"organization,omitempty"`
	GroupName     *string `json:"group_name,omitempty"`
	FirstAddress  *string `json:"first_address,omitempty"`
	SecondAddress *string `json:"second_address,omitempty"`
	City          *string `json:"city,omitempty"`
	State         *string `json:"state,omitempty"`
	Zipcode       *string `json:"zipcode,omitempty"`
	Country       *string `json:"country,omitempty"`
	Phone         *string `json:"phone,omitempty"`
	IsActive      bool    `json:"is_active"`
}

type DeleteContent

type DeleteContent struct {
	Success bool `json:"success"`
}

type DeletePermission

type DeletePermission struct {
	Success bool `json:"success"`
}

type DeleteRole

type DeleteRole struct {
	Success bool `json:"success"`
}

type DeleteStock

type DeleteStock struct {
	Success bool `json:"success"`
}

type DeleteStrainPhenotype

type DeleteStrainPhenotype struct {
	Success bool `json:"success"`
}

type DeleteStrainPhenotypeInput

type DeleteStrainPhenotypeInput struct {
	Phenotype   string  `json:"phenotype"`
	Environment *string `json:"environment,omitempty"`
	Assay       *string `json:"assay,omitempty"`
	Publication string  `json:"publication"`
	Notes       *string `json:"notes,omitempty"`
}

type DeleteUser

type DeleteUser struct {
	Success bool `json:"success"`
}

type Download

type Download struct {
	Title string          `json:"title"`
	Items []*DownloadItem `json:"items"`
}

type DownloadItem

type DownloadItem struct {
	Title string `json:"title"`
	URL   string `json:"url"`
}

type Extension

type Extension struct {
	ID       string `json:"id"`
	Db       string `json:"db"`
	Relation string `json:"relation"`
	Name     string `json:"name"`
}

type FileToUpload

type FileToUpload struct {
	ID   int            `json:"id"`
	File graphql.Upload `json:"file"`
}

The `UploadFile` type, represents the request for uploading a image file with a certain payload.

type GOAnnotation

type GOAnnotation struct {
	ID           string       `json:"id"`
	Type         string       `json:"type"`
	Date         string       `json:"date"`
	EvidenceCode string       `json:"evidence_code"`
	GoTerm       string       `json:"go_term"`
	Qualifier    string       `json:"qualifier"`
	Publication  string       `json:"publication"`
	With         []*With      `json:"with,omitempty"`
	Extensions   []*Extension `json:"extensions,omitempty"`
	AssignedBy   string       `json:"assigned_by"`
}

type Gene

type Gene struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type GeneGeneralInfo

type GeneGeneralInfo struct {
	ID              string     `json:"id"`
	NameDescription []*string  `json:"name_description"`
	GeneProduct     *string    `json:"gene_product,omitempty"`
	Synonyms        []*string  `json:"synonyms"`
	Description     *string    `json:"description,omitempty"`
	CreatedAt       *time.Time `json:"created_at,omitempty"`
	CreatedBy       *user.User `json:"created_by,omitempty"`
	UpdatedAt       *time.Time `json:"updated_at,omitempty"`
	UpdatedBy       *user.User `json:"updated_by,omitempty"`
}

type Identity

type Identity struct {
	ID         string    `json:"id"`
	Identifier string    `json:"identifier"`
	Provider   string    `json:"provider"`
	UserID     string    `json:"user_id"`
	CreatedAt  time.Time `json:"created_at"`
	UpdatedAt  time.Time `json:"updated_at"`
}

type ImageFile

type ImageFile struct {
	URL string `json:"url"`
}

The `ImageFile` type, represents the response of uploading an image file.

type LazyStock

type LazyStock struct {
	CreatedBy           string
	UpdatedBy           string
	Depositor           string
	Genes, Publications []string
}

LazyStock contains fields that are not directly mapped from model to graphql type. These fields gets resolved on demand only

type LoginInput

type LoginInput struct {
	ClientID    string `json:"client_id"`
	State       string `json:"state"`
	Code        string `json:"code"`
	Scopes      string `json:"scopes"`
	Provider    string `json:"provider"`
	RedirectURL string `json:"redirect_url"`
}

type Logout

type Logout struct {
	Success bool `json:"success"`
}

type Mutation

type Mutation struct {
}

type NumberOfPublicationsWithGene

type NumberOfPublicationsWithGene struct {
	NumPubs      int                    `json:"num_pubs"`
	Publications []*PublicationWithGene `json:"publications"`
}

type OrderListWithCursor

type OrderListWithCursor struct {
	Orders         []*order.Order `json:"orders"`
	NextCursor     int            `json:"nextCursor"`
	PreviousCursor int            `json:"previousCursor"`
	Limit          *int           `json:"limit,omitempty"`
	TotalCount     int            `json:"totalCount"`
}

type Organism

type Organism struct {
	TaxonID        string      `json:"taxon_id"`
	ScientificName string      `json:"scientific_name"`
	Citations      []*Citation `json:"citations"`
	Downloads      []*Download `json:"downloads"`
}

type Phenotype

type Phenotype struct {
	Phenotype   string       `json:"phenotype"`
	Note        *string      `json:"note,omitempty"`
	Assay       *string      `json:"assay,omitempty"`
	Environment *string      `json:"environment,omitempty"`
	Publication *Publication `json:"publication,omitempty"`
}

type Plasmid

type Plasmid struct {
	StockCommon
	LazyStock
	ID               string    `json:"id"`
	Summary          *string   `json:"summary"`
	EditableSummary  *string   `json:"editable_summary"`
	ImageMap         *string   `json:"image_map"`
	Sequence         *string   `json:"sequence"`
	Name             string    `json:"name"`
	GenbankAccession *string   `json:"genbank_accession"`
	InStock          bool      `json:"in_stock"`
	CreatedAt        time.Time `json:"created_at"`
	UpdatedAt        time.Time `json:"updated_at"`
	Dbxrefs          []*string `json:"dbxrefs"`
}

type PlasmidListFilter

type PlasmidListFilter struct {
	Name        *string     `json:"name,omitempty"`
	Summary     *string     `json:"summary,omitempty"`
	ID          *string     `json:"id,omitempty"`
	InStock     *bool       `json:"in_stock,omitempty"`
	PlasmidType PlasmidType `json:"plasmid_type"`
}

type PlasmidListWithCursor

type PlasmidListWithCursor struct {
	Plasmids       []*Plasmid `json:"plasmids"`
	NextCursor     int        `json:"nextCursor"`
	PreviousCursor int        `json:"previousCursor"`
	Limit          *int       `json:"limit,omitempty"`
	TotalCount     int        `json:"totalCount"`
}

type PlasmidType

type PlasmidType string
const (
	PlasmidTypeAll         PlasmidType = "ALL"
	PlasmidTypeRegular     PlasmidType = "REGULAR"
	PlasmidTypeGoldenBraid PlasmidType = "GOLDEN_BRAID"
)

func (PlasmidType) IsValid

func (e PlasmidType) IsValid() bool

func (PlasmidType) MarshalGQL

func (e PlasmidType) MarshalGQL(w io.Writer)

func (PlasmidType) MarshalJSON

func (e PlasmidType) MarshalJSON() ([]byte, error)

func (PlasmidType) String

func (e PlasmidType) String() string

func (*PlasmidType) UnmarshalGQL

func (e *PlasmidType) UnmarshalGQL(v any) error

func (*PlasmidType) UnmarshalJSON

func (e *PlasmidType) UnmarshalJSON(b []byte) error

type Publication

type Publication struct {
	ID       string                `json:"id"`
	Doi      *string               `json:"doi,omitempty"`
	Title    string                `json:"title"`
	Abstract string                `json:"abstract"`
	Journal  string                `json:"journal"`
	PubDate  *time.Time            `json:"pub_date,omitempty"`
	Volume   *string               `json:"volume,omitempty"`
	Pages    *string               `json:"pages,omitempty"`
	Issn     *string               `json:"issn,omitempty"`
	PubType  string                `json:"pub_type"`
	Source   string                `json:"source"`
	Issue    *string               `json:"issue,omitempty"`
	Status   *string               `json:"status,omitempty"`
	Authors  []*publication.Author `json:"authors"`
}

func (Publication) IsBasePublication

func (Publication) IsBasePublication()

type PublicationWithGene

type PublicationWithGene struct {
	RelatedGenes []*Gene               `json:"related_genes"`
	ID           string                `json:"id"`
	Doi          *string               `json:"doi,omitempty"`
	Title        string                `json:"title"`
	Abstract     string                `json:"abstract"`
	Journal      string                `json:"journal"`
	PubDate      *time.Time            `json:"pub_date,omitempty"`
	Volume       *string               `json:"volume,omitempty"`
	Pages        *string               `json:"pages,omitempty"`
	Issn         *string               `json:"issn,omitempty"`
	PubType      string                `json:"pub_type"`
	Source       string                `json:"source"`
	Issue        *string               `json:"issue,omitempty"`
	Status       *string               `json:"status,omitempty"`
	Authors      []*publication.Author `json:"authors"`
}

func (PublicationWithGene) IsBasePublication

func (PublicationWithGene) IsBasePublication()

type Query

type Query struct {
}

type StatusEnum

type StatusEnum string
const (
	StatusEnumInPreparation StatusEnum = "IN_PREPARATION"
	StatusEnumGrowing       StatusEnum = "GROWING"
	StatusEnumCancelled     StatusEnum = "CANCELLED"
	StatusEnumShipped       StatusEnum = "SHIPPED"
)

func (StatusEnum) IsValid

func (e StatusEnum) IsValid() bool

func (StatusEnum) MarshalGQL

func (e StatusEnum) MarshalGQL(w io.Writer)

func (StatusEnum) MarshalJSON

func (e StatusEnum) MarshalJSON() ([]byte, error)

func (StatusEnum) String

func (e StatusEnum) String() string

func (*StatusEnum) UnmarshalGQL

func (e *StatusEnum) UnmarshalGQL(v any) error

func (*StatusEnum) UnmarshalJSON

func (e *StatusEnum) UnmarshalJSON(b []byte) error

type Stock

type Stock interface {
	IsStock()
}

type StockCommon

type StockCommon struct{}

func (StockCommon) IsStock

func (stck StockCommon) IsStock()

type StockEntityType

type StockEntityType string
const (
	StockEntityTypeAll     StockEntityType = "ALL"
	StockEntityTypeStrain  StockEntityType = "STRAIN"
	StockEntityTypePlasmid StockEntityType = "PLASMID"
)

func (StockEntityType) IsValid

func (e StockEntityType) IsValid() bool

func (StockEntityType) MarshalGQL

func (e StockEntityType) MarshalGQL(w io.Writer)

func (StockEntityType) MarshalJSON

func (e StockEntityType) MarshalJSON() ([]byte, error)

func (StockEntityType) String

func (e StockEntityType) String() string

func (*StockEntityType) UnmarshalGQL

func (e *StockEntityType) UnmarshalGQL(v any) error

func (*StockEntityType) UnmarshalJSON

func (e *StockEntityType) UnmarshalJSON(b []byte) error

type StockSearchFieldEnum

type StockSearchFieldEnum string
const (
	StockSearchFieldEnumStockID             StockSearchFieldEnum = "STOCK_ID"
	StockSearchFieldEnumGenes               StockSearchFieldEnum = "GENES"
	StockSearchFieldEnumDbxrefs             StockSearchFieldEnum = "DBXREFS"
	StockSearchFieldEnumLabel               StockSearchFieldEnum = "LABEL"
	StockSearchFieldEnumNames               StockSearchFieldEnum = "NAMES"
	StockSearchFieldEnumSpecies             StockSearchFieldEnum = "SPECIES"
	StockSearchFieldEnumPlasmid             StockSearchFieldEnum = "PLASMID"
	StockSearchFieldEnumName                StockSearchFieldEnum = "NAME"
	StockSearchFieldEnumSummary             StockSearchFieldEnum = "SUMMARY"
	StockSearchFieldEnumDepositor           StockSearchFieldEnum = "DEPOSITOR"
	StockSearchFieldEnumSynonym             StockSearchFieldEnum = "SYNONYM"
	StockSearchFieldEnumGenotype            StockSearchFieldEnum = "GENOTYPE"
	StockSearchFieldEnumSystematicName      StockSearchFieldEnum = "SYSTEMATIC_NAME"
	StockSearchFieldEnumGeneticModification StockSearchFieldEnum = "GENETIC_MODIFICATION"
	StockSearchFieldEnumMutagenesisMethod   StockSearchFieldEnum = "MUTAGENESIS_METHOD"
	StockSearchFieldEnumPhenotype           StockSearchFieldEnum = "PHENOTYPE"
	StockSearchFieldEnumEnvironment         StockSearchFieldEnum = "ENVIRONMENT"
	StockSearchFieldEnumAssay               StockSearchFieldEnum = "ASSAY"
	StockSearchFieldEnumCharacteristic      StockSearchFieldEnum = "CHARACTERISTIC"
	StockSearchFieldEnumPublicNote          StockSearchFieldEnum = "PUBLIC_NOTE"
)

func (StockSearchFieldEnum) IsValid

func (e StockSearchFieldEnum) IsValid() bool

func (StockSearchFieldEnum) MarshalGQL

func (e StockSearchFieldEnum) MarshalGQL(w io.Writer)

func (StockSearchFieldEnum) MarshalJSON

func (e StockSearchFieldEnum) MarshalJSON() ([]byte, error)

func (StockSearchFieldEnum) String

func (e StockSearchFieldEnum) String() string

func (*StockSearchFieldEnum) UnmarshalGQL

func (e *StockSearchFieldEnum) UnmarshalGQL(v any) error

func (*StockSearchFieldEnum) UnmarshalJSON

func (e *StockSearchFieldEnum) UnmarshalJSON(b []byte) error

type StockSearchResult

type StockSearchResult struct {
	ID          string               `json:"id"`
	Entity      StockEntityType      `json:"entity"`
	Field       StockSearchFieldEnum `json:"field"`
	DisplayText string               `json:"display_text"`
	Score       float64              `json:"score"`
	Summary     string               `json:"summary"`
	StrainLabel string               `json:"strain_label"`
	InStock     bool                 `json:"in_stock"`
	StockType   string               `json:"stock_type"`
}

type StockSearchResultList

type StockSearchResultList struct {
	Results    []*StockSearchResult `json:"results"`
	Limit      *int                 `json:"limit,omitempty"`
	TotalCount int                  `json:"totalCount"`
}

type StockSuggestion

type StockSuggestion struct {
	ID          string               `json:"id"`
	Entity      StockEntityType      `json:"entity"`
	Field       StockSearchFieldEnum `json:"field"`
	DisplayText string               `json:"display_text"`
	Score       float64              `json:"score"`
}

type StockSuggestionList

type StockSuggestionList struct {
	Suggestions []*StockSuggestion `json:"suggestions"`
	Limit       *int               `json:"limit,omitempty"`
	TotalCount  int                `json:"totalCount"`
}

type Strain

type Strain struct {
	LazyStock
	StockCommon
	ID                  string    `json:"id"`
	CreatedAt           time.Time `json:"created_at"`
	UpdatedAt           time.Time `json:"updated_at"`
	Summary             *string   `json:"summary"`
	EditableSummary     *string   `json:"editable_summary"`
	Dbxrefs             []string  `json:"dbxrefs"`
	SystematicName      string    `json:"systematic_name"`
	Label               string    `json:"label"`
	Species             string    `json:"species"`
	Plasmid             *string   `json:"plasmid"`
	Parent              *string   `json:"parent"`
	Names               []string  `json:"names"`
	InStock             bool      `json:"in_stock"`
	GeneticModification *string   `json:"genetic_modification"`
	MutagenesisMethod   *string   `json:"mutagenesis_method"`
	Characteristics     []string  `json:"characteristics"`
	Genotypes           []string  `json:"genotypes"`
}

type StrainListFilter

type StrainListFilter struct {
	Label      *string    `json:"label,omitempty"`
	Summary    *string    `json:"summary,omitempty"`
	ID         *string    `json:"id,omitempty"`
	InStock    *bool      `json:"in_stock,omitempty"`
	StrainType StrainType `json:"strain_type"`
}

type StrainListWithCursor

type StrainListWithCursor struct {
	Strains        []*Strain `json:"strains"`
	NextCursor     int       `json:"nextCursor"`
	PreviousCursor int       `json:"previousCursor"`
	Limit          *int      `json:"limit,omitempty"`
	TotalCount     int       `json:"totalCount"`
}

type StrainType

type StrainType string
const (
	StrainTypeAll       StrainType = "ALL"
	StrainTypeRegular   StrainType = "REGULAR"
	StrainTypeGwdi      StrainType = "GWDI"
	StrainTypeBacterial StrainType = "BACTERIAL"
)

func (StrainType) IsValid

func (e StrainType) IsValid() bool

func (StrainType) MarshalGQL

func (e StrainType) MarshalGQL(w io.Writer)

func (StrainType) MarshalJSON

func (e StrainType) MarshalJSON() ([]byte, error)

func (StrainType) String

func (e StrainType) String() string

func (*StrainType) UnmarshalGQL

func (e *StrainType) UnmarshalGQL(v any) error

func (*StrainType) UnmarshalJSON

func (e *StrainType) UnmarshalJSON(b []byte) error

type UpdateContentInput

type UpdateContentInput struct {
	ID        string `json:"id"`
	UpdatedBy string `json:"updated_by"`
	Content   string `json:"content"`
}

type UpdateGeneGeneralInfoInput

type UpdateGeneGeneralInfoInput struct {
	NameDescription []*string `json:"name_description,omitempty"`
	GeneProduct     *string   `json:"gene_product,omitempty"`
	Synonyms        []*string `json:"synonyms,omitempty"`
	Description     *string   `json:"description,omitempty"`
	User            string    `json:"user"`
}

type UpdateOrderInput

type UpdateOrderInput struct {
	Courier          *string     `json:"courier,omitempty"`
	CourierAccount   *string     `json:"courier_account,omitempty"`
	Comments         *string     `json:"comments,omitempty"`
	Payment          *string     `json:"payment,omitempty"`
	PurchaseOrderNum *string     `json:"purchase_order_num,omitempty"`
	Status           *StatusEnum `json:"status,omitempty"`
	Items            []string    `json:"items,omitempty"`
}

type UpdatePermissionInput

type UpdatePermissionInput struct {
	Permission  string `json:"permission"`
	Description string `json:"description"`
	Resource    string `json:"resource"`
}

type UpdatePlasmidInput

type UpdatePlasmidInput struct {
	UpdatedBy        string   `json:"updated_by"`
	Summary          *string  `json:"summary,omitempty"`
	EditableSummary  *string  `json:"editable_summary,omitempty"`
	Depositor        *string  `json:"depositor,omitempty"`
	Genes            []string `json:"genes,omitempty"`
	Dbxrefs          []string `json:"dbxrefs,omitempty"`
	Publications     []string `json:"publications,omitempty"`
	Name             *string  `json:"name,omitempty"`
	ImageMap         *string  `json:"image_map,omitempty"`
	Sequence         *string  `json:"sequence,omitempty"`
	InStock          *bool    `json:"in_stock,omitempty"`
	Keywords         []string `json:"keywords,omitempty"`
	GenbankAccession *string  `json:"genbank_accession,omitempty"`
}

type UpdateRoleInput

type UpdateRoleInput struct {
	Role        string `json:"role"`
	Description string `json:"description"`
}

type UpdateStrainInput

type UpdateStrainInput struct {
	UpdatedBy           string   `json:"updated_by"`
	Summary             *string  `json:"summary,omitempty"`
	EditableSummary     *string  `json:"editable_summary,omitempty"`
	Depositor           *string  `json:"depositor,omitempty"`
	Genes               []string `json:"genes,omitempty"`
	Dbxrefs             []string `json:"dbxrefs,omitempty"`
	Publications        []string `json:"publications,omitempty"`
	SystematicName      *string  `json:"systematic_name,omitempty"`
	Label               *string  `json:"label,omitempty"`
	Species             *string  `json:"species,omitempty"`
	Plasmid             *string  `json:"plasmid,omitempty"`
	Parent              *string  `json:"parent,omitempty"`
	Names               []string `json:"names,omitempty"`
	InStock             *bool    `json:"in_stock,omitempty"`
	Phenotypes          []string `json:"phenotypes,omitempty"`
	GeneticModification *string  `json:"genetic_modification,omitempty"`
	MutagenesisMethod   *string  `json:"mutagenesis_method,omitempty"`
	Characteristics     []string `json:"characteristics,omitempty"`
	Genotypes           []string `json:"genotypes,omitempty"`
}

type UpdateStrainPhenotypePayloadInput

type UpdateStrainPhenotypePayloadInput struct {
	Phenotype   *string `json:"phenotype,omitempty"`
	Environment *string `json:"environment,omitempty"`
	Assay       *string `json:"assay,omitempty"`
	Publication *string `json:"publication,omitempty"`
	Notes       *string `json:"notes,omitempty"`
}

type UpdateStrainPhenotypeTargetInput

type UpdateStrainPhenotypeTargetInput struct {
	Phenotype   string  `json:"phenotype"`
	Environment *string `json:"environment,omitempty"`
	Assay       *string `json:"assay,omitempty"`
	Publication string  `json:"publication"`
	Notes       *string `json:"notes,omitempty"`
}

type UpdateUserInput

type UpdateUserInput struct {
	FirstName     *string `json:"first_name,omitempty"`
	LastName      *string `json:"last_name,omitempty"`
	Organization  *string `json:"organization,omitempty"`
	GroupName     *string `json:"group_name,omitempty"`
	FirstAddress  *string `json:"first_address,omitempty"`
	SecondAddress *string `json:"second_address,omitempty"`
	City          *string `json:"city,omitempty"`
	State         *string `json:"state,omitempty"`
	Zipcode       *string `json:"zipcode,omitempty"`
	Country       *string `json:"country,omitempty"`
	Phone         *string `json:"phone,omitempty"`
	IsActive      *bool   `json:"is_active,omitempty"`
}

type UserInfoInput

type UserInfoInput struct {
	FirstName     *string `json:"first_name,omitempty"`
	LastName      *string `json:"last_name,omitempty"`
	Organization  *string `json:"organization,omitempty"`
	FirstAddress  *string `json:"first_address,omitempty"`
	SecondAddress *string `json:"second_address,omitempty"`
	City          *string `json:"city,omitempty"`
	State         *string `json:"state,omitempty"`
	Zipcode       *string `json:"zipcode,omitempty"`
	Country       *string `json:"country,omitempty"`
	Phone         *string `json:"phone,omitempty"`
}

type UserList

type UserList struct {
	Users      []*user.User `json:"users"`
	PageNum    *string      `json:"pageNum,omitempty"`
	PageSize   *string      `json:"pageSize,omitempty"`
	TotalCount int          `json:"totalCount"`
}

type With

type With struct {
	ID   string `json:"id"`
	Db   string `json:"db"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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