Show / Hide Table of Contents

Class CreateAcceptedAgreementDetails

The model for the parameters needed to accept a terms of use agreement.

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

Properties

AgreementId

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

The agreement to accept.

Remarks

Required

CompartmentId

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

The unique identifier for the compartment where the agreement will be accepted.

Remarks

Required

DefinedTags

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

The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

DisplayName

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

A display name for the accepted agreement.

FreeformTags

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

The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

ListingId

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

The unique identifier for the listing associated with the agreement.

Remarks

Required

PackageVersion

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

The package version associated with the agreement.

Remarks

Required

Signature

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

A signature generated for the listing package agreements that you can retrieve with GetAgreement.

Remarks

Required

In this article
Back to top