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

com.softlayer.api.service.network.component.duplex.Mode Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.network.component.duplex;

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

/**
 * Duplex Mode allows finer grained control over networking options and settings. 
 *
 * @see SoftLayer_Network_Component_Duplex_Mode
 */
@ApiType("SoftLayer_Network_Component_Duplex_Mode")
public class Mode extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        descriptionSpecified = true;
        this.description = description;
    }

    protected boolean descriptionSpecified;

    public boolean isDescriptionSpecified() {
        return descriptionSpecified;
    }

    public void unsetDescription() {
        description = null;
        descriptionSpecified = false;
    }

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy