Tabnine Logo
org.jclouds.cloudsigma2.domain
Code IndexAdd Tabnine to your IDE (free)

How to use org.jclouds.cloudsigma2.domain

Best Java code snippets using org.jclouds.cloudsigma2.domain (Showing top 20 results out of 315)

origin: org.apache.jclouds.labs/cloudsigma2

@Override
public int hashCode() {
 int result = super.hashCode();
 result = 31 * result + (owner != null ? owner.hashCode() : 0);
 result = 31 * result + (status != null ? status.hashCode() : 0);
 result = 31 * result + (runtime != null ? runtime.hashCode() : 0);
 return result;
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

@Override
public int hashCode() {
 int result = super.hashCode();
 result = 31 * result + (owner != null ? owner.hashCode() : 0);
 result = 31 * result + (status != null ? status.hashCode() : 0);
 return result;
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

@Override
public boolean equals(Object o) {
 if (this == o) return true;
 if (!(o instanceof Server)) return false;
 if (!super.equals(o)) return false;
 Server server = (Server) o;
 if (owner != null ? !owner.equals(server.owner) : server.owner != null) return false;
 if (runtime != null ? !runtime.equals(server.runtime) : server.runtime != null) return false;
 if (status != server.status) return false;
 return true;
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

 public Builder fromNIC(NIC nic) {
   return new Builder()
      .bootOrder(nic.getBootOrder())
      .firewallPolicy(nic.getFirewallPolicy())
      .ipV4Configuration(nic.getIpV4Configuration())
      .ipV6Configuration(nic.getIpV6Configuration())
      .mac(nic.getMac())
      .model(nic.getModel())
      .runtime(nic.getRuntime())
      .vlan(nic.getVlan());
 }
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

public static Builder fromServer(Server in) {
  return new Builder()
     .uuid(in.getUuid())
     .name(in.getName())
     .resourceUri(in.getResourceUri())
     .owner(in.getOwner())
     .status(in.getStatus())
     .runtime(in.getRuntime());
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

 public static Builder fromServer(Server in) {
   return new Builder()
      .uuid(in.getUuid())
      .name(in.getName())
      .resourceUri(in.getResourceUri())
      .owner(in.getOwner())
      .status(in.getStatus())
      .runtime(in.getRuntime());
 }
}
origin: org.apache.jclouds.labs/cloudsigma2

/**
* Creates VLAN NIC
*
* @param firewallPolicy
* @return server's NIC
*/
public NIC toNIC(FirewallPolicy firewallPolicy) {
 return new NIC.Builder()
    .vlan(new Builder().uuid(this.uuid).build())
    .firewallPolicy(firewallPolicy)
    .build();
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

@Override
public int hashCode() {
 int result = bootOrder;
 result = 31 * result + (firewallPolicy != null ? firewallPolicy.hashCode() : 0);
 result = 31 * result + (ipV4Configuration != null ? ipV4Configuration.hashCode() : 0);
 result = 31 * result + (ipV6Configuration != null ? ipV6Configuration.hashCode() : 0);
 result = 31 * result + (mac != null ? mac.hashCode() : 0);
 result = 31 * result + (model != null ? model.hashCode() : 0);
 result = 31 * result + (runtime != null ? runtime.hashCode() : 0);
 result = 31 * result + (vlan != null ? vlan.hashCode() : 0);
 return result;
}
origin: org.apache.jclouds.labs/cloudsigma2

@Override
public boolean equals(Object o) {
 if (this == o) return true;
 if (!(o instanceof CurrentUsage)) return false;
 CurrentUsage that = (CurrentUsage) o;
 if (balance != null ? !balance.equals(that.balance) : that.balance != null) return false;
 if (usage != null ? !usage.equals(that.usage) : that.usage != null) return false;
 return true;
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

@Override
public boolean equals(Object o) {
 if (this == o) return true;
 if (!(o instanceof Drive)) return false;
 if (!super.equals(o)) return false;
 Drive drive = (Drive) o;
 if (owner != null ? !owner.equals(drive.owner) : drive.owner != null) return false;
 if (status != drive.status) return false;
 return true;
}
origin: org.apache.jclouds.labs/cloudsigma2

@Override
public int hashCode() {
 int result = balance != null ? balance.hashCode() : 0;
 result = 31 * result + (usage != null ? usage.hashCode() : 0);
 return result;
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

@Override
public int hashCode() {
 int result = configurationType != null ? configurationType.hashCode() : 0;
 result = 31 * result + (ip != null ? ip.hashCode() : 0);
 return result;
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

@Override
public int hashCode() {
 int result = amount;
 result = 31 * result + (license != null ? license.hashCode() : 0);
 result = 31 * result + (user != null ? user.hashCode() : 0);
 return result;
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

@Override
public int hashCode() {
 int result = super.hashCode();
 result = 31 * result + (owner != null ? owner.hashCode() : 0);
 result = 31 * result + (status != null ? status.hashCode() : 0);
 result = 31 * result + (runtime != null ? runtime.hashCode() : 0);
 return result;
}
origin: org.apache.jclouds.labs/cloudsigma2

@Override
public int hashCode() {
 int result = super.hashCode();
 result = 31 * result + (owner != null ? owner.hashCode() : 0);
 result = 31 * result + (status != null ? status.hashCode() : 0);
 return result;
}
origin: org.apache.jclouds.labs/cloudsigma2

@Override
public boolean equals(Object o) {
 if (this == o) return true;
 if (!(o instanceof Server)) return false;
 if (!super.equals(o)) return false;
 Server server = (Server) o;
 if (owner != null ? !owner.equals(server.owner) : server.owner != null) return false;
 if (runtime != null ? !runtime.equals(server.runtime) : server.runtime != null) return false;
 if (status != server.status) return false;
 return true;
}
origin: io.cloudsoft.jclouds.labs/cloudsigma2

@Override
public boolean equals(Object o) {
 if (this == o) return true;
 if (!(o instanceof CurrentUsage)) return false;
 CurrentUsage that = (CurrentUsage) o;
 if (balance != null ? !balance.equals(that.balance) : that.balance != null) return false;
 if (usage != null ? !usage.equals(that.usage) : that.usage != null) return false;
 return true;
}
origin: jclouds/jclouds-labs

@Override
public int hashCode() {
 int result = super.hashCode();
 result = 31 * result + (owner != null ? owner.hashCode() : 0);
 result = 31 * result + (status != null ? status.hashCode() : 0);
 result = 31 * result + (runtime != null ? runtime.hashCode() : 0);
 return result;
}
origin: jclouds/jclouds-labs

@Override
public int hashCode() {
 int result = super.hashCode();
 result = 31 * result + (owner != null ? owner.hashCode() : 0);
 result = 31 * result + (status != null ? status.hashCode() : 0);
 return result;
}
origin: jclouds/jclouds-labs

@Override
public boolean equals(Object o) {
 if (this == o) return true;
 if (!(o instanceof Server)) return false;
 if (!super.equals(o)) return false;
 Server server = (Server) o;
 if (owner != null ? !owner.equals(server.owner) : server.owner != null) return false;
 if (runtime != null ? !runtime.equals(server.runtime) : server.runtime != null) return false;
 if (status != server.status) return false;
 return true;
}
org.jclouds.cloudsigma2.domain

Most used classes

  • ServerInfo
  • DriveInfo
  • FirewallPolicy
  • IP
  • IPConfiguration
  • NIC$Builder,
  • Server,
  • ServerInfo$Builder,
  • CalcSubscription,
  • Drive$Builder,
  • Drive,
  • DriveInfo$Builder,
  • DriveStatus,
  • IP$Builder,
  • IPInfo$Builder,
  • IPInfo,
  • Item,
  • Job,
  • LibraryDrive
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now