org.jclouds.digitalocean.domain
Class Image

java.lang.Object
  extended by org.jclouds.digitalocean.domain.Image

public class Image
extends Object

An Image.


Constructor Summary
Image(int id, String name, String distribution, boolean publicImage, String slug)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getId()
           
 String getName()
           
 OperatingSystem getOs()
           
 String getSlug()
           
 int hashCode()
           
 boolean isPublicImage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Image

@ConstructorProperties(value={"id","name","distribution","public","slug"})
public Image(int id,
                                        String name,
                                        String distribution,
                                        boolean publicImage,
                                        @Nullable
                                        String slug)
Method Detail

getId

public int getId()

getName

public String getName()

getOs

public OperatingSystem getOs()

isPublicImage

public boolean isPublicImage()

getSlug

public String getSlug()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.