Show / Hide Table of Contents

Class NamespaceMetadata

NamespaceMetadata maps a namespace string to defaultS3CompartmentId and defaultSwiftCompartmentId values.

Inheritance
object
NamespaceMetadata
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 NamespaceMetadata

Properties

DefaultS3CompartmentId

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

If the field is set, specifies the default compartment assignment for the Amazon S3 Compatibility API.

Remarks

Required

DefaultSwiftCompartmentId

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

If the field is set, specifies the default compartment assignment for the Swift API.

Remarks

Required

Namespace

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

The Object Storage namespace to which the metadata belongs.

Remarks

Required

In this article
Back to top