Department Class

public final class Department
extends ProxyResource

A department.

Constructor Summary

Constructor Description
Department()

Creates an instance of Department class.

Method Summary

Modifier and Type Method and Description
String costCenter()

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

String departmentName()

Get the departmentName property: The name of the department.

List<EnrollmentAccount> enrollmentAccounts()

Get the enrollmentAccounts property: Associated enrollment accounts.

String status()

Get the status property: The status of the department.

void validate()

Validates the instance.

Department withCostCenter(String costCenter)

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

Department withDepartmentName(String departmentName)

Set the departmentName property: The name of the department.

Department withEnrollmentAccounts(List<EnrollmentAccount> enrollmentAccounts)

Set the enrollmentAccounts property: Associated enrollment accounts.

Department withStatus(String status)

Set the status property: The status of the department.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

Department

public Department()

Creates an instance of Department class.

Method Details

costCenter

public String costCenter()

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

Returns:

the costCenter value.

departmentName

public String departmentName()

Get the departmentName property: The name of the department.

Returns:

the departmentName value.

enrollmentAccounts

public List enrollmentAccounts()

Get the enrollmentAccounts property: Associated enrollment accounts. By default this is not populated, unless it's specified in $expand.

Returns:

the enrollmentAccounts value.

status

public String status()

Get the status property: The status of the department.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withCostCenter

public Department withCostCenter(String costCenter)

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

Parameters:

costCenter - the costCenter value to set.

Returns:

the Department object itself.

withDepartmentName

public Department withDepartmentName(String departmentName)

Set the departmentName property: The name of the department.

Parameters:

departmentName - the departmentName value to set.

Returns:

the Department object itself.

withEnrollmentAccounts

public Department withEnrollmentAccounts(List enrollmentAccounts)

Set the enrollmentAccounts property: Associated enrollment accounts. By default this is not populated, unless it's specified in $expand.

Parameters:

enrollmentAccounts - the enrollmentAccounts value to set.

Returns:

the Department object itself.

withStatus

public Department withStatus(String status)

Set the status property: The status of the department.

Parameters:

status - the status value to set.

Returns:

the Department object itself.

Applies to