Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.32 KB

File metadata and controls

32 lines (23 loc) · 1.32 KB

TimelineSegmentBase

Properties

Name Type Description Notes
duration int The duration of the timeline segment (default: 600).
segment_type SegmentType The segment's type. Must be one of: SteadySegment, StepUpSegment, StepDownSegment.
warm_up_period int Deprecated. Use ObjectivesAndTimeline.WarmUp instead. The time that servers may need to warm up, when clients should wait (default: 0 seconds). [optional]
id str

Example

from cyperf.models.timeline_segment_base import TimelineSegmentBase

# TODO update the JSON string below
json = "{}"
# create an instance of TimelineSegmentBase from a JSON string
timeline_segment_base_instance = TimelineSegmentBase.from_json(json)
# print the JSON string representation of the object
print(TimelineSegmentBase.to_json())

# convert the object into a dict
timeline_segment_base_dict = timeline_segment_base_instance.to_dict()
# create an instance of TimelineSegmentBase from a dict
timeline_segment_base_from_dict = TimelineSegmentBase.from_dict(timeline_segment_base_dict)

[Back to Model list] [Back to API list] [Back to README]