organization

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Administrators

type Administrators struct {
	UpdatedAt               time.Time               `json:"updatedAt"`
	Email                   string                  `json:"email"`
	Degree                  Degree                  `json:"degree"`
	Role                    Role                    `json:"role"`
	URL                     string                  `json:"url"`
	IsSuperAdmin            bool                    `json:"isSuperAdmin"`
	IsPublisher             bool                    `json:"isPublisher"`
	IntID                   int                     `json:"intId"`
	Color                   string                  `json:"color"`
	PennsieveTermsOfService PennsieveTermsOfService `json:"pennsieveTermsOfService"`
	LastName                string                  `json:"lastName"`
	IsOwner                 bool                    `json:"isOwner"`
	FirstName               string                  `json:"firstName"`
	ID                      string                  `json:"id"`
	AuthyID                 int                     `json:"authyId"`
	CustomTermsOfService    []CustomTermsOfService  `json:"customTermsOfService"`
	MiddleInitial           string                  `json:"middleInitial"`
	PreferredOrganization   string                  `json:"preferredOrganization"`
	CreatedAt               time.Time               `json:"createdAt"`
	Storage                 int                     `json:"storage"`
	Credential              string                  `json:"credential"`
	Orcid                   user.Orcid              `json:"orcid"`
}

type CustomTermsOfService

type CustomTermsOfService struct {
	Version        string `json:"version"`
	OrganizationID string `json:"organizationId"`
}

type Degree

type Degree struct {
	EntryName                          string `json:"entryName"`
	EnumeratumEnumEntryStableEntryName string `json:"enumeratum$EnumEntry$$stableEntryName"`
}

type GetOrganizationResponse

type GetOrganizationResponse struct {
	Organization Organization `json:"organization"`
}

type GetOrganizationsResponse

type GetOrganizationsResponse struct {
	Organizations []Organizations `json:"organizations"`
}

type Organization

type Organization struct {
	Name                 string               `json:"name"`
	EncryptionKeyID      string               `json:"encryptionKeyId"`
	Features             []string             `json:"features"`
	IntID                int                  `json:"intId"`
	Slug                 string               `json:"slug"`
	ID                   string               `json:"id"`
	CustomTermsOfService CustomTermsOfService `json:"customTermsOfService"`
	Storage              int                  `json:"storage"`
	SubscriptionState    SubscriptionState    `json:"subscriptionState"`
	Terms                string               `json:"terms"`
}

type Organizations

type Organizations struct {
	Organization   Organization     `json:"organization"`
	IsAdmin        bool             `json:"isAdmin"`
	Owners         []Owners         `json:"owners"`
	Administrators []Administrators `json:"administrators"`
	IsOwner        bool             `json:"isOwner"`
}

type Owners

type Owners struct {
	UpdatedAt               time.Time               `json:"updatedAt"`
	Email                   string                  `json:"email"`
	Degree                  Degree                  `json:"degree"`
	Role                    Role                    `json:"role"`
	URL                     string                  `json:"url"`
	IsSuperAdmin            bool                    `json:"isSuperAdmin"`
	IsPublisher             bool                    `json:"isPublisher"`
	IntID                   int                     `json:"intId"`
	Color                   string                  `json:"color"`
	PennsieveTermsOfService PennsieveTermsOfService `json:"pennsieveTermsOfService"`
	LastName                string                  `json:"lastName"`
	IsOwner                 bool                    `json:"isOwner"`
	FirstName               string                  `json:"firstName"`
	ID                      string                  `json:"id"`
	AuthyID                 int                     `json:"authyId"`
	CustomTermsOfService    []CustomTermsOfService  `json:"customTermsOfService"`
	MiddleInitial           string                  `json:"middleInitial"`
	PreferredOrganization   string                  `json:"preferredOrganization"`
	CreatedAt               time.Time               `json:"createdAt"`
	Storage                 int                     `json:"storage"`
	Credential              string                  `json:"credential"`
	Orcid                   user.Orcid              `json:"orcid"`
}

type PennsieveTermsOfService

type PennsieveTermsOfService struct {
	Version string `json:"version"`
}

type Role

type Role struct {
}

type SubscriptionState

type SubscriptionState struct {
}

Jump to

Keyboard shortcuts

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