All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.user.employee.Department Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.user.employee;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * SoftLayer_User_Employee_Department models a department within SoftLayer's internal employee hierarchy. Common departments include Support, Sales, Accounting, Development, Systems, and Networking. 
 *
 * @see SoftLayer_User_Employee_Department
 */
@ApiType("SoftLayer_User_Employee_Department")
public class Department extends Entity {

    /**
     * The name of one of SoftLayer's employee departments.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        nameSpecified = true;
        this.name = name;
    }

    protected boolean nameSpecified;

    public boolean isNameSpecified() {
        return nameSpecified;
    }

    public void unsetName() {
        name = null;
        nameSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask name() {
            withLocalProperty("name");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy