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
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(StringEnumConverter))]
public ListingPart.MetricTypeEnum? MetricType { get; set; }
Property Value
Type | Description |
---|---|
ListingPart.MetricTypeEnum? | The part's metric. |
Remarks
Required
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