Class ListingPart
A listing SKUs and meter information attached by marketplace admin.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class ListingPart
Properties
BillingModel
Declaration
[JsonProperty(PropertyName = "billingModel")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ListingPart.BillingModelEnum? BillingModel { get; set; }
Property Value
| Type | Description |
|---|---|
| ListingPart.BillingModelEnum? | The billing model for SaaS paid listing parts. |
HasGovSku
Declaration
[Required(ErrorMessage = "HasGovSku is required.")]
[JsonProperty(PropertyName = "hasGovSku")]
public bool? HasGovSku { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Identifies whether part has Gov SKU. |
Remarks
Required
Meters
Declaration
[Required(ErrorMessage = "Meters is required.")]
[JsonProperty(PropertyName = "meters")]
public List<ListingMeter> Meters { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ListingMeter> | List of meters associated with the part. |
Remarks
Required
MetricType
Declaration
[Required(ErrorMessage = "MetricType is required.")]
[JsonProperty(PropertyName = "metricType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MetricType? MetricType { get; set; }
Property Value
| Type | Description |
|---|---|
| MetricType? | The part's metric. |
Remarks
Required
PricingPlanKey
Declaration
[JsonProperty(PropertyName = "pricingPlanKey")]
public string PricingPlanKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Unique identifier of the pricing plan. |
RateAllocation
Declaration
[Required(ErrorMessage = "RateAllocation is required.")]
[JsonProperty(PropertyName = "rateAllocation")]
public float? RateAllocation { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | rate allocation, these are calculated based on rate information at listing revision. |
Remarks
Required
Sku
Declaration
[Required(ErrorMessage = "Sku is required.")]
[JsonProperty(PropertyName = "sku")]
public string Sku { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The SKU/part name. |
Remarks
Required