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.
/**
* 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.
/**
* Request parameters for adding a member to a group.
*/
public class GroupAddMemberParametersInner {
Unmatched properties from the message are deserialized this collection.
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> 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.
/**
* 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.
Returns: the additionalProperties value
/**
* Get the additionalProperties value.
*
* @return the additionalProperties value
*/
public Map<String, Object> additionalProperties() {
return this.additionalProperties;
}
Set the additionalProperties value.
Params: - additionalProperties – the additionalProperties value to set
Returns: the GroupAddMemberParametersInner object itself.
/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the GroupAddMemberParametersInner object itself.
*/
public GroupAddMemberParametersInner withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
Get the url value.
Returns: the url value
/**
* Get the url value.
*
* @return the url value
*/
public String url() {
return this.url;
}
Set the url value.
Params: - url – the url value to set
Returns: the GroupAddMemberParametersInner object itself.
/**
* 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;
}
}