DocumentDbModelFactory Class

Definition

Model factory for creating instances of Documentdb models. Use these factory methods to construct model instances in tests and scenarios where output-only properties (with init-only setters) need to be populated.

public static class DocumentDbModelFactory
type DocumentDbModelFactory = class
Public Class DocumentDbModelFactory
Inheritance
DocumentDbModelFactory

Methods

Name Description
CosmosDbAccount(String, String)

Creates a new instance of CosmosDbAccount(String, String).

CosmosDbAccountList(List<CosmosDbAccount>)

Creates a new instance of CosmosDbAccountList(List<CosmosDbAccount>).

CreateStoredProcedureInput(String, String)

Creates a new instance of CreateStoredProcedureInput(String, String).

CreateStoredProcedureResponse(String, String, String, Nullable<Int64>, String, String)

Creates a new instance of CreateStoredProcedureResponse(String, String, String, Nullable<Int64>, String, String).

DataWithSensitivityLabelInfo(String, List<SensitivityLabelMetadata>)

Creates a new instance of DataWithSensitivityLabelInfo(String, List<SensitivityLabelMetadata>).

GetCollectionsResponse(String, List<Nullable<JsonElement>>, Nullable<Int32>)

Creates a new instance of GetCollectionsResponse(String, List<Nullable<JsonElement>>, Nullable<Int32>).

GetDatabasesResponse(String, List<Nullable<JsonElement>>, Nullable<Int32>)

Creates a new instance of GetDatabasesResponse(String, List<Nullable<JsonElement>>, Nullable<Int32>).

GetDocumentResponse(List<DataWithSensitivityLabelInfo>)

Creates a new instance of GetDocumentResponse(List<DataWithSensitivityLabelInfo>).

GetDocumentsResponse(String, List<Nullable<JsonElement>>, List<DataWithSensitivityLabelInfo>)

Creates a new instance of GetDocumentsResponse(String, List<Nullable<JsonElement>>, List<DataWithSensitivityLabelInfo>).

GetStoredProceduresResponse(Nullable<Int32>, String, List<Nullable<JsonElement>>)

Creates a new instance of GetStoredProceduresResponse(Nullable<Int32>, String, List<Nullable<JsonElement>>).

PostDocumentsResponse(String, Nullable<Int64>, String, String, String, String)

Creates a new instance of PostDocumentsResponse(String, Nullable<Int64>, String, String, String, String).

PutDocumentResponse(String, String)

Creates a new instance of PutDocumentResponse(String, String).

QueryDocumentsResponse(List<ObjectWithoutType>, String, Nullable<Int32>, Nullable<Double>, String, String, List<DataWithSensitivityLabelInfo>, Nullable<JsonElement>)

Creates a new instance of QueryDocumentsResponse(List<ObjectWithoutType>, String, Nullable<Int32>, Nullable<Double>, String, String, List<DataWithSensitivityLabelInfo>, Nullable<JsonElement>).

ReplaceStoredProcedureInput(String, String)

Creates a new instance of ReplaceStoredProcedureInput(String, String).

SensitivityLabelMetadata(String, String, String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String)

Creates a new instance of SensitivityLabelMetadata(String, String, String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String).

Applies to