toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'apiproduct': ?apiproduct,
'apiproductId': apiproductId,
'billingPeriod': ?pulumi.Input.mapOptionalInputValue<RatePlanBillingPeriod, String>(billingPeriod, (value) => value.wireValue),
'consumptionPricingRates': ?pulumi.Input.mapOptionalInputValue<List<GoogleCloudApigeeV1RateRange>, List<Map<String, dynamic>>>(consumptionPricingRates, (value) => pulumi.Input.encodeList<GoogleCloudApigeeV1RateRange, Map<String, dynamic>>(value, (value) => value.toMap())),
'consumptionPricingType': ?pulumi.Input.mapOptionalInputValue<RatePlanConsumptionPricingType, String>(consumptionPricingType, (value) => value.wireValue),
'currencyCode': ?currencyCode,
'description': ?description,
'displayName': ?displayName,
'endTime': ?endTime,
'fixedFeeFrequency': ?fixedFeeFrequency,
'fixedRecurringFee': ?pulumi.Input.mapOptionalInputValue<GoogleTypeMoney, Map<String, dynamic>>(fixedRecurringFee, (value) => value.toMap()),
'organizationId': organizationId,
'paymentFundingModel': ?pulumi.Input.mapOptionalInputValue<RatePlanPaymentFundingModel, String>(paymentFundingModel, (value) => value.wireValue),
'revenueShareRates': ?pulumi.Input.mapOptionalInputValue<List<GoogleCloudApigeeV1RevenueShareRange>, List<Map<String, dynamic>>>(revenueShareRates, (value) => pulumi.Input.encodeList<GoogleCloudApigeeV1RevenueShareRange, Map<String, dynamic>>(value, (value) => value.toMap())),
'revenueShareType': ?pulumi.Input.mapOptionalInputValue<RatePlanRevenueShareType, String>(revenueShareType, (value) => value.wireValue),
'setupFee': ?pulumi.Input.mapOptionalInputValue<GoogleTypeMoney, Map<String, dynamic>>(setupFee, (value) => value.toMap()),
'startTime': ?startTime,
'state': ?pulumi.Input.mapOptionalInputValue<RatePlanState, String>(state, (value) => value.wireValue),
};
}