package io.swagger.client.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.client.model.Odata400IdRef;
import io.swagger.client.model.ResourceOem;
import java.math.BigDecimal;
import java.util.*;





@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-05-05T13:18:34.727-04:00")
public class EthernetInterfaceCollectionEthernetInterfaceCollection   {
  
  private String odataContext = null;
  private String odataId = null;
  private String odataType = null;
  private String description = null;
  private List<Odata400IdRef> members = new ArrayList<Odata400IdRef>();
  private BigDecimal membersodataCount = null;
  private Odata400IdRef membersodataNavigationLink = null;
  private String name = null;
  private ResourceOem oem = null;

  
  /**
   **/
  
  @ApiModelProperty(value = "")
  @JsonProperty("@odata.context")
  public String getOdataContext() {
    return odataContext;
  }
  public void setOdataContext(String odataContext) {
    this.odataContext = odataContext;
  }

  
  /**
   **/
  
  @ApiModelProperty(value = "")
  @JsonProperty("@odata.id")
  public String getOdataId() {
    return odataId;
  }
  public void setOdataId(String odataId) {
    this.odataId = odataId;
  }

  
  /**
   **/
  
  @ApiModelProperty(value = "")
  @JsonProperty("@odata.type")
  public String getOdataType() {
    return odataType;
  }
  public void setOdataType(String odataType) {
    this.odataType = odataType;
  }

  
  /**
   * Provides a description of this resource and is used for commonality  in the schema definitions.
   **/
  
  @ApiModelProperty(value = "Provides a description of this resource and is used for commonality  in the schema definitions.")
  @JsonProperty("Description")
  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }

  
  /**
   * Contains the members of this collection.
   **/
  
  @ApiModelProperty(value = "Contains the members of this collection.")
  @JsonProperty("Members")
  public List<Odata400IdRef> getMembers() {
    return members;
  }
  public void setMembers(List<Odata400IdRef> members) {
    this.members = members;
  }

  
  /**
   **/
  
  @ApiModelProperty(value = "")
  @JsonProperty("Members@odata.count")
  public BigDecimal getMembersodataCount() {
    return membersodataCount;
  }
  public void setMembersodataCount(BigDecimal membersodataCount) {
    this.membersodataCount = membersodataCount;
  }

  
  /**
   **/
  
  @ApiModelProperty(value = "")
  @JsonProperty("Members@odata.navigationLink")
  public Odata400IdRef getMembersodataNavigationLink() {
    return membersodataNavigationLink;
  }
  public void setMembersodataNavigationLink(Odata400IdRef membersodataNavigationLink) {
    this.membersodataNavigationLink = membersodataNavigationLink;
  }

  
  /**
   * The name of the resource or array element.
   **/
  
  @ApiModelProperty(value = "The name of the resource or array element.")
  @JsonProperty("Name")
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }

  
  /**
   * This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.
   **/
  
  @ApiModelProperty(value = "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.")
  @JsonProperty("Oem")
  public ResourceOem getOem() {
    return oem;
  }
  public void setOem(ResourceOem oem) {
    this.oem = oem;
  }

  

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    EthernetInterfaceCollectionEthernetInterfaceCollection ethernetInterfaceCollectionEthernetInterfaceCollection = (EthernetInterfaceCollectionEthernetInterfaceCollection) o;
    return Objects.equals(odataContext, ethernetInterfaceCollectionEthernetInterfaceCollection.odataContext) &&
        Objects.equals(odataId, ethernetInterfaceCollectionEthernetInterfaceCollection.odataId) &&
        Objects.equals(odataType, ethernetInterfaceCollectionEthernetInterfaceCollection.odataType) &&
        Objects.equals(description, ethernetInterfaceCollectionEthernetInterfaceCollection.description) &&
        Objects.equals(members, ethernetInterfaceCollectionEthernetInterfaceCollection.members) &&
        Objects.equals(membersodataCount, ethernetInterfaceCollectionEthernetInterfaceCollection.membersodataCount) &&
        Objects.equals(membersodataNavigationLink, ethernetInterfaceCollectionEthernetInterfaceCollection.membersodataNavigationLink) &&
        Objects.equals(name, ethernetInterfaceCollectionEthernetInterfaceCollection.name) &&
        Objects.equals(oem, ethernetInterfaceCollectionEthernetInterfaceCollection.oem);
  }

  @Override
  public int hashCode() {
    return Objects.hash(odataContext, odataId, odataType, description, members, membersodataCount, membersodataNavigationLink, name, oem);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class EthernetInterfaceCollectionEthernetInterfaceCollection {\n");
    
    sb.append("    odataContext: ").append(toIndentedString(odataContext)).append("\n");
    sb.append("    odataId: ").append(toIndentedString(odataId)).append("\n");
    sb.append("    odataType: ").append(toIndentedString(odataType)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    members: ").append(toIndentedString(members)).append("\n");
    sb.append("    membersodataCount: ").append(toIndentedString(membersodataCount)).append("\n");
    sb.append("    membersodataNavigationLink: ").append(toIndentedString(membersodataNavigationLink)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    oem: ").append(toIndentedString(oem)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

