Documentation
¶
Index ¶
- type BodyRequestCode
- type BodyRequestCodeNextPage
- type BodyRequestLawsuit
- type Bool
- type Class
- type Complement
- type Court
- type Format
- type Hit
- type Hit2
- type Hit2NextPage
- type HitNextPage
- type Match
- type MatchLawsuit
- type Movement
- type Must
- type Query
- type QueryLawsuit
- type ReadCsvCode
- type ReadCsvLaawsuit
- type ResponseBodyLawsuit
- type ResponseBodyNextPage
- type Shard
- type Sort
- type Source
- type SourceNextPage
- type Subject
- type System
- type Timestamp
- type Total
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyRequestCode ¶
type BodyRequestCodeNextPage ¶
type BodyRequestLawsuit ¶
type BodyRequestLawsuit struct {
Query QueryLawsuit `json:"query,omitempty"`
}
type Complement ¶
type Hit2NextPage ¶
type HitNextPage ¶
type HitNextPage struct {
Total Total `json:"total"`
MaxScore float64 `json:"max_score"`
Hits []Hit2NextPage `json:"hits"`
}
type MatchLawsuit ¶
type MatchLawsuit struct {
CNJNumber string `json:"numeroProcesso,omitempty"`
}
type Movement ¶
type Movement struct {
Complement []Complement `json:"complementosTabelados,omitempty"`
Code int `json:"codigo"`
Name string `json:"nome"`
DateTime time.Time `json:"dataHora"`
}
type QueryLawsuit ¶
type QueryLawsuit struct {
Match MatchLawsuit `json:"match,omitempty"`
}
type ReadCsvCode ¶
type ReadCsvLaawsuit ¶
type ReadCsvLaawsuit struct {
CNJNumber string
}
type ResponseBodyLawsuit ¶
type ResponseBodyNextPage ¶
type ResponseBodyNextPage struct {
Took int `json:"took"`
TimedOut bool `json:"timed_out"`
Shards Shard `json:"_shards"`
Hit HitNextPage `json:"hits"`
}
type Source ¶
type Source struct {
LawsuitNumber string `json:"numeroProcesso"`
Class Class `json:"classe"`
System System `json:"sistema"`
Format Format `json:"formato"`
Court string `json:"tribunal"`
DateLastUpdate time.Time `json:"dataHoraUltimaAtualizacao"`
Degree string `json:"grau"`
Timestamp time.Time `json:"@TimestampCode"`
DistributionDate time.Time `json:"dataAjuizamento"`
Movements []Movement `json:"movimentos"`
Id string `json:"id"`
SecrecyLevel int `json:"nivelSigilo"`
CourtInstance Court `json:"orgaoJulgador"`
Subjects []Subject `json:"assuntos"`
}
type SourceNextPage ¶
type SourceNextPage struct {
Class Class `json:"classe"`
LawsuitNumber string `json:"numeroProcesso"`
System System `json:"sistema"`
Format Format `json:"formato"`
Court string `json:"tribunal"`
DateLastUpdate time.Time `json:"dataHoraUltimaAtualizacao"`
Degree string `json:"grau"`
Timestamp time.Time `json:"@TimestampCode"`
DistributionDate time.Time `json:"dataAjuizamento"`
Movements []Movement `json:"movimentos"`
Id string `json:"id"`
SecrecyLevel int `json:"nivelSigilo"`
CourtInstance Court `json:"orgaoJulgador"`
Subjects []Subject `json:"assuntos"`
}
Click to show internal directories.
Click to hide internal directories.