togai_client 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/AccountsApi.md +1 -1
- data/docs/AssociatePricePlanRequest.md +4 -4
- data/docs/Bundle.md +22 -0
- data/docs/CreatePricePlanRequest.md +2 -4
- data/docs/EventPipelineInfoPricePlansInner.md +2 -0
- data/docs/EventSchemaListData.md +2 -2
- data/docs/EventSchemaListDataAllOf.md +2 -2
- data/docs/GetEventResponse.md +1 -1
- data/docs/PlanOverride.md +2 -2
- data/docs/PricePlan.md +0 -2
- data/docs/PricePlanDetails.md +20 -0
- data/docs/PricePlanDetailsOverride.md +20 -0
- data/docs/PricePlanListData.md +2 -4
- data/docs/PricePlanPaginatedResponse.md +1 -1
- data/docs/PricePlansApi.md +1 -1
- data/docs/PriceType.md +15 -0
- data/docs/{PricingCycle.md → PricingCycleConfig.md} +3 -3
- data/docs/{PricingCycleStartOffset.md → PricingCycleConfigStartOffset.md} +2 -2
- data/docs/PricingModel.md +15 -0
- data/docs/PricingSchedule.md +2 -2
- data/docs/RateCard.md +6 -6
- data/docs/RateCardBundleAggregation.md +15 -0
- data/docs/RateCardType.md +15 -0
- data/docs/RateConfigBundle.md +20 -0
- data/docs/RateConfigUsage.md +20 -0
- data/docs/SlabBundle.md +24 -0
- data/docs/{UsageStrategy.md → SlabUsage.md} +6 -2
- data/docs/UpdatePricePlanRequest.md +2 -4
- data/examples/example.rb +222 -0
- data/lib/togai_client/models/associate_price_plan_request.rb +17 -7
- data/lib/togai_client/models/{bundle_strategy.rb → bundle.rb} +34 -85
- data/lib/togai_client/models/create_customer_request.rb +0 -9
- data/lib/togai_client/models/create_customer_response.rb +0 -9
- data/lib/togai_client/models/create_price_plan_request.rb +10 -24
- data/lib/togai_client/models/customer.rb +0 -9
- data/lib/togai_client/models/event_pipeline_info_price_plans_inner.rb +15 -1
- data/lib/togai_client/models/event_schema_list_data.rb +7 -9
- data/lib/togai_client/models/event_schema_list_data_all_of.rb +7 -9
- data/lib/togai_client/models/get_event_response.rb +5 -0
- data/lib/togai_client/models/ingestion_status.rb +2 -2
- data/lib/togai_client/models/plan_override.rb +7 -7
- data/lib/togai_client/models/price_plan.rb +1 -15
- data/lib/togai_client/models/price_plan_details.rb +259 -0
- data/lib/togai_client/models/price_plan_details_override.rb +245 -0
- data/lib/togai_client/models/price_plan_list_data.rb +10 -25
- data/lib/togai_client/models/price_plan_paginated_response.rb +5 -0
- data/lib/togai_client/models/price_type.rb +38 -0
- data/lib/togai_client/models/{pricing_cycle.rb → pricing_cycle_config.rb} +4 -4
- data/lib/togai_client/models/{pricing_cycle_start_offset.rb → pricing_cycle_config_start_offset.rb} +3 -3
- data/lib/togai_client/models/pricing_model.rb +37 -0
- data/lib/togai_client/models/pricing_schedule.rb +7 -7
- data/lib/togai_client/models/rate_card.rb +32 -59
- data/lib/togai_client/models/rate_card_bundle_aggregation.rb +39 -0
- data/lib/togai_client/models/rate_card_type.rb +37 -0
- data/lib/togai_client/models/{bundle_strategy_usage_meters_value.rb → rate_config_bundle.rb} +28 -13
- data/lib/togai_client/models/{rate_card_usage_value.rb → rate_config_usage.rb} +15 -98
- data/lib/togai_client/models/signup_request.rb +0 -11
- data/lib/togai_client/models/slab_bundle.rb +264 -0
- data/lib/togai_client/models/{usage_strategy.rb → slab_usage.rb} +30 -5
- data/lib/togai_client/models/update_customer_request.rb +0 -9
- data/lib/togai_client/models/update_price_plan_request.rb +7 -16
- data/lib/togai_client/models/user_details.rb +0 -11
- data/lib/togai_client/version.rb +1 -1
- data/lib/togai_client.rb +13 -7
- metadata +36 -23
- data/docs/BundleStrategy.md +0 -24
- data/docs/BundleStrategyUsageMetersValue.md +0 -18
- data/docs/RateCardBundle.md +0 -22
- data/docs/RateCardUsageValue.md +0 -24
- data/lib/togai_client/models/rate_card_bundle.rb +0 -328
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4adb52539f4b4197180b8ececdeb49fa6bd6bfaec72b910b062cf6f22702d28e
|
4
|
+
data.tar.gz: eb618bf3364167735e9f3f63290caaf30462689dca028940ca82b491b3bd5bb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6a7d72bc74183f8d76eb5d734daee92379f8f3d758415eecc13fd8e3c33d9d62556d6a5fc6afc8f455888d49588ddb6f5ee365549194f33a0c1481afc9fd399
|
7
|
+
data.tar.gz: ade5c238dde2e4452ff53188e2aafb822cfec38709191d3b2cdf6520e18b7d38f83a60e679b758a86eeb8734914acaac65f76b4e15075d73479bb70f55b33f19
|
data/README.md
CHANGED
data/docs/AccountsApi.md
CHANGED
@@ -109,7 +109,7 @@ end
|
|
109
109
|
api_instance = TogaiClient::AccountsApi.new
|
110
110
|
customer_id = 'customer_id_example' # String |
|
111
111
|
account_id = 'account_id_example' # String |
|
112
|
-
associate_price_plan_request = TogaiClient::AssociatePricePlanRequest.new({price_plan_name: 'price_plan_name_example'}) # AssociatePricePlanRequest | Payload to associate a price plan to an account
|
112
|
+
associate_price_plan_request = TogaiClient::AssociatePricePlanRequest.new({price_plan_name: 'price_plan_name_example', effective_from: Date.today, effective_until: Date.today}) # AssociatePricePlanRequest | Payload to associate a price plan to an account
|
113
113
|
|
114
114
|
begin
|
115
115
|
# Associate a plan to an account
|
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **price_plan_name** | **String** | Name of the price plan | |
|
8
|
-
| **effective_from** | **Date** | Date of effectiveness of the association. - Expected only if the account already has a price plan associated with it. |
|
9
|
-
| **effective_until** | **Date** | Date until which the association must be effective. - Expected only if effectiveFrom is present. |
|
10
|
-
| **
|
8
|
+
| **effective_from** | **Date** | Date of effectiveness of the association. - Expected only if the account already has a price plan associated with it. | |
|
9
|
+
| **effective_until** | **Date** | Date until which the association must be effective. - Expected only if effectiveFrom is present. | |
|
10
|
+
| **price_plan_details_override** | [**PricePlanDetailsOverride**](PricePlanDetailsOverride.md) | | [optional] |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -18,7 +18,7 @@ instance = TogaiClient::AssociatePricePlanRequest.new(
|
|
18
18
|
price_plan_name: null,
|
19
19
|
effective_from: null,
|
20
20
|
effective_until: null,
|
21
|
-
|
21
|
+
price_plan_details_override: null
|
22
22
|
)
|
23
23
|
```
|
24
24
|
|
data/docs/Bundle.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# TogaiClient::Bundle
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **display_name** | **String** | | |
|
8
|
+
| **order** | **Integer** | | |
|
9
|
+
| **rate_configs** | [**Array<RateConfigBundle>**](RateConfigBundle.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'togai_client'
|
15
|
+
|
16
|
+
instance = TogaiClient::Bundle.new(
|
17
|
+
display_name: null,
|
18
|
+
order: null,
|
19
|
+
rate_configs: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -6,8 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | Name of the price plan | |
|
8
8
|
| **description** | **String** | Description of price plan | [optional] |
|
9
|
-
| **
|
10
|
-
| **rate_card** | [**RateCard**](RateCard.md) | | |
|
9
|
+
| **price_plan_details** | [**PricePlanDetails**](PricePlanDetails.md) | | |
|
11
10
|
|
12
11
|
## Example
|
13
12
|
|
@@ -17,8 +16,7 @@ require 'togai_client'
|
|
17
16
|
instance = TogaiClient::CreatePricePlanRequest.new(
|
18
17
|
name: null,
|
19
18
|
description: null,
|
20
|
-
|
21
|
-
rate_card: null
|
19
|
+
price_plan_details: null
|
22
20
|
)
|
23
21
|
```
|
24
22
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | | |
|
8
8
|
| **id** | **String** | | |
|
9
|
+
| **schedule_id** | **String** | | |
|
9
10
|
| **cycle_start** | **Date** | | |
|
10
11
|
| **cycle_end** | **Date** | | |
|
11
12
|
| **usage_meters** | **Array<String>** | | [optional] |
|
@@ -18,6 +19,7 @@ require 'togai_client'
|
|
18
19
|
instance = TogaiClient::EventPipelineInfoPricePlansInner.new(
|
19
20
|
name: null,
|
20
21
|
id: null,
|
22
|
+
schedule_id: null,
|
21
23
|
cycle_start: null,
|
22
24
|
cycle_end: null,
|
23
25
|
usage_meters: null
|
data/docs/EventSchemaListData.md
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
| **dimensions** | [**Array<DimensionsSchema>**](DimensionsSchema.md) | | [optional] |
|
13
13
|
| **created_at** | **Time** | | [optional] |
|
14
14
|
| **updated_at** | **Time** | | [optional] |
|
15
|
-
| **
|
15
|
+
| **usage_meters_count** | **Integer** | | [optional] |
|
16
16
|
|
17
17
|
## Example
|
18
18
|
|
@@ -28,7 +28,7 @@ instance = TogaiClient::EventSchemaListData.new(
|
|
28
28
|
dimensions: null,
|
29
29
|
created_at: null,
|
30
30
|
updated_at: null,
|
31
|
-
|
31
|
+
usage_meters_count: null
|
32
32
|
)
|
33
33
|
```
|
34
34
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **usage_meters_count** | **Integer** | | [optional] |
|
8
8
|
|
9
9
|
## Example
|
10
10
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
require 'togai_client'
|
13
13
|
|
14
14
|
instance = TogaiClient::EventSchemaListDataAllOf.new(
|
15
|
-
|
15
|
+
usage_meters_count: null
|
16
16
|
)
|
17
17
|
```
|
18
18
|
|
data/docs/GetEventResponse.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **events** | [**Array<EventWithStatusAndEventPipelineInfo>**](EventWithStatusAndEventPipelineInfo.md) | |
|
7
|
+
| **events** | [**Array<EventWithStatusAndEventPipelineInfo>**](EventWithStatusAndEventPipelineInfo.md) | | |
|
8
8
|
|
9
9
|
## Example
|
10
10
|
|
data/docs/PlanOverride.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **price_plan_name** | **String** | | |
|
8
|
-
| **
|
8
|
+
| **price_plan_details_override** | [**PricePlanDetailsOverride**](PricePlanDetailsOverride.md) | | [optional] |
|
9
9
|
| **start_date** | **Time** | | |
|
10
10
|
| **end_date** | **Time** | | |
|
11
11
|
|
@@ -16,7 +16,7 @@ require 'togai_client'
|
|
16
16
|
|
17
17
|
instance = TogaiClient::PlanOverride.new(
|
18
18
|
price_plan_name: null,
|
19
|
-
|
19
|
+
price_plan_details_override: null,
|
20
20
|
start_date: null,
|
21
21
|
end_date: null
|
22
22
|
)
|
data/docs/PricePlan.md
CHANGED
@@ -7,7 +7,6 @@
|
|
7
7
|
| **name** | **String** | Name of the price plan | |
|
8
8
|
| **description** | **String** | Description of price plan | [optional] |
|
9
9
|
| **status** | **String** | Status of Price plan | |
|
10
|
-
| **pricing_cycle** | [**PricingCycle**](PricingCycle.md) | | |
|
11
10
|
| **pricing_schedule** | [**Array<PricingSchedule>**](PricingSchedule.md) | | |
|
12
11
|
|
13
12
|
## Example
|
@@ -19,7 +18,6 @@ instance = TogaiClient::PricePlan.new(
|
|
19
18
|
name: null,
|
20
19
|
description: null,
|
21
20
|
status: null,
|
22
|
-
pricing_cycle: null,
|
23
21
|
pricing_schedule: null
|
24
22
|
)
|
25
23
|
```
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# TogaiClient::PricePlanDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **pricing_cycle_config** | [**PricingCycleConfig**](PricingCycleConfig.md) | | |
|
8
|
+
| **rate_cards** | [**Array<RateCard>**](RateCard.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'togai_client'
|
14
|
+
|
15
|
+
instance = TogaiClient::PricePlanDetails.new(
|
16
|
+
pricing_cycle_config: null,
|
17
|
+
rate_cards: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# TogaiClient::PricePlanDetailsOverride
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **pricing_cycle_config** | [**PricingCycleConfig**](PricingCycleConfig.md) | | [optional] |
|
8
|
+
| **rate_cards** | [**Array<RateCard>**](RateCard.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'togai_client'
|
14
|
+
|
15
|
+
instance = TogaiClient::PricePlanDetailsOverride.new(
|
16
|
+
pricing_cycle_config: null,
|
17
|
+
rate_cards: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/PricePlanListData.md
CHANGED
@@ -7,9 +7,8 @@
|
|
7
7
|
| **name** | **String** | Name of the price plan | |
|
8
8
|
| **description** | **String** | Description of price plan | [optional] |
|
9
9
|
| **status** | **String** | Status of Price plan | |
|
10
|
-
| **pricing_cycle** | [**PricingCycle**](PricingCycle.md) | | |
|
11
10
|
| **usage_meters** | **Array<String>** | Usage meters name linked to the price plan | |
|
12
|
-
| **
|
11
|
+
| **price_plan_details** | [**PricePlanDetails**](PricePlanDetails.md) | | |
|
13
12
|
| **created_at** | **Time** | | |
|
14
13
|
| **updated_at** | **Time** | | |
|
15
14
|
|
@@ -22,9 +21,8 @@ instance = TogaiClient::PricePlanListData.new(
|
|
22
21
|
name: null,
|
23
22
|
description: null,
|
24
23
|
status: null,
|
25
|
-
pricing_cycle: null,
|
26
24
|
usage_meters: null,
|
27
|
-
|
25
|
+
price_plan_details: null,
|
28
26
|
created_at: null,
|
29
27
|
updated_at: null
|
30
28
|
)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **data** | [**Array<PricePlanListData>**](PricePlanListData.md) | |
|
7
|
+
| **data** | [**Array<PricePlanListData>**](PricePlanListData.md) | | |
|
8
8
|
| **next_token** | **String** | | [optional] |
|
9
9
|
| **context** | [**PaginationOptions**](PaginationOptions.md) | | [optional] |
|
10
10
|
|
data/docs/PricePlansApi.md
CHANGED
@@ -100,7 +100,7 @@ TogaiClient.configure do |config|
|
|
100
100
|
end
|
101
101
|
|
102
102
|
api_instance = TogaiClient::PricePlansApi.new
|
103
|
-
create_price_plan_request = TogaiClient::CreatePricePlanRequest.new({name: 'name_example',
|
103
|
+
create_price_plan_request = TogaiClient::CreatePricePlanRequest.new({name: 'name_example', price_plan_details: TogaiClient::PricePlanDetails.new({pricing_cycle_config: TogaiClient::PricingCycleConfig.new({interval: 'MONTHLY', start_type: 'STATIC', start_offset: TogaiClient::PricingCycleConfigStartOffset.new({day_offset: 'day_offset_example', month_offset: 'month_offset_example'}), grace_period: 3}), rate_cards: [TogaiClient::RateCard.new({display_name: 'display_name_example', pricing_model: TogaiClient::PricingModel::TIERED, rate_config: TogaiClient::RateConfigUsage.new({usage_meter_name: 'usage_meter_name_example', slabs: [TogaiClient::SlabUsage.new({rate: 3.56, start_after: 3.56, price_type: TogaiClient::PriceType::FLAT, order: 37})]})})]})}) # CreatePricePlanRequest | Payload to create price plan
|
104
104
|
|
105
105
|
begin
|
106
106
|
# Create a price plan
|
data/docs/PriceType.md
ADDED
@@ -1,4 +1,4 @@
|
|
1
|
-
# TogaiClient::
|
1
|
+
# TogaiClient::PricingCycleConfig
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **interval** | **String** | | |
|
8
8
|
| **start_type** | **String** | | |
|
9
|
-
| **start_offset** | [**
|
9
|
+
| **start_offset** | [**PricingCycleConfigStartOffset**](PricingCycleConfigStartOffset.md) | | |
|
10
10
|
| **grace_period** | **Integer** | | |
|
11
11
|
|
12
12
|
## Example
|
@@ -14,7 +14,7 @@
|
|
14
14
|
```ruby
|
15
15
|
require 'togai_client'
|
16
16
|
|
17
|
-
instance = TogaiClient::
|
17
|
+
instance = TogaiClient::PricingCycleConfig.new(
|
18
18
|
interval: null,
|
19
19
|
start_type: null,
|
20
20
|
start_offset: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# TogaiClient::
|
1
|
+
# TogaiClient::PricingCycleConfigStartOffset
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'togai_client'
|
14
14
|
|
15
|
-
instance = TogaiClient::
|
15
|
+
instance = TogaiClient::PricingCycleConfigStartOffset.new(
|
16
16
|
day_offset: null,
|
17
17
|
month_offset: null
|
18
18
|
)
|
data/docs/PricingSchedule.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **price_plan_details** | [**PricePlanDetails**](PricePlanDetails.md) | | [optional] |
|
8
8
|
| **start_date** | **Time** | | |
|
9
9
|
| **end_date** | **Time** | | |
|
10
10
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
require 'togai_client'
|
15
15
|
|
16
16
|
instance = TogaiClient::PricingSchedule.new(
|
17
|
-
|
17
|
+
price_plan_details: null,
|
18
18
|
start_date: null,
|
19
19
|
end_date: null
|
20
20
|
)
|
data/docs/RateCard.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
7
|
+
| **display_name** | **String** | | |
|
8
|
+
| **pricing_model** | [**PricingModel**](PricingModel.md) | | |
|
9
|
+
| **rate_config** | [**RateConfigUsage**](RateConfigUsage.md) | | |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
@@ -14,9 +14,9 @@
|
|
14
14
|
require 'togai_client'
|
15
15
|
|
16
16
|
instance = TogaiClient::RateCard.new(
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
display_name: null,
|
18
|
+
pricing_model: null,
|
19
|
+
rate_config: null
|
20
20
|
)
|
21
21
|
```
|
22
22
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# TogaiClient::RateCardBundleAggregation
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'togai_client'
|
12
|
+
|
13
|
+
instance = TogaiClient::RateCardBundleAggregation.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# TogaiClient::RateConfigBundle
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **usage_meter_name** | **String** | | |
|
8
|
+
| **slab** | [**SlabBundle**](SlabBundle.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'togai_client'
|
14
|
+
|
15
|
+
instance = TogaiClient::RateConfigBundle.new(
|
16
|
+
usage_meter_name: null,
|
17
|
+
slab: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# TogaiClient::RateConfigUsage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **usage_meter_name** | **String** | | |
|
8
|
+
| **slabs** | [**Array<SlabUsage>**](SlabUsage.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'togai_client'
|
14
|
+
|
15
|
+
instance = TogaiClient::RateConfigUsage.new(
|
16
|
+
usage_meter_name: null,
|
17
|
+
slabs: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/SlabBundle.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# TogaiClient::SlabBundle
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **rate** | **Float** | | |
|
8
|
+
| **start_after** | **Float** | | |
|
9
|
+
| **price_type** | [**PriceType**](PriceType.md) | | |
|
10
|
+
| **config** | **Hash<String, String>** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'togai_client'
|
16
|
+
|
17
|
+
instance = TogaiClient::SlabBundle.new(
|
18
|
+
rate: null,
|
19
|
+
start_after: null,
|
20
|
+
price_type: null,
|
21
|
+
config: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# TogaiClient::
|
1
|
+
# TogaiClient::SlabUsage
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,6 +6,8 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **rate** | **Float** | | |
|
8
8
|
| **start_after** | **Float** | | |
|
9
|
+
| **price_type** | [**PriceType**](PriceType.md) | | |
|
10
|
+
| **config** | **Hash<String, String>** | | [optional] |
|
9
11
|
| **order** | **Integer** | | |
|
10
12
|
|
11
13
|
## Example
|
@@ -13,9 +15,11 @@
|
|
13
15
|
```ruby
|
14
16
|
require 'togai_client'
|
15
17
|
|
16
|
-
instance = TogaiClient::
|
18
|
+
instance = TogaiClient::SlabUsage.new(
|
17
19
|
rate: null,
|
18
20
|
start_after: null,
|
21
|
+
price_type: null,
|
22
|
+
config: null,
|
19
23
|
order: null
|
20
24
|
)
|
21
25
|
```
|
@@ -5,8 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **description** | **String** | Description of price plan | [optional] |
|
8
|
-
| **
|
9
|
-
| **rate_card** | [**RateCard**](RateCard.md) | | [optional] |
|
8
|
+
| **price_plan_details** | [**PricePlanDetailsOverride**](PricePlanDetailsOverride.md) | | [optional] |
|
10
9
|
|
11
10
|
## Example
|
12
11
|
|
@@ -15,8 +14,7 @@ require 'togai_client'
|
|
15
14
|
|
16
15
|
instance = TogaiClient::UpdatePricePlanRequest.new(
|
17
16
|
description: null,
|
18
|
-
|
19
|
-
rate_card: null
|
17
|
+
price_plan_details: null
|
20
18
|
)
|
21
19
|
```
|
22
20
|
|