Class Product
The model for the product details.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class Product
Properties
Code
Declaration
[Required(ErrorMessage = "Code is required.")]
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
Property Value
Type | Description |
---|---|
string | The code for the product. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Product.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Product.LifecycleStateEnum? | The current state for the product. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name for the product. |
Remarks
Required
ProductGroup
Declaration
[Required(ErrorMessage = "ProductGroup is required.")]
[JsonProperty(PropertyName = "productGroup")]
public string ProductGroup { get; set; }
Property Value
Type | Description |
---|---|
string | The product group for the product. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the product was created, in the format defined by RFC3339.
|
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the product was updated, in the format defined by RFC3339.
|
Remarks
Required