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 com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
Classic Administrators.
/** * Classic Administrators. */
@JsonFlatten public class ClassicAdministratorInner {
The ID of the administrator.
/** * The ID of the administrator. */
@JsonProperty(value = "id") private String id;
The name of the administrator.
/** * The name of the administrator. */
@JsonProperty(value = "name") private String name;
The type of the administrator.
/** * The type of the administrator. */
@JsonProperty(value = "type") private String type;
The email address of the administrator.
/** * The email address of the administrator. */
@JsonProperty(value = "properties.emailAddress") private String emailAddress;
The role of the administrator.
/** * The role of the administrator. */
@JsonProperty(value = "properties.role") private String role;
Get the id value.
Returns:the id value
/** * Get the id value. * * @return the id value */
public String id() { return this.id; }
Set the id value.
Params:
  • id – the id value to set
Returns:the ClassicAdministratorInner object itself.
/** * Set the id value. * * @param id the id value to set * @return the ClassicAdministratorInner object itself. */
public ClassicAdministratorInner withId(String id) { this.id = id; return this; }
Get the name value.
Returns:the name value
/** * Get the name value. * * @return the name value */
public String name() { return this.name; }
Set the name value.
Params:
  • name – the name value to set
Returns:the ClassicAdministratorInner object itself.
/** * Set the name value. * * @param name the name value to set * @return the ClassicAdministratorInner object itself. */
public ClassicAdministratorInner withName(String name) { this.name = name; return this; }
Get the type value.
Returns:the type value
/** * Get the type value. * * @return the type value */
public String type() { return this.type; }
Set the type value.
Params:
  • type – the type value to set
Returns:the ClassicAdministratorInner object itself.
/** * Set the type value. * * @param type the type value to set * @return the ClassicAdministratorInner object itself. */
public ClassicAdministratorInner withType(String type) { this.type = type; return this; }
Get the emailAddress value.
Returns:the emailAddress value
/** * Get the emailAddress value. * * @return the emailAddress value */
public String emailAddress() { return this.emailAddress; }
Set the emailAddress value.
Params:
  • emailAddress – the emailAddress value to set
Returns:the ClassicAdministratorInner object itself.
/** * Set the emailAddress value. * * @param emailAddress the emailAddress value to set * @return the ClassicAdministratorInner object itself. */
public ClassicAdministratorInner withEmailAddress(String emailAddress) { this.emailAddress = emailAddress; return this; }
Get the role value.
Returns:the role value
/** * Get the role value. * * @return the role value */
public String role() { return this.role; }
Set the role value.
Params:
  • role – the role value to set
Returns:the ClassicAdministratorInner object itself.
/** * Set the role value. * * @param role the role value to set * @return the ClassicAdministratorInner object itself. */
public ClassicAdministratorInner withRole(String role) { this.role = role; return this; } }