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 javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlRootElement;
16 * OpenStack Neutron v2.0 Security Group bindings.
17 * See OpenStack Network API v2.0 Reference for description of
18 * annotated attributes. The current fields are as follows:
21 * id uuid-str unique ID for the security group.
22 * name String name of the security group.
23 * tenant_id uuid-str Owner of security rule..
27 @XmlAccessorType(XmlAccessType.NONE)
28 public final class NeutronSecurityGroup extends NeutronBaseAttributes<NeutronSecurityGroup> {
29 private static final long serialVersionUID = 1L;
31 public NeutronSecurityGroup() {
35 public String toString() {
36 return "NeutronSecurityGroup{" + "securityGroupUUID='" + uuid + '\'' + ", securityGroupName='"
37 + name + '\'' + ", securityGroupTenantID='" + tenantID + '\'' + "]";