Module yapapi.props.com
Variables
DEFINED_USAGES
LINEAR_COEFFS
PRICE_MODEL
SCHEME
Classes
BillingScheme
class BillingScheme(
/,
*args,
**kwargs
)
An enumeration.
Ancestors (in MRO)
- enum.Enum
Class variables
PAYU
name
value
Com
class Com(
scheme:yapapi.props.com.BillingScheme,
price_model:yapapi.props.com.PriceModel
)
Com(scheme:yapapi.props.com.BillingScheme, price_model:yapapi.props.com.PriceModel)
Ancestors (in MRO)
- yapapi.props.base.Model
- abc.ABC
Descendants
- yapapi.props.com.ComLinear
Static methods
from_props
def from_props(
props:Dict[str, str]
) -> ~ME
keys
def keys(
)
ComLinear
class ComLinear(
scheme:yapapi.props.com.BillingScheme,
price_model:yapapi.props.com.PriceModel,
fixed_price:float,
price_for:Dict[yapapi.props.com.Counter, float]
)
ComLinear(scheme:yapapi.props.com.BillingScheme, price_model:yapapi.props.com.PriceModel, fixed_price:float, price_for:Dict[yapapi.props.com.Counter, float])
Ancestors (in MRO)
- yapapi.props.com.Com
- yapapi.props.base.Model
- abc.ABC
Static methods
from_props
def from_props(
props:Dict[str, str]
) -> ~ME
keys
def keys(
)
Counter
class Counter(
/,
*args,
**kwargs
)
An enumeration.
Ancestors (in MRO)
- enum.Enum
Class variables
CPU
MAXMEM
STORAGE
TIME
UNKNOWN
name
value
PriceModel
class PriceModel(
/,
*args,
**kwargs
)
An enumeration.
Ancestors (in MRO)
- enum.Enum
Class variables
LINEAR
name
value