Bases: cinder.utils.ComparableMixin
This class represents an API Version Request.
This class includes convenience methods for manipulation and comparison of version numbers as needed to implement API microversions.
Returns a string representation of this object.
If this method is used to create an APIVersionRequest, the resulting object will be an equivalent request.
Compares this version to the specified min/max range.
Returns whether the version object represents a version greater than or equal to the minimum version and less than or equal to the maximum version.
If min_version is null then there is no minimum limit. If max_version is null then there is no maximum limit. If self is null then raise ValueError.
Parameters: |
|
---|---|
Returns: | boolean |
Compares this version to that of a versioned method.