Package model
Class MtrOptions
java.lang.Object
model.MtrOptions
- All Implemented Interfaces:
MeasurementOption
Represents the Mtr-specific options used when performing a Mtr type of measurement. This class
implements the
MeasurementOption interface with parameters required for the Mtr queries.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class represents a builder for Mtr Options. -
Constructor Summary
ConstructorsConstructorDescriptionMtrOptions(MtrOptions.MtrOptionsBuilder mtrOptionsBuilder) Constructor which allows creation ofMtrOptionsusingMtrOptions.MtrOptionsBuilder. -
Method Summary
Modifier and TypeMethodDescriptiontoJson()Converts the measurement option to its JSON string representation.byte[]Converts the measurement option to a JSON byte array.
-
Constructor Details
-
MtrOptions
Constructor which allows creation ofMtrOptionsusingMtrOptions.MtrOptionsBuilder.- Parameters:
mtrOptionsBuilder-MtrOptions.MtrOptionsBuilder
-
-
Method Details
-
toJson
Description copied from interface:MeasurementOptionConverts the measurement option to its JSON string representation.- Specified by:
toJsonin interfaceMeasurementOption- Returns:
- a JSON string representing the measurement option.
-
toJsonBytes
public byte[] toJsonBytes()Description copied from interface:MeasurementOptionConverts the measurement option to a JSON byte array.- Specified by:
toJsonBytesin interfaceMeasurementOption- Returns:
- a byte array containing the JSON representation of the measurement option.
-