From 64d2cdf2626249b1511382e212a27f3dc79bf2da Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 20 Nov 2018 02:49:48 +0000 Subject: [PATCH 1/3] Generated from 2d1a131d6bc24477750e780c70ad4384e6e5927d add customKeyIdentifier to password credential --- .../PasswordCredentialInner.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/PasswordCredentialInner.java b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/PasswordCredentialInner.java index 6d65afec9995..044e3cd0e360 100644 --- a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/PasswordCredentialInner.java +++ b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/PasswordCredentialInner.java @@ -46,6 +46,12 @@ public class PasswordCredentialInner { @JsonProperty(value = "value") private String value; + /** + * Custom Key Identifier. + */ + @JsonProperty(value = "customKeyIdentifier") + private byte[] customKeyIdentifier; + /** * Get unmatched properties from the message are deserialized this collection. * @@ -146,4 +152,24 @@ public PasswordCredentialInner withValue(String value) { return this; } + /** + * Get custom Key Identifier. + * + * @return the customKeyIdentifier value + */ + public byte[] customKeyIdentifier() { + return this.customKeyIdentifier; + } + + /** + * Set custom Key Identifier. + * + * @param customKeyIdentifier the customKeyIdentifier value to set + * @return the PasswordCredentialInner object itself. + */ + public PasswordCredentialInner withCustomKeyIdentifier(byte[] customKeyIdentifier) { + this.customKeyIdentifier = customKeyIdentifier; + return this; + } + } From 375f86efefccad3b474131438959799d171130be Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sun, 25 Nov 2018 02:57:10 +0000 Subject: [PATCH 2/3] Generated from 1c42b12d70502f95d2f42f1d421ce53f425e7ef6 add creds in app object --- .../implementation/ApplicationInner.java | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/ApplicationInner.java b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/ApplicationInner.java index a3a19f291e82..816fb5978dfe 100644 --- a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/ApplicationInner.java +++ b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/ApplicationInner.java @@ -85,6 +85,18 @@ public class ApplicationInner extends DirectoryObjectInner { @JsonProperty(value = "requiredResourceAccess") private List requiredResourceAccess; + /** + * A collection of KeyCredential objects. + */ + @JsonProperty(value = "keyCredentials") + private List keyCredentials; + + /** + * A collection of PasswordCredential objects. + */ + @JsonProperty(value = "passwordCredentials") + private List passwordCredentials; + /** * Get the application ID. * @@ -285,4 +297,44 @@ public ApplicationInner withRequiredResourceAccess(List return this; } + /** + * Get a collection of KeyCredential objects. + * + * @return the keyCredentials value + */ + public List keyCredentials() { + return this.keyCredentials; + } + + /** + * Set a collection of KeyCredential objects. + * + * @param keyCredentials the keyCredentials value to set + * @return the ApplicationInner object itself. + */ + public ApplicationInner withKeyCredentials(List keyCredentials) { + this.keyCredentials = keyCredentials; + return this; + } + + /** + * Get a collection of PasswordCredential objects. + * + * @return the passwordCredentials value + */ + public List passwordCredentials() { + return this.passwordCredentials; + } + + /** + * Set a collection of PasswordCredential objects. + * + * @param passwordCredentials the passwordCredentials value to set + * @return the ApplicationInner object itself. + */ + public ApplicationInner withPasswordCredentials(List passwordCredentials) { + this.passwordCredentials = passwordCredentials; + return this; + } + } From 6683043b193ca8db8ef50eaed0fe013fc07736ee Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sun, 25 Nov 2018 21:57:11 +0000 Subject: [PATCH 3/3] Generated from 74a0ba38241f5574f515beb159638e286b44bd6f custom id(thumbprint) for cert creds should be string type --- .../azure/graphrbac/implementation/KeyCredentialInner.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/KeyCredentialInner.java b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/KeyCredentialInner.java index 74d72b5c8ab9..440f32304506 100644 --- a/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/KeyCredentialInner.java +++ b/azure-graphrbac/src/main/java/com/microsoft/azure/graphrbac/implementation/KeyCredentialInner.java @@ -62,7 +62,7 @@ public class KeyCredentialInner { * Custom Key Identifier. */ @JsonProperty(value = "customKeyIdentifier") - private byte[] customKeyIdentifier; + private String customKeyIdentifier; /** * Get unmatched properties from the message are deserialized this collection. @@ -209,7 +209,7 @@ public KeyCredentialInner withType(String type) { * * @return the customKeyIdentifier value */ - public byte[] customKeyIdentifier() { + public String customKeyIdentifier() { return this.customKeyIdentifier; } @@ -219,7 +219,7 @@ public byte[] customKeyIdentifier() { * @param customKeyIdentifier the customKeyIdentifier value to set * @return the KeyCredentialInner object itself. */ - public KeyCredentialInner withCustomKeyIdentifier(byte[] customKeyIdentifier) { + public KeyCredentialInner withCustomKeyIdentifier(String customKeyIdentifier) { this.customKeyIdentifier = customKeyIdentifier; return this; }