Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ public class ApplicationInner extends DirectoryObjectInner {
@JsonProperty(value = "requiredResourceAccess")
private List<RequiredResourceAccess> requiredResourceAccess;

/**
* A collection of KeyCredential objects.
*/
@JsonProperty(value = "keyCredentials")
private List<KeyCredentialInner> keyCredentials;

/**
* A collection of PasswordCredential objects.
*/
@JsonProperty(value = "passwordCredentials")
private List<PasswordCredentialInner> passwordCredentials;

/**
* Get the application ID.
*
Expand Down Expand Up @@ -285,4 +297,44 @@ public ApplicationInner withRequiredResourceAccess(List<RequiredResourceAccess>
return this;
}

/**
* Get a collection of KeyCredential objects.
*
* @return the keyCredentials value
*/
public List<KeyCredentialInner> 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<KeyCredentialInner> keyCredentials) {
this.keyCredentials = keyCredentials;
return this;
}

/**
* Get a collection of PasswordCredential objects.
*
* @return the passwordCredentials value
*/
public List<PasswordCredentialInner> 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<PasswordCredentialInner> passwordCredentials) {
this.passwordCredentials = passwordCredentials;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -209,7 +209,7 @@ public KeyCredentialInner withType(String type) {
*
* @return the customKeyIdentifier value
*/
public byte[] customKeyIdentifier() {
public String customKeyIdentifier() {
return this.customKeyIdentifier;
}

Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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;
}

}