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 IsMemberOf API call.
/**
* Request parameters for IsMemberOf API call.
*/
public class CheckGroupMembershipParametersInner {
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;
The object ID of the group to check.
/**
* The object ID of the group to check.
*/
@JsonProperty(value = "groupId", required = true)
private String groupId;
The object ID of the contact, group, user, or service principal to check
for membership in the specified group.
/**
* The object ID of the contact, group, user, or service principal to check
* for membership in the specified group.
*/
@JsonProperty(value = "memberId", required = true)
private String memberId;
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 CheckGroupMembershipParametersInner object itself.
/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the CheckGroupMembershipParametersInner object itself.
*/
public CheckGroupMembershipParametersInner withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
Get the groupId value.
Returns: the groupId value
/**
* Get the groupId value.
*
* @return the groupId value
*/
public String groupId() {
return this.groupId;
}
Set the groupId value.
Params: - groupId – the groupId value to set
Returns: the CheckGroupMembershipParametersInner object itself.
/**
* Set the groupId value.
*
* @param groupId the groupId value to set
* @return the CheckGroupMembershipParametersInner object itself.
*/
public CheckGroupMembershipParametersInner withGroupId(String groupId) {
this.groupId = groupId;
return this;
}
Get the memberId value.
Returns: the memberId value
/**
* Get the memberId value.
*
* @return the memberId value
*/
public String memberId() {
return this.memberId;
}
Set the memberId value.
Params: - memberId – the memberId value to set
Returns: the CheckGroupMembershipParametersInner object itself.
/**
* Set the memberId value.
*
* @param memberId the memberId value to set
* @return the CheckGroupMembershipParametersInner object itself.
*/
public CheckGroupMembershipParametersInner withMemberId(String memberId) {
this.memberId = memberId;
return this;
}
}