model

package
v1.111.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 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 Assignee

type Assignee struct {
	ID       int      `json:"id"`
	Roles    []string `json:"roles"`
	Username string   `json:"displayName"`
}

func (Assignee) GetRoles

func (a Assignee) GetRoles() string

type Assurance

type Assurance struct {
	ReportReviewDate    string  `json:"reportReviewDate"`
	VisitReportMarkedAs RefData `json:"reportMarkedAs"`
	AssuranceType       RefData `json:"assuranceType"`
}

type Client

type Client struct {
	Id int `json:"id"`
}

type Deputies

type Deputies struct {
	DeputyId                   int                        `json:"id"`
	Firstname                  string                     `json:"firstname"`
	Surname                    string                     `json:"surname"`
	DeputyNumber               int                        `json:"deputyNumber"`
	Orders                     []Orders                   `json:"orders"`
	ExecutiveCaseManager       ExecutiveCaseManager       `json:"executiveCaseManager"`
	OrganisationName           string                     `json:"organisationName"`
	Town                       string                     `json:"town"`
	Assurance                  Assurance                  `json:"mostRecentlyCompletedAssurance"`
	DeputyImportantInformation DeputyImportantInformation `json:"deputyImportantInformation"`
}

type DeputyImportantInformation

type DeputyImportantInformation struct {
	PanelDeputy bool `json:"panelDeputy"`
}

type ExecutiveCaseManager

type ExecutiveCaseManager struct {
	Id          int    `json:"id"`
	DisplayName string `json:"displayName"`
}

type FirmDeputies

type FirmDeputies struct {
	DeputyId         int    `json:"id"`
	DeputyNumber     int    `json:"deputyNumber"`
	OrganisationName string `json:"organisationName"`
}

type FirmDeputy

type FirmDeputy struct {
	DeputyId             int
	Firstname            string
	Surname              string
	DeputyNumber         int
	ActiveClientsCount   int
	ExecutiveCaseManager string
	OrganisationName     string
	Town                 string
	ReviewDate           string
	MarkedAsLabel        string
	MarkedAsClass        string
	AssuranceType        string
	PanelDeputy          bool
}

func (FirmDeputy) GetRAGRating added in v1.96.0

func (fd FirmDeputy) GetRAGRating() RAGRating

type FirmDetails

type FirmDetails struct {
	ID                     int                  `json:"id"`
	FirmName               string               `json:"firmName"`
	FirmNumber             int                  `json:"firmNumber"`
	Email                  string               `json:"email"`
	PhoneNumber            string               `json:"phoneNumber"`
	AddressLine1           string               `json:"addressLine1"`
	AddressLine2           string               `json:"addressLine2"`
	AddressLine3           string               `json:"addressLine3"`
	Town                   string               `json:"town"`
	County                 string               `json:"county"`
	Postcode               string               `json:"postcode"`
	ExecutiveCaseManager   ExecutiveCaseManager `json:"executiveCaseManager"`
	Deputies               []FirmDeputies       `json:"deputies"`
	PiiReceived            string               `json:"piiReceived"`
	PiiExpiry              string               `json:"piiExpiry"`
	PiiAmount              float64              `json:"piiAmount,omitempty"`
	PiiRequested           string               `json:"piiRequested"`
	PiiReceivedDateFormat  string
	PiiExpiryDateFormat    string
	PiiRequestedDateFormat string
	TotalNumberOfDeputies  int
	PiiAmountCommaFormat   string
	PiiAmountIntFormat     int64
}

type Member

type Member struct {
	Id          int    `json:"id"`
	Name        string `json:"name"`
	DisplayName string `json:"displayName"`
}

type Order

type Order struct {
	Id          int         `json:"id"`
	Client      Client      `json:"client"`
	OrderStatus OrderStatus `json:"orderStatus"`
}

type OrderStatus

type OrderStatus struct {
	Handle string `json:"handle"`
	Label  string `json:"label"`
}

type Orders

type Orders struct {
	Order Order `json:"order"`
}

type PiiDetails

type PiiDetails struct {
	FirmId       int     `json:"firmId"`
	PiiReceived  string  `json:"piiReceived"`
	PiiExpiry    string  `json:"piiExpiry"`
	PiiAmount    float64 `json:"piiAmount,omitempty"`
	PiiRequested string  `json:"piiRequested"`
}

type RAGRating added in v1.96.0

type RAGRating struct {
	Name   string
	Colour string
}

type RefData

type RefData struct {
	Handle string `json:"handle"`
	Label  string `json:"label"`
}

type TeamMembers

type TeamMembers struct {
	Id          int      `json:"id"`
	Name        string   `json:"name"`
	DisplayName string   `json:"displayName"`
	Members     []Member `json:"members"`
}

Jump to

Keyboard shortcuts

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