initial commit
This commit is contained in:
28
internal/opps/opps.go
Normal file
28
internal/opps/opps.go
Normal file
@@ -0,0 +1,28 @@
|
||||
package opps
|
||||
|
||||
type Opportunity struct {
|
||||
Title string `json:"Title"`
|
||||
Status string `json:"Status"`
|
||||
SolutionConsultants struct {
|
||||
Results []int `json:"results"`
|
||||
} `json:"SolutionConsultantId"`
|
||||
}
|
||||
|
||||
type Result struct {
|
||||
Data struct {
|
||||
Opportunities []Opportunity `json:"results"`
|
||||
Next string `json:"__next"`
|
||||
} `json:"d"`
|
||||
}
|
||||
|
||||
type Counter struct {
|
||||
Inactive int
|
||||
Won int
|
||||
Open int
|
||||
Closed int
|
||||
}
|
||||
|
||||
type SolutionConsultant struct {
|
||||
ID int
|
||||
Name string
|
||||
}
|
||||
Reference in New Issue
Block a user