AcsSmsDeliveryAttemptProperties Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. AcsSmsDeliveryAttemptProperties
- com.
Implements
public final class AcsSmsDeliveryAttemptProperties
implements JsonSerializable<AcsSmsDeliveryAttemptProperties>
Schema for details of a delivery attempt.
Constructor Summary
Constructor | Description |
---|---|
AcsSmsDeliveryAttemptProperties() |
Creates an instance of Acs |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Acs |
fromJson(JsonReader jsonReader)
Reads an instance of Acs |
Integer |
getSegmentsFailed()
Get the segments |
Integer |
getSegmentsSucceeded()
Get the segments |
Offset |
getTimestamp()
Get the timestamp property: Time |
Acs |
setSegmentsFailed(Integer segmentsFailed)
Set the segments |
Acs |
setSegmentsSucceeded(Integer segmentsSucceeded)
Set the segments |
Acs |
setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Time |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AcsSmsDeliveryAttemptProperties
public AcsSmsDeliveryAttemptProperties()
Creates an instance of AcsSmsDeliveryAttemptProperties class.
Method Details
fromJson
public static AcsSmsDeliveryAttemptProperties fromJson(JsonReader jsonReader)
Reads an instance of AcsSmsDeliveryAttemptProperties from the JsonReader.
Parameters:
Returns:
Throws:
getSegmentsFailed
public Integer getSegmentsFailed()
Get the segmentsFailed property: Number of segments whose delivery failed.
Returns:
getSegmentsSucceeded
public Integer getSegmentsSucceeded()
Get the segmentsSucceeded property: Number of segments that were successfully delivered.
Returns:
getTimestamp
public OffsetDateTime getTimestamp()
Get the timestamp property: TimeStamp when delivery was attempted.
Returns:
setSegmentsFailed
public AcsSmsDeliveryAttemptProperties setSegmentsFailed(Integer segmentsFailed)
Set the segmentsFailed property: Number of segments whose delivery failed.
Parameters:
Returns:
setSegmentsSucceeded
public AcsSmsDeliveryAttemptProperties setSegmentsSucceeded(Integer segmentsSucceeded)
Set the segmentsSucceeded property: Number of segments that were successfully delivered.
Parameters:
Returns:
setTimestamp
public AcsSmsDeliveryAttemptProperties setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: TimeStamp when delivery was attempted.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for