diff --git a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/ServicePrincipalBase.java b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/ServicePrincipalBase.java index 6afe42a5e7b0..028efa6af0c6 100644 --- a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/ServicePrincipalBase.java +++ b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/ServicePrincipalBase.java @@ -22,7 +22,7 @@ public class ServicePrincipalBase { * whether or not the service principal account is enabled. */ @JsonProperty(value = "accountEnabled") - private String accountEnabled; + private Boolean accountEnabled; /** * Specifies whether an AppRoleAssignment to a user or group is required @@ -62,7 +62,7 @@ public class ServicePrincipalBase { * * @return the accountEnabled value */ - public String accountEnabled() { + public Boolean accountEnabled() { return this.accountEnabled; } @@ -72,7 +72,7 @@ public String accountEnabled() { * @param accountEnabled the accountEnabled value to set * @return the ServicePrincipalBase object itself. */ - public ServicePrincipalBase withAccountEnabled(String accountEnabled) { + public ServicePrincipalBase withAccountEnabled(Boolean accountEnabled) { this.accountEnabled = accountEnabled; return this; } diff --git a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/ServicePrincipalInner.java b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/ServicePrincipalInner.java index 0922d14fa1da..0d017cb30fe2 100644 --- a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/ServicePrincipalInner.java +++ b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/ServicePrincipalInner.java @@ -25,7 +25,7 @@ public class ServicePrincipalInner extends DirectoryObjectInner { * whether or not the service principal account is enabled. */ @JsonProperty(value = "accountEnabled") - private String accountEnabled; + private Boolean accountEnabled; /** * alternative names. @@ -159,7 +159,7 @@ public class ServicePrincipalInner extends DirectoryObjectInner { * * @return the accountEnabled value */ - public String accountEnabled() { + public Boolean accountEnabled() { return this.accountEnabled; } @@ -169,7 +169,7 @@ public String accountEnabled() { * @param accountEnabled the accountEnabled value to set * @return the ServicePrincipalInner object itself. */ - public ServicePrincipalInner withAccountEnabled(String accountEnabled) { + public ServicePrincipalInner withAccountEnabled(Boolean accountEnabled) { this.accountEnabled = accountEnabled; return this; }