com.woorea.openstack.quantum.model.SubnetForCreate 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.quantum.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonRootName;
/**
* Please use {@link Subnet} directly.
*/
@SuppressWarnings("serial")
@JsonRootName("subnet")
@Deprecated
public class SubnetForCreate extends Subnet {
/**
* @return the ipVersion
* @deprecated
*/
@Deprecated
@JsonIgnore
public int getIpVersion() {
return getIpversion().code();
}
/**
* @param ipVersion
* the ipVersion to set
* @deprecated
*/
@Deprecated
@JsonIgnore
public void setIpVersion(int ipVersion) {
setIpversion(IpVersion.valueOf(ipVersion));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy