├── sdk
├── .swagger-codegen
│ └── VERSION
├── src
│ └── DocuSign.Maestro
│ │ ├── icon.png
│ │ ├── DocuSignClient.snk
│ │ ├── Client
│ │ ├── ExceptionFactory.cs
│ │ ├── IHttpClient.cs
│ │ ├── GlobalConfiguration.cs
│ │ ├── SwaggerDateConverter.cs
│ │ ├── IApiAccessor.cs
│ │ ├── ApiResponse.cs
│ │ ├── DocuSignResponse.cs
│ │ ├── ApiClient.cs
│ │ ├── IReadableConfiguration.cs
│ │ ├── ApiException.cs
│ │ └── DocuSignRequest.cs
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ ├── Model
│ │ ├── DSWorkflowStepTypesDSIdv.cs
│ │ ├── DSWorkflowStepTypesLoop.cs
│ │ ├── DSWorkflowStepTypesDSSign.cs
│ │ ├── DSWorkflowStepTypesDSDocGen.cs
│ │ ├── DSWorkflowStepTypesDSIfElse.cs
│ │ ├── DSWorkflowStepTypesDoUntil.cs
│ │ ├── DSWorkflowVariableSourceTypesStep.cs
│ │ ├── DSWorkflowStepTypesParallel.cs
│ │ ├── DSWorkflowStepTypesDSWebForms.cs
│ │ ├── DSWorkflowVariableSourceTypesVariable.cs
│ │ ├── ESignDocumentTypesFromDSTemplate.cs
│ │ ├── DSWorkflowVariableSourceTypesParticipant.cs
│ │ ├── ESignDocumentTypesFromPreviousStep.cs
│ │ ├── DSWorkflowStepTypesDSTransformation.cs
│ │ ├── DSWorkflowExpressionTypesBooleanExpression.cs
│ │ ├── DSWorkflowExpressionTypesParallelExpression.cs
│ │ ├── DSWorkflowExpressionTypesComparisonExpression.cs
│ │ ├── DSWorkflowTransformationExpressionTypesConcatExpression.cs
│ │ ├── DSWorkflowTransformationExpressionTypesIndexOfExpression.cs
│ │ ├── DSWorkflowTransformationExpressionTypesReplaceExpression.cs
│ │ ├── DSWorkflowTransformationExpressionTypesToLowerExpression.cs
│ │ ├── DSWorkflowTransformationExpressionTypesToUpperExpression.cs
│ │ ├── DSWorkflowTransformationExpressionTypesSubstringExpression.cs
│ │ ├── DSWorkflowTransformationExpressionTypesLastIndexOfExpression.cs
│ │ ├── DSWorkflowLogicalOperatorTypes.cs
│ │ ├── DSWorkflowDocGenDocOutputFormat.cs
│ │ ├── DSWorkflowTriggerTypes.cs
│ │ ├── DeployStatus.cs
│ │ ├── AccessTokenTokenTypes.cs
│ │ ├── ParticipantKeys.cs
│ │ ├── HttpTypes.cs
│ │ ├── WorkflowStepHistoryState.cs
│ │ ├── WorkflowInstanceState.cs
│ │ ├── WorkflowMetadataStatus.cs
│ │ ├── DeploymentStatus.cs
│ │ ├── DSWorkflowComparisonOperatorTypes.cs
│ │ ├── ReplicationStatus.cs
│ │ ├── AccountId.cs
│ │ ├── TemplateId.cs
│ │ ├── RecordToNever.cs
│ │ ├── WorkflowCreatorId.cs
│ │ ├── WorkflowInstanceId.cs
│ │ ├── DSWorkflowVariable.cs
│ │ ├── ESignLocalePolicy.cs
│ │ ├── RecordStringBoolean.cs
│ │ ├── WorkflowInstanceMap.cs
│ │ ├── DSWorkflowLanesRecord.cs
│ │ ├── WorkflowInstancesList.cs
│ │ ├── DSWorkflowVariableRecord.cs
│ │ ├── WorkflowStepHistoryList.cs
│ │ ├── ESignDocuments.cs
│ │ ├── NumberOrVariable.cs
│ │ ├── DSServiceStep.cs
│ │ ├── DSWorkflowStep.cs
│ │ ├── DSWorkflowParticipantRecord.cs
│ │ ├── DSWorkflowVariableFromParticipant.cs
│ │ ├── RecordStringOrVariableOrTransformation.cs
│ │ ├── StringOrVariableOrTransformation.cs
│ │ ├── DSWorkflowTransformationExpression.cs
│ │ ├── ErrorCodes.cs
│ │ ├── SuccessMessageResponse.cs
│ │ ├── EventTypes.cs
│ │ ├── DSWebFormsStepConfig.cs
│ │ ├── DeployRequest.cs
│ │ ├── CreateOrUpdateWorkflowDefinitionRequestBody.cs
│ │ ├── ErrorResponse.cs
│ │ ├── WorkflowStepErrorError.cs
│ │ └── CancelResponse.cs
│ │ └── DocuSign.Maestro.csproj
└── DocuSign.Maestro.sln
├── LICENSE
└── CHANGELOG.md
/sdk/.swagger-codegen/VERSION:
--------------------------------------------------------------------------------
1 | 2.4.21
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/docusign/docusign-maestro-csharp-client/master/sdk/src/DocuSign.Maestro/icon.png
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/DocuSignClient.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/docusign/docusign-maestro-csharp-client/master/sdk/src/DocuSign.Maestro/DocuSignClient.snk
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/ExceptionFactory.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 |
12 | using System;
13 |
14 | namespace DocuSign.Maestro.Client
15 | {
16 | ///
17 | /// A delegate to ExceptionFactory method
18 | ///
19 | /// Method name
20 | /// Response
21 | /// Exceptions
22 | public delegate Exception ExceptionFactory(string methodName, DocuSignResponse response);
23 | }
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/IHttpClient.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System.Net;
12 | using System.Threading;
13 | using System.Threading.Tasks;
14 |
15 | namespace DocuSign.Maestro.Client
16 | {
17 | public interface IHttpClient
18 | {
19 | void AddDefaultRequestHeader(string header, string value);
20 |
21 | DocuSignResponse SendRequest(DocuSignRequest request);
22 |
23 | Task SendRequestAsync(DocuSignRequest request, CancellationToken cancellationToken);
24 | }
25 | }
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 |
8 | // Setting ComVisible to false makes the types in this assembly not visible
9 | // to COM components. If you need to access a type in this assembly from
10 | // COM, set the ComVisible attribute to true on that type.
11 | [assembly: ComVisible(false)]
12 |
13 | // Version information for an assembly consists of the following four values:
14 | //
15 | // Major Version
16 | // Minor Version
17 | // Build Number
18 | // Revision
19 | //
20 | // You can specify all the values or you can default the Build and Revision Numbers
21 | // by using the '*' as shown below:
22 | // [assembly: AssemblyVersion("1.0.*")]
23 | internal class AssemblyInformation
24 | {
25 | public const string AssemblyInformationalVersion = "2.0.0";
26 | }
--------------------------------------------------------------------------------
/sdk/DocuSign.Maestro.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 12.00
2 | # Visual Studio 2012
3 | VisualStudioVersion = 12.0.0.0
4 | MinimumVisualStudioVersion = 10.0.0.1
5 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocuSign.Maestro", "src\DocuSign.Maestro\DocuSign.Maestro.csproj", "{113DAF81-6E61-4F73-A693-62ABE704D7C1}"
6 | EndProject
7 | Global
8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
9 | Debug|Any CPU = Debug|Any CPU
10 | Release|Any CPU = Release|Any CPU
11 | EndGlobalSection
12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
13 | {113DAF81-6E61-4F73-A693-62ABE704D7C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14 | {113DAF81-6E61-4F73-A693-62ABE704D7C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
15 | {113DAF81-6E61-4F73-A693-62ABE704D7C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
16 | {113DAF81-6E61-4F73-A693-62ABE704D7C1}.Release|Any CPU.Build.0 = Release|Any CPU
17 | EndGlobalSection
18 | GlobalSection(SolutionProperties) = preSolution
19 | HideSolutionNode = FALSE
20 | EndGlobalSection
21 | EndGlobal
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Copyright (c) - Docusign, Inc. (https://www.docusign.com)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/GlobalConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 |
12 | using System;
13 | using System.Reflection;
14 | using System.Collections.Generic;
15 | using System.IO;
16 | using System.Linq;
17 | using System.Text;
18 | using System.Threading;
19 |
20 | namespace DocuSign.Maestro.Client
21 | {
22 | ///
23 | /// provides a compile-time extension point for globally configuring
24 | /// API Clients.
25 | ///
26 | ///
27 | /// A customized implementation via partial class may reside in another file and may
28 | /// be excluded from automatic generation via a .swagger-codegen-ignore file.
29 | ///
30 | public partial class GlobalConfiguration : Configuration
31 | {
32 |
33 | }
34 | }
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/SwaggerDateConverter.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using Newtonsoft.Json.Converters;
12 |
13 | namespace DocuSign.Maestro.Client
14 | {
15 | ///
16 | /// Formatter for 'date' swagger formats ss defined by full-date - RFC3339
17 | /// see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types
18 | ///
19 | public class SwaggerDateConverter : IsoDateTimeConverter
20 | {
21 | ///
22 | /// Initializes a new instance of the class.
23 | ///
24 | public SwaggerDateConverter()
25 | {
26 | // full-date = date-fullyear "-" date-month "-" date-mday
27 | DateTimeFormat = "yyyy-MM-dd";
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesDSIdv.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.DSIdv
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesDSIdv
31 | {
32 |
33 | ///
34 | /// Enum DSIDV for value: DS-IDV
35 | ///
36 | [EnumMember(Value = "DS-IDV")]
37 | DSIDV = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesLoop.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.Loop
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesLoop
31 | {
32 |
33 | ///
34 | /// Enum DSLoop for value: DS-Loop
35 | ///
36 | [EnumMember(Value = "DS-Loop")]
37 | DSLoop = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesDSSign.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.DSSign
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesDSSign
31 | {
32 |
33 | ///
34 | /// Enum DSSign for value: DS-Sign
35 | ///
36 | [EnumMember(Value = "DS-Sign")]
37 | DSSign = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesDSDocGen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.DSDocGen
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesDSDocGen
31 | {
32 |
33 | ///
34 | /// Enum DSDocGen for value: DS-DocGen
35 | ///
36 | [EnumMember(Value = "DS-DocGen")]
37 | DSDocGen = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesDSIfElse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.DSIfElse
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesDSIfElse
31 | {
32 |
33 | ///
34 | /// Enum DSIfElse for value: DS-IfElse
35 | ///
36 | [EnumMember(Value = "DS-IfElse")]
37 | DSIfElse = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesDoUntil.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.DoUntil
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesDoUntil
31 | {
32 |
33 | ///
34 | /// Enum DSDoUntil for value: DS-DoUntil
35 | ///
36 | [EnumMember(Value = "DS-DoUntil")]
37 | DSDoUntil = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowVariableSourceTypesStep.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowVariableSourceTypes.Step
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowVariableSourceTypesStep
31 | {
32 |
33 | ///
34 | /// Enum Step for value: step
35 | ///
36 | [EnumMember(Value = "step")]
37 | Step = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesParallel.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.Parallel
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesParallel
31 | {
32 |
33 | ///
34 | /// Enum DSParallel for value: DS-Parallel
35 | ///
36 | [EnumMember(Value = "DS-Parallel")]
37 | DSParallel = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesDSWebForms.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.DSWebForms
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesDSWebForms
31 | {
32 |
33 | ///
34 | /// Enum DSWebForms for value: DS-WebForms
35 | ///
36 | [EnumMember(Value = "DS-WebForms")]
37 | DSWebForms = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowVariableSourceTypesVariable.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowVariableSourceTypes.Variable
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowVariableSourceTypesVariable
31 | {
32 |
33 | ///
34 | /// Enum Variable for value: variable
35 | ///
36 | [EnumMember(Value = "variable")]
37 | Variable = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/ESignDocumentTypesFromDSTemplate.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines ESignDocumentTypes.FromDSTemplate
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum ESignDocumentTypesFromDSTemplate
31 | {
32 |
33 | ///
34 | /// Enum FromDSTemplate for value: FromDSTemplate
35 | ///
36 | [EnumMember(Value = "FromDSTemplate")]
37 | FromDSTemplate = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowVariableSourceTypesParticipant.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowVariableSourceTypes.Participant
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowVariableSourceTypesParticipant
31 | {
32 |
33 | ///
34 | /// Enum Participant for value: participant
35 | ///
36 | [EnumMember(Value = "participant")]
37 | Participant = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/ESignDocumentTypesFromPreviousStep.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines ESignDocumentTypes.FromPreviousStep
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum ESignDocumentTypesFromPreviousStep
31 | {
32 |
33 | ///
34 | /// Enum FromPreviousStep for value: FromPreviousStep
35 | ///
36 | [EnumMember(Value = "FromPreviousStep")]
37 | FromPreviousStep = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStepTypesDSTransformation.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowStepTypes.DSTransformation
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowStepTypesDSTransformation
31 | {
32 |
33 | ///
34 | /// Enum DSTransformation for value: DS-Transformation
35 | ///
36 | [EnumMember(Value = "DS-Transformation")]
37 | DSTransformation = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/IApiAccessor.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 |
12 | using System;
13 |
14 | namespace DocuSign.Maestro.Client
15 | {
16 | ///
17 | /// Represents configuration aspects required to interact with the API endpoints.
18 | ///
19 | public interface IApiAccessor
20 | {
21 | ///
22 | /// Gets or sets the ApiClient object
23 | ///
24 | /// An instance of the ApiClient
25 | DocuSignClient ApiClient {get; set;}
26 |
27 | ///
28 | /// Gets the base path of the API client.
29 | ///
30 | /// The base path
31 | String GetBasePath();
32 |
33 | ///
34 | /// Provides a factory method hook for the creation of exceptions.
35 | ///
36 | ExceptionFactory ExceptionFactory { get; set; }
37 | }
38 | }
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowExpressionTypesBooleanExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowExpressionTypes.BooleanExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowExpressionTypesBooleanExpression
31 | {
32 |
33 | ///
34 | /// Enum BooleanExpression for value: BooleanExpression
35 | ///
36 | [EnumMember(Value = "BooleanExpression")]
37 | BooleanExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowExpressionTypesParallelExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowExpressionTypes.ParallelExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowExpressionTypesParallelExpression
31 | {
32 |
33 | ///
34 | /// Enum ParallelExpression for value: ParallelExpression
35 | ///
36 | [EnumMember(Value = "ParallelExpression")]
37 | ParallelExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowExpressionTypesComparisonExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowExpressionTypes.ComparisonExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowExpressionTypesComparisonExpression
31 | {
32 |
33 | ///
34 | /// Enum ComparisonExpression for value: ComparisonExpression
35 | ///
36 | [EnumMember(Value = "ComparisonExpression")]
37 | ComparisonExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTransformationExpressionTypesConcatExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowTransformationExpressionTypes.ConcatExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowTransformationExpressionTypesConcatExpression
31 | {
32 |
33 | ///
34 | /// Enum ConcatExpression for value: ConcatExpression
35 | ///
36 | [EnumMember(Value = "ConcatExpression")]
37 | ConcatExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTransformationExpressionTypesIndexOfExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowTransformationExpressionTypes.IndexOfExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowTransformationExpressionTypesIndexOfExpression
31 | {
32 |
33 | ///
34 | /// Enum IndexOfExpression for value: IndexOfExpression
35 | ///
36 | [EnumMember(Value = "IndexOfExpression")]
37 | IndexOfExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTransformationExpressionTypesReplaceExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowTransformationExpressionTypes.ReplaceExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowTransformationExpressionTypesReplaceExpression
31 | {
32 |
33 | ///
34 | /// Enum ReplaceExpression for value: ReplaceExpression
35 | ///
36 | [EnumMember(Value = "ReplaceExpression")]
37 | ReplaceExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTransformationExpressionTypesToLowerExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowTransformationExpressionTypes.ToLowerExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowTransformationExpressionTypesToLowerExpression
31 | {
32 |
33 | ///
34 | /// Enum ToLowerExpression for value: ToLowerExpression
35 | ///
36 | [EnumMember(Value = "ToLowerExpression")]
37 | ToLowerExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTransformationExpressionTypesToUpperExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowTransformationExpressionTypes.ToUpperExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowTransformationExpressionTypesToUpperExpression
31 | {
32 |
33 | ///
34 | /// Enum ToUpperExpression for value: ToUpperExpression
35 | ///
36 | [EnumMember(Value = "ToUpperExpression")]
37 | ToUpperExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTransformationExpressionTypesSubstringExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowTransformationExpressionTypes.SubstringExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowTransformationExpressionTypesSubstringExpression
31 | {
32 |
33 | ///
34 | /// Enum SubstringExpression for value: SubstringExpression
35 | ///
36 | [EnumMember(Value = "SubstringExpression")]
37 | SubstringExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTransformationExpressionTypesLastIndexOfExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowTransformationExpressionTypes.LastIndexOfExpression
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowTransformationExpressionTypesLastIndexOfExpression
31 | {
32 |
33 | ///
34 | /// Enum LastIndexOfExpression for value: LastIndexOfExpression
35 | ///
36 | [EnumMember(Value = "LastIndexOfExpression")]
37 | LastIndexOfExpression = 1
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowLogicalOperatorTypes.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowLogicalOperatorTypes
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowLogicalOperatorTypes
31 | {
32 |
33 | ///
34 | /// Enum And for value: And
35 | ///
36 | [EnumMember(Value = "And")]
37 | And = 1,
38 |
39 | ///
40 | /// Enum Or for value: Or
41 | ///
42 | [EnumMember(Value = "Or")]
43 | Or = 2
44 | }
45 |
46 | }
47 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowDocGenDocOutputFormat.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowDocGenDocOutputFormat
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowDocGenDocOutputFormat
31 | {
32 |
33 | ///
34 | /// Enum Pdf for value: pdf
35 | ///
36 | [EnumMember(Value = "pdf")]
37 | Pdf = 1,
38 |
39 | ///
40 | /// Enum Docx for value: docx
41 | ///
42 | [EnumMember(Value = "docx")]
43 | Docx = 2
44 | }
45 |
46 | }
47 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTriggerTypes.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// The DS Workflow Trigger types
26 | ///
27 | /// The DS Workflow Trigger types
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum DSWorkflowTriggerTypes
32 | {
33 |
34 | ///
35 | /// Enum Http for value: Http
36 | ///
37 | [EnumMember(Value = "Http")]
38 | Http = 1,
39 |
40 | ///
41 | /// Enum HttpAPI for value: Http-API
42 | ///
43 | [EnumMember(Value = "Http-API")]
44 | HttpAPI = 2
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DeployStatus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DeployStatus
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DeployStatus
31 | {
32 |
33 | ///
34 | /// Enum Publish for value: Publish
35 | ///
36 | [EnumMember(Value = "Publish")]
37 | Publish = 1,
38 |
39 | ///
40 | /// Enum UnPublish for value: UnPublish
41 | ///
42 | [EnumMember(Value = "UnPublish")]
43 | UnPublish = 2,
44 |
45 | ///
46 | /// Enum Disable for value: Disable
47 | ///
48 | [EnumMember(Value = "Disable")]
49 | Disable = 3
50 | }
51 |
52 | }
53 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/AccessTokenTokenTypes.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Access Token token Types
26 | ///
27 | /// Access Token token Types
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum AccessTokenTokenTypes
32 | {
33 |
34 | ///
35 | /// Enum Bearer for value: Bearer
36 | ///
37 | [EnumMember(Value = "Bearer")]
38 | Bearer = 1,
39 |
40 | ///
41 | /// Enum Application for value: Application
42 | ///
43 | [EnumMember(Value = "Application")]
44 | Application = 2,
45 |
46 | ///
47 | /// Enum Resource for value: Resource
48 | ///
49 | [EnumMember(Value = "Resource")]
50 | Resource = 3
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/ParticipantKeys.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines ParticipantKeys
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum ParticipantKeys
31 | {
32 |
33 | ///
34 | /// Enum ParticipantEmail for value: participantEmail
35 | ///
36 | [EnumMember(Value = "participantEmail")]
37 | ParticipantEmail = 1,
38 |
39 | ///
40 | /// Enum ParticipantFirstName for value: participantFirstName
41 | ///
42 | [EnumMember(Value = "participantFirstName")]
43 | ParticipantFirstName = 2,
44 |
45 | ///
46 | /// Enum ParticipantLastName for value: participantLastName
47 | ///
48 | [EnumMember(Value = "participantLastName")]
49 | ParticipantLastName = 3
50 | }
51 |
52 | }
53 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/HttpTypes.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// The Trigger Http types
26 | ///
27 | /// The Trigger Http types
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum HttpTypes
32 | {
33 |
34 | ///
35 | /// Enum Get for value: Get
36 | ///
37 | [EnumMember(Value = "Get")]
38 | Get = 1,
39 |
40 | ///
41 | /// Enum Post for value: Post
42 | ///
43 | [EnumMember(Value = "Post")]
44 | Post = 2,
45 |
46 | ///
47 | /// Enum Put for value: Put
48 | ///
49 | [EnumMember(Value = "Put")]
50 | Put = 3,
51 |
52 | ///
53 | /// Enum Delete for value: Delete
54 | ///
55 | [EnumMember(Value = "Delete")]
56 | Delete = 4
57 | }
58 |
59 | }
60 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/ApiResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 |
14 | namespace DocuSign.Maestro.Client
15 | {
16 | ///
17 | /// API Response
18 | ///
19 | public class ApiResponse
20 | {
21 | ///
22 | /// Gets or sets the status code (HTTP status code)
23 | ///
24 | /// The status code.
25 | public int StatusCode { get; private set; }
26 |
27 | ///
28 | /// Gets or sets the HTTP headers
29 | ///
30 | /// HTTP headers
31 | public IDictionary Headers { get; private set; }
32 |
33 | ///
34 | /// Gets or sets the data (parsed HTTP body)
35 | ///
36 | /// The data.
37 | public T Data { get; private set; }
38 |
39 | ///
40 | /// Initializes a new instance of the class.
41 | ///
42 | /// HTTP status code.
43 | /// HTTP headers.
44 | /// Data (parsed HTTP body)
45 | public ApiResponse(int statusCode, IDictionary headers, T data)
46 | {
47 | this.StatusCode= statusCode;
48 | this.Headers = headers;
49 | this.Data = data;
50 | }
51 |
52 | }
53 |
54 | }
55 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowStepHistoryState.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Workflow Step History state (completed, failed, In-progress)
26 | ///
27 | /// Workflow Step History state (completed, failed, In-progress)
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum WorkflowStepHistoryState
32 | {
33 |
34 | ///
35 | /// Enum InProgress for value: In Progress
36 | ///
37 | [EnumMember(Value = "In Progress")]
38 | InProgress = 1,
39 |
40 | ///
41 | /// Enum Completed for value: Completed
42 | ///
43 | [EnumMember(Value = "Completed")]
44 | Completed = 2,
45 |
46 | ///
47 | /// Enum Failed for value: Failed
48 | ///
49 | [EnumMember(Value = "Failed")]
50 | Failed = 3,
51 |
52 | ///
53 | /// Enum Canceled for value: Canceled
54 | ///
55 | [EnumMember(Value = "Canceled")]
56 | Canceled = 4
57 | }
58 |
59 | }
60 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ## [v2.0.0] - Maestro API v1.0.0-1.0.5 - 2025-05-21
2 | ⚠️ Deprecated – Maestro is now available as part of the new IAM SDK: https://developers.docusign.com/docs/sdks/
3 |
4 | ## [v1.0.2] - Maestro API v1.0.0-1.0.5 - 2024-11-15
5 | ### Changed
6 | - Resolved an issue that prevented the use of `RequestJWTApplicationToken` with a production account URL.
7 | - Updated C# SDK dependencies.
8 | - BouncyCastle.Cryptography: Version bumped from 2.3.1 to 2.4.0.
9 | - Microsoft.IdentityModelJsonWebTokens: Version bumped from 7.5.2 to 8.2.0.
10 | - Updated the SDK release version.
11 |
12 | ## [v1.0.1] - Maestro API v1.0.0-1.0.5 - 2024-11-07
13 | ### Changed
14 | - Fixed Deadlock issue with UI Apps (E.g. WinForms).
15 | - Fixed deserialization issue of text/csv type response
16 | - Removed the staging base path and OAuth path constant.
17 | - Updated the SDK release version.
18 | ## [v1.0.0] - Maestro API v1.0.0-1.0.5 - 2024-07-30
19 | ### Changed
20 | - Added support for version v1.0.0-1.0.5 of the DocuSign Maestro API.
21 | - Updated the SDK release version.
22 |
23 | ## [v1.0.0-rc4] - Maestro API v1.0.0-1.0.5 - 2024-06-07
24 | ### Changed
25 | - Added support for version v1.0.0-1.0.5 of the DocuSign Maestro API.
26 | - Updated the SDK release version.
27 |
28 | ## [v1.0.0-rc3] - Maestro API v1.0.0-1.0.4 - 2024-05-20
29 | ### Changed
30 | - Updated C# SDK dependencies.
31 | - BouncyCastle.Cryptography: Version bumped from 2.3.0 to 2.3.1.
32 | - Microsoft.IdentityModel.JsonWebTokens: Version bumped from 7.5.1 to 7.5.2.
33 | ## [v1.0.0-rc2] - Maestro API v1.0.0-1.0.4 - 2024-04-22
34 | ### Breaking Changes
35 | - Updated from System.IdentityModel.Tokens.Jwt to Microsoft.IdentityModel.JsonWebTokens for token handling.
36 | ### Other Changes
37 | - Added support for version v1.0.0-1.0.4 of the DocuSign Maestro API.
38 |
39 | ## [v1.0.0-rc1] - Maestro API v1.0.0-1.0.3 - 2024-04-03
40 | - Announcing the Release Candidate SDK built on the OpenAPI specification for DocuSign Maestro APIs.
41 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowInstanceState.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Current Workflow Instance state (completed, failed, In-progress)
26 | ///
27 | /// Current Workflow Instance state (completed, failed, In-progress)
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum WorkflowInstanceState
32 | {
33 |
34 | ///
35 | /// Enum Created for value: Created
36 | ///
37 | [EnumMember(Value = "Created")]
38 | Created = 1,
39 |
40 | ///
41 | /// Enum InProgress for value: In Progress
42 | ///
43 | [EnumMember(Value = "In Progress")]
44 | InProgress = 2,
45 |
46 | ///
47 | /// Enum Completed for value: Completed
48 | ///
49 | [EnumMember(Value = "Completed")]
50 | Completed = 3,
51 |
52 | ///
53 | /// Enum Failed for value: Failed
54 | ///
55 | [EnumMember(Value = "Failed")]
56 | Failed = 4,
57 |
58 | ///
59 | /// Enum Canceled for value: Canceled
60 | ///
61 | [EnumMember(Value = "Canceled")]
62 | Canceled = 5
63 | }
64 |
65 | }
66 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/DocuSignResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.Net;
14 | using System.Net.Http.Headers;
15 |
16 | namespace DocuSign.Maestro.Client
17 | {
18 | public class DocuSignResponse
19 | {
20 | readonly HttpStatusCode statusCode = HttpStatusCode.OK;
21 | readonly IDictionary headers = null;
22 | readonly string errorMessage = string.Empty;
23 | readonly string contentType = string.Empty;
24 | readonly byte[] rawBytes = null;
25 | readonly Exception exception = null;
26 |
27 | public byte[] RawBytes => rawBytes;
28 |
29 | public string ContentType => contentType;
30 |
31 | public HttpStatusCode StatusCode => statusCode;
32 |
33 | public string Content => rawBytes != null ? System.Text.Encoding.UTF8.GetString(rawBytes) : null;
34 |
35 | public string ErrorMessage => errorMessage;
36 |
37 | public IDictionary Headers => headers;
38 |
39 | public Exception Exception => exception;
40 |
41 | public DocuSignResponse(HttpStatusCode _statusCode, IDictionary _headers, byte[] _rawBytes, string _contentType)
42 | {
43 | statusCode = _statusCode;
44 | headers = _headers;
45 | rawBytes = _rawBytes;
46 | contentType = _contentType;
47 | }
48 |
49 | public DocuSignResponse(Exception _exception, HttpStatusCode _statusCode = HttpStatusCode.InternalServerError)
50 | {
51 | exception = _exception;
52 | errorMessage = _exception?.Message ?? string.Empty;
53 | statusCode = _statusCode;
54 | }
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowMetadataStatus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Workflow Definition Metadata Status
26 | ///
27 | /// Workflow Definition Metadata Status
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum WorkflowMetadataStatus
32 | {
33 |
34 | ///
35 | /// Enum Active for value: active
36 | ///
37 | [EnumMember(Value = "active")]
38 | Active = 1,
39 |
40 | ///
41 | /// Enum Inactive for value: inactive
42 | ///
43 | [EnumMember(Value = "inactive")]
44 | Inactive = 2,
45 |
46 | ///
47 | /// Enum Publishing for value: publishing
48 | ///
49 | [EnumMember(Value = "publishing")]
50 | Publishing = 3,
51 |
52 | ///
53 | /// Enum Unpublishing for value: unpublishing
54 | ///
55 | [EnumMember(Value = "unpublishing")]
56 | Unpublishing = 4,
57 |
58 | ///
59 | /// Enum Archived for value: archived
60 | ///
61 | [EnumMember(Value = "archived")]
62 | Archived = 5,
63 |
64 | ///
65 | /// Enum Archiving for value: archiving
66 | ///
67 | [EnumMember(Value = "archiving")]
68 | Archiving = 6
69 | }
70 |
71 | }
72 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DeploymentStatus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// The workflow deployment status
26 | ///
27 | /// The workflow deployment status
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum DeploymentStatus
32 | {
33 |
34 | ///
35 | /// Enum DeploymentInProgress for value: Deployment In Progress
36 | ///
37 | [EnumMember(Value = "Deployment In Progress")]
38 | DeploymentInProgress = 1,
39 |
40 | ///
41 | /// Enum Deployed for value: Deployed
42 | ///
43 | [EnumMember(Value = "Deployed")]
44 | Deployed = 2,
45 |
46 | ///
47 | /// Enum Failed for value: Failed
48 | ///
49 | [EnumMember(Value = "Failed")]
50 | Failed = 3,
51 |
52 | ///
53 | /// Enum DeleteinProgress for value: Delete in Progress
54 | ///
55 | [EnumMember(Value = "Delete in Progress")]
56 | DeleteinProgress = 4,
57 |
58 | ///
59 | /// Enum Deleted for value: Deleted
60 | ///
61 | [EnumMember(Value = "Deleted")]
62 | Deleted = 5,
63 |
64 | ///
65 | /// Enum NotDeployed for value: Not Deployed
66 | ///
67 | [EnumMember(Value = "Not Deployed")]
68 | NotDeployed = 6,
69 |
70 | ///
71 | /// Enum UnpublishinProgress for value: Unpublish in Progress
72 | ///
73 | [EnumMember(Value = "Unpublish in Progress")]
74 | UnpublishinProgress = 7,
75 |
76 | ///
77 | /// Enum Unpublished for value: Unpublished
78 | ///
79 | [EnumMember(Value = "Unpublished")]
80 | Unpublished = 8
81 | }
82 |
83 | }
84 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/DocuSign.Maestro.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net462;netstandard2.0
5 | true
6 | DocuSign.Maestro
7 | The Docusign NuGet package makes integrating Docusign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-maestro-csharp-client repository. This SDK is deprecated and no longer actively maintained.
8 | DocuSign Inc.
9 | DocuSign
10 | Copyright © Docusign 2025
11 | DocuSign.Maestro
12 | DocuSign
13 | Library
14 | $(NoWarn);CS1591
15 | Properties
16 | DocuSign.Maestro
17 | DocuSign.Maestro
18 | en-US
19 | 2.0.0
20 |
21 | true
22 | true
23 | Docusign.Maestro;REST;Maestro;docusign;Maestro;api
24 | icon.png
25 | https://github.com/docusign/docusign-maestro-csharp-client
26 | https://github.com/docusign/docusign-maestro-csharp-client/blob/master/LICENSE
27 | https://github.com/docusign/docusign-maestro-csharp-client
28 | git
29 | ⚠️ Deprecated – Maestro is now available as part of the new IAM SDK: https://developers.docusign.com/docs/sdks/
30 |
31 |
32 | NET462
33 |
34 |
35 | NETSTANDARD2_0
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/ApiClient.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Net;
13 | using System.Net.Http;
14 |
15 | namespace DocuSign.Maestro.Client
16 | {
17 | ///
18 | /// API client is mainly responsible for making the HTTP call to the API backend.
19 | ///
20 | [Obsolete("ApiClient is now obsolete and will be removed in a future release. Use DocuSignClient instead.", false)]
21 | public class ApiClient : DocuSignClient
22 | {
23 | ///
24 | /// Initializes a new instance of the class
25 | /// with default configuration and base path (https://demo.docusign.net/restapi).
26 | ///
27 | [Obsolete("ApiClient is now obsolete and will be removed in a future release. Use DocuSignClient() instead.", false)]
28 | public ApiClient() : base() { }
29 |
30 | ///
31 | /// Initializes a new instance of the class
32 | /// with default base path (https://demo.docusign.net/restapi).
33 | ///
34 | /// An instance of Configuration.
35 | [Obsolete("ApiClient is now obsolete and will be removed in a future release. Use DocuSignClient(Configuration) instead.", false)]
36 | public ApiClient(Configuration configuration) : base(configuration) { }
37 |
38 | ///
39 | /// Initializes a new instance of the class
40 | /// with default configuration.
41 | ///
42 | /// The base path.
43 | /// An optional WebProxy instance.
44 | [Obsolete("ApiClient is now obsolete and will be removed in a future release. Use DocuSignClient(string, IWebProxy) instead.", false)]
45 | public ApiClient(String apiBase, IWebProxy proxy = null) : base(apiBase, proxy) { }
46 |
47 | ///
48 | /// Initializes a new instance of the class
49 | /// with default configuration.
50 | ///
51 | /// The base path.
52 | /// The oAuth base path.
53 | /// An optional WebProxy instance.
54 | [Obsolete("ApiClient is now obsolete and will be removed in a future release. Use DocuSignClient(String, String, WebProxy) instead.", false)]
55 | public ApiClient(String apiBase, String oAuthBase, IWebProxy proxy = null) : base(apiBase, oAuthBase, proxy) { }
56 | }
57 | }
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/IReadableConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 |
12 | using System.Collections.Generic;
13 |
14 | namespace DocuSign.Maestro.Client
15 | {
16 | ///
17 | /// Represents a readable-only configuration contract.
18 | ///
19 | public interface IReadableConfiguration
20 | {
21 | ///
22 | /// Gets the access token.
23 | ///
24 | /// Access token.
25 | string AccessToken { get; }
26 |
27 | ///
28 | /// Gets the API key.
29 | ///
30 | /// API key.
31 | IDictionary ApiKey { get; }
32 |
33 | ///
34 | /// Gets the API key prefix.
35 | ///
36 | /// API key prefix.
37 | IDictionary ApiKeyPrefix { get; }
38 |
39 | ///
40 | /// Gets the base path.
41 | ///
42 | /// Base path.
43 | string BasePath { get; }
44 |
45 | ///
46 | /// Gets the date time format.
47 | ///
48 | /// Date time foramt.
49 | string DateTimeFormat { get; }
50 |
51 | ///
52 | /// Gets the default header.
53 | ///
54 | /// Default header.
55 | IDictionary DefaultHeader { get; }
56 |
57 | ///
58 | /// Gets the temp folder path.
59 | ///
60 | /// Temp folder path.
61 | string TempFolderPath { get; }
62 |
63 | ///
64 | /// Gets the HTTP connection timeout (in milliseconds)
65 | ///
66 | /// HTTP connection timeout.
67 | int Timeout { get; }
68 |
69 | ///
70 | /// Gets the user agent.
71 | ///
72 | /// User agent.
73 | string UserAgent { get; }
74 |
75 | ///
76 | /// Gets the username.
77 | ///
78 | /// Username.
79 | string Username { get; }
80 |
81 | ///
82 | /// Gets the password.
83 | ///
84 | /// Password.
85 | string Password { get; }
86 |
87 | ///
88 | /// Gets the API key with prefix.
89 | ///
90 | /// API key identifier (authentication scheme).
91 | /// API key with prefix.
92 | string GetApiKeyWithPrefix(string apiKeyIdentifier);
93 | }
94 | }
95 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/ApiException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 |
12 | using System;
13 | using System.Collections.Generic;
14 | using System.Linq;
15 |
16 | namespace DocuSign.Maestro.Client
17 | {
18 | ///
19 | /// API Exception
20 | ///
21 | public class ApiException : Exception
22 | {
23 | ///
24 | /// Gets or sets the error code (HTTP status code)
25 | ///
26 | /// The error code (HTTP status code).
27 | public int ErrorCode { get; set; }
28 |
29 | ///
30 | /// Gets or sets the error content (body json object)
31 | ///
32 | /// The error content (Http response body).
33 | public dynamic ErrorContent { get; private set; }
34 |
35 | ///
36 | /// Gets or sets the error message
37 | ///
38 | /// The error message.
39 | public string ErrorMessage { get; set; }
40 |
41 | ///
42 | /// Gets or sets the HTTP headers
43 | ///
44 | /// HTTP headers
45 | public IDictionary Headers { get; private set; }
46 |
47 | ///
48 | /// Initializes a new instance of the class.
49 | ///
50 | public ApiException() { }
51 |
52 | ///
53 | /// Initializes a new instance of the class.
54 | ///
55 | /// HTTP status code.
56 | /// Error message.
57 | public ApiException(int errorCode, string message) : base(message)
58 | {
59 | this.ErrorCode = errorCode;
60 | this.ErrorMessage = message;
61 | }
62 |
63 | ///
64 | /// Initializes a new instance of the class.
65 | ///
66 | /// HTTP status code.
67 | /// Error message.
68 | /// Error content.
69 | /// DocuSignResponse object.
70 | public ApiException(int errorCode, string message, dynamic errorContent = null, DocuSignResponse response = null) : base(response.Exception?.Message ?? message, response.Exception?.InnerException)
71 | {
72 | this.ErrorCode = errorCode;
73 | this.ErrorContent = errorContent;
74 | if (response != null && response.Headers != null)
75 | {
76 | this.ErrorMessage = response.ErrorMessage;
77 | this.Headers = response.Headers.ToDictionary(x => x.Key, x => x.Value.ToString());
78 | }
79 | }
80 | }
81 | }
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowComparisonOperatorTypes.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Defines DSWorkflowComparisonOperatorTypes
26 | ///
27 |
28 | [JsonConverter(typeof(StringEnumConverter))]
29 |
30 | public enum DSWorkflowComparisonOperatorTypes
31 | {
32 |
33 | ///
34 | /// Enum Contains for value: Contains
35 | ///
36 | [EnumMember(Value = "Contains")]
37 | Contains = 1,
38 |
39 | ///
40 | /// Enum NotContains for value: NotContains
41 | ///
42 | [EnumMember(Value = "NotContains")]
43 | NotContains = 2,
44 |
45 | ///
46 | /// Enum Equal for value: Equal
47 | ///
48 | [EnumMember(Value = "Equal")]
49 | Equal = 3,
50 |
51 | ///
52 | /// Enum NotEqual for value: NotEqual
53 | ///
54 | [EnumMember(Value = "NotEqual")]
55 | NotEqual = 4,
56 |
57 | ///
58 | /// Enum GreaterThan for value: GreaterThan
59 | ///
60 | [EnumMember(Value = "GreaterThan")]
61 | GreaterThan = 5,
62 |
63 | ///
64 | /// Enum GreaterThanOrEqual for value: GreaterThanOrEqual
65 | ///
66 | [EnumMember(Value = "GreaterThanOrEqual")]
67 | GreaterThanOrEqual = 6,
68 |
69 | ///
70 | /// Enum LessThan for value: LessThan
71 | ///
72 | [EnumMember(Value = "LessThan")]
73 | LessThan = 7,
74 |
75 | ///
76 | /// Enum LessThanOrEqual for value: LessThanOrEqual
77 | ///
78 | [EnumMember(Value = "LessThanOrEqual")]
79 | LessThanOrEqual = 8,
80 |
81 | ///
82 | /// Enum StartsWith for value: StartsWith
83 | ///
84 | [EnumMember(Value = "StartsWith")]
85 | StartsWith = 9,
86 |
87 | ///
88 | /// Enum NotStartsWith for value: NotStartsWith
89 | ///
90 | [EnumMember(Value = "NotStartsWith")]
91 | NotStartsWith = 10,
92 |
93 | ///
94 | /// Enum EndsWith for value: EndsWith
95 | ///
96 | [EnumMember(Value = "EndsWith")]
97 | EndsWith = 11,
98 |
99 | ///
100 | /// Enum NotEndsWith for value: NotEndsWith
101 | ///
102 | [EnumMember(Value = "NotEndsWith")]
103 | NotEndsWith = 12
104 | }
105 |
106 | }
107 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/ReplicationStatus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// The workflow replication status
26 | ///
27 | /// The workflow replication status
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum ReplicationStatus
32 | {
33 |
34 | ///
35 | /// Enum DeployReplicationInProgress for value: Deploy Replication In Progress
36 | ///
37 | [EnumMember(Value = "Deploy Replication In Progress")]
38 | DeployReplicationInProgress = 1,
39 |
40 | ///
41 | /// Enum DeployReplicated for value: Deploy Replicated
42 | ///
43 | [EnumMember(Value = "Deploy Replicated")]
44 | DeployReplicated = 2,
45 |
46 | ///
47 | /// Enum DeployReplicationFailed for value: Deploy Replication Failed
48 | ///
49 | [EnumMember(Value = "Deploy Replication Failed")]
50 | DeployReplicationFailed = 3,
51 |
52 | ///
53 | /// Enum NotReplicated for value: Not Replicated
54 | ///
55 | [EnumMember(Value = "Not Replicated")]
56 | NotReplicated = 4,
57 |
58 | ///
59 | /// Enum DeleteReplicationinProgress for value: Delete Replication in Progress
60 | ///
61 | [EnumMember(Value = "Delete Replication in Progress")]
62 | DeleteReplicationinProgress = 5,
63 |
64 | ///
65 | /// Enum DeleteReplicated for value: Delete Replicated
66 | ///
67 | [EnumMember(Value = "Delete Replicated")]
68 | DeleteReplicated = 6,
69 |
70 | ///
71 | /// Enum DeleteReplicationFailed for value: Delete Replication Failed
72 | ///
73 | [EnumMember(Value = "Delete Replication Failed")]
74 | DeleteReplicationFailed = 7,
75 |
76 | ///
77 | /// Enum UnpublishreplicationinProgress for value: Unpublish replication in Progress
78 | ///
79 | [EnumMember(Value = "Unpublish replication in Progress")]
80 | UnpublishreplicationinProgress = 8,
81 |
82 | ///
83 | /// Enum UnpublishReplicated for value: Unpublish Replicated
84 | ///
85 | [EnumMember(Value = "Unpublish Replicated")]
86 | UnpublishReplicated = 9,
87 |
88 | ///
89 | /// Enum UnpublishReplicationFailed for value: Unpublish Replication Failed
90 | ///
91 | [EnumMember(Value = "Unpublish Replication Failed")]
92 | UnpublishReplicationFailed = 10
93 | }
94 |
95 | }
96 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/AccountId.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// AccountId
26 | ///
27 | [DataContract]
28 | public partial class AccountId : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public AccountId()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class AccountId {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as AccountId);
69 | }
70 |
71 | ///
72 | /// Returns true if AccountId instances are equal
73 | ///
74 | /// Instance of AccountId to be compared
75 | /// Boolean
76 | public bool Equals(AccountId other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/TemplateId.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// TemplateId
26 | ///
27 | [DataContract]
28 | public partial class TemplateId : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public TemplateId()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class TemplateId {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as TemplateId);
69 | }
70 |
71 | ///
72 | /// Returns true if TemplateId instances are equal
73 | ///
74 | /// Instance of TemplateId to be compared
75 | /// Boolean
76 | public bool Equals(TemplateId other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/RecordToNever.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// RecordToNever
26 | ///
27 | [DataContract]
28 | public partial class RecordToNever : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public RecordToNever()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class RecordToNever {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as RecordToNever);
69 | }
70 |
71 | ///
72 | /// Returns true if RecordToNever instances are equal
73 | ///
74 | /// Instance of RecordToNever to be compared
75 | /// Boolean
76 | public bool Equals(RecordToNever other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowCreatorId.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// WorkflowCreatorId
26 | ///
27 | [DataContract]
28 | public partial class WorkflowCreatorId : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public WorkflowCreatorId()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class WorkflowCreatorId {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as WorkflowCreatorId);
69 | }
70 |
71 | ///
72 | /// Returns true if WorkflowCreatorId instances are equal
73 | ///
74 | /// Instance of WorkflowCreatorId to be compared
75 | /// Boolean
76 | public bool Equals(WorkflowCreatorId other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowInstanceId.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// WorkflowInstanceId
26 | ///
27 | [DataContract]
28 | public partial class WorkflowInstanceId : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public WorkflowInstanceId()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class WorkflowInstanceId {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as WorkflowInstanceId);
69 | }
70 |
71 | ///
72 | /// Returns true if WorkflowInstanceId instances are equal
73 | ///
74 | /// Instance of WorkflowInstanceId to be compared
75 | /// Boolean
76 | public bool Equals(WorkflowInstanceId other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowVariable.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// DS Workflow Variables
26 | ///
27 | [DataContract]
28 | public partial class DSWorkflowVariable : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public DSWorkflowVariable()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class DSWorkflowVariable {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as DSWorkflowVariable);
69 | }
70 |
71 | ///
72 | /// Returns true if DSWorkflowVariable instances are equal
73 | ///
74 | /// Instance of DSWorkflowVariable to be compared
75 | /// Boolean
76 | public bool Equals(DSWorkflowVariable other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/ESignLocalePolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// ESignLocalePolicy
26 | ///
27 | [DataContract]
28 | public partial class ESignLocalePolicy : Dictionary, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public ESignLocalePolicy()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class ESignLocalePolicy {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as ESignLocalePolicy);
69 | }
70 |
71 | ///
72 | /// Returns true if ESignLocalePolicy instances are equal
73 | ///
74 | /// Instance of ESignLocalePolicy to be compared
75 | /// Boolean
76 | public bool Equals(ESignLocalePolicy other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/RecordStringBoolean.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// RecordStringBoolean
26 | ///
27 | [DataContract]
28 | public partial class RecordStringBoolean : Dictionary, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public RecordStringBoolean()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class RecordStringBoolean {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as RecordStringBoolean);
69 | }
70 |
71 | ///
72 | /// Returns true if RecordStringBoolean instances are equal
73 | ///
74 | /// Instance of RecordStringBoolean to be compared
75 | /// Boolean
76 | public bool Equals(RecordStringBoolean other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowInstanceMap.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// WorkflowInstanceMap
26 | ///
27 | [DataContract]
28 | public partial class WorkflowInstanceMap : Dictionary, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public WorkflowInstanceMap()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class WorkflowInstanceMap {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as WorkflowInstanceMap);
69 | }
70 |
71 | ///
72 | /// Returns true if WorkflowInstanceMap instances are equal
73 | ///
74 | /// Instance of WorkflowInstanceMap to be compared
75 | /// Boolean
76 | public bool Equals(WorkflowInstanceMap other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowLanesRecord.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// DSWorkflowLanesRecord
26 | ///
27 | [DataContract]
28 | public partial class DSWorkflowLanesRecord : Dictionary, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public DSWorkflowLanesRecord()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class DSWorkflowLanesRecord {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as DSWorkflowLanesRecord);
69 | }
70 |
71 | ///
72 | /// Returns true if DSWorkflowLanesRecord instances are equal
73 | ///
74 | /// Instance of DSWorkflowLanesRecord to be compared
75 | /// Boolean
76 | public bool Equals(DSWorkflowLanesRecord other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowInstancesList.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// A list of workflow instances (0 or more).
26 | ///
27 | [DataContract]
28 | public partial class WorkflowInstancesList : List, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public WorkflowInstancesList()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class WorkflowInstancesList {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as WorkflowInstancesList);
69 | }
70 |
71 | ///
72 | /// Returns true if WorkflowInstancesList instances are equal
73 | ///
74 | /// Instance of WorkflowInstancesList to be compared
75 | /// Boolean
76 | public bool Equals(WorkflowInstancesList other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowVariableRecord.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// A DS Workflow variable record
26 | ///
27 | [DataContract]
28 | public partial class DSWorkflowVariableRecord : Dictionary, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public DSWorkflowVariableRecord()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class DSWorkflowVariableRecord {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as DSWorkflowVariableRecord);
69 | }
70 |
71 | ///
72 | /// Returns true if DSWorkflowVariableRecord instances are equal
73 | ///
74 | /// Instance of DSWorkflowVariableRecord to be compared
75 | /// Boolean
76 | public bool Equals(DSWorkflowVariableRecord other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowStepHistoryList.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Returns Array of Workflow Step History.
26 | ///
27 | [DataContract]
28 | public partial class WorkflowStepHistoryList : List, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public WorkflowStepHistoryList()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class WorkflowStepHistoryList {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as WorkflowStepHistoryList);
69 | }
70 |
71 | ///
72 | /// Returns true if WorkflowStepHistoryList instances are equal
73 | ///
74 | /// Instance of WorkflowStepHistoryList to be compared
75 | /// Boolean
76 | public bool Equals(WorkflowStepHistoryList other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/ESignDocuments.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// ESignDocument Object. This object should be any of the following object models: [#/definitions/ESignDocumentFromPreviousStep, #/definitions/ESignDocumentFromESignTemplate]
26 | ///
27 | [DataContract]
28 | public partial class ESignDocuments : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public ESignDocuments()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class ESignDocuments {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as ESignDocuments);
69 | }
70 |
71 | ///
72 | /// Returns true if ESignDocuments instances are equal
73 | ///
74 | /// Instance of ESignDocuments to be compared
75 | /// Boolean
76 | public bool Equals(ESignDocuments other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/NumberOrVariable.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Object stands for a number or a Variable. This object should be any of the following object models or types: [number, #/definitions/DSWorkflowVariable]
26 | ///
27 | [DataContract]
28 | public partial class NumberOrVariable : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public NumberOrVariable()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class NumberOrVariable {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as NumberOrVariable);
69 | }
70 |
71 | ///
72 | /// Returns true if NumberOrVariable instances are equal
73 | ///
74 | /// Instance of NumberOrVariable to be compared
75 | /// Boolean
76 | public bool Equals(NumberOrVariable other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSServiceStep.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// A DS Workflow Service Step. This object should be any of the following object models: [#/definitions/DSWebFormsStep, #/definitions/DSIdvStep, #/definitions/DSDocGenStep, #/definitions/DSSignStep]
26 | ///
27 | [DataContract]
28 | public partial class DSServiceStep : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public DSServiceStep()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class DSServiceStep {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as DSServiceStep);
69 | }
70 |
71 | ///
72 | /// Returns true if DSServiceStep instances are equal
73 | ///
74 | /// Instance of DSServiceStep to be compared
75 | /// Boolean
76 | public bool Equals(DSServiceStep other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowStep.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// A DS Workflow Step. This object should be any of the following object models: [#/definitions/DSServiceStep, #/definitions/DSTransformationStep, #/definitions/DSDocGenStep, #/definitions/DSSignStep]
26 | ///
27 | [DataContract]
28 | public partial class DSWorkflowStep : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public DSWorkflowStep()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class DSWorkflowStep {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as DSWorkflowStep);
69 | }
70 |
71 | ///
72 | /// Returns true if DSWorkflowStep instances are equal
73 | ///
74 | /// Instance of DSWorkflowStep to be compared
75 | /// Boolean
76 | public bool Equals(DSWorkflowStep other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowParticipantRecord.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// A DS Workflow participant record
26 | ///
27 | [DataContract]
28 | public partial class DSWorkflowParticipantRecord : Dictionary, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public DSWorkflowParticipantRecord()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class DSWorkflowParticipantRecord {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as DSWorkflowParticipantRecord);
69 | }
70 |
71 | ///
72 | /// Returns true if DSWorkflowParticipantRecord instances are equal
73 | ///
74 | /// Instance of DSWorkflowParticipantRecord to be compared
75 | /// Boolean
76 | public bool Equals(DSWorkflowParticipantRecord other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowVariableFromParticipant.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// DS Workflow Variable from a Participant object. The definition is flexible based on the workflow definition.
26 | ///
27 | [DataContract]
28 | public partial class DSWorkflowVariableFromParticipant : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public DSWorkflowVariableFromParticipant()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class DSWorkflowVariableFromParticipant {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as DSWorkflowVariableFromParticipant);
69 | }
70 |
71 | ///
72 | /// Returns true if DSWorkflowVariableFromParticipant instances are equal
73 | ///
74 | /// Instance of DSWorkflowVariableFromParticipant to be compared
75 | /// Boolean
76 | public bool Equals(DSWorkflowVariableFromParticipant other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/RecordStringOrVariableOrTransformation.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// A Record of strings to Strings, Variables, or Transformation Expressions
26 | ///
27 | [DataContract]
28 | public partial class RecordStringOrVariableOrTransformation : Dictionary, IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public RecordStringOrVariableOrTransformation()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class RecordStringOrVariableOrTransformation {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public new string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as RecordStringOrVariableOrTransformation);
69 | }
70 |
71 | ///
72 | /// Returns true if RecordStringOrVariableOrTransformation instances are equal
73 | ///
74 | /// Instance of RecordStringOrVariableOrTransformation to be compared
75 | /// Boolean
76 | public bool Equals(RecordStringOrVariableOrTransformation other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/StringOrVariableOrTransformation.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Object stands for a String or a Variable or a Transformation. This object should be any of the following object models or types: [string, #/definitions/DSWorkflowVariable, #/definitions/DSWorkflowTransformationExpression]
26 | ///
27 | [DataContract]
28 | public partial class StringOrVariableOrTransformation : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public StringOrVariableOrTransformation()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class StringOrVariableOrTransformation {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as StringOrVariableOrTransformation);
69 | }
70 |
71 | ///
72 | /// Returns true if StringOrVariableOrTransformation instances are equal
73 | ///
74 | /// Instance of StringOrVariableOrTransformation to be compared
75 | /// Boolean
76 | public bool Equals(StringOrVariableOrTransformation other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWorkflowTransformationExpression.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Transformation Expression object. This object should be any of the following object models: [#/definitions/DSWorkflowReplaceExpression, #/definitions/DSWorkflowToLowerExpression, #/definitions/DSWorkflowToUpperExpression, #/components/schemas/DSWorkflowLastIndexOfExpression, #/components/schemas/DSWorkflowIndexOfExpression, #/components/schemas/DSWorkflowSubstringExpression, #/components/schemas/DSWorkflowConcatExpression]
26 | ///
27 | [DataContract]
28 | public partial class DSWorkflowTransformationExpression : IEquatable, IValidatableObject
29 | {
30 |
31 | ///
32 | /// Initializes a new instance of the class.
33 | ///
34 | [JsonConstructorAttribute]
35 | public DSWorkflowTransformationExpression()
36 | {
37 | }
38 |
39 | ///
40 | /// Returns the string presentation of the object
41 | ///
42 | /// String presentation of the object
43 | public override string ToString()
44 | {
45 | var sb = new StringBuilder();
46 | sb.Append("class DSWorkflowTransformationExpression {\n");
47 | sb.Append("}\n");
48 | return sb.ToString();
49 | }
50 |
51 | ///
52 | /// Returns the JSON string presentation of the object
53 | ///
54 | /// JSON string presentation of the object
55 | public string ToJson()
56 | {
57 | return JsonConvert.SerializeObject(this, Formatting.Indented);
58 | }
59 |
60 | ///
61 | /// Returns true if objects are equal
62 | ///
63 | /// Object to be compared
64 | /// Boolean
65 | public override bool Equals(object obj)
66 | {
67 | // credit: http://stackoverflow.com/a/10454552/677735
68 | return this.Equals(obj as DSWorkflowTransformationExpression);
69 | }
70 |
71 | ///
72 | /// Returns true if DSWorkflowTransformationExpression instances are equal
73 | ///
74 | /// Instance of DSWorkflowTransformationExpression to be compared
75 | /// Boolean
76 | public bool Equals(DSWorkflowTransformationExpression other)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | if (other == null)
80 | return false;
81 |
82 | return false;
83 | }
84 |
85 | ///
86 | /// Gets the hash code
87 | ///
88 | /// Hash code
89 | public override int GetHashCode()
90 | {
91 | // credit: http://stackoverflow.com/a/263416/677735
92 | unchecked // Overflow is fine, just wrap
93 | {
94 | int hash = 41;
95 | // Suitable nullity checks etc, of course :)
96 | return hash;
97 | }
98 | }
99 |
100 | public IEnumerable Validate(ValidationContext validationContext)
101 | {
102 | yield break;
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/ErrorCodes.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Internal Error Codes
26 | ///
27 | /// Internal Error Codes
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum ErrorCodes
32 | {
33 |
34 | ///
35 | /// Enum _10001 for value: ERR_10001
36 | ///
37 | [EnumMember(Value = "ERR_10001")]
38 | _10001 = 1,
39 |
40 | ///
41 | /// Enum _10002 for value: ERR_10002
42 | ///
43 | [EnumMember(Value = "ERR_10002")]
44 | _10002 = 2,
45 |
46 | ///
47 | /// Enum _10003 for value: ERR_10003
48 | ///
49 | [EnumMember(Value = "ERR_10003")]
50 | _10003 = 3,
51 |
52 | ///
53 | /// Enum _10004 for value: ERR_10004
54 | ///
55 | [EnumMember(Value = "ERR_10004")]
56 | _10004 = 4,
57 |
58 | ///
59 | /// Enum _10005 for value: ERR_10005
60 | ///
61 | [EnumMember(Value = "ERR_10005")]
62 | _10005 = 5,
63 |
64 | ///
65 | /// Enum _10006 for value: ERR_10006
66 | ///
67 | [EnumMember(Value = "ERR_10006")]
68 | _10006 = 6,
69 |
70 | ///
71 | /// Enum _10007 for value: ERR_10007
72 | ///
73 | [EnumMember(Value = "ERR_10007")]
74 | _10007 = 7,
75 |
76 | ///
77 | /// Enum _10008 for value: ERR_10008
78 | ///
79 | [EnumMember(Value = "ERR_10008")]
80 | _10008 = 8,
81 |
82 | ///
83 | /// Enum _10009 for value: ERR_10009
84 | ///
85 | [EnumMember(Value = "ERR_10009")]
86 | _10009 = 9,
87 |
88 | ///
89 | /// Enum _10101 for value: ERR_10101
90 | ///
91 | [EnumMember(Value = "ERR_10101")]
92 | _10101 = 10,
93 |
94 | ///
95 | /// Enum _10201 for value: ERR_10201
96 | ///
97 | [EnumMember(Value = "ERR_10201")]
98 | _10201 = 11,
99 |
100 | ///
101 | /// Enum _10202 for value: ERR_10202
102 | ///
103 | [EnumMember(Value = "ERR_10202")]
104 | _10202 = 12,
105 |
106 | ///
107 | /// Enum _10301 for value: ERR_10301
108 | ///
109 | [EnumMember(Value = "ERR_10301")]
110 | _10301 = 13,
111 |
112 | ///
113 | /// Enum _10302 for value: ERR_10302
114 | ///
115 | [EnumMember(Value = "ERR_10302")]
116 | _10302 = 14,
117 |
118 | ///
119 | /// Enum _10401 for value: ERR_10401
120 | ///
121 | [EnumMember(Value = "ERR_10401")]
122 | _10401 = 15,
123 |
124 | ///
125 | /// Enum _10801 for value: ERR_10801
126 | ///
127 | [EnumMember(Value = "ERR_10801")]
128 | _10801 = 16,
129 |
130 | ///
131 | /// Enum _10802 for value: ERR_10802
132 | ///
133 | [EnumMember(Value = "ERR_10802")]
134 | _10802 = 17,
135 |
136 | ///
137 | /// Enum _10999 for value: ERR_10999
138 | ///
139 | [EnumMember(Value = "ERR_10999")]
140 | _10999 = 18
141 | }
142 |
143 | }
144 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Client/DocuSignRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.Linq;
14 | using System.Net.Http;
15 | using System.Text;
16 | using System.Threading.Tasks;
17 |
18 | namespace DocuSign.Maestro.Client
19 | {
20 | public class FileParameter
21 | {
22 | public FileParameter(string name, string fileName, string contentDisposition, byte[] content)
23 | {
24 | Name = name;
25 | FileName = fileName;
26 | ContentDisposition = contentDisposition;
27 | Content = content;
28 | }
29 |
30 | public string Name { get; set; }
31 |
32 | public string FileName { get; set; }
33 |
34 | public string ContentDisposition { get; set; }
35 |
36 | public byte[] Content { get; set; }
37 |
38 | }
39 |
40 | public class DocuSignRequest
41 | {
42 | public HttpMethod Method { get; }
43 |
44 | public string Url { get; }
45 |
46 | public Object BodyContent { get; set; }
47 |
48 | public String ContentType { get; set; }
49 |
50 | public String ContentDisposition { get; set; }
51 |
52 | ///
53 | /// Query parameters
54 | ///
55 | public List> QueryParams { get; private set; }
56 |
57 | ///
58 | /// Post parameters
59 | ///
60 | public List> PostParams { get; private set; }
61 |
62 | ///
63 | /// Header parameters
64 | ///
65 | public List> HeaderParams { get; private set; }
66 |
67 | ///
68 | /// Path parameters
69 | ///
70 | public List> PathParams { get; private set; }
71 |
72 | public List FileParams { get; private set; }
73 |
74 | public DocuSignRequest(HttpMethod method, string path) : this(method, path, null, null, null, null, null, null, null, null) { }
75 |
76 | public DocuSignRequest(HttpMethod method, string path, string contentType) : this(method, path, null, null, null, null, null, null, contentType, null) { }
77 |
78 | public DocuSignRequest(HttpMethod method, string path, List> queryParams = null, Object bodyContent = null,
79 | List> headerParams = null, List> postParams = null, List> pathParams = null,
80 | List fileParams = null, string contentType = null, string contentDisposition = null)
81 | {
82 | Method = method;
83 |
84 | Url = path;
85 | ContentType = contentType;
86 | ContentDisposition = contentDisposition;
87 | BodyContent = bodyContent;
88 | QueryParams = queryParams ?? new List>();
89 | PostParams = postParams ?? new List>();
90 | HeaderParams = headerParams ?? new List>();
91 | PathParams = pathParams ?? new List>();
92 | FileParams = fileParams ?? new List();
93 | }
94 |
95 | public void AddHeaderParameter(string name, string value) => HeaderParams.Add(new KeyValuePair(name, value));
96 |
97 | public void AddPostParameter(string name, string value) => PostParams.Add(new KeyValuePair(name, value));
98 |
99 | public void AddQueryParameter(string name, string value) => QueryParams.Add(new KeyValuePair(name, value));
100 |
101 | public void AddPathParameter(string name, string value) => PathParams.Add(new KeyValuePair(name, value));
102 |
103 | public void AddFileParameter(string name, string fileName, string contentDisposition, byte[] content) => FileParams.Add(new FileParameter(name, fileName, contentDisposition, content));
104 | }
105 | }
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/SuccessMessageResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Returns success with a status message
26 | ///
27 | [DataContract]
28 | public partial class SuccessMessageResponse : IEquatable, IValidatableObject
29 | {
30 | public SuccessMessageResponse()
31 | {
32 | // Empty Constructor
33 | }
34 |
35 | ///
36 | /// Initializes a new instance of the class.
37 | ///
38 | /// Message.
39 | public SuccessMessageResponse(string Message = default(string))
40 | {
41 | this.Message = Message;
42 | }
43 |
44 | ///
45 | /// Gets or Sets Message
46 | ///
47 | [DataMember(Name="message", EmitDefaultValue=false)]
48 | public string Message { get; set; }
49 | ///
50 | /// Returns the string presentation of the object
51 | ///
52 | /// String presentation of the object
53 | public override string ToString()
54 | {
55 | var sb = new StringBuilder();
56 | sb.Append("class SuccessMessageResponse {\n");
57 | sb.Append(" Message: ").Append(Message).Append("\n");
58 | sb.Append("}\n");
59 | return sb.ToString();
60 | }
61 |
62 | ///
63 | /// Returns the JSON string presentation of the object
64 | ///
65 | /// JSON string presentation of the object
66 | public string ToJson()
67 | {
68 | return JsonConvert.SerializeObject(this, Formatting.Indented);
69 | }
70 |
71 | ///
72 | /// Returns true if objects are equal
73 | ///
74 | /// Object to be compared
75 | /// Boolean
76 | public override bool Equals(object obj)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | return this.Equals(obj as SuccessMessageResponse);
80 | }
81 |
82 | ///
83 | /// Returns true if SuccessMessageResponse instances are equal
84 | ///
85 | /// Instance of SuccessMessageResponse to be compared
86 | /// Boolean
87 | public bool Equals(SuccessMessageResponse other)
88 | {
89 | // credit: http://stackoverflow.com/a/10454552/677735
90 | if (other == null)
91 | return false;
92 |
93 | return
94 | (
95 | this.Message == other.Message ||
96 | this.Message != null &&
97 | this.Message.Equals(other.Message)
98 | );
99 | }
100 |
101 | ///
102 | /// Gets the hash code
103 | ///
104 | /// Hash code
105 | public override int GetHashCode()
106 | {
107 | // credit: http://stackoverflow.com/a/263416/677735
108 | unchecked // Overflow is fine, just wrap
109 | {
110 | int hash = 41;
111 | // Suitable nullity checks etc, of course :)
112 | if (this.Message != null)
113 | hash = hash * 59 + this.Message.GetHashCode();
114 | return hash;
115 | }
116 | }
117 |
118 | public IEnumerable Validate(ValidationContext validationContext)
119 | {
120 | yield break;
121 | }
122 | }
123 | }
124 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/EventTypes.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// The Trigger Event types
26 | ///
27 | /// The Trigger Event types
28 |
29 | [JsonConverter(typeof(StringEnumConverter))]
30 |
31 | public enum EventTypes
32 | {
33 |
34 | ///
35 | /// Enum EnvelopeSent for value: envelope-sent
36 | ///
37 | [EnumMember(Value = "envelope-sent")]
38 | EnvelopeSent = 1,
39 |
40 | ///
41 | /// Enum EnvelopeDelivered for value: envelope-delivered
42 | ///
43 | [EnumMember(Value = "envelope-delivered")]
44 | EnvelopeDelivered = 2,
45 |
46 | ///
47 | /// Enum EnvelopeCompleted for value: envelope-completed
48 | ///
49 | [EnumMember(Value = "envelope-completed")]
50 | EnvelopeCompleted = 3,
51 |
52 | ///
53 | /// Enum EnvelopeDeclined for value: envelope-declined
54 | ///
55 | [EnumMember(Value = "envelope-declined")]
56 | EnvelopeDeclined = 4,
57 |
58 | ///
59 | /// Enum EnvelopeVoided for value: envelope-voided
60 | ///
61 | [EnumMember(Value = "envelope-voided")]
62 | EnvelopeVoided = 5,
63 |
64 | ///
65 | /// Enum EnvelopeCreated for value: envelope-created
66 | ///
67 | [EnumMember(Value = "envelope-created")]
68 | EnvelopeCreated = 6,
69 |
70 | ///
71 | /// Enum EnvelopeResent for value: envelope-resent
72 | ///
73 | [EnumMember(Value = "envelope-resent")]
74 | EnvelopeResent = 7,
75 |
76 | ///
77 | /// Enum EnvelopeCorrected for value: envelope-corrected
78 | ///
79 | [EnumMember(Value = "envelope-corrected")]
80 | EnvelopeCorrected = 8,
81 |
82 | ///
83 | /// Enum EnvelopePurge for value: envelope-purge
84 | ///
85 | [EnumMember(Value = "envelope-purge")]
86 | EnvelopePurge = 9,
87 |
88 | ///
89 | /// Enum EnvelopeDeleted for value: envelope-deleted
90 | ///
91 | [EnumMember(Value = "envelope-deleted")]
92 | EnvelopeDeleted = 10,
93 |
94 | ///
95 | /// Enum EnvelopeDiscard for value: envelope-discard
96 | ///
97 | [EnumMember(Value = "envelope-discard")]
98 | EnvelopeDiscard = 11,
99 |
100 | ///
101 | /// Enum DeliveryFailed for value: Delivery Failed
102 | ///
103 | [EnumMember(Value = "Delivery Failed")]
104 | DeliveryFailed = 12,
105 |
106 | ///
107 | /// Enum AuthenticationFailed for value: Authentication Failed
108 | ///
109 | [EnumMember(Value = "Authentication Failed")]
110 | AuthenticationFailed = 13,
111 |
112 | ///
113 | /// Enum Sent for value: Sent
114 | ///
115 | [EnumMember(Value = "Sent")]
116 | Sent = 14,
117 |
118 | ///
119 | /// Enum Delivered for value: Delivered
120 | ///
121 | [EnumMember(Value = "Delivered")]
122 | Delivered = 15,
123 |
124 | ///
125 | /// Enum Signed for value: Signed
126 | ///
127 | [EnumMember(Value = "Signed")]
128 | Signed = 16,
129 |
130 | ///
131 | /// Enum Completed for value: Completed
132 | ///
133 | [EnumMember(Value = "Completed")]
134 | Completed = 17
135 | }
136 |
137 | }
138 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DSWebFormsStepConfig.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// DSWebFormsStepConfig
26 | ///
27 | [DataContract]
28 | public partial class DSWebFormsStepConfig : IEquatable, IValidatableObject
29 | {
30 | public DSWebFormsStepConfig()
31 | {
32 | // Empty Constructor
33 | }
34 |
35 | ///
36 | /// Initializes a new instance of the class.
37 | ///
38 | /// PageUrl (required).
39 | public DSWebFormsStepConfig(string PageUrl = default(string))
40 | {
41 | // to ensure "PageUrl" is required (not null)
42 | if (PageUrl == null)
43 | {
44 | throw new InvalidDataException("PageUrl is a required property for DSWebFormsStepConfig and cannot be null");
45 | }
46 | else
47 | {
48 | this.PageUrl = PageUrl;
49 | }
50 | }
51 |
52 | ///
53 | /// Gets or Sets PageUrl
54 | ///
55 | [DataMember(Name="pageUrl", EmitDefaultValue=false)]
56 | public string PageUrl { get; set; }
57 | ///
58 | /// Returns the string presentation of the object
59 | ///
60 | /// String presentation of the object
61 | public override string ToString()
62 | {
63 | var sb = new StringBuilder();
64 | sb.Append("class DSWebFormsStepConfig {\n");
65 | sb.Append(" PageUrl: ").Append(PageUrl).Append("\n");
66 | sb.Append("}\n");
67 | return sb.ToString();
68 | }
69 |
70 | ///
71 | /// Returns the JSON string presentation of the object
72 | ///
73 | /// JSON string presentation of the object
74 | public string ToJson()
75 | {
76 | return JsonConvert.SerializeObject(this, Formatting.Indented);
77 | }
78 |
79 | ///
80 | /// Returns true if objects are equal
81 | ///
82 | /// Object to be compared
83 | /// Boolean
84 | public override bool Equals(object obj)
85 | {
86 | // credit: http://stackoverflow.com/a/10454552/677735
87 | return this.Equals(obj as DSWebFormsStepConfig);
88 | }
89 |
90 | ///
91 | /// Returns true if DSWebFormsStepConfig instances are equal
92 | ///
93 | /// Instance of DSWebFormsStepConfig to be compared
94 | /// Boolean
95 | public bool Equals(DSWebFormsStepConfig other)
96 | {
97 | // credit: http://stackoverflow.com/a/10454552/677735
98 | if (other == null)
99 | return false;
100 |
101 | return
102 | (
103 | this.PageUrl == other.PageUrl ||
104 | this.PageUrl != null &&
105 | this.PageUrl.Equals(other.PageUrl)
106 | );
107 | }
108 |
109 | ///
110 | /// Gets the hash code
111 | ///
112 | /// Hash code
113 | public override int GetHashCode()
114 | {
115 | // credit: http://stackoverflow.com/a/263416/677735
116 | unchecked // Overflow is fine, just wrap
117 | {
118 | int hash = 41;
119 | // Suitable nullity checks etc, of course :)
120 | if (this.PageUrl != null)
121 | hash = hash * 59 + this.PageUrl.GetHashCode();
122 | return hash;
123 | }
124 | }
125 |
126 | public IEnumerable Validate(ValidationContext validationContext)
127 | {
128 | yield break;
129 | }
130 | }
131 | }
132 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/DeployRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// DeployRequest
26 | ///
27 | [DataContract]
28 | public partial class DeployRequest : IEquatable, IValidatableObject
29 | {
30 | public DeployRequest()
31 | {
32 | // Empty Constructor
33 | }
34 |
35 | ///
36 | /// Gets or Sets DeploymentStatus
37 | ///
38 | [DataMember(Name="deploymentStatus", EmitDefaultValue=false)]
39 | public DeployStatus? DeploymentStatus { get; set; }
40 | ///
41 | /// Initializes a new instance of the class.
42 | ///
43 | /// DeploymentStatus (required).
44 | public DeployRequest(DeployStatus? DeploymentStatus = default(DeployStatus?))
45 | {
46 | // to ensure "DeploymentStatus" is required (not null)
47 | if (DeploymentStatus == null)
48 | {
49 | throw new InvalidDataException("DeploymentStatus is a required property for DeployRequest and cannot be null");
50 | }
51 | else
52 | {
53 | this.DeploymentStatus = DeploymentStatus;
54 | }
55 | }
56 |
57 | ///
58 | /// Returns the string presentation of the object
59 | ///
60 | /// String presentation of the object
61 | public override string ToString()
62 | {
63 | var sb = new StringBuilder();
64 | sb.Append("class DeployRequest {\n");
65 | sb.Append(" DeploymentStatus: ").Append(DeploymentStatus).Append("\n");
66 | sb.Append("}\n");
67 | return sb.ToString();
68 | }
69 |
70 | ///
71 | /// Returns the JSON string presentation of the object
72 | ///
73 | /// JSON string presentation of the object
74 | public string ToJson()
75 | {
76 | return JsonConvert.SerializeObject(this, Formatting.Indented);
77 | }
78 |
79 | ///
80 | /// Returns true if objects are equal
81 | ///
82 | /// Object to be compared
83 | /// Boolean
84 | public override bool Equals(object obj)
85 | {
86 | // credit: http://stackoverflow.com/a/10454552/677735
87 | return this.Equals(obj as DeployRequest);
88 | }
89 |
90 | ///
91 | /// Returns true if DeployRequest instances are equal
92 | ///
93 | /// Instance of DeployRequest to be compared
94 | /// Boolean
95 | public bool Equals(DeployRequest other)
96 | {
97 | // credit: http://stackoverflow.com/a/10454552/677735
98 | if (other == null)
99 | return false;
100 |
101 | return
102 | (
103 | this.DeploymentStatus == other.DeploymentStatus ||
104 | this.DeploymentStatus != null &&
105 | this.DeploymentStatus.Equals(other.DeploymentStatus)
106 | );
107 | }
108 |
109 | ///
110 | /// Gets the hash code
111 | ///
112 | /// Hash code
113 | public override int GetHashCode()
114 | {
115 | // credit: http://stackoverflow.com/a/263416/677735
116 | unchecked // Overflow is fine, just wrap
117 | {
118 | int hash = 41;
119 | // Suitable nullity checks etc, of course :)
120 | if (this.DeploymentStatus != null)
121 | hash = hash * 59 + this.DeploymentStatus.GetHashCode();
122 | return hash;
123 | }
124 | }
125 |
126 | public IEnumerable Validate(ValidationContext validationContext)
127 | {
128 | yield break;
129 | }
130 | }
131 | }
132 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/CreateOrUpdateWorkflowDefinitionRequestBody.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// A request body that used for create or update workflow definition
26 | ///
27 | [DataContract]
28 | public partial class CreateOrUpdateWorkflowDefinitionRequestBody : IEquatable, IValidatableObject
29 | {
30 | public CreateOrUpdateWorkflowDefinitionRequestBody()
31 | {
32 | // Empty Constructor
33 | }
34 |
35 | ///
36 | /// Initializes a new instance of the class.
37 | ///
38 | /// WorkflowDefinition.
39 | public CreateOrUpdateWorkflowDefinitionRequestBody(WorkflowDefinition WorkflowDefinition = default(WorkflowDefinition))
40 | {
41 | this.WorkflowDefinition = WorkflowDefinition;
42 | }
43 |
44 | ///
45 | /// Gets or Sets WorkflowDefinition
46 | ///
47 | [DataMember(Name="workflowDefinition", EmitDefaultValue=false)]
48 | public WorkflowDefinition WorkflowDefinition { get; set; }
49 | ///
50 | /// Returns the string presentation of the object
51 | ///
52 | /// String presentation of the object
53 | public override string ToString()
54 | {
55 | var sb = new StringBuilder();
56 | sb.Append("class CreateOrUpdateWorkflowDefinitionRequestBody {\n");
57 | sb.Append(" WorkflowDefinition: ").Append(WorkflowDefinition).Append("\n");
58 | sb.Append("}\n");
59 | return sb.ToString();
60 | }
61 |
62 | ///
63 | /// Returns the JSON string presentation of the object
64 | ///
65 | /// JSON string presentation of the object
66 | public string ToJson()
67 | {
68 | return JsonConvert.SerializeObject(this, Formatting.Indented);
69 | }
70 |
71 | ///
72 | /// Returns true if objects are equal
73 | ///
74 | /// Object to be compared
75 | /// Boolean
76 | public override bool Equals(object obj)
77 | {
78 | // credit: http://stackoverflow.com/a/10454552/677735
79 | return this.Equals(obj as CreateOrUpdateWorkflowDefinitionRequestBody);
80 | }
81 |
82 | ///
83 | /// Returns true if CreateOrUpdateWorkflowDefinitionRequestBody instances are equal
84 | ///
85 | /// Instance of CreateOrUpdateWorkflowDefinitionRequestBody to be compared
86 | /// Boolean
87 | public bool Equals(CreateOrUpdateWorkflowDefinitionRequestBody other)
88 | {
89 | // credit: http://stackoverflow.com/a/10454552/677735
90 | if (other == null)
91 | return false;
92 |
93 | return
94 | (
95 | this.WorkflowDefinition == other.WorkflowDefinition ||
96 | this.WorkflowDefinition != null &&
97 | this.WorkflowDefinition.Equals(other.WorkflowDefinition)
98 | );
99 | }
100 |
101 | ///
102 | /// Gets the hash code
103 | ///
104 | /// Hash code
105 | public override int GetHashCode()
106 | {
107 | // credit: http://stackoverflow.com/a/263416/677735
108 | unchecked // Overflow is fine, just wrap
109 | {
110 | int hash = 41;
111 | // Suitable nullity checks etc, of course :)
112 | if (this.WorkflowDefinition != null)
113 | hash = hash * 59 + this.WorkflowDefinition.GetHashCode();
114 | return hash;
115 | }
116 | }
117 |
118 | public IEnumerable Validate(ValidationContext validationContext)
119 | {
120 | yield break;
121 | }
122 | }
123 | }
124 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/ErrorResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// Returns error with a status message
26 | ///
27 | [DataContract]
28 | public partial class ErrorResponse : IEquatable, IValidatableObject
29 | {
30 | public ErrorResponse()
31 | {
32 | // Empty Constructor
33 | }
34 |
35 | ///
36 | /// Gets or Sets ErrorCode
37 | ///
38 | [DataMember(Name="errorCode", EmitDefaultValue=false)]
39 | public ErrorCodes? ErrorCode { get; set; }
40 | ///
41 | /// Initializes a new instance of the class.
42 | ///
43 | /// ErrorCode.
44 | /// Message.
45 | public ErrorResponse(ErrorCodes? ErrorCode = default(ErrorCodes?), string Message = default(string))
46 | {
47 | this.ErrorCode = ErrorCode;
48 | this.Message = Message;
49 | }
50 |
51 | ///
52 | /// Gets or Sets Message
53 | ///
54 | [DataMember(Name="message", EmitDefaultValue=false)]
55 | public string Message { get; set; }
56 | ///
57 | /// Returns the string presentation of the object
58 | ///
59 | /// String presentation of the object
60 | public override string ToString()
61 | {
62 | var sb = new StringBuilder();
63 | sb.Append("class ErrorResponse {\n");
64 | sb.Append(" ErrorCode: ").Append(ErrorCode).Append("\n");
65 | sb.Append(" Message: ").Append(Message).Append("\n");
66 | sb.Append("}\n");
67 | return sb.ToString();
68 | }
69 |
70 | ///
71 | /// Returns the JSON string presentation of the object
72 | ///
73 | /// JSON string presentation of the object
74 | public string ToJson()
75 | {
76 | return JsonConvert.SerializeObject(this, Formatting.Indented);
77 | }
78 |
79 | ///
80 | /// Returns true if objects are equal
81 | ///
82 | /// Object to be compared
83 | /// Boolean
84 | public override bool Equals(object obj)
85 | {
86 | // credit: http://stackoverflow.com/a/10454552/677735
87 | return this.Equals(obj as ErrorResponse);
88 | }
89 |
90 | ///
91 | /// Returns true if ErrorResponse instances are equal
92 | ///
93 | /// Instance of ErrorResponse to be compared
94 | /// Boolean
95 | public bool Equals(ErrorResponse other)
96 | {
97 | // credit: http://stackoverflow.com/a/10454552/677735
98 | if (other == null)
99 | return false;
100 |
101 | return
102 | (
103 | this.ErrorCode == other.ErrorCode ||
104 | this.ErrorCode != null &&
105 | this.ErrorCode.Equals(other.ErrorCode)
106 | ) &&
107 | (
108 | this.Message == other.Message ||
109 | this.Message != null &&
110 | this.Message.Equals(other.Message)
111 | );
112 | }
113 |
114 | ///
115 | /// Gets the hash code
116 | ///
117 | /// Hash code
118 | public override int GetHashCode()
119 | {
120 | // credit: http://stackoverflow.com/a/263416/677735
121 | unchecked // Overflow is fine, just wrap
122 | {
123 | int hash = 41;
124 | // Suitable nullity checks etc, of course :)
125 | if (this.ErrorCode != null)
126 | hash = hash * 59 + this.ErrorCode.GetHashCode();
127 | if (this.Message != null)
128 | hash = hash * 59 + this.Message.GetHashCode();
129 | return hash;
130 | }
131 | }
132 |
133 | public IEnumerable Validate(ValidationContext validationContext)
134 | {
135 | yield break;
136 | }
137 | }
138 | }
139 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/WorkflowStepErrorError.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// WorkflowStepErrorError
26 | ///
27 | [DataContract]
28 | public partial class WorkflowStepErrorError : IEquatable, IValidatableObject
29 | {
30 | public WorkflowStepErrorError()
31 | {
32 | // Empty Constructor
33 | }
34 |
35 | ///
36 | /// Initializes a new instance of the class.
37 | ///
38 | /// The Error Code Message.
39 | /// Error Message which shares more details.
40 | public WorkflowStepErrorError(string Code = default(string), string Message = default(string))
41 | {
42 | this.Code = Code;
43 | this.Message = Message;
44 | }
45 |
46 | ///
47 | /// The Error Code Message
48 | ///
49 | /// The Error Code Message
50 | [DataMember(Name="code", EmitDefaultValue=false)]
51 | public string Code { get; set; }
52 | ///
53 | /// Error Message which shares more details
54 | ///
55 | /// Error Message which shares more details
56 | [DataMember(Name="message", EmitDefaultValue=false)]
57 | public string Message { get; set; }
58 | ///
59 | /// Returns the string presentation of the object
60 | ///
61 | /// String presentation of the object
62 | public override string ToString()
63 | {
64 | var sb = new StringBuilder();
65 | sb.Append("class WorkflowStepErrorError {\n");
66 | sb.Append(" Code: ").Append(Code).Append("\n");
67 | sb.Append(" Message: ").Append(Message).Append("\n");
68 | sb.Append("}\n");
69 | return sb.ToString();
70 | }
71 |
72 | ///
73 | /// Returns the JSON string presentation of the object
74 | ///
75 | /// JSON string presentation of the object
76 | public string ToJson()
77 | {
78 | return JsonConvert.SerializeObject(this, Formatting.Indented);
79 | }
80 |
81 | ///
82 | /// Returns true if objects are equal
83 | ///
84 | /// Object to be compared
85 | /// Boolean
86 | public override bool Equals(object obj)
87 | {
88 | // credit: http://stackoverflow.com/a/10454552/677735
89 | return this.Equals(obj as WorkflowStepErrorError);
90 | }
91 |
92 | ///
93 | /// Returns true if WorkflowStepErrorError instances are equal
94 | ///
95 | /// Instance of WorkflowStepErrorError to be compared
96 | /// Boolean
97 | public bool Equals(WorkflowStepErrorError other)
98 | {
99 | // credit: http://stackoverflow.com/a/10454552/677735
100 | if (other == null)
101 | return false;
102 |
103 | return
104 | (
105 | this.Code == other.Code ||
106 | this.Code != null &&
107 | this.Code.Equals(other.Code)
108 | ) &&
109 | (
110 | this.Message == other.Message ||
111 | this.Message != null &&
112 | this.Message.Equals(other.Message)
113 | );
114 | }
115 |
116 | ///
117 | /// Gets the hash code
118 | ///
119 | /// Hash code
120 | public override int GetHashCode()
121 | {
122 | // credit: http://stackoverflow.com/a/263416/677735
123 | unchecked // Overflow is fine, just wrap
124 | {
125 | int hash = 41;
126 | // Suitable nullity checks etc, of course :)
127 | if (this.Code != null)
128 | hash = hash * 59 + this.Code.GetHashCode();
129 | if (this.Message != null)
130 | hash = hash * 59 + this.Message.GetHashCode();
131 | return hash;
132 | }
133 | }
134 |
135 | public IEnumerable Validate(ValidationContext validationContext)
136 | {
137 | yield break;
138 | }
139 | }
140 | }
141 |
--------------------------------------------------------------------------------
/sdk/src/DocuSign.Maestro/Model/CancelResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Maestro API
3 | *
4 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise
5 | *
6 | * OpenAPI spec version: 1.0.0
7 | * Contact: devcenter@docusign.com
8 | * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 | */
10 |
11 | using System;
12 | using System.Collections.Generic;
13 | using System.IO;
14 | using System.Linq;
15 | using System.Runtime.Serialization;
16 | using System.Text;
17 | using System.Text.RegularExpressions;
18 | using Newtonsoft.Json;
19 | using Newtonsoft.Json.Converters;
20 | using System.ComponentModel.DataAnnotations;
21 |
22 | namespace DocuSign.Maestro.Model
23 | {
24 | ///
25 | /// CancelResponse
26 | ///
27 | [DataContract]
28 | public partial class CancelResponse : IEquatable, IValidatableObject
29 | {
30 | public CancelResponse()
31 | {
32 | // Empty Constructor
33 | }
34 |
35 | ///
36 | /// Initializes a new instance of the class.
37 | ///
38 | /// Code.
39 | /// Message (required).
40 | public CancelResponse(string Code = default(string), string Message = default(string))
41 | {
42 | // to ensure "Message" is required (not null)
43 | if (Message == null)
44 | {
45 | throw new InvalidDataException("Message is a required property for CancelResponse and cannot be null");
46 | }
47 | else
48 | {
49 | this.Message = Message;
50 | }
51 | this.Code = Code;
52 | }
53 |
54 | ///
55 | /// Gets or Sets Code
56 | ///
57 | [DataMember(Name="code", EmitDefaultValue=false)]
58 | public string Code { get; set; }
59 | ///
60 | /// Gets or Sets Message
61 | ///
62 | [DataMember(Name="message", EmitDefaultValue=false)]
63 | public string Message { get; set; }
64 | ///
65 | /// Returns the string presentation of the object
66 | ///
67 | /// String presentation of the object
68 | public override string ToString()
69 | {
70 | var sb = new StringBuilder();
71 | sb.Append("class CancelResponse {\n");
72 | sb.Append(" Code: ").Append(Code).Append("\n");
73 | sb.Append(" Message: ").Append(Message).Append("\n");
74 | sb.Append("}\n");
75 | return sb.ToString();
76 | }
77 |
78 | ///
79 | /// Returns the JSON string presentation of the object
80 | ///
81 | /// JSON string presentation of the object
82 | public string ToJson()
83 | {
84 | return JsonConvert.SerializeObject(this, Formatting.Indented);
85 | }
86 |
87 | ///
88 | /// Returns true if objects are equal
89 | ///
90 | /// Object to be compared
91 | /// Boolean
92 | public override bool Equals(object obj)
93 | {
94 | // credit: http://stackoverflow.com/a/10454552/677735
95 | return this.Equals(obj as CancelResponse);
96 | }
97 |
98 | ///
99 | /// Returns true if CancelResponse instances are equal
100 | ///
101 | /// Instance of CancelResponse to be compared
102 | /// Boolean
103 | public bool Equals(CancelResponse other)
104 | {
105 | // credit: http://stackoverflow.com/a/10454552/677735
106 | if (other == null)
107 | return false;
108 |
109 | return
110 | (
111 | this.Code == other.Code ||
112 | this.Code != null &&
113 | this.Code.Equals(other.Code)
114 | ) &&
115 | (
116 | this.Message == other.Message ||
117 | this.Message != null &&
118 | this.Message.Equals(other.Message)
119 | );
120 | }
121 |
122 | ///
123 | /// Gets the hash code
124 | ///
125 | /// Hash code
126 | public override int GetHashCode()
127 | {
128 | // credit: http://stackoverflow.com/a/263416/677735
129 | unchecked // Overflow is fine, just wrap
130 | {
131 | int hash = 41;
132 | // Suitable nullity checks etc, of course :)
133 | if (this.Code != null)
134 | hash = hash * 59 + this.Code.GetHashCode();
135 | if (this.Message != null)
136 | hash = hash * 59 + this.Message.GetHashCode();
137 | return hash;
138 | }
139 | }
140 |
141 | public IEnumerable Validate(ValidationContext validationContext)
142 | {
143 | yield break;
144 | }
145 | }
146 | }
147 |
--------------------------------------------------------------------------------