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

com.infobip.model.WebRtcSubdomain Maven / Gradle / Ivy

/*
 * This class is auto generated from the Infobip OpenAPI specification
 * through the OpenAPI Specification Client API libraries (Re)Generator (OSCAR),
 * powered by the OpenAPI Generator (https://openapi-generator.tech).
 *
 * Do not edit manually. To learn how to raise an issue, see the CONTRIBUTING guide
 * or contact us @ [email protected].
 */

package com.infobip.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;

/**
 * Represents WebRtcSubdomain model.
 */
public class WebRtcSubdomain {

    private String id;

    private String name;

    /**
     * Sets id.
     * 

* Field description: * Identifier of a created subdomain. * * @param id * @return This {@link WebRtcSubdomain instance}. */ public WebRtcSubdomain id(String id) { this.id = id; return this; } /** * Returns id. *

* Field description: * Identifier of a created subdomain. * * @return id */ @JsonProperty("id") public String getId() { return id; } /** * Sets id. *

* Field description: * Identifier of a created subdomain. * * @param id */ @JsonProperty("id") public void setId(String id) { this.id = id; } /** * Sets name. *

* Field description: * Name of a subdomain: name.call-link.com . * * @param name * @return This {@link WebRtcSubdomain instance}. */ public WebRtcSubdomain name(String name) { this.name = name; return this; } /** * Returns name. *

* Field description: * Name of a subdomain: name.call-link.com . * * @return name */ @JsonProperty("name") public String getName() { return name; } /** * Sets name. *

* Field description: * Name of a subdomain: name.call-link.com . * * @param name */ @JsonProperty("name") public void setName(String name) { this.name = name; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } WebRtcSubdomain webRtcSubdomain = (WebRtcSubdomain) o; return Objects.equals(this.id, webRtcSubdomain.id) && Objects.equals(this.name, webRtcSubdomain.name); } @Override public int hashCode() { return Objects.hash(id, name); } @Override public String toString() { String newLine = System.lineSeparator(); return new StringBuilder() .append("class WebRtcSubdomain {") .append(newLine) .append(" id: ") .append(toIndentedString(id)) .append(newLine) .append(" name: ") .append(toIndentedString(name)) .append(newLine) .append("}") .toString(); } private String toIndentedString(Object o) { if (o == null) { return "null"; } String lineSeparator = System.lineSeparator(); String lineSeparatorFollowedByIndentation = lineSeparator + " "; return o.toString().replace(lineSeparator, lineSeparatorFollowedByIndentation); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy