You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2023/04/24 21:57:07 UTC

[trafficcontrol-trafficops-types] 04/06: Remove fields

This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git

commit 228e350b88453e6275169d9ae0cf5568a5dc12a4
Author: shamrickus <sh...@gmail.com>
AuthorDate: Tue Apr 18 15:35:55 2023 -0600

    Remove fields
---
 src/server.ts | 34 +---------------------------------
 1 file changed, 1 insertion(+), 33 deletions(-)

diff --git a/src/server.ts b/src/server.ts
index e133535..01da184 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -202,28 +202,6 @@ export interface ResponseServer {
 	offlineReason: string | null;
 	/** The physical location in which the Server resides. */
 	physLocation: string;
-	/**
-	 * An integral, unique identifier for the physical location in which the
-	 * Server resides.
-	 */
-	physLocationId: number;
-	/** The Profile used by the Server. */
-	profile: string | null;
-	/**
-	 * A description of the Profile used by the Server.
-	 *
-	 * @deprecated Future representations of Server objects will drop the
-	 * Profile description entirely, as it's trivially deduced from Profile
-	 * identity.
-	 */
-	profileDesc: string | null;
-	/**
-	 * An integral, unique identifier for the Profile used by the Server.
-	 *
-	 * @deprecated In the latest API version, a server's Profile is identified
-	 * only by name, not unique, integral identifier.
-	 */
-	profileId: number | null;
 	/**
 	 * An _ordered_ array of strings representing the Profiles used by this server
 	 */
@@ -329,13 +307,6 @@ export interface RequestServer {
 	 * Server resides.
 	 */
 	physLocationId: number;
-	/**
-	 * An integral, unique identifier for the Profile used by the Server.
-	 *
-	 * @deprecated In the latest API version, a server's Profile is identified
-	 * only by name, not unique, integral identifier.
-	 */
-	profileId: number | null;
 	/**
 	 * An _ordered_ array of strings representing the Profiles used by this server
 	 */
@@ -518,11 +489,8 @@ export interface ServerDetails  {
 	mgmtIpNetmask: string;
 	offlineReason: string;
 	physLocation: string;
-	profile: string | null;
-	/** @deprecated This has been removed from the latest API version. */
-	profileDesc: string | null;
-	/** @deprecated this has no known purpose, and you shouldn't invent one. */
 	profileNames: Array<string>;
+	/** @deprecated this has no known purpose, and you shouldn't invent one. */
 	rack: string;
 	routerHostName: string;
 	routerPortName: string;