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

com.infobip.model.CallsBulkResponse 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.time.OffsetDateTime;
import java.util.Objects;

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

    private String bulkId;

    private OffsetDateTime sendAt;

    /**
     * Sets bulkId.
     * 

* Field description: * Unique ID of the bulk. * * @param bulkId * @return This {@link CallsBulkResponse instance}. */ public CallsBulkResponse bulkId(String bulkId) { this.bulkId = bulkId; return this; } /** * Returns bulkId. *

* Field description: * Unique ID of the bulk. * * @return bulkId */ @JsonProperty("bulkId") public String getBulkId() { return bulkId; } /** * Sets bulkId. *

* Field description: * Unique ID of the bulk. * * @param bulkId */ @JsonProperty("bulkId") public void setBulkId(String bulkId) { this.bulkId = bulkId; } /** * Sets sendAt. *

* Field description: * Timestamp when bulk is scheduled. * * @param sendAt * @return This {@link CallsBulkResponse instance}. */ public CallsBulkResponse sendAt(OffsetDateTime sendAt) { this.sendAt = sendAt; return this; } /** * Returns sendAt. *

* Field description: * Timestamp when bulk is scheduled. * * @return sendAt */ @JsonProperty("sendAt") public OffsetDateTime getSendAt() { return sendAt; } /** * Sets sendAt. *

* Field description: * Timestamp when bulk is scheduled. * * @param sendAt */ @JsonProperty("sendAt") public void setSendAt(OffsetDateTime sendAt) { this.sendAt = sendAt; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CallsBulkResponse callsBulkResponse = (CallsBulkResponse) o; return Objects.equals(this.bulkId, callsBulkResponse.bulkId) && Objects.equals(this.sendAt, callsBulkResponse.sendAt); } @Override public int hashCode() { return Objects.hash(bulkId, sendAt); } @Override public String toString() { String newLine = System.lineSeparator(); return new StringBuilder() .append("class CallsBulkResponse {") .append(newLine) .append(" bulkId: ") .append(toIndentedString(bulkId)) .append(newLine) .append(" sendAt: ") .append(toIndentedString(sendAt)) .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