Skip to content

Commit

Permalink
linkedingo/types: fix UserProfile
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Jan 22, 2025
1 parent 9ed0d90 commit f9a1426
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pkg/linkedingo/types/user_profile.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
package types

type VectorImage struct {
RootURL string `json:"rootUrl,omitempty"`
Artifacts []any `json:"artifacts,omitempty"`
}

type Picture struct {
VectorImage *VectorImage `json:"com.linkedin.common.VectorImage"`
}

type UserProfile struct {
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Occupation string `json:"occupation"`
PublicIdentifier string `json:"publicIdentifier"`
Picture string `json:"picture,omitempty"`
Memorialized bool `json:"memorialized"`

EntityUrn string `json:"entityUrn"`
ObjectUrn string `json:"objectUrn"`
DashEntityUrn string `json:"dashEntityUrn"`

TrackingId string `json:"trackingId"`

Picture Picture `json:"picture,omitempty"`
}

type UserLoginProfile struct {
Expand Down

0 comments on commit f9a1426

Please sign in to comment.