Example #1
0
        private EncodedTaskRunRequestResponse(
            Outputs.AgentPropertiesResponse?agentConfiguration,

            string?agentPoolName,

            Outputs.CredentialsResponse?credentials,

            string encodedTaskContent,

            string?encodedValuesContent,

            bool?isArchiveEnabled,

            string?logTemplate,

            Outputs.PlatformPropertiesResponse platform,

            string?sourceLocation,

            int?timeout,

            string type,

            ImmutableArray <Outputs.SetValueResponse> values)
        {
            AgentConfiguration   = agentConfiguration;
            AgentPoolName        = agentPoolName;
            Credentials          = credentials;
            EncodedTaskContent   = encodedTaskContent;
            EncodedValuesContent = encodedValuesContent;
            IsArchiveEnabled     = isArchiveEnabled;
            LogTemplate          = logTemplate;
            Platform             = platform;
            SourceLocation       = sourceLocation;
            Timeout = timeout;
            Type    = type;
            Values  = values;
        }
        private FileTaskRunRequestResponse(
            Outputs.AgentPropertiesResponse?agentConfiguration,

            string?agentPoolName,

            Outputs.CredentialsResponse?credentials,

            bool?isArchiveEnabled,

            string?logTemplate,

            Outputs.PlatformPropertiesResponse platform,

            string?sourceLocation,

            string taskFilePath,

            int?timeout,

            string type,

            ImmutableArray <Outputs.SetValueResponse> values,

            string?valuesFilePath)
        {
            AgentConfiguration = agentConfiguration;
            AgentPoolName      = agentPoolName;
            Credentials        = credentials;
            IsArchiveEnabled   = isArchiveEnabled;
            LogTemplate        = logTemplate;
            Platform           = platform;
            SourceLocation     = sourceLocation;
            TaskFilePath       = taskFilePath;
            Timeout            = timeout;
            Type           = type;
            Values         = values;
            ValuesFilePath = valuesFilePath;
        }