Package odata.msgraph.client.beta.enums
Enum PersonRelationship
- java.lang.Object
-
- java.lang.Enum<PersonRelationship>
-
- odata.msgraph.client.beta.enums.PersonRelationship
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.Enum,Serializable,Comparable<PersonRelationship>
public enum PersonRelationship extends Enum<PersonRelationship> implements com.github.davidmoten.odata.client.Enum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTERNATE_CONTACTASSISTANTCHILDCOLLEAGUEDIRECT_REPORTDOT_LINE_MANAGERDOT_LINE_REPORTEMERGENCY_CONTACTFRIENDMANAGEROTHERPARENTSIBLINGSPONSORSPOUSEUNKNOWN_FUTURE_VALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringenumName()StringenumValue()static PersonRelationshipvalueOf(String name)Returns the enum constant of this type with the specified name.static PersonRelationship[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANAGER
public static final PersonRelationship MANAGER
-
COLLEAGUE
public static final PersonRelationship COLLEAGUE
-
DIRECT_REPORT
public static final PersonRelationship DIRECT_REPORT
-
DOT_LINE_REPORT
public static final PersonRelationship DOT_LINE_REPORT
-
ASSISTANT
public static final PersonRelationship ASSISTANT
-
DOT_LINE_MANAGER
public static final PersonRelationship DOT_LINE_MANAGER
-
ALTERNATE_CONTACT
public static final PersonRelationship ALTERNATE_CONTACT
-
FRIEND
public static final PersonRelationship FRIEND
-
SPOUSE
public static final PersonRelationship SPOUSE
-
SIBLING
public static final PersonRelationship SIBLING
-
CHILD
public static final PersonRelationship CHILD
-
PARENT
public static final PersonRelationship PARENT
-
SPONSOR
public static final PersonRelationship SPONSOR
-
EMERGENCY_CONTACT
public static final PersonRelationship EMERGENCY_CONTACT
-
OTHER
public static final PersonRelationship OTHER
-
UNKNOWN_FUTURE_VALUE
public static final PersonRelationship UNKNOWN_FUTURE_VALUE
-
-
Method Detail
-
values
public static PersonRelationship[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PersonRelationship c : PersonRelationship.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersonRelationship valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
enumName
public String enumName()
- Specified by:
enumNamein interfacecom.github.davidmoten.odata.client.Enum
-
enumValue
public String enumValue()
- Specified by:
enumValuein interfacecom.github.davidmoten.odata.client.Enum
-
-