com.microsoft.azure.management.graphrbac.implementation.CheckGroupMembershipParametersInner 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 IsMemberOf API call.
*/
public class CheckGroupMembershipParametersInner {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map additionalProperties;
/**
* 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.
*/
@JsonProperty(value = "memberId", required = true)
private String memberId;
/**
* 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 CheckGroupMembershipParametersInner object itself.
*/
public CheckGroupMembershipParametersInner withAdditionalProperties(Map additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
/**
* Get the groupId value.
*
* @return the groupId value
*/
public String groupId() {
return this.groupId;
}
/**
* 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.
*
* @return the memberId value
*/
public String memberId() {
return this.memberId;
}
/**
* 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;
}
}