Class CollectionSpec
Inheritance
CollectionSpec
Assembly: Couchbase.NetClient.dll
Syntax
public class CollectionSpec : IEquatable<CollectionSpec>
Constructors
View Source
CollectionSpec(string, string)
Declaration
public CollectionSpec(string scopeName, string name)
Parameters
Properties
View Source
History
Whether history retention override is enabled on this collection. If not set will default to bucket level setting.
Declaration
public bool? History { get; init; }
Property Value
View Source
MaxExpiry
MaxExpiry is the time in seconds for the TTL for new documents in the collection. It will be infinite if not set.
Declaration
[InterfaceStability(Level.Volatile)]
public TimeSpan? MaxExpiry { get; set; }
Property Value
View Source
Name
Declaration
public string Name { get; }
Property Value
View Source
ScopeName
Declaration
public string ScopeName { get; }
Property Value
Methods
View Source
Equals(CollectionSpec)
Declaration
public bool Equals(CollectionSpec other)
Parameters
Returns
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
View Source
operator ==(CollectionSpec, CollectionSpec)
Declaration
public static bool operator ==(CollectionSpec left, CollectionSpec right)
Parameters
Returns
View Source
operator !=(CollectionSpec, CollectionSpec)
Declaration
public static bool operator !=(CollectionSpec left, CollectionSpec right)
Parameters
Returns
Implements