Show / Hide Table of Contents

Class RenameObjectDetails

To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.

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

Properties

NewName

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

The new name of the source object. Avoid entering confidential information.

Remarks

Required

NewObjIfMatchETag

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

The if-match entity tag (ETag) of the new object.

NewObjIfNoneMatchETag

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

The if-none-match entity tag (ETag) of the new object. The only valid value is '*', which indicates request should fail if the new object already exists.

SourceName

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

The name of the source object to be renamed.

Remarks

Required

SrcObjIfMatchETag

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

The if-match entity tag (ETag) of the source object.

In this article
Back to top