Show / Hide Table of Contents

Class GetGenericArtifactContentByPathRequest

Inheritance
object
GetGenericArtifactContentByPathRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenericartifactscontentService.Requests
Assembly: OCI.DotNetSDK.Genericartifactscontent.dll
Syntax
public class GetGenericArtifactContentByPathRequest : IOciRequest
Examples

Click here to see an example of how to use GetGenericArtifactContentByPath request.

Properties

ArtifactPath

Declaration
[Required(ErrorMessage = "ArtifactPath is required.")]
[HttpConverter(TargetEnum.Path, "artifactPath")]
public string ArtifactPath { get; set; }
Property Value
Type Description
string

A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
Example: project01/my-web-app/artifact-abc

Remarks

Required

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle-assigned request ID
Example: bxxxxxxx-fxxx-4xxx-9xxx-bxxxxxxxxxxxIf you contact Oracle about a request, provide this request ID.

RepositoryId

Declaration
[Required(ErrorMessage = "RepositoryId is required.")]
[HttpConverter(TargetEnum.Path, "repositoryId")]
public string RepositoryId { get; set; }
Property Value
Type Description
string

The OCID of the repository.
Example: ocid1.repository.oc1..exampleuniqueID

Remarks

Required

Version

Declaration
[Required(ErrorMessage = "Version is required.")]
[HttpConverter(TargetEnum.Path, "version")]
public string Version { get; set; }
Property Value
Type Description
string

A user-defined string to describe the artifact version.
Example: 1.1.2 or 1.2-beta-2

Remarks

Required

Implements

IOciRequest
In this article
Back to top