You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2018/04/06 20:45:55 UTC
[incubator-trafficcontrol] 05/15: created the v13 profileparameters
This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit fa479f86eb1e33b37299e30d47d51c77fc368e86
Author: Dewayne Richardson <de...@apache.org>
AuthorDate: Mon Apr 2 11:09:43 2018 -0600
created the v13 profileparameters
---
lib/go-tc/v13/profile_parameters.go | 45 +++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/lib/go-tc/v13/profile_parameters.go b/lib/go-tc/v13/profile_parameters.go
new file mode 100644
index 0000000..be3d1a2
--- /dev/null
+++ b/lib/go-tc/v13/profile_parameters.go
@@ -0,0 +1,45 @@
+package v13
+
+import tc "github.com/apache/incubator-trafficcontrol/lib/go-tc"
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+// ProfileParametersResponse ...
+type ProfileParametersResponse struct {
+ Response []ProfileParameter `json:"response"`
+}
+
+// ProfileParameter ...
+type ProfileParameter struct {
+ LastUpdated tc.TimeNoMod `json:"lastUpdated"`
+ Profile string `json:"profile"`
+ ProfileId int `json:"profileId"`
+ Parameter string `json:"parameter"`
+ ParameterId int `json:"profileId"`
+}
+
+// ProfileParameterNullable ...
+type ProfileParameterNullable struct {
+ LastUpdated *tc.TimeNoMod `json:"lastUpdated" db:"last_updated"`
+ Profile *string `json:"profile" db:"profile"`
+ ProfileId *int `json:"profileId" db:"profile_id"`
+ Parameter *string `json:"parameter" db:"parameter"`
+ ParameterId *int `json:"parameterId" db:"parameter_id"`
+}
--
To stop receiving notification emails like this one, please contact
mitchell852@apache.org.