com.microsoft.azure.management.graphrbac.implementation.GroupAddMemberParametersInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-graph-rbac Show documentation
Show all versions of azure-mgmt-graph-rbac Show documentation
This package contains Microsoft Azure Graph RBAC Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-authorization is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.graphrbac.implementation;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Request parameters for adding a member to a group.
*/
public class GroupAddMemberParametersInner {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map additionalProperties;
/**
* A member object URL, such as
* "https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd",
* where "0b1f9851-1bf0-433f-aec3-cb9272f093dc" is the tenantId and
* "f260bbc4-c254-447b-94cf-293b5ec434dd" is the objectId of the member
* (user, application, servicePrincipal, group) to be added.
*/
@JsonProperty(value = "url", required = true)
private String url;
/**
* Get the additionalProperties value.
*
* @return the additionalProperties value
*/
public Map additionalProperties() {
return this.additionalProperties;
}
/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the GroupAddMemberParametersInner object itself.
*/
public GroupAddMemberParametersInner withAdditionalProperties(Map additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
/**
* Get the url value.
*
* @return the url value
*/
public String url() {
return this.url;
}
/**
* Set the url value.
*
* @param url the url value to set
* @return the GroupAddMemberParametersInner object itself.
*/
public GroupAddMemberParametersInner withUrl(String url) {
this.url = url;
return this;
}
}