2 * Copyright (C) 2014 Red Hat, Inc. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.neutron.spi;
11 import java.io.Serializable;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlRootElement;
17 * OpenStack Neutron v2.0 Security Group bindings.
18 * See OpenStack Network API v2.0 Reference for description of
19 * annotated attributes. The current fields are as follows:
22 * id uuid-str unique ID for the security group.
23 * name String name of the security group.
24 * tenant_id uuid-str Owner of security rule..
28 @XmlAccessorType(XmlAccessType.NONE)
29 public final class NeutronSecurityGroup extends NeutronBaseAttributes<NeutronSecurityGroup> implements Serializable {
30 private static final long serialVersionUID = 1L;
32 public NeutronSecurityGroup() {
36 public String toString() {
37 return "NeutronSecurityGroup{" + "securityGroupUUID='" + uuid + '\'' + ", securityGroupName='"
38 + name + '\'' + ", securityGroupTenantID='" + tenantID + '\'' + "]";