rimashah25 commented on code in PR #7734:
URL: https://github.com/apache/trafficcontrol/pull/7734#discussion_r1303627964
##########
lib/go-tc/profiles.go:
##########
@@ -91,6 +92,28 @@ type Profile struct {
Parameters []ParameterNullable `json:"params,omitempty"`
}
+// ProfilesResponseV5 is a list of profiles returned by GET requests.
+type ProfilesResponseV5 struct {
+ Response []ProfileV5 `json:"response"`
+ Alerts
+}
+
+// A ProfileV5 represents a set of configuration for a server or Delivery
Service
+// which may be reused to allow sharing configuration across the objects to
+// which it is assigned. Note: Field LastUpdated represents RFC3339
+type ProfileV5 struct {
+ ID int `json:"id" db:"id"`
+ LastUpdated time.Time `json:"lastUpdated"
db:"last_updated"`
+ Name string `json:"name" db:"name"`
+ Parameter string `json:"param"`
Review Comment:
It didn't in this `ProfileNullable` but it exists in `Profile`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]