Exemplo n.º 1
0
 public GetCollectionCountResponse(bool error, HttpStatusCode code, bool cacheEnabled, CollectionKeyOptions keyOptions, int count, bool isSystem, string globallyUniqueId, string id, string name, int status, string statusString, int type, bool waitForSync) : base(new ApiResponse(error, code, null, null))
 {
     CacheEnabled     = cacheEnabled;
     KeyOptions       = keyOptions;
     Count            = count;
     IsSystem         = isSystem;
     GloballyUniqueId = globallyUniqueId;
     Id           = id;
     Name         = name;
     Status       = status;
     StatusString = statusString;
     Type         = type;
     WaitForSync  = waitForSync;
 }
 public PutCollectionPropertyResponse(string id, string name, bool waitForSync, long journalSize, int status, int type, bool isSystem, bool isVolatile, bool doCompact, CollectionKeyOptions keyOptions, string globallyUniqueId, bool error, HttpStatusCode code, string statusString, int indexBuckets) : base(new ApiResponse(error, code, null, null))
 {
     Id               = id;
     Name             = name;
     WaitForSync      = waitForSync;
     JournalSize      = journalSize;
     Status           = status;
     Type             = type;
     IsSystem         = isSystem;
     IsVolatile       = isVolatile;
     DoCompact        = doCompact;
     KeyOptions       = keyOptions;
     GloballyUniqueId = globallyUniqueId;
     StatusString     = statusString;
     IndexBuckets     = indexBuckets;
 }
 public GetCollectionRevisionResponse(bool error, HttpStatusCode code, bool waitForSync, int journalSize, bool isVolatile, bool isSystem, int indexBuckets, CollectionKeyOptions keyOptions, string globallyUniqueId, string statusString, string id, string revision, int status, int type, string name, bool doCompact) : base(new ApiResponse(error, code, null, null))
 {
     WaitForSync      = waitForSync;
     JournalSize      = journalSize;
     IsVolatile       = isVolatile;
     IsSystem         = isSystem;
     IndexBuckets     = indexBuckets;
     KeyOptions       = keyOptions;
     GloballyUniqueId = globallyUniqueId;
     StatusString     = statusString;
     Id        = id;
     Revision  = revision;
     Status    = status;
     Type      = type;
     Name      = name;
     DoCompact = doCompact;
 }
 public GetCollectionFiguresResponse(FiguresResult figures, CollectionKeyOptions keyOptions, string globallyUniqueId, string statusString, string id, int indexBuckets, bool error, HttpStatusCode code, int type, int status, int journalSize, bool isVolatile, string name, bool doCompact, bool isSystem, int count, bool waitForSync) : base(new ApiResponse(error, code, null, null))
 {
     Figures          = figures;
     KeyOptions       = keyOptions;
     GloballyUniqueId = globallyUniqueId;
     StatusString     = statusString;
     Id           = id;
     IndexBuckets = indexBuckets;
     Type         = type;
     Status       = status;
     JournalSize  = journalSize;
     IsVolatile   = isVolatile;
     Name         = name;
     DoCompact    = doCompact;
     IsSystem     = isSystem;
     Count        = count;
     WaitForSync  = waitForSync;
 }
Exemplo n.º 5
0
 public GetCollectionPropertiesResponse(bool waitForSync, bool doCompact, int journalSize, CollectionKeyOptions keyOptions, bool isVolatile, int?numberOfShards, string shardKeys, int?replicationFactor, string shardingStrategy, bool error, HttpStatusCode code, bool cacheEnabled, bool isSystem, string globallyUniqueId, string objectId, string id, string name, int status, string statusString, int type) : base(new ApiResponse(error, code, null, null))
 {
     WaitForSync       = waitForSync;
     DoCompact         = doCompact;
     JournalSize       = journalSize;
     KeyOptions        = keyOptions;
     IsVolatile        = isVolatile;
     NumberOfShards    = numberOfShards;
     ShardKeys         = shardKeys;
     ReplicationFactor = replicationFactor;
     ShardingStrategy  = shardingStrategy;
     CacheEnabled      = cacheEnabled;
     IsSystem          = isSystem;
     GloballyUniqueId  = globallyUniqueId;
     ObjectId          = objectId;
     Id           = id;
     Name         = name;
     Status       = status;
     StatusString = statusString;
     Type         = type;
 }