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

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

There is a newer version: 6.0.0
Show newest version
/*
 * 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 NumberMaskingCredentialsResponse model.
 */
public class NumberMaskingCredentialsResponse {

    private String apiId;

    private String key;

    /**
     * Sets apiId.
     * 

* Field description: * The first part of the generate Authorization header. * * @param apiId * @return This {@link NumberMaskingCredentialsResponse instance}. */ public NumberMaskingCredentialsResponse apiId(String apiId) { this.apiId = apiId; return this; } /** * Returns apiId. *

* Field description: * The first part of the generate Authorization header. * * @return apiId */ @JsonProperty("apiId") public String getApiId() { return apiId; } /** * Sets apiId. *

* Field description: * The first part of the generate Authorization header. * * @param apiId */ @JsonProperty("apiId") public void setApiId(String apiId) { this.apiId = apiId; } /** * Sets key. *

* Field description: * Used to generate the second part of the Authorization header. * * @param key * @return This {@link NumberMaskingCredentialsResponse instance}. */ public NumberMaskingCredentialsResponse key(String key) { this.key = key; return this; } /** * Returns key. *

* Field description: * Used to generate the second part of the Authorization header. * * @return key */ @JsonProperty("key") public String getKey() { return key; } /** * Sets key. *

* Field description: * Used to generate the second part of the Authorization header. * * @param key */ @JsonProperty("key") public void setKey(String key) { this.key = key; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } NumberMaskingCredentialsResponse numberMaskingCredentialsResponse = (NumberMaskingCredentialsResponse) o; return Objects.equals(this.apiId, numberMaskingCredentialsResponse.apiId) && Objects.equals(this.key, numberMaskingCredentialsResponse.key); } @Override public int hashCode() { return Objects.hash(apiId, key); } @Override public String toString() { String newLine = System.lineSeparator(); return new StringBuilder() .append("class NumberMaskingCredentialsResponse {") .append(newLine) .append(" apiId: ") .append(toIndentedString(apiId)) .append(newLine) .append(" key: ") .append(toIndentedString(key)) .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