github.com/enbility/spine-go@v0.7.0/model/incentivetable.go (about)

     1  package model
     2  
     3  type IncentiveTableType struct {
     4  	Tariff        *TariffDataType                   `json:"tariff,omitempty"` // ignoring changes
     5  	IncentiveSlot []IncentiveTableIncentiveSlotType `json:"incentiveSlot,omitempty"`
     6  }
     7  
     8  type IncentiveTableElementsType struct {
     9  	Tariff        *TariffDataElementsType                  `json:"tariff,omitempty"` // ignoring changes
    10  	IncentiveSlot *IncentiveTableIncentiveSlotElementsType `json:"incentiveSlot,omitempty"`
    11  }
    12  
    13  type IncentiveTableIncentiveSlotType struct {
    14  	TimeInterval *TimeTableDataType       `json:"timeInterval,omitempty"` // ignoring changes
    15  	Tier         []IncentiveTableTierType `json:"tier,omitempty"`
    16  }
    17  
    18  type IncentiveTableIncentiveSlotElementsType struct {
    19  	TimeInterval *TimeTableDataElementsType      `json:"timeInterval,omitempty"` // ignoring changes
    20  	Tier         *IncentiveTableTierElementsType `json:"tier,omitempty"`
    21  }
    22  
    23  type IncentiveTableTierType struct {
    24  	Tier      *TierDataType          `json:"tier,omitempty"`      // ignoring changes
    25  	Boundary  []TierBoundaryDataType `json:"boundary,omitempty"`  // ignoring changes
    26  	Incentive []IncentiveDataType    `json:"incentive,omitempty"` // ignoring changes
    27  }
    28  
    29  type IncentiveTableTierElementsType struct {
    30  	Tier      *TierDataElementsType         `json:"tier,omitempty"`      // ignoring changes
    31  	Boundary  *TierBoundaryDataElementsType `json:"boundary,omitempty"`  // ignoring changes
    32  	Incentive *IncentiveDataElementsType    `json:"incentive,omitempty"` // ignoring changes
    33  }
    34  
    35  type IncentiveTableDataType struct {
    36  	IncentiveTable []IncentiveTableType `json:"incentiveTable,omitempty"`
    37  }
    38  
    39  type IncentiveTableDataElementsType struct {
    40  	IncentiveTable *IncentiveTableElementsType `json:"incentiveTable,omitempty"`
    41  }
    42  
    43  type IncentiveTableDataSelectorsType struct {
    44  	Tariff *TariffListDataSelectorsType `json:"tariff,omitempty"`
    45  }
    46  
    47  type IncentiveTableDescriptionType struct {
    48  	TariffDescription *TariffDescriptionDataType          `json:"tariffDescription,omitempty"`
    49  	Tier              []IncentiveTableDescriptionTierType `json:"tier,omitempty"`
    50  }
    51  
    52  type IncentiveTableDescriptionElementsType struct {
    53  	TariffDescription *TariffDescriptionDataElementsType `json:"tariffDescription,omitempty"`
    54  	Tier              *IncentiveTableDescriptionTierType `json:"tier,omitempty"`
    55  }
    56  
    57  type IncentiveTableDescriptionTierType struct {
    58  	TierDescription      *TierDescriptionDataType          `json:"tierDescription,omitempty"`
    59  	BoundaryDescription  []TierBoundaryDescriptionDataType `json:"boundaryDescription,omitempty"`
    60  	IncentiveDescription []IncentiveDescriptionDataType    `json:"incentiveDescription,omitempty"`
    61  }
    62  
    63  type IncentiveTableDescriptionTierElementsType struct {
    64  	TierDescription      *TierDescriptionDataElementsType         `json:"tierDescription,omitempty"`
    65  	BoundaryDescription  *TierBoundaryDescriptionDataElementsType `json:"boundaryDescription,omitempty"`
    66  	IncentiveDescription *IncentiveDescriptionDataElementsType    `json:"incentiveDescription,omitempty"`
    67  }
    68  
    69  type IncentiveTableDescriptionDataType struct {
    70  	IncentiveTableDescription []IncentiveTableDescriptionType `json:"incentiveTableDescription,omitempty"`
    71  }
    72  
    73  type IncentiveTableDescriptionDataElementsType struct {
    74  	IncentiveTableDescription *IncentiveTableDescriptionElementsType `json:"incentiveTableDescription,omitempty"`
    75  }
    76  
    77  type IncentiveTableDescriptionDataSelectorsType struct {
    78  	TariffDescription *TariffDescriptionListDataSelectorsType `json:"tariffDescription,omitempty"`
    79  }
    80  
    81  type IncentiveTableConstraintsType struct {
    82  	Tariff                   *TariffDataType                   `json:"tariff,omitempty"`
    83  	TariffConstraints        *TariffOverallConstraintsDataType `json:"tariffConstraints,omitempty"`
    84  	IncentiveSlotConstraints *TimeTableConstraintsDataType     `json:"incentiveSlotConstraints,omitempty"`
    85  }
    86  
    87  type IncentiveTableConstraintsElementsType struct {
    88  	Tariff                   *TariffDataElementsType                   `json:"tariff,omitempty"`
    89  	TariffConstraints        *TariffOverallConstraintsDataElementsType `json:"tariffConstraints,omitempty"`
    90  	IncentiveSlotConstraints *TimeTableConstraintsDataElementsType     `json:"incentiveSlotConstraints,omitempty"`
    91  }
    92  
    93  type IncentiveTableConstraintsDataType struct {
    94  	IncentiveTableConstraints []IncentiveTableConstraintsType `json:"incentiveTableConstraints,omitempty"`
    95  }
    96  
    97  type IncentiveTableConstraintsDataElementsType struct {
    98  	IncentiveTableConstraints *IncentiveTableConstraintsElementsType `json:"incentiveTableConstraints,omitempty"`
    99  }
   100  
   101  type IncentiveTableConstraintsDataSelectorsType struct {
   102  	Tariff *TariffListDataSelectorsType `json:"tariff,omitempty"`
   103  }