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

com.woorea.openstack.nova.model.InterfaceAttachment Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (C) 2016 AT&T Intellectual Property. All rights reserved. This code is licensed under the Apache License, Version 2.0
 *******************************************************************************/

package com.woorea.openstack.nova.model;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

@JsonRootName("interfaceAttachment")
public class InterfaceAttachment implements Serializable {

    @JsonProperty("mac_addr")
    private String macAddress;

    @JsonProperty("net_id")
    private String networkId;

    @JsonProperty("port_id")
    private String portId;

    @JsonProperty("port_state")
    private String portState;

    @JsonProperty("fixed_ips")
    private List fixedIps;

    /**
     * @return the macAddress
     */
    public String getMacAddress() {
        return macAddress;
    }

    /**
     * @return the networkId
     */
    public String getNetworkId() {
        return networkId;
    }

    /**
     * @return the portId
     */
    public String getPortId() {
        return portId;
    }

    /**
     * @return the portState
     */
    public String getPortState() {
        return portState;
    }

    /**
     * @return the fixedIps
     */
    public List getFixedIps() {
        return fixedIps;
    }

    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "InterfaceAttachment [macAddress=" + macAddress + ", networkId=" + networkId + ", portId=" + portId
            + ", portState=" + portState + ", fixedIps=" + fixedIps + "]";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy