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

com.softlayer.api.service.account.attachment.employee.Role Maven / Gradle / Ivy

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

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

/**
 * @see SoftLayer_Account_Attachment_Employee_Role
 */
@ApiType("SoftLayer_Account_Attachment_Employee_Role")
public class Role extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected String keyname;

    public String getKeyname() {
        return keyname;
    }

    public void setKeyname(String keyname) {
        keynameSpecified = true;
        this.keyname = keyname;
    }

    protected boolean keynameSpecified;

    public boolean isKeynameSpecified() {
        return keynameSpecified;
    }

    public void unsetKeyname() {
        keyname = null;
        keynameSpecified = false;
    }

    @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 keyname() {
            withLocalProperty("keyname");
            return this;
        }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy