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

com.mypurecloud.sdk.model.DomainLogicalInterface Maven / Gradle / Ivy

The newest version!
package com.mypurecloud.sdk.model;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mypurecloud.sdk.model.DomainCapabilities;
import com.mypurecloud.sdk.model.DomainNetworkAddress;
import com.mypurecloud.sdk.model.DomainNetworkCommandResponse;
import com.mypurecloud.sdk.model.DomainNetworkRoute;
import com.mypurecloud.sdk.model.TrunkBaseAssignment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import java.io.Serializable;
/**
 * DomainLogicalInterface
 */

public class DomainLogicalInterface  implements Serializable {
  
  private String id = null;
  private String name = null;
  private String description = null;
  private Integer version = null;
  private Date dateCreated = null;
  private Date dateModified = null;
  private String modifiedBy = null;
  private String createdBy = null;

  /**
   * Gets or Sets state
   */
  public enum StateEnum {
    OUTDATEDSDKVERSION("OutdatedSdkVersion"),
    ACTIVE("active"),
    INACTIVE("inactive"),
    DELETED("deleted");

    private String value;

    StateEnum(String value) {
      this.value = value;
    }

    @JsonCreator
    public static StateEnum fromString(String key) {
      if (key == null) return null;

      for (StateEnum value : StateEnum.values()) {
        if (key.equalsIgnoreCase(value.toString())) {
          return value;
        }
      }

      return StateEnum.values()[0];
    }

    @Override
    @JsonValue
    public String toString() {
      return String.valueOf(value);
    }
  }
  private StateEnum state = null;
  private String modifiedByApp = null;
  private String createdByApp = null;
  private String edgeUri = null;
  private String edgeAssignedId = null;
  private String friendlyName = null;
  private Integer vlanTagId = null;
  private String hardwareAddress = null;
  private String physicalAdapterId = null;
  private String ifStatus = null;

  /**
   * The type of this network interface.
   */
  public enum InterfaceTypeEnum {
    OUTDATEDSDKVERSION("OutdatedSdkVersion"),
    DIAGNOSTIC("DIAGNOSTIC"),
    SYSTEM("SYSTEM");

    private String value;

    InterfaceTypeEnum(String value) {
      this.value = value;
    }

    @JsonCreator
    public static InterfaceTypeEnum fromString(String key) {
      if (key == null) return null;

      for (InterfaceTypeEnum value : InterfaceTypeEnum.values()) {
        if (key.equalsIgnoreCase(value.toString())) {
          return value;
        }
      }

      return InterfaceTypeEnum.values()[0];
    }

    @Override
    @JsonValue
    public String toString() {
      return String.valueOf(value);
    }
  }
  private InterfaceTypeEnum interfaceType = null;
  private List routes = new ArrayList();
  private List addresses = new ArrayList();
  private DomainCapabilities ipv4Capabilities = null;
  private DomainCapabilities ipv6Capabilities = null;

  /**
   * Gets or Sets currentState
   */
  public enum CurrentStateEnum {
    OUTDATEDSDKVERSION("OutdatedSdkVersion"),
    INIT("INIT"),
    CREATING("CREATING"),
    UPDATING("UPDATING"),
    OK("OK"),
    EXCEPTION("EXCEPTION"),
    DELETING("DELETING");

    private String value;

    CurrentStateEnum(String value) {
      this.value = value;
    }

    @JsonCreator
    public static CurrentStateEnum fromString(String key) {
      if (key == null) return null;

      for (CurrentStateEnum value : CurrentStateEnum.values()) {
        if (key.equalsIgnoreCase(value.toString())) {
          return value;
        }
      }

      return CurrentStateEnum.values()[0];
    }

    @Override
    @JsonValue
    public String toString() {
      return String.valueOf(value);
    }
  }
  private CurrentStateEnum currentState = null;
  private String lastModifiedUserId = null;
  private String lastModifiedCorrelationId = null;
  private List commandResponses = new ArrayList();
  private Boolean inheritPhoneTrunkBasesIPv4 = null;
  private Boolean inheritPhoneTrunkBasesIPv6 = null;
  private Boolean useForInternalEdgeCommunication = null;
  private List externalTrunkBaseAssignments = new ArrayList();
  private List phoneTrunkBaseAssignments = new ArrayList();
  private String selfUri = null;

  
  @ApiModelProperty(example = "null", value = "The globally unique identifier for the object.")
  @JsonProperty("id")
  public String getId() {
    return id;
  }


