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

com.payu.notification.client.mboasms.request.MboaSmsRequest Maven / Gradle / Ivy

The newest version!
package com.payu.notification.client.mboasms.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(description = "Sent sms request from mboasms provider")
public class MboaSmsRequest {
  @Schema(description = "UserId")
  @JsonProperty("user_id")
  @NotNull(message = "userId is required")
  private String userId;

  @Schema(description = "Message")
  @JsonProperty("message")
  @NotNull(message = "Message is required")
  private String message;

  @Schema(description = "Password")
  @JsonProperty("password")
  @NotNull(message = "Password is required")
  private String password;

  @Schema(description = "List of phone number, separated with coma")
  @JsonProperty("phone_str")
  @NotNull(message = "Phone numbers are required")
  private String phoneNumbers;

  @Schema(description = "Sender name")
  @JsonProperty("sender_name")
  @NotNull(message = "Sender name is required")
  private String senderName;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy