SBUserPlan#
samson.SBUserPlan
objects holds the user plan.
See also
SAMSON SDK: SBCContainerUserPlan
- class samson.SBUserPlan(*args, **kwargs)#
Bases:
pybind11_object
This class describes a user plan.
Overloaded function.
__init__(self: samson.SBUserPlan) -> None
Constructs the NoPlan user plan
__init__(self: samson.SBUserPlan, userPlan: samson.SBUserPlan.Type) -> None
Constructs a user plan.
__init__(self: samson.SBUserPlan, typeString: str) -> None
Constructs a user plan.
- Parameters:
typeString (str) – A string representation of a user plan.
__init__(self: samson.SBUserPlan, userPlan: samson.SBUserPlan) -> None
Constructs a user plan from a userPlan.
- class Type(self: samson.SBUserPlan.Type, value: int)#
Bases:
pybind11_object
Members:
NoPlan : No plan
Starter : The Starter plan
Standard : The Standard plan
Professional : The Professional plan
Enterprise : The Enterprise plan
- __eq__(self: object, other: object) bool #
- __ne__(self: object, other: object) bool #
- Enterprise = <Type.Enterprise: 4>#
- NoPlan = <Type.NoPlan: 0>#
- Professional = <Type.Professional: 3>#
- Standard = <Type.Standard: 2>#
- Starter = <Type.Starter: 1>#
- property name#
- property value#
- __eq__(self: samson.SBUserPlan, arg0: samson.SBUserPlan) bool #
operator ==
- __lt__(self: samson.SBUserPlan, arg0: samson.SBUserPlan) bool #
operator <
- __ne__(self: samson.SBUserPlan, arg0: samson.SBUserPlan) bool #
operator !=
- Enterprise = <Type.Enterprise: 4>#
- NoPlan = <Type.NoPlan: 0>#
- Professional = <Type.Professional: 3>#
- Standard = <Type.Standard: 2>#
- Starter = <Type.Starter: 1>#
- property type#
Returns the user plan type. A read-only property.