示例#1
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionSpec
 /// class.
 /// </summary>
 /// <param name="group">Group is the group this resource belongs
 /// in</param>
 /// <param name="names">Names are the names used to describe this
 /// custom resource</param>
 /// <param name="scope">Scope indicates whether this resource is
 /// cluster or namespace scoped.  Default is namespaced</param>
 /// <param name="version">Version is the version this resource belongs
 /// in</param>
 /// <param name="validation">Validation describes the validation
 /// methods for CustomResources This field is alpha-level and should
 /// only be sent to servers that enable the CustomResourceValidation
 /// feature.</param>
 public Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionSpec(string group, Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionNames names, string scope, string version, Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceValidation validation = default(Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceValidation))
 {
     Group      = group;
     Names      = names;
     Scope      = scope;
     Validation = validation;
     Version    = version;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionStatus
 /// class.
 /// </summary>
 /// <param name="acceptedNames">AcceptedNames are the names that are
 /// actually being used to serve discovery They may be different than
 /// the names in spec.</param>
 /// <param name="conditions">Conditions indicate state for particular
 /// aspects of a CustomResourceDefinition</param>
 public Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionStatus(Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionNames acceptedNames, IList <Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionCondition> conditions)
 {
     AcceptedNames = acceptedNames;
     Conditions    = conditions;
     CustomInit();
 }