response

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttrBag

type AttrBag struct {
	ID         string                `json:"ID"`
	Name       string                `json:"name"`
	Attributes []common.BagAttribute `json:"attributes"`
	common.UserMetadata
}

type AttrBags

type AttrBags struct {
	AttrBags []AttrBag `json:"bags"`
}

type Attribute

type Attribute struct {
	ID            string            `json:"ID"`
	Name          string            `json:"name"`
	FieldType     string            `json:"fieldType"`
	LeafFieldType *string           `json:"leafFieldType,omitempty"`
	Label         *bool             `json:"label,omitempty"`
	Active        bool              `json:"active"`
	Options       []AttributeOption `json:"options,omitempty"`
	common.UserMetadata
}

type AttributeOption

type AttributeOption struct {
	*common.SelectOption
	*common.NSSOption
}

type Attributes

type Attributes struct {
	Attributes []Attribute `json:"attributes"`
}

type FieldType

type FieldType struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type FieldTypes

type FieldTypes struct {
	FieldTypes []FieldType `json:"fieldTypes"`
}

type MultiselectAttr

type MultiselectAttr = SingleSelectAttr

type NSSAttr

type NSSAttr struct {
	ID        string             `json:"ID"`
	Name      string             `json:"name"`
	FieldType string             `json:"fieldType"`
	Options   []common.NSSOption `json:"options"`
	common.UserMetadata
}

type PrimitiveAttr

type PrimitiveAttr struct {
	ID        string `json:"ID"`
	Name      string `json:"name"`
	FieldType string `json:"fieldType"`
	Label     *bool  `json:"label,omitempty"`
	Active    bool   `json:"active"`
	common.UserMetadata
}

type Profile

type Profile struct {
	ID               string                `json:"ID"`
	UserID           string                `json:"userId"`
	Name             common.ProfileName    `json:"Name"`
	PhoneNumbers     []common.PhoneNumber  `json:"PhoneNumbers"`
	EmailAddresses   []common.EmailAddress `json:"EmailAddresses"`
	UserEmailAddress string                `json:"UserEmailAddress"`
	LastModifiedOn   string                `json:"lastModifiedOn"`
}

type Resource

type Resource struct {
	ID         string            `json:"ID"`
	ResourceID string            `json:"resourceID"`
	Bags       []ResourceAttrBag `json:"bags"`
	common.UserMetadata
}

type ResourceAttrBag

type ResourceAttrBag struct {
	ID     string `json:"ID"`
	Active bool   `json:"active"`
}

type ResourceAttrBagValue

type ResourceAttrBagValue struct {
	ID     string                   `json:"ID"`
	Text   *common.BagPrimitiveAttr `json:"text"`
	Number *common.BagPrimitiveAttr `json:"number"`
	Date   *common.BagPrimitiveAttr `json:"date"`
	File   *common.BagPrimitiveAttr `json:"file"`
	Option *common.BagSelectOption  `json:"option"`
	common.UserMetadata
}

type ResourceAttrBagValues

type ResourceAttrBagValues struct {
	Attributes []ResourceAttrBagValue `json:"attributes"`
}

type SingleSelectAttr

type SingleSelectAttr struct {
	ID        string                `json:"ID"`
	Name      string                `json:"name"`
	FieldType string                `json:"fieldType"`
	Options   []common.SelectOption `json:"options"`
	common.UserMetadata
}

type User

type User struct {
	ID          string `json:"id"`
	Uuid        string `json:"uuid"`
	Email       string `json:"email"`
	Inactive    bool   `json:"inactive"`
	Deactivated bool   `json:"userDeactivated"`
	Dormant     bool   `json:"dormant"`
	AvatarUrl   string `json:"avatarUrl"`
	JwtToken    string `json:"jwtToken"`
}

type UserRegistration

type UserRegistration struct {
	User User `json:"user"`
}

type Users

type Users struct {
	Users []User `json:"users"`
}

Jump to

Keyboard shortcuts

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