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

com.infobip.model.WhatsAppInteractiveLocationRequestContent 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;

/**
 * The content object to build a message that will be sent.
 */
public class WhatsAppInteractiveLocationRequestContent {

    private WhatsAppInteractiveBodyContent body;

    /**
     * Sets body.
     * 

* The field is required. * * @param body * @return This {@link WhatsAppInteractiveLocationRequestContent instance}. */ public WhatsAppInteractiveLocationRequestContent body(WhatsAppInteractiveBodyContent body) { this.body = body; return this; } /** * Returns body. *

* The field is required. * * @return body */ @JsonProperty("body") public WhatsAppInteractiveBodyContent getBody() { return body; } /** * Sets body. *

* The field is required. * * @param body */ @JsonProperty("body") public void setBody(WhatsAppInteractiveBodyContent body) { this.body = body; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } WhatsAppInteractiveLocationRequestContent whatsAppInteractiveLocationRequestContent = (WhatsAppInteractiveLocationRequestContent) o; return Objects.equals(this.body, whatsAppInteractiveLocationRequestContent.body); } @Override public int hashCode() { return Objects.hash(body); } @Override public String toString() { String newLine = System.lineSeparator(); return new StringBuilder() .append("class WhatsAppInteractiveLocationRequestContent {") .append(newLine) .append(" body: ") .append(toIndentedString(body)) .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