Show / Hide Table of Contents

Class PartnerSubscription

These api for partner to communicate to OCI.

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

Properties

AdditionalDetails

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

Additional details that are specific for this subscription such as activation details.

DisplayName

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

The subscription name. Must be unique within the compartment. This value can be updated.

IsAutoRenew

Declaration
[JsonProperty(PropertyName = "isAutoRenew")]
public bool? IsAutoRenew { get; set; }
Property Value
Type Description
bool?

Whether subscription should be auto-renewed at the end of cycle.

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleDetailsEnum? LifecycleDetails { get; set; }
Property Value
Type Description
LifecycleDetailsEnum?

A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
LifecycleStateEnum?

The current state of the Subscription.

PricingPlan

Declaration
[JsonProperty(PropertyName = "pricingPlan")]
public PricingPlan PricingPlan { get; set; }
Property Value
Type Description
PricingPlan

ProductId

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

The unique OCID of the product, effectively functioning as the listing ID.

SourceType

Declaration
[JsonProperty(PropertyName = "sourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SourceType? SourceType { get; set; }
Property Value
Type Description
SourceType?

The type of seller in SELF Service.

SubscriptionId

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

The unique identifier of the Subscription.

Remarks

Required

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the Subscription was created, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z

TimeEnded

Declaration
[JsonProperty(PropertyName = "timeEnded")]
public DateTime? TimeEnded { get; set; }
Property Value
Type Description
DateTime?

The date and time the Subscription was ended, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z

TimeStarted

Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type Description
DateTime?

The date and time the Subscription was started, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the Subscription was updated, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z

In this article
Back to top