Class PutGenericArtifactContentByPathRequest
Implements
Inherited Members
Namespace: Oci.GenericartifactscontentService.Requests
Assembly: OCI.DotNetSDK.Genericartifactscontent.dll
Syntax
public class PutGenericArtifactContentByPathRequest : IOciRequest
  Examples
Click here to see an example of how to use PutGenericArtifactContentByPath 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.
  | 
      
Remarks
Required
GenericArtifactContentBody
Declaration
[Required(ErrorMessage = "GenericArtifactContentBody is required.")]
[HttpConverter(TargetEnum.Body)]
public Stream GenericArtifactContentBody { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Stream | Uploads an artifact. Provide artifact path, version and content. Avoid entering confidential information when you define the path and version.  | 
      
Remarks
Required
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the   | 
      
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Unique Oracle-assigned 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.
  | 
      
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.
  | 
      
Remarks
Required