/// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1BuildSpec class.
 /// </summary>
 public Comgithubopenshiftapibuildv1BuildSpec(IDictionary <string, string> nodeSelector, Comgithubopenshiftapibuildv1BuildStrategy strategy, IList <Comgithubopenshiftapibuildv1BuildTriggerCause> triggeredBy, long?completionDeadlineSeconds = default(long?), Comgithubopenshiftapibuildv1BuildOutput output = default(Comgithubopenshiftapibuildv1BuildOutput), Comgithubopenshiftapibuildv1BuildPostCommitSpec postCommit = default(Comgithubopenshiftapibuildv1BuildPostCommitSpec), Iok8sapicorev1ResourceRequirements resources = default(Iok8sapicorev1ResourceRequirements), Comgithubopenshiftapibuildv1SourceRevision revision = default(Comgithubopenshiftapibuildv1SourceRevision), string serviceAccount = default(string), Comgithubopenshiftapibuildv1BuildSource source = default(Comgithubopenshiftapibuildv1BuildSource))
 {
     CompletionDeadlineSeconds = completionDeadlineSeconds;
     NodeSelector   = nodeSelector;
     Output         = output;
     PostCommit     = postCommit;
     Resources      = resources;
     Revision       = revision;
     ServiceAccount = serviceAccount;
     Source         = source;
     Strategy       = strategy;
     TriggeredBy    = triggeredBy;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1BuildRequest class.
 /// </summary>
 public Comgithubopenshiftapibuildv1BuildRequest(IList <Comgithubopenshiftapibuildv1BuildTriggerCause> triggeredBy, string apiVersion = default(string), Comgithubopenshiftapibuildv1BinaryBuildSource binary = default(Comgithubopenshiftapibuildv1BinaryBuildSource), Comgithubopenshiftapibuildv1DockerStrategyOptions dockerStrategyOptions = default(Comgithubopenshiftapibuildv1DockerStrategyOptions), IList <Iok8sapicorev1EnvVar> env = default(IList <Iok8sapicorev1EnvVar>), Iok8sapicorev1ObjectReference fromProperty = default(Iok8sapicorev1ObjectReference), string kind = default(string), long?lastVersion = default(long?), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Comgithubopenshiftapibuildv1SourceRevision revision = default(Comgithubopenshiftapibuildv1SourceRevision), Comgithubopenshiftapibuildv1SourceStrategyOptions sourceStrategyOptions = default(Comgithubopenshiftapibuildv1SourceStrategyOptions), Iok8sapicorev1ObjectReference triggeredByImage = default(Iok8sapicorev1ObjectReference))
 {
     ApiVersion            = apiVersion;
     Binary                = binary;
     DockerStrategyOptions = dockerStrategyOptions;
     Env                   = env;
     FromProperty          = fromProperty;
     Kind                  = kind;
     LastVersion           = lastVersion;
     Metadata              = metadata;
     Revision              = revision;
     SourceStrategyOptions = sourceStrategyOptions;
     TriggeredBy           = triggeredBy;
     TriggeredByImage      = triggeredByImage;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1BuildConfigSpec class.
 /// </summary>
 public Comgithubopenshiftapibuildv1BuildConfigSpec(IDictionary <string, string> nodeSelector, Comgithubopenshiftapibuildv1BuildStrategy strategy, IList <Comgithubopenshiftapibuildv1BuildTriggerPolicy> triggers, long?completionDeadlineSeconds = default(long?), int?failedBuildsHistoryLimit = default(int?), Comgithubopenshiftapibuildv1BuildOutput output = default(Comgithubopenshiftapibuildv1BuildOutput), Comgithubopenshiftapibuildv1BuildPostCommitSpec postCommit = default(Comgithubopenshiftapibuildv1BuildPostCommitSpec), Iok8sapicorev1ResourceRequirements resources = default(Iok8sapicorev1ResourceRequirements), Comgithubopenshiftapibuildv1SourceRevision revision = default(Comgithubopenshiftapibuildv1SourceRevision), string runPolicy = default(string), string serviceAccount = default(string), Comgithubopenshiftapibuildv1BuildSource source = default(Comgithubopenshiftapibuildv1BuildSource), int?successfulBuildsHistoryLimit = default(int?))
 {
     CompletionDeadlineSeconds = completionDeadlineSeconds;
     FailedBuildsHistoryLimit  = failedBuildsHistoryLimit;
     NodeSelector   = nodeSelector;
     Output         = output;
     PostCommit     = postCommit;
     Resources      = resources;
     Revision       = revision;
     RunPolicy      = runPolicy;
     ServiceAccount = serviceAccount;
     Source         = source;
     Strategy       = strategy;
     SuccessfulBuildsHistoryLimit = successfulBuildsHistoryLimit;
     Triggers = triggers;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1GitLabWebHookCause class.
 /// </summary>
 public Comgithubopenshiftapibuildv1GitLabWebHookCause(Comgithubopenshiftapibuildv1SourceRevision revision = default(Comgithubopenshiftapibuildv1SourceRevision), string secret = default(string))
 {
     Revision = revision;
     Secret   = secret;
 }