/// <summary> /// Initializes a new instance of the <see cref="KpackBuildV1alpha1BuilderList" /> class. /// </summary> /// <param name="apiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources.</param> /// <param name="items">items (required).</param> /// <param name="kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds.</param> /// <param name="metadata">metadata (required).</param> public KpackBuildV1alpha1BuilderList(string apiVersion = default(string), List <KpackBuildV1alpha1Builder> items = default(List <KpackBuildV1alpha1Builder>), string kind = default(string), IoK8sApimachineryPkgApisMetaV1ListMeta metadata = default(IoK8sApimachineryPkgApisMetaV1ListMeta)) { // to ensure "items" is required (not null) if (items == null) { throw new InvalidDataException("items is a required property for KpackBuildV1alpha1BuilderList and cannot be null"); } else { this.Items = items; } // to ensure "metadata" is required (not null) if (metadata == null) { throw new InvalidDataException("metadata is a required property for KpackBuildV1alpha1BuilderList and cannot be null"); } else { this.Metadata = metadata; } this.ApiVersion = apiVersion; this.Kind = kind; }
/// <summary> /// Initializes a new instance of the <see cref="IoK8sApimachineryPkgApisMetaV1Status" /> class. /// </summary> /// <param name="apiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param> /// <param name="code">Suggested HTTP return code for this status, 0 if not set..</param> /// <param name="details">details.</param> /// <param name="kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param> /// <param name="message">A human-readable description of the status of this operation..</param> /// <param name="metadata">metadata.</param> /// <param name="reason">A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it..</param> /// <param name="status">Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param> public IoK8sApimachineryPkgApisMetaV1Status(string apiVersion = default(string), int code = default(int), IoK8sApimachineryPkgApisMetaV1StatusDetails details = default(IoK8sApimachineryPkgApisMetaV1StatusDetails), string kind = default(string), string message = default(string), IoK8sApimachineryPkgApisMetaV1ListMeta metadata = default(IoK8sApimachineryPkgApisMetaV1ListMeta), string reason = default(string), string status = default(string)) { this.ApiVersion = apiVersion; this.Code = code; this.Details = details; this.Kind = kind; this.Message = message; this.Metadata = metadata; this.Reason = reason; this.Status = status; }