/**
* 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 com.fasterxml.jackson.annotation.JsonProperty;
/**
* Active Directory group information.
*/
public class ADGroupInner {
/**
* The object ID.
*/
@JsonProperty(value = "objectId")
private String objectId;
/**
* The object type.
*/
@JsonProperty(value = "objectType")
private String objectType;
/**
* The display name of the group.
*/
@JsonProperty(value = "displayName")
private String displayName;
/**
* Whether the group is security-enable.
*/
@JsonProperty(value = "securityEnabled")
private Boolean securityEnabled;
/**
* The primary email address of the group.
*/
@JsonProperty(value = "mail")
private String mail;
/**
* Get the objectId value.
*
* @return the objectId value
*/
public String objectId() {
return this.objectId;
}
/**
* Set the objectId value.
*
* @param objectId the objectId value to set
* @return the ADGroupInner object itself.
*/
public ADGroupInner withObjectId(String objectId) {
this.objectId = objectId;
return this;
}
/**
* Get the objectType value.
*
* @return the objectType value
*/
public String objectType() {
return this.objectType;
}
/**
* Set the objectType value.
*
* @param objectType the objectType value to set
* @return the ADGroupInner object itself.
*/
public ADGroupInner withObjectType(String objectType) {
this.objectType = objectType;
return this;
}
/**
* Get the displayName value.
*
* @return the displayName value
*/
public String displayName() {
return this.displayName;
}
/**
* Set the displayName value.
*
* @param displayName the displayName value to set
* @return the ADGroupInner object itself.
*/
public ADGroupInner withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* Get the securityEnabled value.
*
* @return the securityEnabled value
*/
public Boolean securityEnabled() {
return this.securityEnabled;
}
/**
* Set the securityEnabled value.
*
* @param securityEnabled the securityEnabled value to set
* @return the ADGroupInner object itself.
*/
public ADGroupInner withSecurityEnabled(Boolean securityEnabled) {
this.securityEnabled = securityEnabled;
return this;
}
/**
* Get the mail value.
*
* @return the mail value
*/
public String mail() {
return this.mail;
}
/**
* Set the mail value.
*
* @param mail the mail value to set
* @return the ADGroupInner object itself.
*/
public ADGroupInner withMail(String mail) {
this.mail = mail;
return this;
}
}