Class PackageSummary
Summary of Package
object.
Inherited Members
Namespace: Oci.OdaService.Models
Assembly: OCI.DotNetSDK.Oda.dll
Syntax
public class PackageSummary
Properties
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description of the package. |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name for the package (displayed in UI and user-facing applications). |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type, or scope. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique immutable identifier that was assigned when the Package was registered. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of package. |
Remarks
Required
PublisherId
Declaration
[Required(ErrorMessage = "PublisherId is required.")]
[JsonProperty(PropertyName = "publisherId")]
public string PublisherId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the publisher providing the package. |
Remarks
Required
PublisherMetadata
Declaration
[Required(ErrorMessage = "PublisherMetadata is required.")]
[JsonProperty(PropertyName = "publisherMetadata")]
public List<MetadataProperty> PublisherMetadata { get; set; }
Property Value
Type | Description |
---|---|
List<MetadataProperty> | A map of metadata key/value pairs that further describes the publisher and the platform in which the package might be used. |
Remarks
Required
ResourceTypes
Declaration
[Required(ErrorMessage = "ResourceTypes is required.")]
[JsonProperty(PropertyName = "resourceTypes")]
public List<string> ResourceTypes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of resource types describing the content of the package. |
Remarks
Required
ResourceTypesMetadata
Declaration
[Required(ErrorMessage = "ResourceTypesMetadata is required.")]
[JsonProperty(PropertyName = "resourceTypesMetadata")]
public List<ResourceTypeMetadata> ResourceTypesMetadata { get; set; }
Property Value
Type | Description |
---|---|
List<ResourceTypeMetadata> | A map of resource type to metadata key/value map that further describes the content for the resource types in this package.. Keys are resource type names, values are a map of name/value pairs per resource type. |
Remarks
Required
TimePublished
Declaration
[Required(ErrorMessage = "TimePublished is required.")]
[JsonProperty(PropertyName = "timePublished")]
public DateTime? TimePublished { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | When the package was last published. A date-time string as described in RFC 3339, section 14.29. |
Remarks
Required
Version
Declaration
[Required(ErrorMessage = "Version is required.")]
[JsonProperty(PropertyName = "version")]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
string | Version of the package. |
Remarks
Required