/
ClassicAdministratorProperties.java
69 lines (60 loc) · 1.57 KB
/
ClassicAdministratorProperties.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
* 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;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Classic Administrator properties.
*/
public class ClassicAdministratorProperties {
/**
* The email address of the administrator.
*/
@JsonProperty(value = "emailAddress")
private String emailAddress;
/**
* The role of the administrator.
*/
@JsonProperty(value = "role")
private String role;
/**
* Get the emailAddress value.
*
* @return the emailAddress value
*/
public String emailAddress() {
return this.emailAddress;
}
/**
* Set the emailAddress value.
*
* @param emailAddress the emailAddress value to set
* @return the ClassicAdministratorProperties object itself.
*/
public ClassicAdministratorProperties withEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* Get the role value.
*
* @return the role value
*/
public String role() {
return this.role;
}
/**
* Set the role value.
*
* @param role the role value to set
* @return the ClassicAdministratorProperties object itself.
*/
public ClassicAdministratorProperties withRole(String role) {
this.role = role;
return this;
}
}