  /**
   * The name of the entity.
   **/
  public DomainLogicalInterface name(String name) {
    this.name = name;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "The name of the entity.")
  @JsonProperty("name")
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }


  /**
   **/
  public DomainLogicalInterface description(String description) {
    this.description = description;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("description")
  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }


  /**
   **/
  public DomainLogicalInterface version(Integer version) {
    this.version = version;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("version")
  public Integer getVersion() {
    return version;
  }
  public void setVersion(Integer version) {
    this.version = version;
  }


  /**
   * Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
   **/
  public DomainLogicalInterface dateCreated(Date dateCreated) {
    this.dateCreated = dateCreated;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ")
  @JsonProperty("dateCreated")
  public Date getDateCreated() {
    return dateCreated;
  }
  public void setDateCreated(Date dateCreated) {
    this.dateCreated = dateCreated;
  }


  /**
   * Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
   **/
  public DomainLogicalInterface dateModified(Date dateModified) {
    this.dateModified = dateModified;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ")
  @JsonProperty("dateModified")
  public Date getDateModified() {
    return dateModified;
  }
  public void setDateModified(Date dateModified) {
    this.dateModified = dateModified;
  }


  /**
   **/
  public DomainLogicalInterface modifiedBy(String modifiedBy) {
    this.modifiedBy = modifiedBy;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("modifiedBy")
  public String getModifiedBy() {
    return modifiedBy;
  }
  public void setModifiedBy(String modifiedBy) {
    this.modifiedBy = modifiedBy;
  }


  /**
   **/
  public DomainLogicalInterface createdBy(String createdBy) {
    this.createdBy = createdBy;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("createdBy")
  public String getCreatedBy() {
    return createdBy;
  }
  public void setCreatedBy(String createdBy) {
    this.createdBy = createdBy;
  }


  /**
   **/
  public DomainLogicalInterface state(StateEnum state) {
    this.state = state;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("state")
  public StateEnum getState() {
    return state;
  }
  public void setState(StateEnum state) {
    this.state = state;
  }


  /**
   **/
  public DomainLogicalInterface modifiedByApp(String modifiedByApp) {
    this.modifiedByApp = modifiedByApp;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("modifiedByApp")
  public String getModifiedByApp() {
    return modifiedByApp;
  }
  public void setModifiedByApp(String modifiedByApp) {
    this.modifiedByApp = modifiedByApp;
  }


  /**
   **/
  public DomainLogicalInterface createdByApp(String createdByApp) {
    this.createdByApp = createdByApp;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("createdByApp")
  public String getCreatedByApp() {
    return createdByApp;
  }
  public void setCreatedByApp(String createdByApp) {
    this.createdByApp = createdByApp;
  }


  /**
   **/
  public DomainLogicalInterface edgeUri(String edgeUri) {
    this.edgeUri = edgeUri;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("edgeUri")
  public String getEdgeUri() {
    return edgeUri;
  }
  public void setEdgeUri(String edgeUri) {
    this.edgeUri = edgeUri;
  }


  /**
   **/
  public DomainLogicalInterface edgeAssignedId(String edgeAssignedId) {
    this.edgeAssignedId = edgeAssignedId;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("edgeAssignedId")
  public String getEdgeAssignedId() {
    return edgeAssignedId;
  }
  public void setEdgeAssignedId(String edgeAssignedId) {
    this.edgeAssignedId = edgeAssignedId;
  }


  /**
   * Friendly Name
   **/
  public DomainLogicalInterface friendlyName(String friendlyName) {
    this.friendlyName = friendlyName;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "Friendly Name")
  @JsonProperty("friendlyName")
  public String getFriendlyName() {
    return friendlyName;
  }
  public void setFriendlyName(String friendlyName) {
    this.friendlyName = friendlyName;
  }


  /**
   **/
  public DomainLogicalInterface vlanTagId(Integer vlanTagId) {
    this.vlanTagId = vlanTagId;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("vlanTagId")
  public Integer getVlanTagId() {
    return vlanTagId;
  }
  public void setVlanTagId(Integer vlanTagId) {
    this.vlanTagId = vlanTagId;
  }


  /**
   * Hardware Address
   **/
  public DomainLogicalInterface hardwareAddress(String hardwareAddress) {
    this.hardwareAddress = hardwareAddress;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "Hardware Address")
  @JsonProperty("hardwareAddress")
  public String getHardwareAddress() {
    return hardwareAddress;
  }
  public void setHardwareAddress(String hardwareAddress) {
    this.hardwareAddress = hardwareAddress;
  }


  /**
   * Physical Adapter Id
   **/
  public DomainLogicalInterface physicalAdapterId(String physicalAdapterId) {
    this.physicalAdapterId = physicalAdapterId;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "Physical Adapter Id")
  @JsonProperty("physicalAdapterId")
  public String getPhysicalAdapterId() {
    return physicalAdapterId;
  }
  public void setPhysicalAdapterId(String physicalAdapterId) {
    this.physicalAdapterId = physicalAdapterId;
  }


  /**
   **/
  public DomainLogicalInterface ifStatus(String ifStatus) {
    this.ifStatus = ifStatus;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("ifStatus")
  public String getIfStatus() {
    return ifStatus;
  }
  public void setIfStatus(String ifStatus) {
    this.ifStatus = ifStatus;
  }


  @ApiModelProperty(example = "null", value = "The type of this network interface.")
  @JsonProperty("interfaceType")
  public InterfaceTypeEnum getInterfaceType() {
    return interfaceType;
  }


  /**
   * The list of routes assigned to this interface.
   **/
  public DomainLogicalInterface routes(List routes) {
    this.routes = routes;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "The list of routes assigned to this interface.")
  @JsonProperty("routes")
  public List getRoutes() {
    return routes;
  }
  public void setRoutes(List routes) {
    this.routes = routes;
  }


  /**
   * The list of IP addresses on this interface.  Priority of dns addresses are based on order in the list.
   **/
  public DomainLogicalInterface addresses(List addresses) {
    this.addresses = addresses;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "The list of IP addresses on this interface.  Priority of dns addresses are based on order in the list.")
  @JsonProperty("addresses")
  public List getAddresses() {
    return addresses;
  }
  public void setAddresses(List addresses) {
    this.addresses = addresses;
  }


  /**
   * IPv4 interface settings.
   **/
  public DomainLogicalInterface ipv4Capabilities(DomainCapabilities ipv4Capabilities) {
    this.ipv4Capabilities = ipv4Capabilities;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "IPv4 interface settings.")
  @JsonProperty("ipv4Capabilities")
  public DomainCapabilities getIpv4Capabilities() {
    return ipv4Capabilities;
  }
  public void setIpv4Capabilities(DomainCapabilities ipv4Capabilities) {
    this.ipv4Capabilities = ipv4Capabilities;
  }


  /**
   * IPv6 interface settings.
   **/
  public DomainLogicalInterface ipv6Capabilities(DomainCapabilities ipv6Capabilities) {
    this.ipv6Capabilities = ipv6Capabilities;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "IPv6 interface settings.")
  @JsonProperty("ipv6Capabilities")
  public DomainCapabilities getIpv6Capabilities() {
    return ipv6Capabilities;
  }
  public void setIpv6Capabilities(DomainCapabilities ipv6Capabilities) {
    this.ipv6Capabilities = ipv6Capabilities;
  }


  /**
   **/
  public DomainLogicalInterface currentState(CurrentStateEnum currentState) {
    this.currentState = currentState;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("currentState")
  public CurrentStateEnum getCurrentState() {
    return currentState;
  }
  public void setCurrentState(CurrentStateEnum currentState) {
    this.currentState = currentState;
  }


  /**
   **/
  public DomainLogicalInterface lastModifiedUserId(String lastModifiedUserId) {
    this.lastModifiedUserId = lastModifiedUserId;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("lastModifiedUserId")
  public String getLastModifiedUserId() {
    return lastModifiedUserId;
  }
  public void setLastModifiedUserId(String lastModifiedUserId) {
    this.lastModifiedUserId = lastModifiedUserId;
  }


  /**
   **/
  public DomainLogicalInterface lastModifiedCorrelationId(String lastModifiedCorrelationId) {
    this.lastModifiedCorrelationId = lastModifiedCorrelationId;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("lastModifiedCorrelationId")
  public String getLastModifiedCorrelationId() {
    return lastModifiedCorrelationId;
  }
  public void setLastModifiedCorrelationId(String lastModifiedCorrelationId) {
    this.lastModifiedCorrelationId = lastModifiedCorrelationId;
  }


  /**
   **/
  public DomainLogicalInterface commandResponses(List commandResponses) {
    this.commandResponses = commandResponses;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("commandResponses")
  public List getCommandResponses() {
    return commandResponses;
  }
  public void setCommandResponses(List commandResponses) {
    this.commandResponses = commandResponses;
  }


  /**
   * The IPv4 phone trunk base assignment will be inherited from the Edge Group.
   **/
  public DomainLogicalInterface inheritPhoneTrunkBasesIPv4(Boolean inheritPhoneTrunkBasesIPv4) {
    this.inheritPhoneTrunkBasesIPv4 = inheritPhoneTrunkBasesIPv4;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "The IPv4 phone trunk base assignment will be inherited from the Edge Group.")
  @JsonProperty("inheritPhoneTrunkBasesIPv4")
  public Boolean getInheritPhoneTrunkBasesIPv4() {
    return inheritPhoneTrunkBasesIPv4;
  }
  public void setInheritPhoneTrunkBasesIPv4(Boolean inheritPhoneTrunkBasesIPv4) {
    this.inheritPhoneTrunkBasesIPv4 = inheritPhoneTrunkBasesIPv4;
  }


  /**
   * The IPv6 phone trunk base assignment will be inherited from the Edge Group.
   **/
  public DomainLogicalInterface inheritPhoneTrunkBasesIPv6(Boolean inheritPhoneTrunkBasesIPv6) {
    this.inheritPhoneTrunkBasesIPv6 = inheritPhoneTrunkBasesIPv6;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "The IPv6 phone trunk base assignment will be inherited from the Edge Group.")
  @JsonProperty("inheritPhoneTrunkBasesIPv6")
  public Boolean getInheritPhoneTrunkBasesIPv6() {
    return inheritPhoneTrunkBasesIPv6;
  }
  public void setInheritPhoneTrunkBasesIPv6(Boolean inheritPhoneTrunkBasesIPv6) {
    this.inheritPhoneTrunkBasesIPv6 = inheritPhoneTrunkBasesIPv6;
  }


  /**
   * This interface will be used for all internal edge-to-edge communication using settings from the edgeTrunkBaseAssignment on the Edge Group.
   **/
  public DomainLogicalInterface useForInternalEdgeCommunication(Boolean useForInternalEdgeCommunication) {
    this.useForInternalEdgeCommunication = useForInternalEdgeCommunication;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "This interface will be used for all internal edge-to-edge communication using settings from the edgeTrunkBaseAssignment on the Edge Group.")
  @JsonProperty("useForInternalEdgeCommunication")
  public Boolean getUseForInternalEdgeCommunication() {
    return useForInternalEdgeCommunication;
  }
  public void setUseForInternalEdgeCommunication(Boolean useForInternalEdgeCommunication) {
    this.useForInternalEdgeCommunication = useForInternalEdgeCommunication;
  }


  /**
   * External trunk base settings to use for external communication from this interface.
   **/
  public DomainLogicalInterface externalTrunkBaseAssignments(List externalTrunkBaseAssignments) {
    this.externalTrunkBaseAssignments = externalTrunkBaseAssignments;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "External trunk base settings to use for external communication from this interface.")
  @JsonProperty("externalTrunkBaseAssignments")
  public List getExternalTrunkBaseAssignments() {
    return externalTrunkBaseAssignments;
  }
  public void setExternalTrunkBaseAssignments(List externalTrunkBaseAssignments) {
    this.externalTrunkBaseAssignments = externalTrunkBaseAssignments;
  }


  /**
   * Phone trunk base settings to use for phone communication from this interface.  These settings will be ignored when \"inheritPhoneTrunkBases\" is true.
   **/
  public DomainLogicalInterface phoneTrunkBaseAssignments(List phoneTrunkBaseAssignments) {
    this.phoneTrunkBaseAssignments = phoneTrunkBaseAssignments;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "Phone trunk base settings to use for phone communication from this interface.  These settings will be ignored when \"inheritPhoneTrunkBases\" is true.")
  @JsonProperty("phoneTrunkBaseAssignments")
  public List getPhoneTrunkBaseAssignments() {
    return phoneTrunkBaseAssignments;
  }
  public void setPhoneTrunkBaseAssignments(List phoneTrunkBaseAssignments) {
    this.phoneTrunkBaseAssignments = phoneTrunkBaseAssignments;
  }


  @ApiModelProperty(example = "null", value = "The URI for this object")
  @JsonProperty("selfUri")
  public String getSelfUri() {
    return selfUri;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DomainLogicalInterface domainLogicalInterface = (DomainLogicalInterface) o;
    return Objects.equals(this.id, domainLogicalInterface.id) &&
        Objects.equals(this.name, domainLogicalInterface.name) &&
        Objects.equals(this.description, domainLogicalInterface.description) &&
        Objects.equals(this.version, domainLogicalInterface.version) &&
        Objects.equals(this.dateCreated, domainLogicalInterface.dateCreated) &&
        Objects.equals(this.dateModified, domainLogicalInterface.dateModified) &&
        Objects.equals(this.modifiedBy, domainLogicalInterface.modifiedBy) &&
        Objects.equals(this.createdBy, domainLogicalInterface.createdBy) &&
        Objects.equals(this.state, domainLogicalInterface.state) &&
        Objects.equals(this.modifiedByApp, domainLogicalInterface.modifiedByApp) &&
        Objects.equals(this.createdByApp, domainLogicalInterface.createdByApp) &&
        Objects.equals(this.edgeUri, domainLogicalInterface.edgeUri) &&
        Objects.equals(this.edgeAssignedId, domainLogicalInterface.edgeAssignedId) &&
        Objects.equals(this.friendlyName, domainLogicalInterface.friendlyName) &&
        Objects.equals(this.vlanTagId, domainLogicalInterface.vlanTagId) &&
        Objects.equals(this.hardwareAddress, domainLogicalInterface.hardwareAddress) &&
        Objects.equals(this.physicalAdapterId, domainLogicalInterface.physicalAdapterId) &&
        Objects.equals(this.ifStatus, domainLogicalInterface.ifStatus) &&
        Objects.equals(this.interfaceType, domainLogicalInterface.interfaceType) &&
        Objects.equals(this.routes, domainLogicalInterface.routes) &&
        Objects.equals(this.addresses, domainLogicalInterface.addresses) &&
        Objects.equals(this.ipv4Capabilities, domainLogicalInterface.ipv4Capabilities) &&
        Objects.equals(this.ipv6Capabilities, domainLogicalInterface.ipv6Capabilities) &&
        Objects.equals(this.currentState, domainLogicalInterface.currentState) &&
        Objects.equals(this.lastModifiedUserId, domainLogicalInterface.lastModifiedUserId) &&
        Objects.equals(this.lastModifiedCorrelationId, domainLogicalInterface.lastModifiedCorrelationId) &&
        Objects.equals(this.commandResponses, domainLogicalInterface.commandResponses) &&
        Objects.equals(this.inheritPhoneTrunkBasesIPv4, domainLogicalInterface.inheritPhoneTrunkBasesIPv4) &&
        Objects.equals(this.inheritPhoneTrunkBasesIPv6, domainLogicalInterface.inheritPhoneTrunkBasesIPv6) &&
        Objects.equals(this.useForInternalEdgeCommunication, domainLogicalInterface.useForInternalEdgeCommunication) &&
        Objects.equals(this.externalTrunkBaseAssignments, domainLogicalInterface.externalTrunkBaseAssignments) &&
        Objects.equals(this.phoneTrunkBaseAssignments, domainLogicalInterface.phoneTrunkBaseAssignments) &&
        Objects.equals(this.selfUri, domainLogicalInterface.selfUri);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, name, description, version, dateCreated, dateModified, modifiedBy, createdBy, state, modifiedByApp, createdByApp, edgeUri, edgeAssignedId, friendlyName, vlanTagId, hardwareAddress, physicalAdapterId, ifStatus, interfaceType, routes, addresses, ipv4Capabilities, ipv6Capabilities, currentState, lastModifiedUserId, lastModifiedCorrelationId, commandResponses, inheritPhoneTrunkBasesIPv4, inheritPhoneTrunkBasesIPv6, useForInternalEdgeCommunication, externalTrunkBaseAssignments, phoneTrunkBaseAssignments, selfUri);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DomainLogicalInterface {\n");
    
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    version: ").append(toIndentedString(version)).append("\n");
    sb.append("    dateCreated: ").append(toIndentedString(dateCreated)).append("\n");
    sb.append("    dateModified: ").append(toIndentedString(dateModified)).append("\n");
    sb.append("    modifiedBy: ").append(toIndentedString(modifiedBy)).append("\n");
    sb.append("    createdBy: ").append(toIndentedString(createdBy)).append("\n");
    sb.append("    state: ").append(toIndentedString(state)).append("\n");
    sb.append("    modifiedByApp: ").append(toIndentedString(modifiedByApp)).append("\n");
    sb.append("    createdByApp: ").append(toIndentedString(createdByApp)).append("\n");
    sb.append("    edgeUri: ").append(toIndentedString(edgeUri)).append("\n");
    sb.append("    edgeAssignedId: ").append(toIndentedString(edgeAssignedId)).append("\n");
    sb.append("    friendlyName: ").append(toIndentedString(friendlyName)).append("\n");
    sb.append("    vlanTagId: ").append(toIndentedString(vlanTagId)).append("\n");
    sb.append("    hardwareAddress: ").append(toIndentedString(hardwareAddress)).append("\n");
    sb.append("    physicalAdapterId: ").append(toIndentedString(physicalAdapterId)).append("\n");
    sb.append("    ifStatus: ").append(toIndentedString(ifStatus)).append("\n");
    sb.append("    interfaceType: ").append(toIndentedString(interfaceType)).append("\n");
    sb.append("    routes: ").append(toIndentedString(routes)).append("\n");
    sb.append("    addresses: ").append(toIndentedString(addresses)).append("\n");
    sb.append("    ipv4Capabilities: ").append(toIndentedString(ipv4Capabilities)).append("\n");
    sb.append("    ipv6Capabilities: ").append(toIndentedString(ipv6Capabilities)).append("\n");
    sb.append("    currentState: ").append(toIndentedString(currentState)).append("\n");
    sb.append("    lastModifiedUserId: ").append(toIndentedString(lastModifiedUserId)).append("\n");
    sb.append("    lastModifiedCorrelationId: ").append(toIndentedString(lastModifiedCorrelationId)).append("\n");
    sb.append("    commandResponses: ").append(toIndentedString(commandResponses)).append("\n");
    sb.append("    inheritPhoneTrunkBasesIPv4: ").append(toIndentedString(inheritPhoneTrunkBasesIPv4)).append("\n");
    sb.append("    inheritPhoneTrunkBasesIPv6: ").append(toIndentedString(inheritPhoneTrunkBasesIPv6)).append("\n");
    sb.append("    useForInternalEdgeCommunication: ").append(toIndentedString(useForInternalEdgeCommunication)).append("\n");
    sb.append("    externalTrunkBaseAssignments: ").append(toIndentedString(externalTrunkBaseAssignments)).append("\n");
    sb.append("    phoneTrunkBaseAssignments: ").append(toIndentedString(phoneTrunkBaseAssignments)).append("\n");
    sb.append("    selfUri: ").append(toIndentedString(selfUri)).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(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy