From b2d2ed04cfe8ea7fde36cd4ebe8b5c9f67b122a7 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 16 Mar 2018 00:37:01 +0000 Subject: [PATCH] Generated from 20effaf73e04770654b4203ed83288bac6b5fe6f Fix some of the error in ARM swagger spec --- .../implementation/DeploymentExtendedInner.java | 13 +------------ .../implementation/PolicyDefinitionInner.java | 13 +------------ .../resources/implementation/TagDetailsInner.java | 13 +------------ .../resources/implementation/TagValueInner.java | 13 +------------ 4 files changed, 4 insertions(+), 48 deletions(-) diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/DeploymentExtendedInner.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/DeploymentExtendedInner.java index ed87fc8907d..52727eb71ea 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/DeploymentExtendedInner.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/DeploymentExtendedInner.java @@ -18,7 +18,7 @@ public class DeploymentExtendedInner { /** * The ID of the deployment. */ - @JsonProperty(value = "id") + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) private String id; /** @@ -42,17 +42,6 @@ public String id() { return this.id; } - /** - * Set the id value. - * - * @param id the id value to set - * @return the DeploymentExtendedInner object itself. - */ - public DeploymentExtendedInner withId(String id) { - this.id = id; - return this; - } - /** * Get the name value. * diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/PolicyDefinitionInner.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/PolicyDefinitionInner.java index ad0fef89d59..49ff3d1c59d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/PolicyDefinitionInner.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/PolicyDefinitionInner.java @@ -46,7 +46,7 @@ public class PolicyDefinitionInner { /** * The ID of the policy definition. */ - @JsonProperty(value = "id") + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) private String id; /** @@ -145,17 +145,6 @@ public String id() { return this.id; } - /** - * Set the id value. - * - * @param id the id value to set - * @return the PolicyDefinitionInner object itself. - */ - public PolicyDefinitionInner withId(String id) { - this.id = id; - return this; - } - /** * Get the name value. * diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/TagDetailsInner.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/TagDetailsInner.java index 5f015d0b217..d4e7385e46d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/TagDetailsInner.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/TagDetailsInner.java @@ -19,7 +19,7 @@ public class TagDetailsInner { /** * The tag ID. */ - @JsonProperty(value = "id") + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) private String id; /** @@ -50,17 +50,6 @@ public String id() { return this.id; } - /** - * Set the id value. - * - * @param id the id value to set - * @return the TagDetailsInner object itself. - */ - public TagDetailsInner withId(String id) { - this.id = id; - return this; - } - /** * Get the tagName value. * diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/TagValueInner.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/TagValueInner.java index 9117c6dd722..214c5064428 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/TagValueInner.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/TagValueInner.java @@ -18,7 +18,7 @@ public class TagValueInner { /** * The tag ID. */ - @JsonProperty(value = "id") + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) private String id; /** @@ -42,17 +42,6 @@ public String id() { return this.id; } - /** - * Set the id value. - * - * @param id the id value to set - * @return the TagValueInner object itself. - */ - public TagValueInner withId(String id) { - this.id = id; - return this; - } - /** * Get the tagValue value. *