Documentation
¶
Index ¶
- Variables
- type Action
- type Activity
- type AdvancedSearch
- type ByActivity
- type Competences
- type Coordonnees
- type Embedded
- type Factors
- type GestionDesDroits
- type InscriptionList
- type MFAAuthRequest
- type MFAAuthResponse
- type PasswordAuth
- type PasswordAuthOptions
- type PasswordAuthResponse
- type PegassTime
- type RechercheBenevoles
- type RegulationStats
- type Role
- type Seance
- type SeanceList
- type Stats
- type StatsBenevole
- type Structure
- type StructureList
- type TypeActivite
- type UserTraining
- type Utilisateur
Constants ¶
This section is empty.
Variables ¶
View Source
var ACTIVITY_MAP = map[string]int{"01-DAUPHIN": 1,
"02-CASTOR": 2, "03-RUBIS": 3, "04-SAPHIR": 4,
"05-BABETTE": 5, "REGULATION": 6}
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
ID string `json:"id"`
Libelle string `json:"libelle"`
StructureOrganisatrice Structure `json:"structureOrganisatrice"`
StructureMenantActivite Structure `json:"structureMenantActivite"`
Statut string `json:"statut"`
SeanceList []Seance `json:"seanceList"`
TypeActivite TypeActivite `json:"typeActivite"`
Responsable Utilisateur `json:"responsable"`
}
type AdvancedSearch ¶
type ByActivity ¶
type ByActivity []Activity
func (ByActivity) Len ¶
func (a ByActivity) Len() int
func (ByActivity) Less ¶
func (a ByActivity) Less(i, j int) bool
func (ByActivity) Swap ¶
func (a ByActivity) Swap(i, j int)
type Competences ¶
type Coordonnees ¶ added in v1.1.0
type Coordonnees struct {
ID string `json:"id"`
UtilisateurID string `json:"utilisateurId"`
MoyenComID string `json:"moyenComId"`
Numero int `json:"numero"`
Libelle string `json:"libelle"`
Flag string `json:"flag"`
Visible bool `json:"visible"`
CanDelete bool `json:"canDelete"`
CanUpdate bool `json:"canUpdate"`
}
type GestionDesDroits ¶
type GestionDesDroits struct {
Utilisateur Utilisateur `json:"utilisateur"`
}
type InscriptionList ¶
type InscriptionList []struct {
ID string `json:"id"`
Activite struct {
ID string `json:"id"`
Type string `json:"type"`
TypeActivite struct {
ID int `json:"id"`
Libelle string `json:"libelle"`
GroupeAction struct {
ID int `json:"id"`
Libelle string `json:"libelle"`
Tri string `json:"tri"`
CanAdmin bool `json:"canAdmin"`
} `json:"groupeAction"`
Action struct {
ID int `json:"id"`
Libelle string `json:"libelle"`
GroupeAction struct {
ID int `json:"id"`
Libelle string `json:"libelle"`
} `json:"groupeAction"`
} `json:"action"`
CanAdmin bool `json:"canAdmin"`
} `json:"typeActivite"`
Statut string `json:"statut"`
} `json:"activite"`
Seance struct {
ID string `json:"id"`
} `json:"seance"`
Utilisateur Utilisateur `json:"utilisateur"`
Debut string `json:"debut"`
Fin string `json:"fin"`
Statut string `json:"statut"`
Role string `json:"role"`
}
type MFAAuthRequest ¶
type MFAAuthResponse ¶
type PasswordAuth ¶
type PasswordAuth struct {
Password string `json:"password"`
Username string `json:"username"`
Options PasswordAuthOptions `json:"options"`
}
type PasswordAuthOptions ¶
type PasswordAuthResponse ¶
type PegassTime ¶
func (*PegassTime) PrintTimePart ¶
func (p *PegassTime) PrintTimePart() string
func (*PegassTime) UnmarshalJSON ¶
func (p *PegassTime) UnmarshalJSON(b []byte) error
type RechercheBenevoles ¶
type RechercheBenevoles struct {
List []Utilisateur `json:"content"`
Page int `json:"number"`
Total int `json:"totalPages"`
Perpage int `json:"perpage"`
Last bool `json:"last"`
}
type RegulationStats ¶
type RegulationStats struct {
OPR, Eval, Regul int
}
type Seance ¶
type Seance struct {
ID string `json:"id"`
Activite struct {
ID string `json:"id"`
Type string `json:"type"`
Libelle string `json:"libelle"`
} `json:"activite"`
GroupeAction struct {
ID int `json:"id"`
Libelle string `json:"libelle"`
Tri string `json:"tri"`
CanAdmin bool `json:"canAdmin"`
} `json:"groupeAction"`
Debut PegassTime `json:"debut"`
Fin PegassTime `json:"fin"`
Adresse string `json:"adresse"`
RevisionNumber int `json:"revisionNumber"`
RoleConfigList []struct {
ID string `json:"id"`
Code string `json:"code"`
Role string `json:"role"`
Actif bool `json:"actif"`
Effectif int `json:"effectif"`
Type string `json:"type"`
} `json:"roleConfigList"`
}
type SeanceList ¶
type SeanceList struct {
Content []Seance `json:"content"`
Last bool `json:"last"`
TotalElements int `json:"totalElements"`
TotalPages int `json:"totalPages"`
Size int `json:"size"`
Number int `json:"number"`
Sort interface{} `json:"sort"`
First bool `json:"first"`
NumberOfElements int `json:"numberOfElements"`
}
type StatsBenevole ¶
type StatsBenevole struct {
Debut string `json:"debut"`
Fin string `json:"fin"`
Unite string `json:"unite"`
Statistiques []struct {
StatistiquesGroupeAction Stats `json:"statistiquesGroupeAction"`
StatistiquesActivites []Stats `json:"statistiquesActivites"`
} `json:"statistiques"`
StatistiquesActivite []Stats `json:"statistiquesActivite"`
IDUtilisateur string `json:"idUtilisateur"`
}
type Structure ¶
type Structure struct {
ID int `json:"id"`
TypeStructure string `json:"typeStructure"`
Libelle string `json:"libelle"`
LibelleCourt string `json:"libelleCourt"`
Adresse string `json:"adresse"`
Telephone string `json:"telephone"`
Mail string `json:"mail"`
SiteWeb string `json:"siteWeb"`
Parent struct {
ID int `json:"id"`
} `json:"parent"`
StructureMenantActiviteList []struct {
ID int `json:"id"`
Libelle string `json:"libelle"`
} `json:"structureMenantActiviteList"`
}
type StructureList ¶
type TypeActivite ¶
type UserTraining ¶ added in v1.6.0
type UserTraining struct {
ID string `json:"id"`
Formation struct {
ID string `json:"id"`
Code string `json:"code"`
Libelle string `json:"libelle"`
Recyclage bool `json:"recyclage"`
} `json:"formation"`
DateObtention string `json:"dateObtention"`
DateRecyclage string `json:"dateRecyclage,omitempty"`
}
type Utilisateur ¶
Click to show internal directories.
Click to hide internal directories.