Package io.sendon.sms
Class SendonSms
- java.lang.Object
-
- io.sendon.base.SendonClient
-
- io.sendon.sms.SendonSms
-
public class SendonSms extends SendonClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSendonSms.MessageTypestatic classSendonSms.Repeatstatic classSendonSms.RepeatUnitstatic classSendonSms.Reservationstatic classSendonSms.ToWithBucketstatic classSendonSms.ToWithName
-
Field Summary
-
Fields inherited from class io.sendon.base.SendonClient
gson, httpClient
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancelGroupcancelGroup(String groupId)CancelRepeatcancelRepeat(String groupId, String repeatId)GenerateCsvPresignedUrlgenerateCsvPresignedUrl()GetGroupgetGroup(String groupId)GetImagegetImages(List<String> images)GetRepeatsgetRepeats(String groupId, int limit, String cursor)SendGroupsendGroup(String groupId)SendRepeatsendRepeat(String groupId, String repeatId)SendSmssendSms(String from, List<String> to, String message, boolean isAd, SendonSms.Reservation reservation)SendSmssendSmsWithName(String from, List<SendonSms.ToWithName> to, String message, boolean isAd, SendonSms.Reservation reservation)SendSmssendSmWithBucket(String from, List<SendonSms.ToWithBucket> to, String message, SendonSms.Reservation reservation)UploadImageuploadImages(List<File> images)-
Methods inherited from class io.sendon.base.SendonClient
delete, get, parseJsonResponse, post, postImagesWithMultipartFormData, postImageWithMultipartFormData, put
-
-
-
-
Method Detail
-
sendSms
public SendSms sendSms(String from, List<String> to, String message, boolean isAd, SendonSms.Reservation reservation)
-
sendSmsWithName
public SendSms sendSmsWithName(String from, List<SendonSms.ToWithName> to, String message, boolean isAd, SendonSms.Reservation reservation)
-
sendSmWithBucket
public SendSms sendSmWithBucket(String from, List<SendonSms.ToWithBucket> to, String message, SendonSms.Reservation reservation)
-
cancelGroup
public CancelGroup cancelGroup(String groupId)
-
getRepeats
public GetRepeats getRepeats(String groupId, int limit, String cursor)
-
sendRepeat
public SendRepeat sendRepeat(String groupId, String repeatId)
-
cancelRepeat
public CancelRepeat cancelRepeat(String groupId, String repeatId)
-
generateCsvPresignedUrl
public GenerateCsvPresignedUrl generateCsvPresignedUrl()
-
uploadImages
public UploadImage uploadImages(List<File> images)
-
-