com.softlayer.api.service.network.securitygroup.OrderBinding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.network.securitygroup;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.network.SecurityGroup;
/**
* The SoftLayer_Network_SecurityGroup_OrderBinding data type contains links between security groups and product orders.
*
* @see SoftLayer_Network_SecurityGroup_OrderBinding
*/
@ApiType("SoftLayer_Network_SecurityGroup_OrderBinding")
public class OrderBinding extends Entity {
/**
* The security group associated with the order
*/
@ApiProperty
protected SecurityGroup securityGroup;
public SecurityGroup getSecurityGroup() {
return securityGroup;
}
public void setSecurityGroup(SecurityGroup securityGroup) {
this.securityGroup = securityGroup;
}
/**
* The unique ID for a security group, order, binding
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
/**
* The ID of the order associated with the security group.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long orderId;
public Long getOrderId() {
return orderId;
}
public void setOrderId(Long orderId) {
orderIdSpecified = true;
this.orderId = orderId;
}
protected boolean orderIdSpecified;
public boolean isOrderIdSpecified() {
return orderIdSpecified;
}
public void unsetOrderId() {
orderId = null;
orderIdSpecified = false;
}
/**
* The ID of the security group that is associated with the order.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long securityGroupId;
public Long getSecurityGroupId() {
return securityGroupId;
}
public void setSecurityGroupId(Long securityGroupId) {
securityGroupIdSpecified = true;
this.securityGroupId = securityGroupId;
}
protected boolean securityGroupIdSpecified;
public boolean isSecurityGroupIdSpecified() {
return securityGroupIdSpecified;
}
public void unsetSecurityGroupId() {
securityGroupId = null;
securityGroupIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.network.SecurityGroup.Mask securityGroup() {
return withSubMask("securityGroup", com.softlayer.api.service.network.SecurityGroup.Mask.class);
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask orderId() {
withLocalProperty("orderId");
return this;
}
public Mask securityGroupId() {
withLocalProperty("securityGroupId");
return this;
}
}
}