Show / Hide Table of Contents

Class UsageDimension

Usage dimension for usage-based or hybrid SaaS pricing.

Inheritance
object
UsageDimension
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class UsageDimension

Properties

AdditionalDetails

Declaration
[JsonProperty(PropertyName = "additionalDetails")]
public Dictionary<string, string> AdditionalDetails { get; set; }
Property Value
Type Description
Dictionary<string, string>

Additional metadata key/value pairs for the dimension.

DimensionBillingFrequency

Declaration
[Required(ErrorMessage = "DimensionBillingFrequency is required.")]
[JsonProperty(PropertyName = "dimensionBillingFrequency")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UsageDimension.DimensionBillingFrequencyEnum? DimensionBillingFrequency { get; set; }
Property Value
Type Description
UsageDimension.DimensionBillingFrequencyEnum?

Billing frequency used for the dimension.

Remarks

Required

DimensionDescription

Declaration
[Required(ErrorMessage = "DimensionDescription is required.")]
[JsonProperty(PropertyName = "dimensionDescription")]
public string DimensionDescription { get; set; }
Property Value
Type Description
string

The dimension description.

Remarks

Required

DimensionKey

Declaration
[JsonProperty(PropertyName = "dimensionKey")]
public string DimensionKey { get; set; }
Property Value
Type Description
string

Server-generated unique identifier for the usage dimension. If omitted in the request, it is generated automatically.

DimensionName

Declaration
[Required(ErrorMessage = "DimensionName is required.")]
[JsonProperty(PropertyName = "dimensionName")]
public string DimensionName { get; set; }
Property Value
Type Description
string

The dimension name.

Remarks

Required

IncludedQuantity

Declaration
[JsonProperty(PropertyName = "includedQuantity")]
public float? IncludedQuantity { get; set; }
Property Value
Type Description
float?

Included quantity before overage rates apply.

MetricType

Declaration
[Required(ErrorMessage = "MetricType is required.")]
[JsonProperty(PropertyName = "metricType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MetricType? MetricType { get; set; }
Property Value
Type Description
MetricType?

The metric type used to measure usage for the dimension.

Remarks

Required

Rates

Declaration
[Required(ErrorMessage = "Rates is required.")]
[JsonProperty(PropertyName = "rates")]
public List<PricingRate> Rates { get; set; }
Property Value
Type Description
List<PricingRate>

List of pricing rates provider by publisher for the dimension.

Remarks

Required

In this article
Back to top