# -*- coding: utf-8 -*-
# Copyright (c) 2021 CloudZero - ALL RIGHTS RESERVED - PROPRIETARY AND CONFIDENTIAL
# Unauthorized copying of this file and/or project, via any medium is strictly prohibited.
# Direct all questions to legal@cloudzero.com

from enum import Enum


class CostType(Enum):
    billed_cost = 'billed_cost'
    discounted_cost = 'discounted_cost'
    amortized_cost = 'amortized_cost'
    discounted_amortized_cost = 'discounted_amortized_cost'
    real_cost = 'real_cost'
    on_demand_cost = 'on_demand_cost'
    invoiced_amortized_cost = 'invoiced_amortized_cost'
    usage_amount = 'usage_amount'


class GranularityType(str, Enum):
    hourly = 'hourly'
    daily = 'daily'
    weekly = 'weekly'
    thirty_days = '30days'
    monthly = 'monthly'


class PartitionSortDirection(Enum):
    abs_asc = 'abs_asc'
    abs_desc = 'abs_desc'
    asc = 'asc'
    desc = 'desc'


class PartitionSortType(Enum):
    cost = 'cost'
    trend_magnitude = 'trend_magnitude'
    trend_percent_change = 'trend_percent_change'
