MicrosoftGraphEmployeeOrgData Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEmployeeOrgData

Implements

public final class MicrosoftGraphEmployeeOrgData
implements JsonSerializable<MicrosoftGraphEmployeeOrgData>

employeeOrgData.

Constructor Summary

Constructor Description
MicrosoftGraphEmployeeOrgData()

Creates an instance of MicrosoftGraphEmployeeOrgData class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: employeeOrgData.

String costCenter()

Get the costCenter property: The cost center associated with the user.

String division()

Get the division property: The name of the division in which the user works.

static MicrosoftGraphEmployeeOrgData fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphEmployeeOrgData from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphEmployeeOrgData withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: employeeOrgData.

MicrosoftGraphEmployeeOrgData withCostCenter(String costCenter)

Set the costCenter property: The cost center associated with the user.

MicrosoftGraphEmployeeOrgData withDivision(String division)

Set the division property: The name of the division in which the user works.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphEmployeeOrgData

public MicrosoftGraphEmployeeOrgData()

Creates an instance of MicrosoftGraphEmployeeOrgData class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: employeeOrgData.

Returns:

the additionalProperties value.

costCenter

public String costCenter()

Get the costCenter property: The cost center associated with the user. Returned only on $select. Supports $filter.

Returns:

the costCenter value.

division

public String division()

Get the division property: The name of the division in which the user works. Returned only on $select. Supports $filter.

Returns:

the division value.

fromJson

public static MicrosoftGraphEmployeeOrgData fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphEmployeeOrgData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphEmployeeOrgData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphEmployeeOrgData.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphEmployeeOrgData withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: employeeOrgData.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphEmployeeOrgData object itself.

withCostCenter

public MicrosoftGraphEmployeeOrgData withCostCenter(String costCenter)

Set the costCenter property: The cost center associated with the user. Returned only on $select. Supports $filter.

Parameters:

costCenter - the costCenter value to set.

Returns:

the MicrosoftGraphEmployeeOrgData object itself.

withDivision

public MicrosoftGraphEmployeeOrgData withDivision(String division)

Set the division property: The name of the division in which the user works. Returned only on $select. Supports $filter.

Parameters:

division - the division value to set.

Returns:

the MicrosoftGraphEmployeeOrgData object itself.

Applies to