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

com.softlayer.api.service.container.software.component.hostips.Policy Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.software.component.hostips;

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

/**
 * The SoftLayer_Container_Software_Component_HostIps_Policy container holds the title and value of a current host ips policy.
 *
 * @see SoftLayer_Container_Software_Component_HostIps_Policy
 */
@ApiType("SoftLayer_Container_Software_Component_HostIps_Policy")
public class Policy extends Entity {

    /**
     * The value of a host ips category.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String policy;

    public String getPolicy() {
        return policy;
    }

    public void setPolicy(String policy) {
        policySpecified = true;
        this.policy = policy;
    }

    protected boolean policySpecified;

    public boolean isPolicySpecified() {
        return policySpecified;
    }

    public void unsetPolicy() {
        policy = null;
        policySpecified = false;
    }

    /**
     * The category title of a host ips policy.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String policyTitle;

    public String getPolicyTitle() {
        return policyTitle;
    }

    public void setPolicyTitle(String policyTitle) {
        policyTitleSpecified = true;
        this.policyTitle = policyTitle;
    }

    protected boolean policyTitleSpecified;

    public boolean isPolicyTitleSpecified() {
        return policyTitleSpecified;
    }

    public void unsetPolicyTitle() {
        policyTitle = null;
        policyTitleSpecified = false;
    }

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy