From a7437fcd753d1f801e213ca6499879fea9b3ff8d Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Fri, 14 Apr 2023 17:01:59 +0000 Subject: [PATCH] more user fields --- api/members/members_models/user.go | 15 +++++++++++++++ api/sfgate/sfgate_models/user.go | 15 +++++++++++++++ swagger/defs/user.yaml | 15 +++++++++++++++ swagger/external/members-vernonkeenan.yaml | 15 +++++++++++++++ swagger/external/sf-gate-vernonkeenan.yaml | 15 +++++++++++++++ swagger/members-vernonkeenan.yaml | 15 +++++++++++++++ swagger/sf-gate-vernonkeenan.yaml | 15 +++++++++++++++ 7 files changed, 105 insertions(+) diff --git a/api/members/members_models/user.go b/api/members/members_models/user.go index 2cdc069..2342b63 100644 --- a/api/members/members_models/user.go +++ b/api/members/members_models/user.go @@ -23,6 +23,12 @@ import ( // swagger:model User type User struct { + // API Gateway URL + APIGatewayURL string `json:"APIGatewayURL,omitempty"` + + // API Gateway User + APIGatewayUser string `json:"APIGatewayUser,omitempty"` + // API Key APIKey string `json:"APIKey,omitempty"` @@ -95,6 +101,9 @@ type User struct { // Full Photo URL FullPhotoURL string `json:"FullPhotoURL,omitempty"` + // GitHub + GitHub string `json:"GitHub,omitempty"` + // Record ID ID string `json:"ID,omitempty"` @@ -125,6 +134,9 @@ type User struct { // The Last Name LastName string `json:"LastName,omitempty"` + // LinkedIn + LinkedIn string `json:"LinkedIn,omitempty"` + // Number of times user has logged in LoginCount int64 `json:"LoginCount,omitempty"` @@ -188,6 +200,9 @@ type User struct { // Title Title string `json:"Title,omitempty"` + // Twitter + Twitter string `json:"Twitter,omitempty"` + // Role UserRoleID string `json:"UserRoleID,omitempty"` diff --git a/api/sfgate/sfgate_models/user.go b/api/sfgate/sfgate_models/user.go index dda3e23..5762a05 100644 --- a/api/sfgate/sfgate_models/user.go +++ b/api/sfgate/sfgate_models/user.go @@ -23,6 +23,12 @@ import ( // swagger:model User type User struct { + // API Gateway URL + APIGatewayURL string `json:"APIGatewayURL,omitempty"` + + // API Gateway User + APIGatewayUser string `json:"APIGatewayUser,omitempty"` + // API Key APIKey string `json:"APIKey,omitempty"` @@ -95,6 +101,9 @@ type User struct { // Full Photo URL FullPhotoURL string `json:"FullPhotoURL,omitempty"` + // GitHub + GitHub string `json:"GitHub,omitempty"` + // Record ID ID string `json:"ID,omitempty"` @@ -125,6 +134,9 @@ type User struct { // The Last Name LastName string `json:"LastName,omitempty"` + // LinkedIn + LinkedIn string `json:"LinkedIn,omitempty"` + // Number of times user has logged in LoginCount int64 `json:"LoginCount,omitempty"` @@ -191,6 +203,9 @@ type User struct { // Title Title string `json:"Title,omitempty"` + // Twitter + Twitter string `json:"Twitter,omitempty"` + // Role UserRoleID string `json:"UserRoleID,omitempty"` diff --git a/swagger/defs/user.yaml b/swagger/defs/user.yaml index 4d26410..e1e3fce 100644 --- a/swagger/defs/user.yaml +++ b/swagger/defs/user.yaml @@ -3,6 +3,12 @@ User: ID: description: Record ID type: string + APIGatewayURL: + description: API Gateway URL + type: string + APIGatewayUser: + description: API Gateway User + type: string APIKey: description: API Key type: string @@ -74,6 +80,9 @@ User: FullPhotoURL: description: Full Photo URL type: string + GitHub: + description: GitHub + type: string IsActive: description: Active type: boolean @@ -100,6 +109,9 @@ User: LastName: description: The Last Name type: string + LinkedIn: + description: LinkedIn + type: string LoginCount: description: Number of times user has logged in format: int64 @@ -165,6 +177,9 @@ User: Title: description: Title type: string + Twitter: + description: Twitter + type: string UserRoleID: description: Role type: string diff --git a/swagger/external/members-vernonkeenan.yaml b/swagger/external/members-vernonkeenan.yaml index e749e36..4c03f8f 100644 --- a/swagger/external/members-vernonkeenan.yaml +++ b/swagger/external/members-vernonkeenan.yaml @@ -2949,6 +2949,12 @@ definitions: type: object User: properties: + APIGatewayURL: + description: API Gateway URL + type: string + APIGatewayUser: + description: API Gateway User + type: string APIKey: description: API Key type: string @@ -3020,6 +3026,9 @@ definitions: FullPhotoURL: description: Full Photo URL type: string + GitHub: + description: GitHub + type: string ID: description: Record ID type: string @@ -3049,6 +3058,9 @@ definitions: LastName: description: The Last Name type: string + LinkedIn: + description: LinkedIn + type: string LoginCount: description: Number of times user has logged in format: int64 @@ -3114,6 +3126,9 @@ definitions: Title: description: Title type: string + Twitter: + description: Twitter + type: string UserRoleID: description: Role type: string diff --git a/swagger/external/sf-gate-vernonkeenan.yaml b/swagger/external/sf-gate-vernonkeenan.yaml index c7c7503..2e193b1 100644 --- a/swagger/external/sf-gate-vernonkeenan.yaml +++ b/swagger/external/sf-gate-vernonkeenan.yaml @@ -2995,6 +2995,12 @@ definitions: type: object User: properties: + APIGatewayURL: + description: API Gateway URL + type: string + APIGatewayUser: + description: API Gateway User + type: string APIKey: description: API Key type: string @@ -3066,6 +3072,9 @@ definitions: FullPhotoURL: description: Full Photo URL type: string + GitHub: + description: GitHub + type: string ID: description: Record ID type: string @@ -3095,6 +3104,9 @@ definitions: LastName: description: The Last Name type: string + LinkedIn: + description: LinkedIn + type: string LoginCount: description: Number of times user has logged in format: int64 @@ -3163,6 +3175,9 @@ definitions: Title: description: Title type: string + Twitter: + description: Twitter + type: string UserRoleID: description: Role type: string diff --git a/swagger/members-vernonkeenan.yaml b/swagger/members-vernonkeenan.yaml index 905df68..81dfa3f 100644 --- a/swagger/members-vernonkeenan.yaml +++ b/swagger/members-vernonkeenan.yaml @@ -2949,6 +2949,12 @@ definitions: type: object User: properties: + APIGatewayURL: + description: API Gateway URL + type: string + APIGatewayUser: + description: API Gateway User + type: string APIKey: description: API Key type: string @@ -3020,6 +3026,9 @@ definitions: FullPhotoURL: description: Full Photo URL type: string + GitHub: + description: GitHub + type: string ID: description: Record ID type: string @@ -3049,6 +3058,9 @@ definitions: LastName: description: The Last Name type: string + LinkedIn: + description: LinkedIn + type: string LoginCount: description: Number of times user has logged in format: int64 @@ -3114,6 +3126,9 @@ definitions: Title: description: Title type: string + Twitter: + description: Twitter + type: string UserRoleID: description: Role type: string diff --git a/swagger/sf-gate-vernonkeenan.yaml b/swagger/sf-gate-vernonkeenan.yaml index daddea1..461550b 100644 --- a/swagger/sf-gate-vernonkeenan.yaml +++ b/swagger/sf-gate-vernonkeenan.yaml @@ -2995,6 +2995,12 @@ definitions: type: object User: properties: + APIGatewayURL: + description: API Gateway URL + type: string + APIGatewayUser: + description: API Gateway User + type: string APIKey: description: API Key type: string @@ -3066,6 +3072,9 @@ definitions: FullPhotoURL: description: Full Photo URL type: string + GitHub: + description: GitHub + type: string ID: description: Record ID type: string @@ -3095,6 +3104,9 @@ definitions: LastName: description: The Last Name type: string + LinkedIn: + description: LinkedIn + type: string LoginCount: description: Number of times user has logged in format: int64 @@ -3163,6 +3175,9 @@ definitions: Title: description: Title type: string + Twitter: + description: Twitter + type: string UserRoleID: description: Role type: string