From 72e427aa5e20a23d57dc1c1433d7a0bcdbc298ba Mon Sep 17 00:00:00 2001 From: Steve Hawkins Date: Mon, 10 Jul 2023 10:04:29 -0400 Subject: [PATCH] fix #5262: making all collections as omit empty --- CHANGELOG.md | 2 ++ .../api/model/acme/v1/ChallengeList.java | 1 + .../api/model/acme/v1/OrderList.java | 1 + .../api/model/v1/CertificateList.java | 1 + .../api/model/v1/CertificateRequestList.java | 1 + .../api/model/v1/ClusterIssuerList.java | 1 + .../certmanager/api/model/v1/IssuerList.java | 1 + .../model/acme/v1alpha2/ChallengeList.java | 1 + .../api/model/acme/v1alpha2/OrderList.java | 1 + .../api/model/v1alpha2/CertificateList.java | 1 + .../v1alpha2/CertificateRequestList.java | 1 + .../api/model/v1alpha2/ClusterIssuerList.java | 1 + .../api/model/v1alpha2/IssuerList.java | 1 + .../model/acme/v1alpha3/ChallengeList.java | 1 + .../api/model/acme/v1alpha3/OrderList.java | 1 + .../api/model/v1alpha3/CertificateList.java | 1 + .../v1alpha3/CertificateRequestList.java | 1 + .../api/model/v1alpha3/ClusterIssuerList.java | 1 + .../api/model/v1alpha3/IssuerList.java | 1 + .../api/model/acme/v1beta1/ChallengeList.java | 1 + .../api/model/acme/v1beta1/OrderList.java | 1 + .../api/model/v1beta1/CertificateList.java | 1 + .../model/v1beta1/CertificateRequestList.java | 1 + .../api/model/v1beta1/ClusterIssuerList.java | 1 + .../api/model/v1beta1/IssuerList.java | 1 + .../chaosmesh/v1alpha1/AWSChaosList.java | 1 + .../chaosmesh/v1alpha1/BlockChaosList.java | 1 + .../chaosmesh/v1alpha1/BlockChaosSpec.java | 1 + .../chaosmesh/v1alpha1/CPUStressor.java | 1 + .../chaosmesh/v1alpha1/DNSChaosList.java | 1 + .../chaosmesh/v1alpha1/DNSChaosSpec.java | 2 ++ .../chaosmesh/v1alpha1/FailKernRequest.java | 1 + .../chaosmesh/v1alpha1/GCPChaosList.java | 1 + .../chaosmesh/v1alpha1/GCPChaosSpec.java | 1 + .../chaosmesh/v1alpha1/GCPChaosStatus.java | 1 + .../chaosmesh/v1alpha1/HTTPChaosList.java | 1 + .../chaosmesh/v1alpha1/IOChaosList.java | 1 + .../chaosmesh/v1alpha1/IOChaosSpec.java | 1 + .../chaosmesh/v1alpha1/JVMChaosList.java | 1 + .../chaosmesh/v1alpha1/JVMChaosSpec.java | 1 + .../chaosmesh/v1alpha1/KernelChaosList.java | 1 + .../chaosmesh/v1alpha1/MemoryStressor.java | 1 + .../chaosmesh/v1alpha1/NetworkChaosList.java | 1 + .../chaosmesh/v1alpha1/NetworkChaosSpec.java | 1 + .../v1alpha1/PhysicalMachineChaosList.java | 1 + .../v1alpha1/PhysicalMachineChaosSpec.java | 1 + .../v1alpha1/PhysicalMachineSelectorSpec.java | 1 + .../chaosmesh/v1alpha1/PodChaosList.java | 1 + .../chaosmesh/v1alpha1/PodChaosSpec.java | 1 + .../chaosmesh/v1alpha1/PodHttpChaosList.java | 1 + .../chaosmesh/v1alpha1/PodIOChaosList.java | 1 + .../v1alpha1/PodNetworkChaosList.java | 1 + .../chaosmesh/v1alpha1/PodSelectorSpec.java | 3 +++ .../fabric8/chaosmesh/v1alpha1/RawIPSet.java | 1 + .../chaosmesh/v1alpha1/RawIptables.java | 1 + .../chaosmesh/v1alpha1/StressChaosList.java | 1 + .../chaosmesh/v1alpha1/StressChaosSpec.java | 1 + .../chaosmesh/v1alpha1/TimeChaosList.java | 1 + .../chaosmesh/v1alpha1/TimeChaosSpec.java | 2 ++ .../v1alpha3/DestinationRuleList.java | 1 + .../networking/v1alpha3/EnvoyFilterList.java | 1 + .../api/networking/v1alpha3/GatewayList.java | 1 + .../networking/v1alpha3/ServiceEntryList.java | 1 + .../api/networking/v1alpha3/SidecarList.java | 1 + .../v1alpha3/VirtualServiceList.java | 1 + .../v1alpha3/WorkloadEntryList.java | 1 + .../v1alpha3/WorkloadGroupList.java | 1 + .../v1beta1/DestinationRuleList.java | 1 + .../api/networking/v1beta1/GatewayList.java | 1 + .../networking/v1beta1/ServiceEntryList.java | 1 + .../api/networking/v1beta1/SidecarList.java | 1 + .../v1beta1/VirtualServiceList.java | 1 + .../networking/v1beta1/WorkloadEntryList.java | 1 + .../v1beta1/AuthorizationPolicyList.java | 1 + .../v1beta1/PeerAuthenticationList.java | 1 + .../v1beta1/RequestAuthenticationList.java | 1 + .../awssqs/v1alpha1/AwsSqsSourceList.java | 1 + .../couchdb/v1alpha1/CouchDbSourceList.java | 1 + .../github/v1alpha1/GitHubBindingList.java | 1 + .../github/v1alpha1/GitHubSourceList.java | 1 + .../github/v1alpha1/GitHubSourceSpec.java | 1 + .../gitlab/v1alpha1/GitLabBindingList.java | 1 + .../gitlab/v1alpha1/GitLabSourceList.java | 1 + .../gitlab/v1alpha1/GitLabSourceSpec.java | 1 + .../kafka/v1beta1/KafkaBindingList.java | 1 + .../kafka/v1beta1/KafkaBindingSpec.java | 1 + .../kafka/v1beta1/KafkaChannelList.java | 1 + .../kafka/v1beta1/KafkaSourceList.java | 1 + .../kafka/v1beta1/KafkaSourceSpec.java | 2 ++ .../v1alpha1/PrometheusSourceList.java | 1 + .../knative/eventing/v1/BrokerList.java | 1 + .../knative/eventing/v1/TriggerList.java | 1 + .../eventing/v1beta1/EventTypeList.java | 1 + .../knative/flows/v1/ParallelList.java | 1 + .../knative/flows/v1/ParallelSpec.java | 1 + .../knative/flows/v1/ParallelStatus.java | 1 + .../knative/flows/v1/SequenceList.java | 1 + .../knative/flows/v1/SequenceSpec.java | 1 + .../knative/messaging/v1/ChannelList.java | 1 + .../messaging/v1/InMemoryChannelList.java | 1 + .../messaging/v1/SubscriptionList.java | 1 + .../knative/serving/v1/ConfigurationList.java | 1 + .../knative/serving/v1/RevisionList.java | 1 + .../knative/serving/v1/RevisionSpec.java | 1 + .../fabric8/knative/serving/v1/RouteList.java | 1 + .../knative/serving/v1/ServiceList.java | 1 + .../serving/v1beta1/DomainMappingList.java | 1 + .../sources/v1/ApiServerSourceList.java | 1 + .../sources/v1/ContainerSourceList.java | 1 + .../knative/sources/v1/PingSourceList.java | 1 + .../knative/sources/v1/SinkBindingList.java | 1 + .../agent/v1/KlusterletAddonConfigList.java | 1 + .../app/k8s/v1beta1/ApplicationList.java | 1 + .../apps/v1/ChannelList.java | 1 + .../apps/helmrelease/v1/HelmAppStatus.java | 1 + .../apps/helmrelease/v1/HelmReleaseList.java | 1 + .../apps/v1/ClusterOverrides.java | 1 + .../apps/v1/SubscriptionList.java | 1 + .../model/cluster/v1/ManagedClusterList.java | 1 + .../cluster/v1/ManagedClusterStatus.java | 1 + .../v1alpha1/PlacementDecisionList.java | 1 + .../v1alpha1/PlacementDecisionStatus.java | 1 + .../model/cluster/v1alpha1/PlacementList.java | 1 + .../cluster/v1alpha1/PlacementStatus.java | 1 + .../v1beta1/ManagedClusterSetBindingList.java | 1 + .../v1beta1/ManagedClusterSetList.java | 1 + .../v1beta1/ManagedClusterSetStatus.java | 1 + .../v1alpha1/DiscoveredClusterList.java | 1 + .../v1alpha1/DiscoveryConfigList.java | 1 + .../apps/v1beta1/ObservabilityAddonList.java | 1 + .../v1beta1/ObservabilityAddonStatus.java | 1 + .../MultiClusterObservabilityList.java | 1 + .../operator/v1/MultiClusterHubList.java | 1 + .../model/operator/v1/ClusterManagerList.java | 1 + .../operator/v1/ClusterManagerStatus.java | 1 + .../api/model/operator/v1/KlusterletList.java | 1 + .../model/operator/v1/KlusterletStatus.java | 1 + .../apps/v1beta1/GitOpsClusterList.java | 1 + .../apps/v1/PlacementRuleList.java | 1 + .../policy/v1/PlacementBinding.java | 1 + .../policy/v1/PlacementBindingList.java | 1 + .../policy/v1/PolicyList.java | 1 + .../policy/v1/PolicySpec.java | 1 + .../policy/v1beta1/PolicyAutomationList.java | 1 + .../v1alpha1/SearchCustomizationList.java | 1 + .../v1alpha1/SearchOperatorList.java | 1 + .../api/model/ClusterServiceBrokerList.java | 1 + .../api/model/ClusterServiceBrokerStatus.java | 1 + .../api/model/ClusterServiceClassList.java | 1 + .../api/model/ClusterServicePlanList.java | 1 + .../api/model/ServiceBindingList.java | 1 + .../api/model/ServiceBindingStatus.java | 1 + .../api/model/ServiceBrokerList.java | 1 + .../api/model/ServiceBrokerStatus.java | 1 + .../api/model/ServiceClassList.java | 1 + .../api/model/ServiceInstanceList.java | 1 + .../api/model/ServiceInstanceStatus.java | 1 + .../api/model/ServicePlanList.java | 1 + .../v1alpha1/ClusterInterceptorList.java | 1 + .../v1alpha1/ClusterTriggerBindingList.java | 1 + .../triggers/v1alpha1/EventListenerList.java | 1 + .../triggers/v1alpha1/EventListenerSpec.java | 1 + .../triggers/v1alpha1/InterceptorList.java | 1 + .../triggers/v1alpha1/TriggerBindingList.java | 1 + .../tekton/triggers/v1alpha1/TriggerList.java | 1 + .../tekton/triggers/v1alpha1/TriggerSpec.java | 1 + .../v1alpha1/TriggerTemplateList.java | 1 + .../v1beta1/ClusterTriggerBindingList.java | 1 + .../triggers/v1beta1/EventListenerList.java | 1 + .../v1beta1/EventListenerTriggerGroup.java | 1 + .../triggers/v1beta1/TriggerBindingList.java | 1 + .../tekton/triggers/v1beta1/TriggerList.java | 1 + .../tekton/triggers/v1beta1/TriggerSpec.java | 1 + .../triggers/v1beta1/TriggerTemplateList.java | 1 + .../tekton/pipeline/v1/PipelineList.java | 1 + .../fabric8/tekton/pipeline/v1/TaskList.java | 1 + .../tekton/pipeline/v1/TaskRunList.java | 1 + .../tekton/pipeline/v1/WhenExpression.java | 1 + .../tekton/pipeline/v1alpha1/RunList.java | 1 + .../v1alpha1/VerificationPolicyList.java | 1 + .../v1alpha1/VerificationPolicySpec.java | 2 ++ .../v1alpha1/ResolutionRequestList.java | 1 + .../pkg/apis/pipeline/v1beta1/ParamValue.java | 1 + .../pipeline/v1beta1/ClusterTaskList.java | 1 + .../pipeline/v1beta1/CustomRunList.java | 1 + .../tekton/pipeline/v1beta1/PipelineList.java | 1 + .../tekton/pipeline/v1beta1/TaskList.java | 1 + .../tekton/pipeline/v1beta1/TaskRunList.java | 1 + .../pipeline/v1beta1/WhenExpression.java | 1 + .../v1beta1/ResolutionRequestList.java | 1 + .../v1alpha1/PipelineResourceSpec.java | 1 + .../VerticalPodAutoscalerCheckpointList.java | 1 + .../model/v1/VerticalPodAutoscalerList.java | 1 + .../scheduling/v1beta1/PodGroupList.java | 1 + .../volcano/scheduling/v1beta1/QueueList.java | 1 + .../api/model/VolumeSnapshotClassList.java | 1 + .../api/model/VolumeSnapshotContentList.java | 1 + .../api/model/VolumeSnapshotList.java | 1 + .../client/utils/SerializationTest.java | 5 +--- .../v1/MutatingWebhook.java | 1 + .../v1/MutatingWebhookConfigurationList.java | 1 + .../v1/ValidatingWebhook.java | 1 + .../ValidatingWebhookConfigurationList.java | 1 + .../MutatingWebhookConfigurationList.java | 1 + .../ValidatingWebhookConfigurationList.java | 1 + .../authentication/TokenRequestSpec.java | 1 + .../authorization/v1/NonResourceRule.java | 1 + .../model/authorization/v1/ResourceRule.java | 1 + .../v1/SubjectRulesReviewStatus.java | 2 ++ .../v1beta1/NonResourceRule.java | 1 + .../authorization/v1beta1/ResourceRule.java | 1 + .../v1beta1/SubjectRulesReviewStatus.java | 2 ++ .../resources/schema/validation-schema.json | 10 +++---- .../apiextensions/v1/ConversionRequest.java | 1 + .../apiextensions/v1/ConversionResponse.java | 1 + .../v1/CustomResourceDefinitionList.java | 1 + .../v1/CustomResourceDefinitionSpec.java | 1 + .../v1/CustomResourceDefinitionStatus.java | 2 ++ .../v1/JSONSchemaPropsOrArray.java | 1 + .../v1/JSONSchemaPropsOrStringArray.java | 1 + .../apiextensions/v1/WebhookConversion.java | 1 + .../v1beta1/CustomResourceDefinitionList.java | 1 + .../CustomResourceDefinitionStatus.java | 2 ++ .../v1beta1/JSONSchemaPropsOrArray.java | 1 + .../v1beta1/JSONSchemaPropsOrStringArray.java | 1 + .../resources/schema/validation-schema.json | 22 +++++++-------- .../model/apps/ControllerRevisionList.java | 1 + .../api/model/apps/DaemonSetList.java | 1 + .../api/model/apps/DeploymentList.java | 1 + .../api/model/apps/ReplicaSetList.java | 1 + .../api/model/apps/StatefulSetList.java | 1 + .../v1/HorizontalPodAutoscalerList.java | 1 + .../v2/HorizontalPodAutoscalerList.java | 1 + .../v2/HorizontalPodAutoscalerStatus.java | 1 + .../v2beta1/HorizontalPodAutoscalerList.java | 1 + .../HorizontalPodAutoscalerStatus.java | 2 ++ .../v2beta2/HorizontalPodAutoscalerList.java | 1 + .../HorizontalPodAutoscalerStatus.java | 2 ++ .../api/model/batch/v1/CronJobList.java | 1 + .../api/model/batch/v1/JobList.java | 1 + .../api/model/batch/v1/PodFailurePolicy.java | 1 + ...odFailurePolicyOnExitCodesRequirement.java | 1 + .../model/batch/v1/PodFailurePolicyRule.java | 1 + .../api/model/batch/v1beta1/CronJobList.java | 1 + .../resources/schema/validation-schema.json | 16 +++++------ .../v1/CertificateSigningRequestList.java | 1 + .../v1alpha1/ClusterTrustBundleList.java | 1 + .../CertificateSigningRequestList.java | 1 + .../resources/schema/validation-schema.json | 10 +++---- .../api/model/coordination/v1/LeaseList.java | 1 + .../kubernetes/api/model/APIGroup.java | 1 + .../kubernetes/api/model/APIGroupList.java | 1 + .../kubernetes/api/model/APIResource.java | 1 + .../kubernetes/api/model/APIResourceList.java | 1 + .../kubernetes/api/model/APIServiceList.java | 1 + .../model/CephFSPersistentVolumeSource.java | 1 + .../api/model/CephFSVolumeSource.java | 1 + .../api/model/ComponentStatusList.java | 1 + .../fabric8/kubernetes/api/model/Config.java | 3 +++ .../kubernetes/api/model/ConfigMapList.java | 1 + .../kubernetes/api/model/ContainerImage.java | 1 + .../kubernetes/api/model/EndpointsList.java | 1 + .../kubernetes/api/model/EventList.java | 1 + .../kubernetes/api/model/ExecConfig.java | 2 ++ .../kubernetes/api/model/LimitRangeList.java | 1 + .../kubernetes/api/model/LimitRangeSpec.java | 1 + .../kubernetes/api/model/NamespaceList.java | 1 + .../kubernetes/api/model/NodeList.java | 1 + .../kubernetes/api/model/NodeSelector.java | 1 + .../api/model/PersistentVolumeClaimList.java | 1 + .../api/model/PersistentVolumeList.java | 1 + .../kubernetes/api/model/PodExecOptions.java | 1 + .../fabric8/kubernetes/api/model/PodList.java | 1 + .../fabric8/kubernetes/api/model/PodSpec.java | 1 + .../kubernetes/api/model/PodTemplateList.java | 1 + .../api/model/ProjectedVolumeSource.java | 1 + .../api/model/RBDPersistentVolumeSource.java | 1 + .../kubernetes/api/model/RBDVolumeSource.java | 1 + .../api/model/ReplicationControllerList.java | 1 + .../api/model/ResourceQuotaList.java | 1 + .../kubernetes/api/model/RootPaths.java | 1 + .../kubernetes/api/model/SecretList.java | 1 + .../api/model/ServiceAccountList.java | 1 + .../kubernetes/api/model/ServiceList.java | 1 + .../TopologySelectorLabelRequirement.java | 1 + .../api/model/discovery/v1/Endpoint.java | 1 + .../api/model/discovery/v1/EndpointSlice.java | 2 ++ .../model/discovery/v1/EndpointSliceList.java | 1 + .../api/model/discovery/v1beta1/Endpoint.java | 1 + .../discovery/v1beta1/EndpointSlice.java | 2 ++ .../discovery/v1beta1/EndpointSliceList.java | 1 + .../resources/schema/validation-schema.json | 6 ++--- .../api/model/events/v1/EventList.java | 1 + .../api/model/events/v1beta1/EventList.java | 1 + .../api/model/extensions/DaemonSetList.java | 1 + .../api/model/extensions/DeploymentList.java | 1 + .../extensions/HTTPIngressRuleValue.java | 1 + .../api/model/extensions/IngressList.java | 1 + .../model/extensions/NetworkPolicyList.java | 1 + .../api/model/extensions/ReplicaSetList.java | 1 + .../flowcontrol/v1alpha1/FlowSchemaList.java | 1 + .../v1alpha1/NonResourcePolicyRule.java | 2 ++ .../v1alpha1/PolicyRulesWithSubjects.java | 1 + .../PriorityLevelConfigurationList.java | 1 + .../v1alpha1/ResourcePolicyRule.java | 4 +++ .../flowcontrol/v1beta1/FlowSchemaList.java | 1 + .../v1beta1/NonResourcePolicyRule.java | 2 ++ .../v1beta1/PolicyRulesWithSubjects.java | 1 + .../PriorityLevelConfigurationList.java | 1 + .../v1beta1/ResourcePolicyRule.java | 4 +++ .../flowcontrol/v1beta2/FlowSchemaList.java | 1 + .../v1beta2/NonResourcePolicyRule.java | 2 ++ .../v1beta2/PolicyRulesWithSubjects.java | 1 + .../PriorityLevelConfigurationList.java | 1 + .../v1beta2/ResourcePolicyRule.java | 4 +++ .../flowcontrol/v1beta3/FlowSchemaList.java | 1 + .../v1beta3/NonResourcePolicyRule.java | 2 ++ .../v1beta3/PolicyRulesWithSubjects.java | 1 + .../PriorityLevelConfigurationList.java | 1 + .../v1beta3/ResourcePolicyRule.java | 4 +++ .../v1alpha1/StorageVersionList.java | 1 + .../gatewayapi/v1alpha2/GRPCRouteList.java | 1 + .../gatewayapi/v1alpha2/GRPCRouteStatus.java | 1 + .../gatewayapi/v1alpha2/GatewayClassList.java | 1 + .../gatewayapi/v1alpha2/GatewayList.java | 1 + .../gatewayapi/v1alpha2/HTTPRouteList.java | 1 + .../v1alpha2/ReferenceGrantList.java | 1 + .../gatewayapi/v1alpha2/TCPRouteList.java | 1 + .../gatewayapi/v1alpha2/TCPRouteSpec.java | 1 + .../gatewayapi/v1alpha2/TCPRouteStatus.java | 1 + .../gatewayapi/v1alpha2/TLSRouteList.java | 1 + .../gatewayapi/v1alpha2/TLSRouteSpec.java | 1 + .../gatewayapi/v1alpha2/TLSRouteStatus.java | 1 + .../gatewayapi/v1alpha2/UDPRouteList.java | 1 + .../gatewayapi/v1alpha2/UDPRouteSpec.java | 1 + .../gatewayapi/v1alpha2/UDPRouteStatus.java | 1 + .../gatewayapi/v1beta1/GatewayClassList.java | 1 + .../model/gatewayapi/v1beta1/GatewayList.java | 1 + .../model/gatewayapi/v1beta1/GatewaySpec.java | 1 + .../gatewayapi/v1beta1/HTTPRouteList.java | 1 + .../gatewayapi/v1beta1/HTTPRouteStatus.java | 1 + .../gatewayapi/v1beta1/ListenerStatus.java | 2 ++ .../v1beta1/ReferenceGrantList.java | 1 + .../v1beta1/ReferenceGrantSpec.java | 2 ++ .../resources/schema/validation-schema.json | 8 +++--- .../jsonschema2pojo/Fabric8DefaultRule.java | 27 ++++++++++++------- .../kustomize/v1beta1/LegacySortOptions.java | 2 ++ .../metrics/v1beta1/NodeMetricsList.java | 1 + .../api/model/metrics/v1beta1/PodMetrics.java | 1 + .../model/metrics/v1beta1/PodMetricsList.java | 1 + .../networking/v1/HTTPIngressRuleValue.java | 1 + .../model/networking/v1/IngressClassList.java | 1 + .../api/model/networking/v1/IngressList.java | 1 + .../networking/v1/NetworkPolicyList.java | 1 + .../networking/v1alpha1/ClusterCIDRList.java | 1 + .../networking/v1alpha1/IPAddressList.java | 1 + .../v1beta1/HTTPIngressRuleValue.java | 1 + .../networking/v1beta1/IngressClassList.java | 1 + .../model/networking/v1beta1/IngressList.java | 1 + .../resources/schema/validation-schema.json | 14 +++++----- .../api/model/node/v1/RuntimeClassList.java | 1 + .../model/node/v1alpha1/RuntimeClassList.java | 1 + .../model/node/v1beta1/RuntimeClassList.java | 1 + .../resources/schema/validation-schema.json | 15 +++-------- .../policy/v1/PodDisruptionBudgetList.java | 1 + .../v1beta1/PodDisruptionBudgetList.java | 1 + .../policy/v1beta1/PodSecurityPolicyList.java | 1 + .../v1beta1/RuntimeClassStrategyOptions.java | 1 + .../resources/schema/validation-schema.json | 6 ++--- .../api/model/rbac/ClusterRole.java | 1 + .../model/rbac/ClusterRoleBindingList.java | 1 + .../api/model/rbac/ClusterRoleList.java | 1 + .../kubernetes/api/model/rbac/PolicyRule.java | 1 + .../kubernetes/api/model/rbac/Role.java | 1 + .../api/model/rbac/RoleBindingList.java | 1 + .../kubernetes/api/model/rbac/RoleList.java | 1 + .../v1alpha2/PodSchedulingContextList.java | 1 + .../resource/v1alpha2/ResourceClaimList.java | 1 + .../v1alpha2/ResourceClaimTemplateList.java | 1 + .../resource/v1alpha2/ResourceClassList.java | 1 + .../scheduling/v1/PriorityClassList.java | 1 + .../scheduling/v1beta1/PriorityClassList.java | 1 + .../resources/schema/validation-schema.json | 6 ++--- .../api/model/storage/CSIDriverList.java | 1 + .../api/model/storage/CSINodeDriver.java | 1 + .../api/model/storage/CSINodeList.java | 1 + .../api/model/storage/CSINodeSpec.java | 1 + .../model/storage/CSIStorageCapacityList.java | 1 + .../api/model/storage/StorageClassList.java | 1 + .../model/storage/VolumeAttachmentList.java | 1 + .../model/storage/v1beta1/CSIDriverList.java | 1 + .../model/storage/v1beta1/CSINodeDriver.java | 1 + .../model/storage/v1beta1/CSINodeList.java | 1 + .../model/storage/v1beta1/CSINodeSpec.java | 1 + .../v1beta1/CSIStorageCapacityList.java | 1 + .../resources/schema/validation-schema.json | 20 +++++++------- .../v1/ClusterAutoscalerList.java | 1 + .../v1beta1/MachineAutoscalerList.java | 1 + .../api/model/config/v1/APIServerList.java | 1 + .../model/config/v1/AuthenticationList.java | 1 + .../config/v1/BareMetalPlatformStatus.java | 2 ++ .../api/model/config/v1/BuildList.java | 1 + .../model/config/v1/ClusterOperatorList.java | 1 + .../model/config/v1/ClusterVersionList.java | 1 + .../model/config/v1/ClusterVersionStatus.java | 1 + .../model/config/v1/ComponentRouteStatus.java | 1 + .../model/config/v1/ConditionalUpdate.java | 1 + .../config/v1/ConditionalUpdateRisk.java | 1 + .../api/model/config/v1/ConsoleList.java | 1 + .../api/model/config/v1/CustomTLSProfile.java | 1 + .../api/model/config/v1/DNSList.java | 1 + .../model/config/v1/FeatureGateDetails.java | 2 ++ .../api/model/config/v1/FeatureGateList.java | 1 + .../model/config/v1/FeatureGateStatus.java | 1 + .../config/v1/ImageContentPolicyList.java | 1 + .../config/v1/ImageContentPolicySpec.java | 1 + .../api/model/config/v1/ImageList.java | 1 + .../model/config/v1/InfrastructureList.java | 1 + .../api/model/config/v1/IngressList.java | 1 + .../model/config/v1/LDAPAttributeMapping.java | 1 + .../api/model/config/v1/NetworkList.java | 1 + .../api/model/config/v1/NetworkSpec.java | 2 ++ .../model/config/v1/NutanixPlatformSpec.java | 1 + .../config/v1/NutanixPlatformStatus.java | 2 ++ .../api/model/config/v1/OAuthList.java | 1 + .../config/v1/OpenStackPlatformStatus.java | 2 ++ .../api/model/config/v1/OperatorHubList.java | 1 + .../model/config/v1/OvirtPlatformStatus.java | 2 ++ .../api/model/config/v1/ProjectList.java | 1 + .../api/model/config/v1/ProxyList.java | 1 + .../v1/RequestHeaderIdentityProvider.java | 4 +++ .../model/config/v1/RequiredHSTSPolicy.java | 1 + .../api/model/config/v1/SchedulerList.java | 1 + .../api/model/config/v1/TLSProfileSpec.java | 1 + .../config/v1/VSpherePlatformStatus.java | 2 ++ .../config/v1/VSpherePlatformTopology.java | 1 + .../config/v1/VSpherePlatformVCenterSpec.java | 1 + .../console/v1/ConsoleCLIDownloadList.java | 1 + .../console/v1/ConsoleCLIDownloadSpec.java | 1 + .../v1/ConsoleExternalLogLinkList.java | 1 + .../api/model/console/v1/ConsoleLinkList.java | 1 + .../console/v1/ConsoleNotificationList.java | 1 + .../console/v1/ConsoleQuickStartList.java | 1 + .../console/v1/ConsoleQuickStartSpec.java | 1 + .../console/v1/ConsoleYAMLSampleList.java | 1 + .../console/v1alpha1/ConsolePluginList.java | 1 + .../hive/v1/AWSPrivateLinkInventory.java | 1 + .../api/model/hive/v1/CheckpointList.java | 1 + .../api/model/hive/v1/ClusterClaimList.java | 1 + .../model/hive/v1/ClusterDeploymentList.java | 1 + .../model/hive/v1/ClusterDeprovisionList.java | 1 + .../model/hive/v1/ClusterImageSetList.java | 1 + .../api/model/hive/v1/ClusterPoolList.java | 1 + .../model/hive/v1/ClusterProvisionList.java | 1 + .../model/hive/v1/ClusterRelocateList.java | 1 + .../api/model/hive/v1/ClusterStateList.java | 1 + .../api/model/hive/v1/DNSZoneList.java | 1 + .../api/model/hive/v1/HiveConfigList.java | 1 + .../api/model/hive/v1/MachinePoolList.java | 1 + .../hive/v1/MachinePoolNameLeaseList.java | 1 + .../api/model/hive/v1/ManageDNSConfig.java | 1 + .../v1/SelectorSyncIdentityProviderList.java | 1 + .../v1/SelectorSyncIdentityProviderSpec.java | 1 + .../model/hive/v1/SelectorSyncSetList.java | 1 + .../hive/v1/SyncIdentityProviderList.java | 1 + .../hive/v1/SyncIdentityProviderSpec.java | 2 ++ .../api/model/hive/v1/SyncSetList.java | 1 + .../api/model/hive/v1/SyncSetSpec.java | 1 + .../installer/baremetal/v1/Platform.java | 1 + .../model/installer/nutanix/v1/Platform.java | 2 ++ .../installer/openstack/v1/FailureDomain.java | 1 + .../installer/openstack/v1/Platform.java | 1 + .../model/installer/ovirt/v1/MachinePool.java | 1 + .../model/installer/ovirt/v1/Platform.java | 1 + .../model/installer/vsphere/v1/VCenter.java | 1 + .../v1beta1/MachineHealthCheckList.java | 1 + .../v1beta1/MachineHealthCheckSpec.java | 1 + .../model/machine/v1beta1/MachineList.java | 1 + .../model/machine/v1beta1/MachineSetList.java | 1 + .../v1/ContainerRuntimeConfigList.java | 1 + .../v1/ContainerRuntimeConfigStatus.java | 1 + .../v1/ControllerConfigList.java | 1 + .../v1/ControllerConfigStatus.java | 1 + .../machineconfig/v1/KubeletConfigList.java | 1 + .../machineconfig/v1/KubeletConfigStatus.java | 1 + .../machineconfig/v1/MachineConfigList.java | 1 + .../v1/MachineConfigPoolList.java | 1 + .../v1/MachineConfigPoolStatus.java | 1 + .../machineconfig/v1/MachineConfigSpec.java | 2 ++ .../apiserver/v1/APIRequestCountList.java | 1 + .../apiserver/v1/APIRequestCountStatus.java | 2 ++ .../apiserver/v1/PerNodeAPIRequestLog.java | 1 + .../v1/PerResourceAPIRequestLog.java | 1 + .../apiserver/v1/PerUserAPIRequestCount.java | 1 + .../v1/CredentialsRequestList.java | 1 + .../v1/NetworkAttachmentDefinitionList.java | 1 + .../imageregistry/operator/v1/ConfigList.java | 1 + .../metal3/v1alpha1/BareMetalHostList.java | 1 + .../metal3/v1alpha1/RAIDConfig.java | 2 ++ .../network/operator/v1/EgressRouterList.java | 1 + .../network/operator/v1/EgressRouterSpec.java | 1 + .../network/operator/v1/OperatorPKIList.java | 1 + .../api/model/monitoring/v1/AlertingSpec.java | 1 + .../model/monitoring/v1/AlertmanagerList.java | 1 + .../api/model/monitoring/v1/HostAlias.java | 1 + .../model/monitoring/v1/PodMonitorList.java | 1 + .../model/monitoring/v1/PodMonitorSpec.java | 1 + .../api/model/monitoring/v1/ProbeList.java | 1 + .../model/monitoring/v1/PrometheusList.java | 1 + .../monitoring/v1/PrometheusRuleList.java | 1 + .../api/model/monitoring/v1/RuleGroup.java | 1 + .../monitoring/v1/ServiceMonitorList.java | 1 + .../monitoring/v1/ServiceMonitorSpec.java | 1 + .../model/monitoring/v1/ThanosRulerList.java | 1 + .../v1alpha1/AlertmanagerConfigList.java | 1 + .../v1alpha1/AlertmanagerConfigSpec.java | 1 + .../PodNetworkConnectivityCheckList.java | 1 + .../model/operator/v1/AuthenticationList.java | 1 + .../v1/CSISnapshotControllerList.java | 1 + .../operator/v1/CloudCredentialList.java | 1 + .../operator/v1/ClusterCSIDriverList.java | 1 + .../api/model/operator/v1/ConfigList.java | 1 + .../operator/v1/ConsoleCustomization.java | 1 + .../api/model/operator/v1/ConsoleList.java | 1 + .../api/model/operator/v1/DNSList.java | 1 + .../api/model/operator/v1/DNSRecordList.java | 1 + .../api/model/operator/v1/DNSRecordSpec.java | 1 + .../api/model/operator/v1/EtcdList.java | 1 + .../api/model/operator/v1/ForwardPlugin.java | 1 + .../operator/v1/HybridOverlayConfig.java | 1 + .../model/operator/v1/ImagePrunerList.java | 1 + .../operator/v1/IngressControllerList.java | 1 + .../model/operator/v1/KubeAPIServerList.java | 1 + .../v1/KubeControllerManagerList.java | 1 + .../model/operator/v1/KubeSchedulerList.java | 1 + .../v1/KubeStorageVersionMigratorList.java | 1 + .../api/model/operator/v1/NetworkList.java | 1 + .../api/model/operator/v1/NetworkSpec.java | 2 ++ .../operator/v1/OpenShiftAPIServerList.java | 1 + .../v1/OpenShiftControllerManagerList.java | 1 + .../v1/ResourceAttributesAccessReview.java | 2 ++ .../api/model/operator/v1/Server.java | 1 + .../api/model/operator/v1/ServiceCAList.java | 1 + .../v1/ServiceCatalogAPIServerList.java | 1 + .../ServiceCatalogControllerManagerList.java | 1 + .../api/model/operator/v1/StorageList.java | 1 + .../model/operator/v1/UpstreamResolvers.java | 1 + .../ImageContentSourcePolicyList.java | 1 + .../ImageContentSourcePolicySpec.java | 1 + .../v1alpha1/RepositoryDigestMirrors.java | 1 + .../v1/PackageManifestList.java | 1 + .../v1/PackageManifestStatus.java | 1 + .../operatorhub/v1/OperatorConditionList.java | 1 + .../operatorhub/v1/OperatorGroupList.java | 1 + .../model/operatorhub/v1/OperatorList.java | 1 + .../v1alpha1/CatalogSourceList.java | 1 + .../v1alpha1/ClusterServiceVersionList.java | 1 + .../operatorhub/v1alpha1/InstallPlanList.java | 1 + .../operatorhub/v1alpha1/InstallPlanSpec.java | 1 + .../v1alpha1/InstallPlanStatus.java | 1 + .../operatorhub/v1alpha1/ResourceList.java | 1 + .../StrategyDeploymentPermissions.java | 1 + .../v1alpha1/StrategyDetailsDeployment.java | 1 + .../v1alpha1/SubscriptionList.java | 1 + .../v1alpha1/WebhookDescription.java | 1 + .../v1alpha1/StorageStateList.java | 1 + .../v1alpha1/StorageVersionMigrationList.java | 1 + .../api/model/tuned/v1/ProfileList.java | 1 + .../api/model/tuned/v1/TunedList.java | 1 + .../api/model/tuned/v1/TunedSpec.java | 2 ++ .../whereabouts/v1alpha1/IPPoolList.java | 1 + .../OverlappingRangeIPReservationList.java | 1 + .../AppliedClusterResourceQuotaList.java | 1 + .../api/model/BrokerTemplateInstanceList.java | 1 + .../openshift/api/model/BuildConfigList.java | 1 + .../openshift/api/model/BuildList.java | 1 + .../openshift/api/model/BuildVolume.java | 1 + .../openshift/api/model/ClusterNetwork.java | 1 + .../api/model/ClusterNetworkList.java | 1 + .../api/model/ClusterResourceQuotaList.java | 1 + .../api/model/ClusterResourceQuotaStatus.java | 1 + .../openshift/api/model/ClusterRole.java | 1 + .../api/model/ClusterRoleBinding.java | 3 +++ .../api/model/ClusterRoleBindingList.java | 1 + .../openshift/api/model/ClusterRoleList.java | 1 + .../model/ClusterRoleScopeRestriction.java | 2 ++ .../api/model/DeploymentConfigList.java | 1 + .../api/model/DeploymentConfigSpec.java | 1 + .../api/model/DeploymentDetails.java | 1 + .../api/model/EgressNetworkPolicyList.java | 1 + .../api/model/EgressNetworkPolicySpec.java | 1 + .../openshift/api/model/ExecNewPodHook.java | 1 + .../io/fabric8/openshift/api/model/Group.java | 1 + .../openshift/api/model/GroupList.java | 1 + .../openshift/api/model/GroupRestriction.java | 2 ++ .../api/model/HelmChartRepositoryList.java | 1 + .../openshift/api/model/HostSubnetList.java | 1 + .../openshift/api/model/IdentityList.java | 1 + .../openshift/api/model/ImageList.java | 1 + .../openshift/api/model/ImageStreamList.java | 1 + .../api/model/ImageStreamTagList.java | 1 + .../openshift/api/model/ImageTagList.java | 1 + .../api/model/LocalSubjectAccessReview.java | 2 ++ .../api/model/NamedTagEventList.java | 1 + .../openshift/api/model/NetNamespaceList.java | 1 + .../api/model/OAuthAccessTokenList.java | 1 + .../api/model/OAuthAuthorizeTokenList.java | 1 + .../model/OAuthClientAuthorizationList.java | 1 + .../openshift/api/model/OAuthClientList.java | 1 + .../model/PodSecurityPolicyReviewStatus.java | 1 + .../openshift/api/model/PolicyRule.java | 2 ++ .../openshift/api/model/ProjectList.java | 1 + .../api/model/RangeAllocationList.java | 1 + .../model/ResourceAccessReviewResponse.java | 2 ++ .../io/fabric8/openshift/api/model/Role.java | 1 + .../openshift/api/model/RoleBinding.java | 3 +++ .../openshift/api/model/RoleBindingList.java | 1 + .../api/model/RoleBindingRestrictionList.java | 1 + .../fabric8/openshift/api/model/RoleList.java | 1 + .../openshift/api/model/RouteList.java | 1 + .../api/model/SecurityContextConstraints.java | 6 +++++ .../model/SecurityContextConstraintsList.java | 1 + .../api/model/SelfSubjectRulesReviewSpec.java | 1 + .../api/model/ServiceAccountRestriction.java | 2 ++ .../api/model/SubjectAccessReview.java | 2 ++ .../api/model/SubjectRulesReviewSpec.java | 2 ++ .../api/model/SubjectRulesReviewStatus.java | 1 + .../fabric8/openshift/api/model/Template.java | 1 + .../api/model/TemplateInstanceList.java | 1 + .../openshift/api/model/TemplateList.java | 1 + .../io/fabric8/openshift/api/model/User.java | 1 + .../fabric8/openshift/api/model/UserList.java | 1 + .../api/model/UserOAuthAccessTokenList.java | 1 + .../openshift/api/model/UserRestriction.java | 3 +++ 634 files changed, 777 insertions(+), 83 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 955e5045b96..83dcdf85283 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ #### Improvements * Fix #5166: Remove opinionated messages from Config's `errorMessages` and deprecate it * Fix #5233: Generalized SchemaSwap to allow for cycle expansion +* Fix #5262: all built-in collections will omit empty in their serialized form. * Fix #5287: Add an option to filter the files processed by the java-generator, based on a suffix allowlist * Fix #5315: Introduced `kubernetes-junit-jupiter-autodetect` to use with [automatic extension registration](https://junit.org/junit5/docs/current/user-guide/#extensions-registration-automatic) @@ -24,6 +25,7 @@ #### _**Note**_: Breaking changes * Fix #2718: KubernetesResourceUtil.isResourceReady was deprecated. Use `client.resource(item).isReady()` or `Readiness.getInstance().isReady(item)` instead. * Fix #5171: Removed Camel-K extension, use [`org.apache.camel.k:camel-k-crds`](https://central.sonatype.com/artifact/org.apache.camel.k/camel-k-crds) instead. +* Fix #5262: Built-in resources were in-consistent with respect to their serialization or empty collections. In many circumstances this was confusing behavior. In order to be consistent all built-in resources will omit empty collections by default. This is a breaking change if you are relying on an empty collection in a json merge or a strategic merge where the list has a patchStrategy of atomic. In these circumstances the empty collection will no longer be serialized. You may instead use a json patch, server side apply instead, or modify the serialized form of the patch. * Fix #5279: (java-generator) Add native support for `date-time` fields, they are now mapped to native `java.time.ZonedDateTime` * Fix #5315: kubernetes-junit-jupiter no longer registers the NamespaceExtension and KubernetesExtension extensions to be used in combination with junit-platform.properties>`junit.jupiter.extensions.autodetection.enabled=true`configuration. If you wish to use these extensions and autodetect them, change your dependency to `kubernetes-junit-jupiter-autodetect`. * Resource classes in `resource.k8s.io/v1alpha1` have been moved to `resource.k8s.io/v1alpha2` apiGroup in Kubernetes 1.27. Users are required to change package of the following classes: diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeList.java index 318e6e93a55..8e48aae31f4 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/ChallengeList.java @@ -87,6 +87,7 @@ public class ChallengeList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "acme.cert-manager.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderList.java index f91f951d40c..5de8694e1cf 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1/OrderList.java @@ -87,6 +87,7 @@ public class OrderList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateList.java index 9ed33c227c5..d21f7b353f5 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateList.java @@ -87,6 +87,7 @@ public class CertificateList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestList.java index 9eaa78a11fc..8c3dc655aa2 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/CertificateRequestList.java @@ -87,6 +87,7 @@ public class CertificateRequestList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuerList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuerList.java index 9baba7b7684..29ec3bef279 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuerList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/ClusterIssuerList.java @@ -87,6 +87,7 @@ public class ClusterIssuerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerList.java b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerList.java index 710debd2df3..498bc919f61 100644 --- a/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerList.java +++ b/extensions/certmanager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/v1/IssuerList.java @@ -87,6 +87,7 @@ public class IssuerList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeList.java index c16307ae21d..733fd3d1572 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/ChallengeList.java @@ -87,6 +87,7 @@ public class ChallengeList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderList.java index 48c8c19f75f..591df2dfc1d 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha2/OrderList.java @@ -87,6 +87,7 @@ public class OrderList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateList.java index 8a5289fb826..c673b69a2fc 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateList.java @@ -87,6 +87,7 @@ public class CertificateList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestList.java index 72abe5b7a22..37b00f972bb 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/CertificateRequestList.java @@ -87,6 +87,7 @@ public class CertificateRequestList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuerList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuerList.java index df9a4c5fefa..e21db08f82b 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuerList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/ClusterIssuerList.java @@ -87,6 +87,7 @@ public class ClusterIssuerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerList.java b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerList.java index 50d4162ba60..a5ca20a857d 100644 --- a/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerList.java +++ b/extensions/certmanager/model-v1alpha2/src/generated/java/io/fabric8/certmanager/api/model/v1alpha2/IssuerList.java @@ -87,6 +87,7 @@ public class IssuerList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeList.java index 6f9e13da570..ce3c17f3c9a 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/ChallengeList.java @@ -87,6 +87,7 @@ public class ChallengeList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderList.java index f1a97f472a8..1d636e51d5a 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/acme/v1alpha3/OrderList.java @@ -87,6 +87,7 @@ public class OrderList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateList.java index 6fe6f278f41..dd0eea41ee6 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateList.java @@ -87,6 +87,7 @@ public class CertificateList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestList.java index 360cf7c3511..b91fa341bb2 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/CertificateRequestList.java @@ -87,6 +87,7 @@ public class CertificateRequestList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuerList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuerList.java index 67931f83bfd..a4b1cc80ec5 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuerList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/ClusterIssuerList.java @@ -87,6 +87,7 @@ public class ClusterIssuerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerList.java b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerList.java index bb27093bc85..42400ca9f36 100644 --- a/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerList.java +++ b/extensions/certmanager/model-v1alpha3/src/generated/java/io/fabric8/certmanager/api/model/v1alpha3/IssuerList.java @@ -87,6 +87,7 @@ public class IssuerList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeList.java index 0e1ff0b7092..b010cd0616e 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/ChallengeList.java @@ -87,6 +87,7 @@ public class ChallengeList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderList.java index 5cb89175a2b..dcf88b6013e 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/acme/v1beta1/OrderList.java @@ -87,6 +87,7 @@ public class OrderList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateList.java index b1d5302137d..ad0f987eb84 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateList.java @@ -87,6 +87,7 @@ public class CertificateList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestList.java index 6b38e4f4ca2..19d928c06d3 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/CertificateRequestList.java @@ -87,6 +87,7 @@ public class CertificateRequestList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuerList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuerList.java index 439d15ac1d3..2eb8d8e6189 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuerList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/ClusterIssuerList.java @@ -87,6 +87,7 @@ public class ClusterIssuerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "cert-manager.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerList.java b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerList.java index a0dd47a6aa6..348cfa62910 100644 --- a/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerList.java +++ b/extensions/certmanager/model-v1beta1/src/generated/java/io/fabric8/certmanager/api/model/v1beta1/IssuerList.java @@ -87,6 +87,7 @@ public class IssuerList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosList.java index 738c5d080bc..6469e2cdeb0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosList.java @@ -87,6 +87,7 @@ public class AWSChaosList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosList.java index 679a34041ee..f06a85278e0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosList.java @@ -87,6 +87,7 @@ public class BlockChaosList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java index 1aef3960a27..62a638431f9 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java @@ -79,6 +79,7 @@ public class BlockChaosSpec implements KubernetesResource @JsonProperty("action") private java.lang.String action; @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containerNames = new ArrayList(); @JsonProperty("delay") private BlockDelaySpec delay; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java index 8384ad22360..ed737ee7148 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java @@ -73,6 +73,7 @@ public class CPUStressor implements KubernetesResource @JsonProperty("load") private Integer load; @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List options = new ArrayList(); @JsonProperty("workers") private java.lang.Integer workers; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosList.java index 722a3171157..5be78627429 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosList.java @@ -87,6 +87,7 @@ public class DNSChaosList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java index 09379a05ae2..9c5e307c314 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java @@ -77,12 +77,14 @@ public class DNSChaosSpec implements KubernetesResource @JsonProperty("action") private java.lang.String action; @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containerNames = new ArrayList(); @JsonProperty("duration") private String duration; @JsonProperty("mode") private java.lang.String mode; @JsonProperty("patterns") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List patterns = new ArrayList(); @JsonProperty("selector") private PodSelectorSpec selector; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java index 01999d211c5..e2d1b87c94e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java @@ -78,6 +78,7 @@ public class FailKernRequest implements KubernetesResource @JsonProperty("failtype") private Integer failtype; @JsonProperty("headers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List headers = new ArrayList(); @JsonProperty("probability") private Integer probability; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosList.java index 0a1478233c4..8703564c86a 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosList.java @@ -87,6 +87,7 @@ public class GCPChaosList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java index 91f5997a78b..10afe09966c 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java @@ -77,6 +77,7 @@ public class GCPChaosSpec implements KubernetesResource @JsonProperty("action") private java.lang.String action; @JsonProperty("deviceNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List deviceNames = new ArrayList(); @JsonProperty("duration") private String duration; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosStatus.java index ac93f6ff11e..cd34515aebe 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosStatus.java @@ -71,6 +71,7 @@ public class GCPChaosStatus implements KubernetesResource { @JsonProperty("attachedDiskStrings") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List attachedDiskStrings = new ArrayList(); @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosList.java index 82dbe716451..77a6e155600 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosList.java @@ -87,6 +87,7 @@ public class HTTPChaosList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosList.java index bb447dc7259..f15586d604a 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosList.java @@ -87,6 +87,7 @@ public class IOChaosList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java index f1a1711d0ca..6dc7555476e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java @@ -86,6 +86,7 @@ public class IOChaosSpec implements KubernetesResource @JsonProperty("attr") private AttrOverrideSpec attr; @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containerNames = new ArrayList(); @JsonProperty("delay") private java.lang.String delay; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosList.java index 697b453f964..7eb8ebf6d3b 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosList.java @@ -87,6 +87,7 @@ public class JVMChaosList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java index dfec356ce91..bdfbc9b4db6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java @@ -87,6 +87,7 @@ public class JVMChaosSpec implements KubernetesResource @JsonProperty("class") private java.lang.String className; @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containerNames = new ArrayList(); @JsonProperty("cpuCount") private Integer cpuCount; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosList.java index e7046044207..c2bc202f943 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosList.java @@ -87,6 +87,7 @@ public class KernelChaosList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java index 0318fe06e3b..c412ef2ba63 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java @@ -71,6 +71,7 @@ public class MemoryStressor implements KubernetesResource { @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List options = new ArrayList(); @JsonProperty("size") private String size; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosList.java index 8b02e71dc8c..7e074f95392 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosList.java @@ -87,6 +87,7 @@ public class NetworkChaosList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java index 643171ba4c2..3c3a02d82dc 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java @@ -99,6 +99,7 @@ public class NetworkChaosSpec implements KubernetesResource @JsonProperty("duration") private String duration; @JsonProperty("externalTargets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List externalTargets = new ArrayList(); @JsonProperty("loss") private LossSpec loss; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosList.java index 9d3994c4ec7..9e6430591c0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosList.java @@ -87,6 +87,7 @@ public class PhysicalMachineChaosList implements KubernetesResource, KubernetesR @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosSpec.java index 0541cce24c4..f766ac6abbe 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaosSpec.java @@ -97,6 +97,7 @@ public class PhysicalMachineChaosSpec implements KubernetesResource @JsonProperty("action") private java.lang.String action; @JsonProperty("address") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List address = new ArrayList(); @JsonProperty("clock") private ClockSpec clock; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java index d8eaa0ec903..aea87b73439 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java @@ -87,6 +87,7 @@ public class PhysicalMachineSelectorSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map labelSelectors = new LinkedHashMap(); @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("physicalMachines") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosList.java index 26fcf7ae15f..10e3e9fc872 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosList.java @@ -87,6 +87,7 @@ public class PodChaosList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java index 791a23e5991..868d0dc3931 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java @@ -77,6 +77,7 @@ public class PodChaosSpec implements KubernetesResource @JsonProperty("action") private java.lang.String action; @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containerNames = new ArrayList(); @JsonProperty("duration") private String duration; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosList.java index 1977196e9b3..9c38797f81e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosList.java @@ -87,6 +87,7 @@ public class PodHttpChaosList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosList.java index 50a9c62692f..54a6c8cdc71 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosList.java @@ -87,6 +87,7 @@ public class PodIOChaosList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosList.java index f4753f11e6e..20354fba734 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaosList.java @@ -87,6 +87,7 @@ public class PodNetworkChaosList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java index b68045f7c23..0d32a5d5d68 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java @@ -90,13 +90,16 @@ public class PodSelectorSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map labelSelectors = new LinkedHashMap(); @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("nodeSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map nodeSelectors = new LinkedHashMap(); @JsonProperty("nodes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nodes = new ArrayList(); @JsonProperty("podPhaseSelectors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List podPhaseSelectors = new ArrayList(); @JsonProperty("pods") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java index d86bd25e82a..edad4b985d5 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java @@ -71,6 +71,7 @@ public class RawIPSet implements KubernetesResource { @JsonProperty("cidrs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List cidrs = new ArrayList(); @JsonProperty("name") private String name; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIptables.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIptables.java index d80f6b7d70b..b1af5a613c8 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIptables.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIptables.java @@ -77,6 +77,7 @@ public class RawIptables implements KubernetesResource @JsonProperty("direction") private String direction; @JsonProperty("ipsets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ipsets = new ArrayList(); @JsonProperty("name") private String name; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosList.java index b8829272d9d..6ba071f3aa8 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosList.java @@ -87,6 +87,7 @@ public class StressChaosList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java index fa6081639d7..98f331b04bc 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java @@ -75,6 +75,7 @@ public class StressChaosSpec implements KubernetesResource { @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containerNames = new ArrayList(); @JsonProperty("duration") private String duration; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosList.java index a5cc23b4bf6..96c7f2e0f6f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosList.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosList.java @@ -87,6 +87,7 @@ public class TimeChaosList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "chaos-mesh.org/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java index 38032243a26..1fea0e6b013 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java @@ -75,8 +75,10 @@ public class TimeChaosSpec implements KubernetesResource { @JsonProperty("clockIds") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clockIds = new ArrayList(); @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containerNames = new ArrayList(); @JsonProperty("duration") private String duration; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java index aaca05cd8cf..7f294de9e6b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java @@ -87,6 +87,7 @@ public class DestinationRuleList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java index dc9dc8d00c6..61f387c1941 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java @@ -87,6 +87,7 @@ public class EnvoyFilterList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java index a0bc4215819..d8d0a6a7b6f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java @@ -87,6 +87,7 @@ public class GatewayList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java index 8336e9fcb00..6f0dbbaa7a4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java @@ -87,6 +87,7 @@ public class ServiceEntryList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java index f8970a0ad72..65b648b6d66 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java @@ -87,6 +87,7 @@ public class SidecarList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java index f5b01d82a89..f3ab7f99450 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java @@ -87,6 +87,7 @@ public class VirtualServiceList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java index af5c7dbc840..f87101ce20d 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java @@ -87,6 +87,7 @@ public class WorkloadEntryList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java index 37d67c510b6..11a1498a326 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java +++ b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java @@ -87,6 +87,7 @@ public class WorkloadGroupList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1alpha3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java index 19f499ff35f..033ca0c28ca 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java @@ -87,6 +87,7 @@ public class DestinationRuleList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java index 18b2a81be0f..f03d902d718 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java @@ -87,6 +87,7 @@ public class GatewayList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java index 75a9fe40c39..dc914a906d2 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java @@ -87,6 +87,7 @@ public class ServiceEntryList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java index 2e14956bc07..d2fb2d529c3 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java @@ -87,6 +87,7 @@ public class SidecarList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java index 7bb34c92647..2da3702abe8 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java @@ -87,6 +87,7 @@ public class VirtualServiceList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java index b08618ec8d2..b2f363a7d92 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java @@ -87,6 +87,7 @@ public class WorkloadEntryList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "networking.istio.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java index 1802c0147df..a7a8c4ce9fe 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java @@ -87,6 +87,7 @@ public class AuthorizationPolicyList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "security.istio.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java index 5ccfb50b61f..b5f76990302 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java @@ -87,6 +87,7 @@ public class PeerAuthenticationList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "security.istio.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java index f5c3296584b..b173dbed1a8 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java +++ b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java @@ -87,6 +87,7 @@ public class RequestAuthenticationList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "security.istio.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceList.java index 6fea0ce225d..8d5885ffb77 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/awssqs/v1alpha1/AwsSqsSourceList.java @@ -87,6 +87,7 @@ public class AwsSqsSourceList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceList.java index 8875329e38a..4ff5d6684d8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/couchdb/v1alpha1/CouchDbSourceList.java @@ -87,6 +87,7 @@ public class CouchDbSourceList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingList.java index 98e54591396..40da1cdadf8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubBindingList.java @@ -87,6 +87,7 @@ public class GitHubBindingList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "bindings.knative.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceList.java index 66444a0a03d..5922205fef0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceList.java @@ -87,6 +87,7 @@ public class GitHubSourceList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceSpec.java index 26b8dd0b5d8..0989688e83f 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/github/v1alpha1/GitHubSourceSpec.java @@ -83,6 +83,7 @@ public class GitHubSourceSpec implements KubernetesResource @JsonProperty("ceOverrides") private CloudEventOverrides ceOverrides; @JsonProperty("eventTypes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List eventTypes = new ArrayList(); @JsonProperty("githubAPIURL") private String githubAPIURL; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingList.java index 7e903987465..cc4fff56153 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabBindingList.java @@ -87,6 +87,7 @@ public class GitLabBindingList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "bindings.knative.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceList.java index 47cf028d996..e28e14932f3 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceList.java @@ -87,6 +87,7 @@ public class GitLabSourceList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceSpec.java index 8d41af2ecef..3fa219f0dfe 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/gitlab/v1alpha1/GitLabSourceSpec.java @@ -82,6 +82,7 @@ public class GitLabSourceSpec implements KubernetesResource @JsonProperty("ceOverrides") private CloudEventOverrides ceOverrides; @JsonProperty("eventTypes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List eventTypes = new ArrayList(); @JsonProperty("projectUrl") private String projectUrl; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingList.java index 64461b3e9c1..4a2a8e87171 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingList.java @@ -87,6 +87,7 @@ public class KafkaBindingList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "bindings.knative.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingSpec.java index 3d24e0d0b00..0854099cc78 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaBindingSpec.java @@ -72,6 +72,7 @@ public class KafkaBindingSpec implements KubernetesResource { @JsonProperty("bootstrapServers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List bootstrapServers = new ArrayList(); @JsonProperty("net") private KafkaNetSpec net; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelList.java index 2ecdabce1ef..6f1cc77bc57 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaChannelList.java @@ -87,6 +87,7 @@ public class KafkaChannelList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "messaging.knative.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceList.java index f7c193a0a3a..82187ac11fe 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceList.java @@ -87,6 +87,7 @@ public class KafkaSourceList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceSpec.java index dbb4a5b7a28..a6ad689b86d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/kafka/v1beta1/KafkaSourceSpec.java @@ -78,6 +78,7 @@ public class KafkaSourceSpec implements KubernetesResource { @JsonProperty("bootstrapServers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List bootstrapServers = new ArrayList(); @JsonProperty("ceOverrides") private CloudEventOverrides ceOverrides; @@ -92,6 +93,7 @@ public class KafkaSourceSpec implements KubernetesResource @JsonProperty("sink") private Destination sink; @JsonProperty("topics") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List topics = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceList.java index 3d4df51f2a8..cb533fe6ba0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/contrib/prometheus/v1alpha1/PrometheusSourceList.java @@ -87,6 +87,7 @@ public class PrometheusSourceList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerList.java index 976c95f84a1..7f7d5199508 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/BrokerList.java @@ -87,6 +87,7 @@ public class BrokerList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerList.java index 2d5634fead4..84b130a1341 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1/TriggerList.java @@ -87,6 +87,7 @@ public class TriggerList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeList.java index fe6ca6ae877..3f0575f85e0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/eventing/v1beta1/EventTypeList.java @@ -87,6 +87,7 @@ public class EventTypeList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "eventing.knative.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelList.java index 3786238cebe..b9797c831c0 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelList.java @@ -87,6 +87,7 @@ public class ParallelList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "flows.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSpec.java index 52005b4c17a..3b1ebb2fc1b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelSpec.java @@ -73,6 +73,7 @@ public class ParallelSpec implements KubernetesResource { @JsonProperty("branches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List branches = new ArrayList(); @JsonProperty("channelTemplate") private ChannelTemplateSpec channelTemplate; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelStatus.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelStatus.java index 31c7b021c48..69dea3a17aa 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelStatus.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/ParallelStatus.java @@ -81,6 +81,7 @@ public class ParallelStatus implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap(); @JsonProperty("branchStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List branchStatuses = new ArrayList(); @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceList.java index 51a9c55d040..de2a58596f8 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceList.java @@ -87,6 +87,7 @@ public class SequenceList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "flows.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSpec.java index 2ad995889b3..4283fb3261d 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/flows/v1/SequenceSpec.java @@ -77,6 +77,7 @@ public class SequenceSpec implements KubernetesResource @JsonProperty("reply") private Destination reply; @JsonProperty("steps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List steps = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelList.java index 5fd5cf61243..0587241878a 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/ChannelList.java @@ -87,6 +87,7 @@ public class ChannelList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelList.java index e60250ba82d..d6c2c7a6301 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/InMemoryChannelList.java @@ -87,6 +87,7 @@ public class InMemoryChannelList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "messaging.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionList.java index 3a887c33531..d648d839065 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/messaging/v1/SubscriptionList.java @@ -87,6 +87,7 @@ public class SubscriptionList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "messaging.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationList.java index 09dcea883e4..dcf2a31eadf 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ConfigurationList.java @@ -87,6 +87,7 @@ public class ConfigurationList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "serving.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionList.java index df2e92a1dc9..f1d7cd9534f 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionList.java @@ -87,6 +87,7 @@ public class RevisionList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "serving.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionSpec.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionSpec.java index bad34514a5b..bb1709abb65 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionSpec.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RevisionSpec.java @@ -123,6 +123,7 @@ public class RevisionSpec implements KubernetesResource @JsonProperty("containerConcurrency") private Long containerConcurrency; @JsonProperty("containers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containers = new ArrayList(); @JsonProperty("dnsConfig") private PodDNSConfig dnsConfig; diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteList.java index 8f804bcb904..f72633f6aaa 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/RouteList.java @@ -87,6 +87,7 @@ public class RouteList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceList.java index 70ac0de1f19..27e0b61048e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1/ServiceList.java @@ -87,6 +87,7 @@ public class ServiceList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingList.java index 8d8ff10fbdc..ea73c822925 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/serving/v1beta1/DomainMappingList.java @@ -87,6 +87,7 @@ public class DomainMappingList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "serving.knative.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceList.java index 83bccf9754a..5c3c4455272 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ApiServerSourceList.java @@ -87,6 +87,7 @@ public class ApiServerSourceList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceList.java index abdc9d6f1fa..cda883589b9 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/ContainerSourceList.java @@ -87,6 +87,7 @@ public class ContainerSourceList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceList.java index ee14151aafa..d519e6f3e7e 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/PingSourceList.java @@ -87,6 +87,7 @@ public class PingSourceList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingList.java b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingList.java index e0a40ae2668..b69f3ef326b 100644 --- a/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingList.java +++ b/extensions/knative/model/src/generated/java/io/fabric8/knative/sources/v1/SinkBindingList.java @@ -87,6 +87,7 @@ public class SinkBindingList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "sources.knative.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigList.java b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigList.java index 0a2c63f055c..d1697376385 100644 --- a/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigList.java +++ b/extensions/open-cluster-management/model-agent/src/generated/java/io/fabric8/openclustermanagement/api/model/agent/v1/KlusterletAddonConfigList.java @@ -87,6 +87,7 @@ public class KlusterletAddonConfigList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "agent.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationList.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationList.java index 7ff842cc9e7..cfbf64a1df5 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationList.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/app/k8s/v1beta1/ApplicationList.java @@ -87,6 +87,7 @@ public class ApplicationList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "app.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelList.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelList.java index db73ce9913b..765dc38d563 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelList.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorschannel/apps/v1/ChannelList.java @@ -87,6 +87,7 @@ public class ChannelList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppStatus.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppStatus.java index cf7c10eab60..ca477b44920 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppStatus.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmAppStatus.java @@ -70,6 +70,7 @@ public class HelmAppStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("deployedRelease") private HelmAppRelease deployedRelease; diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseList.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseList.java index 2aea0aaa5ba..6495966eec9 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseList.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/helmrelease/v1/HelmReleaseList.java @@ -87,6 +87,7 @@ public class HelmReleaseList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "apps.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverrides.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverrides.java index 0988c69b6d6..1e6a7b7546a 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverrides.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/ClusterOverrides.java @@ -72,6 +72,7 @@ public class ClusterOverrides implements KubernetesResource @JsonProperty("clusterName") private String clusterName; @JsonProperty("clusterOverrides") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterOverrides = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionList.java b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionList.java index 7c087073cad..0e357624e05 100644 --- a/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionList.java +++ b/extensions/open-cluster-management/model-apps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorssubscription/apps/v1/SubscriptionList.java @@ -87,6 +87,7 @@ public class SubscriptionList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "apps.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterList.java index 278557d93e0..bb356b57dad 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterList.java @@ -87,6 +87,7 @@ public class ManagedClusterList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "cluster.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterStatus.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterStatus.java index 085f9b0eb4e..4040996e19e 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterStatus.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1/ManagedClusterStatus.java @@ -84,6 +84,7 @@ public class ManagedClusterStatus implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterClaims = new ArrayList(); @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("version") private ManagedClusterVersion version; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionList.java index 899332029c2..c293ad2cb13 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionList.java @@ -87,6 +87,7 @@ public class PlacementDecisionList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "cluster.open-cluster-management.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionStatus.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionStatus.java index 020a0c4d14d..b3f83f49724 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionStatus.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementDecisionStatus.java @@ -69,6 +69,7 @@ public class PlacementDecisionStatus implements KubernetesResource { @JsonProperty("decisions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List decisions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementList.java index 69c97a2553a..ed565106c5f 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementList.java @@ -87,6 +87,7 @@ public class PlacementList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "cluster.open-cluster-management.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementStatus.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementStatus.java index 812dacb030c..9cf5253bef2 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementStatus.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1alpha1/PlacementStatus.java @@ -71,6 +71,7 @@ public class PlacementStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("numberOfSelectedClusters") private Integer numberOfSelectedClusters; diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingList.java index ac84dfbfd5d..f1d7fe6261b 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetBindingList.java @@ -87,6 +87,7 @@ public class ManagedClusterSetBindingList implements KubernetesResource, Kuberne @JsonProperty("apiVersion") private String apiVersion = "cluster.open-cluster-management.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetList.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetList.java index 442dd717c93..14f0f04a9e5 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetList.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetList.java @@ -87,6 +87,7 @@ public class ManagedClusterSetList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "cluster.open-cluster-management.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetStatus.java b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetStatus.java index 9b1f4102d64..87e38fcbe05 100644 --- a/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetStatus.java +++ b/extensions/open-cluster-management/model-cluster/src/generated/java/io/fabric8/openclustermanagement/api/model/cluster/v1beta1/ManagedClusterSetStatus.java @@ -70,6 +70,7 @@ public class ManagedClusterSetStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterList.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterList.java index dc3d6b0c1f2..5d3179b5958 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterList.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveredClusterList.java @@ -87,6 +87,7 @@ public class DiscoveredClusterList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "discovery.open-cluster-management.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigList.java b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigList.java index dcaafcabced..06a466cb67e 100644 --- a/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigList.java +++ b/extensions/open-cluster-management/model-discovery/src/generated/java/io/fabric8/openclustermanagement/api/model/discovery/v1alpha1/DiscoveryConfigList.java @@ -87,6 +87,7 @@ public class DiscoveryConfigList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "discovery.open-cluster-management.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonList.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonList.java index ff533a7e118..f286a9e239c 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonList.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonList.java @@ -87,6 +87,7 @@ public class ObservabilityAddonList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "observability.open-cluster-management.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonStatus.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonStatus.java index faeffea7afc..8c04a618a18 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonStatus.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta1/ObservabilityAddonStatus.java @@ -69,6 +69,7 @@ public class ObservabilityAddonStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityList.java b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityList.java index 215584069f7..bbcd6cf9fa7 100644 --- a/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityList.java +++ b/extensions/open-cluster-management/model-observability/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterobservabilityoperator/apps/v1beta2/MultiClusterObservabilityList.java @@ -87,6 +87,7 @@ public class MultiClusterObservabilityList implements KubernetesResource, Kubern @JsonProperty("apiVersion") private String apiVersion = "observability.open-cluster-management.io/v1beta2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubList.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubList.java index 8b41638c03c..4586ca6139c 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubList.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/multiclusterhub/operator/v1/MultiClusterHubList.java @@ -87,6 +87,7 @@ public class MultiClusterHubList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "operator.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerList.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerList.java index 270f4d159ca..5b055115ea6 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerList.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerList.java @@ -87,6 +87,7 @@ public class ClusterManagerList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "operator.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerStatus.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerStatus.java index 5ebda11f194..bd5ab343c90 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerStatus.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/ClusterManagerStatus.java @@ -73,6 +73,7 @@ public class ClusterManagerStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("generations") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletList.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletList.java index cfff150c9e5..676fec7902b 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletList.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletList.java @@ -87,6 +87,7 @@ public class KlusterletList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "operator.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletStatus.java b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletStatus.java index 94b253e6284..65feaa6ef0b 100644 --- a/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletStatus.java +++ b/extensions/open-cluster-management/model-operator/src/generated/java/io/fabric8/openclustermanagement/api/model/operator/v1/KlusterletStatus.java @@ -73,6 +73,7 @@ public class KlusterletStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("generations") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterList.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterList.java index fc3c5ef418d..3356c6e35d3 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterList.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudintegration/apps/v1beta1/GitOpsClusterList.java @@ -87,6 +87,7 @@ public class GitOpsClusterList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "apps.open-cluster-management.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleList.java b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleList.java index db6a517c67f..3e3799d1967 100644 --- a/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleList.java +++ b/extensions/open-cluster-management/model-placementruleapps/src/generated/java/io/fabric8/openclustermanagement/api/model/multicloudoperatorsplacementrule/apps/v1/PlacementRuleList.java @@ -87,6 +87,7 @@ public class PlacementRuleList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "apps.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBinding.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBinding.java index 0193a36213d..6c2e1642695 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBinding.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBinding.java @@ -100,6 +100,7 @@ public class PlacementBinding implements HasMetadata, Namespaced @JsonProperty("status") private PlacementBindingStatus status; @JsonProperty("subjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subjects = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingList.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingList.java index 724208bf082..e8f2b1e021e 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingList.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PlacementBindingList.java @@ -87,6 +87,7 @@ public class PlacementBindingList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "policy.open-cluster-management.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyList.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyList.java index 1682a2a8433..6e58025c6f5 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyList.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicyList.java @@ -87,6 +87,7 @@ public class PolicyList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicySpec.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicySpec.java index e69f2b30b5d..4ed2a9a3ed4 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicySpec.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1/PolicySpec.java @@ -73,6 +73,7 @@ public class PolicySpec implements KubernetesResource @JsonProperty("disabled") private Boolean disabled; @JsonProperty("policy-templates") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List policyTemplates = new ArrayList(); @JsonProperty("remediationAction") private String remediationAction; diff --git a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationList.java b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationList.java index eef9121d08e..c79768bbd34 100644 --- a/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationList.java +++ b/extensions/open-cluster-management/model-policy/src/generated/java/io/fabric8/openclustermanagement/api/model/governancepolicypropagator/policy/v1beta1/PolicyAutomationList.java @@ -87,6 +87,7 @@ public class PolicyAutomationList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "policy.open-cluster-management.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationList.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationList.java index bb73ed3ce49..562d68ed8ad 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationList.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchCustomizationList.java @@ -87,6 +87,7 @@ public class SearchCustomizationList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "search.open-cluster-management.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorList.java b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorList.java index a89381c4377..5dc2f7f6795 100644 --- a/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorList.java +++ b/extensions/open-cluster-management/model-search/src/generated/java/io/fabric8/openclustermanagement/api/model/searchoperator/v1alpha1/SearchOperatorList.java @@ -87,6 +87,7 @@ public class SearchOperatorList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "search.open-cluster-management.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java index acfbfd57710..9684a004e4e 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java @@ -87,6 +87,7 @@ public class ClusterServiceBrokerList implements KubernetesResource, KubernetesR @JsonProperty("apiVersion") private String apiVersion = "servicecatalog.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java index 6d10e8dfd0e..2d843c8152e 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java @@ -72,6 +72,7 @@ public class ClusterServiceBrokerStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("lastCatalogRetrievalTime") private String lastCatalogRetrievalTime; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java index 028b5baa9bb..4845b6ff226 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java @@ -87,6 +87,7 @@ public class ClusterServiceClassList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "servicecatalog.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java index 983305465ff..85cc2fa43da 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java @@ -87,6 +87,7 @@ public class ClusterServicePlanList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "servicecatalog.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingList.java index 127ecb7ba32..074a8200d95 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingList.java @@ -87,6 +87,7 @@ public class ServiceBindingList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "servicecatalog.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingStatus.java index 10a0eab003c..29908b7e475 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBindingStatus.java @@ -80,6 +80,7 @@ public class ServiceBindingStatus implements KubernetesResource @JsonProperty("asyncOpInProgress") private Boolean asyncOpInProgress; @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("currentOperation") private java.lang.String currentOperation; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerList.java index 101d2aa0c0a..129afe312af 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerList.java @@ -87,6 +87,7 @@ public class ServiceBrokerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "servicecatalog.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerStatus.java index 319b0b214ad..bf07c3f8270 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceBrokerStatus.java @@ -72,6 +72,7 @@ public class ServiceBrokerStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("lastCatalogRetrievalTime") private String lastCatalogRetrievalTime; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassList.java index cfdd5a94ac1..8bc84ace520 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceClassList.java @@ -87,6 +87,7 @@ public class ServiceClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "servicecatalog.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceList.java index 0059c557913..a490449419c 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceList.java @@ -87,6 +87,7 @@ public class ServiceInstanceList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "servicecatalog.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceStatus.java index 2faa3464ea1..2f5216e2030 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceStatus.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServiceInstanceStatus.java @@ -84,6 +84,7 @@ public class ServiceInstanceStatus implements KubernetesResource @JsonProperty("asyncOpInProgress") private Boolean asyncOpInProgress; @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("currentOperation") private java.lang.String currentOperation; diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanList.java index 24be43fdd1c..a4ce8153627 100644 --- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanList.java +++ b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ServicePlanList.java @@ -87,6 +87,7 @@ public class ServicePlanList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "servicecatalog.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java index 371e5cf8d48..e898a0938c4 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java @@ -87,6 +87,7 @@ public class ClusterInterceptorList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBindingList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBindingList.java index 39ada9f35eb..91dd3811cc7 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBindingList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBindingList.java @@ -87,6 +87,7 @@ public class ClusterTriggerBindingList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java index 94f89da1706..cde816c0a77 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java @@ -87,6 +87,7 @@ public class EventListenerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java index 299dcc83e8f..42b4b54206f 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java @@ -80,6 +80,7 @@ public class EventListenerSpec implements KubernetesResource @JsonProperty("serviceAccountName") private String serviceAccountName; @JsonProperty("triggers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List triggers = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java index 0cbe5fac954..e0898f0ce5a 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java @@ -87,6 +87,7 @@ public class InterceptorList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java index a7d8494e4d4..442f24c1ced 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java @@ -87,6 +87,7 @@ public class TriggerBindingList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java index 297421bfc78..2172b713663 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java @@ -87,6 +87,7 @@ public class TriggerList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java index 890d7c46e84..d592ba46157 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java @@ -73,6 +73,7 @@ public class TriggerSpec implements KubernetesResource { @JsonProperty("bindings") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List bindings = new ArrayList(); @JsonProperty("interceptors") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java index 7fcdd81db78..48eba9cd4ad 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java +++ b/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java @@ -87,6 +87,7 @@ public class TriggerTemplateList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBindingList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBindingList.java index 9eea3a15288..4cab0586ece 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBindingList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBindingList.java @@ -87,6 +87,7 @@ public class ClusterTriggerBindingList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java index d3d67fa3b35..ff47abb9f2d 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java @@ -87,6 +87,7 @@ public class EventListenerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java index 68326ac4db4..044f70c4a5d 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java @@ -71,6 +71,7 @@ public class EventListenerTriggerGroup implements KubernetesResource { @JsonProperty("interceptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List interceptors = new ArrayList(); @JsonProperty("name") private String name; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java index 4e08b347407..528a86b29fa 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java @@ -87,6 +87,7 @@ public class TriggerBindingList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java index 41946a2b866..29fbf1fdd3b 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java @@ -87,6 +87,7 @@ public class TriggerList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java index d1a3ac78e7c..89907b88cf8 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java @@ -73,6 +73,7 @@ public class TriggerSpec implements KubernetesResource { @JsonProperty("bindings") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List bindings = new ArrayList(); @JsonProperty("interceptors") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java index 77fc4df2f1e..ed45fd72d3d 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java +++ b/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java @@ -87,6 +87,7 @@ public class TriggerTemplateList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "triggers.tekton.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java index e298fde3da4..f742ed673bf 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java @@ -87,6 +87,7 @@ public class PipelineList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "tekton.dev/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java index 824ad592b4d..63c7b816d5a 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java @@ -87,6 +87,7 @@ public class TaskList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java index 0a1d6c2fa09..63ccd73d6fd 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java @@ -87,6 +87,7 @@ public class TaskRunList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java index c5950992c58..a5751a67ae0 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java +++ b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java @@ -75,6 +75,7 @@ public class WhenExpression implements KubernetesResource @JsonProperty("operator") private String operator; @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List values = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java index 43db05099a2..bee8f634a5e 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java @@ -87,6 +87,7 @@ public class RunList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java index 9224b7ee7c4..2fa040e786b 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java @@ -87,6 +87,7 @@ public class VerificationPolicyList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "tekton.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java index 62b8d8068b6..f922e5486c0 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java @@ -71,10 +71,12 @@ public class VerificationPolicySpec implements KubernetesResource { @JsonProperty("authorities") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List authorities = new ArrayList(); @JsonProperty("mode") private String mode; @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java index 163947891f8..aba65b998c8 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java @@ -87,6 +87,7 @@ public class ResolutionRequestList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "resolution.tekton.dev/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java index 2bef4d729d8..aadb21920cb 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java +++ b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java @@ -72,6 +72,7 @@ public class ParamValue implements KubernetesResource { @JsonProperty("ArrayVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List arrayVal = new ArrayList(); @JsonProperty("ObjectVal") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java index 665e7299a8f..058a038ceae 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java @@ -87,6 +87,7 @@ public class ClusterTaskList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java index 8a4ab0c4ad6..0909c6f4de8 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java @@ -87,6 +87,7 @@ public class CustomRunList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java index 82a6e1be4e4..e903e155919 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java @@ -87,6 +87,7 @@ public class PipelineList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java index 51feff48e08..7325d35a14b 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java @@ -87,6 +87,7 @@ public class TaskList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java index 3535943c214..7d296854529 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java @@ -87,6 +87,7 @@ public class TaskRunList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java index 49d8c1fd27d..031491f2a02 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java @@ -75,6 +75,7 @@ public class WhenExpression implements KubernetesResource @JsonProperty("operator") private String operator; @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List values = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java index 922b2641efd..60c593e2c9e 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java @@ -87,6 +87,7 @@ public class ResolutionRequestList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "resolution.tekton.dev/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java index b15af05c977..4c9dede7b93 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java +++ b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java @@ -74,6 +74,7 @@ public class PipelineResourceSpec implements KubernetesResource @JsonProperty("description") private String description; @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List params = new ArrayList(); @JsonProperty("secrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointList.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointList.java index 93476b9a776..9201deddfa3 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointList.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerCheckpointList.java @@ -87,6 +87,7 @@ public class VerticalPodAutoscalerCheckpointList implements KubernetesResource, @JsonProperty("apiVersion") private String apiVersion = "autoscaling.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerList.java b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerList.java index cf790a86011..ef7ffdb0046 100644 --- a/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerList.java +++ b/extensions/verticalpodautoscaler/model-v1/src/generated/java/io/fabric8/verticalpodautoscaler/api/model/v1/VerticalPodAutoscalerList.java @@ -87,6 +87,7 @@ public class VerticalPodAutoscalerList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "autoscaling.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupList.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupList.java index 8cd74ff4d86..754706ff975 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupList.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/PodGroupList.java @@ -87,6 +87,7 @@ public class PodGroupList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "scheduling.volcano.sh/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueList.java b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueList.java index 954c6b7ce3c..3f70c96d1c9 100644 --- a/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueList.java +++ b/extensions/volcano/model-v1beta1/src/generated/java/io/fabric8/volcano/scheduling/v1beta1/QueueList.java @@ -87,6 +87,7 @@ public class QueueList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClassList.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClassList.java index 7c46d29eaf3..01945196285 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClassList.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotClassList.java @@ -87,6 +87,7 @@ public class VolumeSnapshotClassList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "snapshot.storage.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentList.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentList.java index e64f1df7837..b4fc8eeca80 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentList.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotContentList.java @@ -87,6 +87,7 @@ public class VolumeSnapshotContentList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "snapshot.storage.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotList.java b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotList.java index cc7b08cbff3..e00def6e0e3 100644 --- a/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotList.java +++ b/extensions/volumesnapshot/model/src/generated/java/io/fabric8/volumesnapshot/api/model/VolumeSnapshotList.java @@ -87,6 +87,7 @@ public class VolumeSnapshotList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "snapshot.storage.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/utils/SerializationTest.java b/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/utils/SerializationTest.java index 78079e5c05e..fda3df89fd3 100644 --- a/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/utils/SerializationTest.java +++ b/kubernetes-client-api/src/test/java/io/fabric8/kubernetes/client/utils/SerializationTest.java @@ -384,13 +384,10 @@ void parseConfigWithRaw() { // ensure that the extenion is preserved assertThat(Serialization.asYaml(config)).isEqualTo("---\n" - + "clusters: []\n" - + "contexts: []\n" + "extensions:\n" + "- extension:\n" + " not: \"kubernetesresource\"\n" - + " name: \"foo\"\n" - + "users: []\n"); + + " name: \"foo\"\n"); } @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhook.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhook.java index 46e1d01d7b8..ac20b288169 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhook.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhook.java @@ -71,6 +71,7 @@ public class MutatingWebhook implements KubernetesResource { @JsonProperty("admissionReviewVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List admissionReviewVersions = new ArrayList(); @JsonProperty("clientConfig") private WebhookClientConfig clientConfig; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfigurationList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfigurationList.java index 44ff0e0260b..53514d30e54 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/MutatingWebhookConfigurationList.java @@ -79,6 +79,7 @@ public class MutatingWebhookConfigurationList implements KubernetesResource, Kub @JsonProperty("apiVersion") private String apiVersion = "admissionregistration.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhook.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhook.java index 2c7d8e9afda..6de699ef396 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhook.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhook.java @@ -70,6 +70,7 @@ public class ValidatingWebhook implements KubernetesResource { @JsonProperty("admissionReviewVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List admissionReviewVersions = new ArrayList(); @JsonProperty("clientConfig") private WebhookClientConfig clientConfig; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfigurationList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfigurationList.java index 8248421ed05..ea13d2b3aca 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1/ValidatingWebhookConfigurationList.java @@ -79,6 +79,7 @@ public class ValidatingWebhookConfigurationList implements KubernetesResource, K @JsonProperty("apiVersion") private String apiVersion = "admissionregistration.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfigurationList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfigurationList.java index 36c168460b9..bec8f5103fe 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/MutatingWebhookConfigurationList.java @@ -79,6 +79,7 @@ public class MutatingWebhookConfigurationList implements KubernetesResource, Kub @JsonProperty("apiVersion") private String apiVersion = "admissionregistration.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.java index 7024fc86a49..26660bdee1c 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.java @@ -79,6 +79,7 @@ public class ValidatingWebhookConfigurationList implements KubernetesResource, K @JsonProperty("apiVersion") private String apiVersion = "admissionregistration.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestSpec.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestSpec.java index 4353dc7fc30..f1ffb28f161 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestSpec.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/TokenRequestSpec.java @@ -63,6 +63,7 @@ public class TokenRequestSpec implements KubernetesResource { @JsonProperty("audiences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List audiences = new ArrayList(); @JsonProperty("boundObjectRef") private BoundObjectReference boundObjectRef; diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceRule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceRule.java index 8ae9c9a3b8b..fe7f8c6448f 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceRule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/NonResourceRule.java @@ -65,6 +65,7 @@ public class NonResourceRule implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nonResourceURLs = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceRule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceRule.java index 7c4b1f6c036..e9e5b15bcea 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceRule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/ResourceRule.java @@ -73,6 +73,7 @@ public class ResourceRule implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectRulesReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectRulesReviewStatus.java index b07eaeb22ca..2bf7ca0982f 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectRulesReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1/SubjectRulesReviewStatus.java @@ -68,8 +68,10 @@ public class SubjectRulesReviewStatus implements KubernetesResource @JsonProperty("incomplete") private Boolean incomplete; @JsonProperty("nonResourceRules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nonResourceRules = new ArrayList(); @JsonProperty("resourceRules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resourceRules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceRule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceRule.java index f6696a6405b..2dd7a31caa9 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceRule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/NonResourceRule.java @@ -65,6 +65,7 @@ public class NonResourceRule implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nonResourceURLs = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceRule.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceRule.java index 7752b6bf12b..fbb1f868ff2 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceRule.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/ResourceRule.java @@ -73,6 +73,7 @@ public class ResourceRule implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectRulesReviewStatus.java b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectRulesReviewStatus.java index 8a89034d4ca..04acc48ae13 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectRulesReviewStatus.java +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authorization/v1beta1/SubjectRulesReviewStatus.java @@ -68,8 +68,10 @@ public class SubjectRulesReviewStatus implements KubernetesResource @JsonProperty("incomplete") private Boolean incomplete; @JsonProperty("nonResourceRules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nonResourceRules = new ArrayList(); @JsonProperty("resourceRules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resourceRules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/validation-schema.json index 6b45221bad7..0e1ada3d605 100644 --- a/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-admissionregistration/src/main/resources/schema/validation-schema.json @@ -4017,7 +4017,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "authorization.k8s.io/v1beta1", + "default": "authorization.k8s.io/v1", "required": true }, "kind": { @@ -4030,12 +4030,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_authorization_v1beta1_SubjectAccessReviewSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReviewSpec" + "$ref": "#/definitions/kubernetes_authorization_v1_SubjectAccessReviewSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReviewSpec" }, "status": { - "$ref": "#/definitions/kubernetes_authorization_v1beta1_SubjectAccessReviewStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReviewStatus" + "$ref": "#/definitions/kubernetes_authorization_v1_SubjectAccessReviewStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.authorization.v1.SubjectAccessReviewStatus" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionRequest.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionRequest.java index 9a46e37f2df..35057ebe0a1 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionRequest.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionRequest.java @@ -69,6 +69,7 @@ public class ConversionRequest implements KubernetesResource @JsonProperty("desiredAPIVersion") private String desiredAPIVersion; @JsonProperty("objects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List objects = new ArrayList(); @JsonProperty("uid") private String uid; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionResponse.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionResponse.java index 1d2804216f2..0f98463505b 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionResponse.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/ConversionResponse.java @@ -68,6 +68,7 @@ public class ConversionResponse implements KubernetesResource { @JsonProperty("convertedObjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List convertedObjects = new ArrayList(); @JsonProperty("result") private Status result; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionList.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionList.java index 5b18443b41e..fa21c96775d 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionList.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionList.java @@ -79,6 +79,7 @@ public class CustomResourceDefinitionList implements KubernetesResource, Kuberne @JsonProperty("apiVersion") private String apiVersion = "apiextensions.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionSpec.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionSpec.java index c5450f65a66..83f76ead9b5 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionSpec.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionSpec.java @@ -76,6 +76,7 @@ public class CustomResourceDefinitionSpec implements KubernetesResource @JsonProperty("scope") private String scope; @JsonProperty("versions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List versions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionStatus.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionStatus.java index aa6716ab22e..8e515f12c2b 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/CustomResourceDefinitionStatus.java @@ -65,8 +65,10 @@ public class CustomResourceDefinitionStatus implements KubernetesResource @JsonProperty("acceptedNames") private CustomResourceDefinitionNames acceptedNames; @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("storedVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List storedVersions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrArray.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrArray.java index 67853e9a064..7ebd559269b 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrArray.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrArray.java @@ -64,6 +64,7 @@ public class JSONSchemaPropsOrArray implements KubernetesResource { @JsonProperty("JSONSchemas") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List jSONSchemas = new ArrayList(); @JsonProperty("Schema") private JSONSchemaProps schema; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrStringArray.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrStringArray.java index e44017f7318..83fa6599bfe 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrStringArray.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/JSONSchemaPropsOrStringArray.java @@ -64,6 +64,7 @@ public class JSONSchemaPropsOrStringArray implements KubernetesResource { @JsonProperty("Property") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List property = new ArrayList(); @JsonProperty("Schema") private JSONSchemaProps schema; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookConversion.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookConversion.java index 588e7ec3381..6426f3225a2 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookConversion.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1/WebhookConversion.java @@ -64,6 +64,7 @@ public class WebhookConversion implements KubernetesResource @JsonProperty("clientConfig") private WebhookClientConfig clientConfig; @JsonProperty("conversionReviewVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conversionReviewVersions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionList.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionList.java index 222968d40fd..5735d3462cf 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionList.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionList.java @@ -79,6 +79,7 @@ public class CustomResourceDefinitionList implements KubernetesResource, Kuberne @JsonProperty("apiVersion") private String apiVersion = "apiextensions.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionStatus.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionStatus.java index d06f2af335e..30c12f8897f 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionStatus.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/CustomResourceDefinitionStatus.java @@ -65,8 +65,10 @@ public class CustomResourceDefinitionStatus implements KubernetesResource @JsonProperty("acceptedNames") private CustomResourceDefinitionNames acceptedNames; @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("storedVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List storedVersions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrArray.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrArray.java index 874dd818d9b..c057512ef34 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrArray.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrArray.java @@ -64,6 +64,7 @@ public class JSONSchemaPropsOrArray implements KubernetesResource { @JsonProperty("JSONSchemas") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List jSONSchemas = new ArrayList(); @JsonProperty("Schema") private JSONSchemaProps schema; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrStringArray.java b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrStringArray.java index db210995016..82f341339bc 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrStringArray.java +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/generated/java/io/fabric8/kubernetes/api/model/apiextensions/v1beta1/JSONSchemaPropsOrStringArray.java @@ -64,6 +64,7 @@ public class JSONSchemaPropsOrStringArray implements KubernetesResource { @JsonProperty("Property") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List property = new ArrayList(); @JsonProperty("Schema") private JSONSchemaProps schema; diff --git a/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/validation-schema.json index f5c98ae0c0e..acddcc6cbee 100644 --- a/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-apiextensions/src/main/resources/schema/validation-schema.json @@ -2658,14 +2658,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "apiextensions.k8s.io/v1beta1", + "default": "apiextensions.k8s.io/v1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceDefinition", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinition" + "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceDefinition", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinition" } }, "kind": { @@ -2788,8 +2788,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceColumnDefinition", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceColumnDefinition" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceColumnDefinition", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceColumnDefinition" } }, "deprecated": { @@ -2802,8 +2802,8 @@ "type": "string" }, "schema": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceValidation", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceValidation" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceValidation", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceValidation" }, "served": { "type": "boolean" @@ -2812,8 +2812,8 @@ "type": "boolean" }, "subresources": { - "$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceSubresources", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceSubresources" + "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceSubresources", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceSubresources" } }, "additionalProperties": true @@ -3196,8 +3196,8 @@ "type": "boolean" }, "Schema": { - "$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps", - "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps" + "$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps", + "existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevisionList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevisionList.java index e450670c2f6..2354aa3b865 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevisionList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ControllerRevisionList.java @@ -79,6 +79,7 @@ public class ControllerRevisionList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "apps/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetList.java index 132b91d6da0..aed89e96de2 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DaemonSetList.java @@ -79,6 +79,7 @@ public class DaemonSetList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "apps/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentList.java index f81d68f4a0f..20e37e0afb7 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/DeploymentList.java @@ -79,6 +79,7 @@ public class DeploymentList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "apps/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetList.java index d4837e8db01..9f2dbfa0af8 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/ReplicaSetList.java @@ -79,6 +79,7 @@ public class ReplicaSetList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "apps/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetList.java b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetList.java index 5c9265f8991..68aeea69af0 100644 --- a/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetList.java +++ b/kubernetes-model-generator/kubernetes-model-apps/src/generated/java/io/fabric8/kubernetes/api/model/apps/StatefulSetList.java @@ -79,6 +79,7 @@ public class StatefulSetList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "apps/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerList.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerList.java index 76cd5d23d68..ae038edbf8e 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerList.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v1/HorizontalPodAutoscalerList.java @@ -79,6 +79,7 @@ public class HorizontalPodAutoscalerList implements KubernetesResource, Kubernet @JsonProperty("apiVersion") private String apiVersion = "autoscaling/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerList.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerList.java index c3ecf930461..69b08927fb3 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerList.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerList.java @@ -79,6 +79,7 @@ public class HorizontalPodAutoscalerList implements KubernetesResource, Kubernet @JsonProperty("apiVersion") private String apiVersion = "autoscaling/v2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerStatus.java index 74bdebff7d4..2079c88eda9 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2/HorizontalPodAutoscalerStatus.java @@ -69,6 +69,7 @@ public class HorizontalPodAutoscalerStatus implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("currentMetrics") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List currentMetrics = new ArrayList(); @JsonProperty("currentReplicas") private Integer currentReplicas; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerList.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerList.java index 77d6124410a..0a268315a93 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerList.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerList.java @@ -79,6 +79,7 @@ public class HorizontalPodAutoscalerList implements KubernetesResource, Kubernet @JsonProperty("apiVersion") private String apiVersion = "autoscaling/v2beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerStatus.java index c9b24bfdeeb..4806a8d80d8 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta1/HorizontalPodAutoscalerStatus.java @@ -66,8 +66,10 @@ public class HorizontalPodAutoscalerStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("currentMetrics") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List currentMetrics = new ArrayList(); @JsonProperty("currentReplicas") private Integer currentReplicas; diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerList.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerList.java index 10769c45b84..99bd09dd366 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerList.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerList.java @@ -79,6 +79,7 @@ public class HorizontalPodAutoscalerList implements KubernetesResource, Kubernet @JsonProperty("apiVersion") private String apiVersion = "autoscaling/v2beta2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerStatus.java b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerStatus.java index 7a552df1b89..cc0abb9955f 100644 --- a/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-autoscaling/src/generated/java/io/fabric8/kubernetes/api/model/autoscaling/v2beta2/HorizontalPodAutoscalerStatus.java @@ -66,8 +66,10 @@ public class HorizontalPodAutoscalerStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("currentMetrics") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List currentMetrics = new ArrayList(); @JsonProperty("currentReplicas") private Integer currentReplicas; diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobList.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobList.java index 20cd7e385ed..e395a13ce7d 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobList.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/CronJobList.java @@ -79,6 +79,7 @@ public class CronJobList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobList.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobList.java index b2ec8399909..6534da33130 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobList.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/JobList.java @@ -79,6 +79,7 @@ public class JobList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicy.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicy.java index 4f4aad1ca74..2608cd10802 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicy.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicy.java @@ -61,6 +61,7 @@ public class PodFailurePolicy implements KubernetesResource { @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnExitCodesRequirement.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnExitCodesRequirement.java index 4cff237485c..7eef9e39203 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnExitCodesRequirement.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyOnExitCodesRequirement.java @@ -67,6 +67,7 @@ public class PodFailurePolicyOnExitCodesRequirement implements KubernetesResourc @JsonProperty("operator") private String operator; @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List values = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyRule.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyRule.java index f71654bec78..d5a8bf32991 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1/PodFailurePolicyRule.java @@ -67,6 +67,7 @@ public class PodFailurePolicyRule implements KubernetesResource @JsonProperty("onExitCodes") private PodFailurePolicyOnExitCodesRequirement onExitCodes; @JsonProperty("onPodConditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List onPodConditions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobList.java b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobList.java index 4f69a697dae..e2c8c9d24a5 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobList.java +++ b/kubernetes-model-generator/kubernetes-model-batch/src/generated/java/io/fabric8/kubernetes/api/model/batch/v1beta1/CronJobList.java @@ -79,6 +79,7 @@ public class CronJobList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/validation-schema.json index 25d939150c1..cc81576dab9 100644 --- a/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-batch/src/main/resources/schema/validation-schema.json @@ -4986,7 +4986,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "batch/v1beta1", + "default": "batch/v1", "required": true }, "kind": { @@ -4999,12 +4999,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_batch_v1beta1_CronJobSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1beta1.CronJobSpec" + "$ref": "#/definitions/kubernetes_batch_v1_CronJobSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.CronJobSpec" }, "status": { - "$ref": "#/definitions/kubernetes_batch_v1beta1_CronJobStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1beta1.CronJobStatus" + "$ref": "#/definitions/kubernetes_batch_v1_CronJobStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.CronJobStatus" } }, "additionalProperties": true @@ -5013,14 +5013,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "batch/v1", + "default": "batch/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_batch_v1_CronJob", - "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1.CronJob" + "$ref": "#/definitions/kubernetes_batch_v1beta1_CronJob", + "existingJavaType": "io.fabric8.kubernetes.api.model.batch.v1beta1.CronJob" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestList.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestList.java index 60f6d4bea2b..a809b30d0eb 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestList.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1/CertificateSigningRequestList.java @@ -79,6 +79,7 @@ public class CertificateSigningRequestList implements KubernetesResource, Kubern @JsonProperty("apiVersion") private String apiVersion = "certificates.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleList.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleList.java index fa16f23080c..46040a7765b 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleList.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1alpha1/ClusterTrustBundleList.java @@ -79,6 +79,7 @@ public class ClusterTrustBundleList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "certificates.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestList.java b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestList.java index 6420e7350ca..603d7b6dd59 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestList.java +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/generated/java/io/fabric8/kubernetes/api/model/certificates/v1beta1/CertificateSigningRequestList.java @@ -79,6 +79,7 @@ public class CertificateSigningRequestList implements KubernetesResource, Kubern @JsonProperty("apiVersion") private String apiVersion = "certificates.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-certificates/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-certificates/src/main/resources/schema/validation-schema.json index 7d6c46269e0..59756ea9748 100644 --- a/kubernetes-model-generator/kubernetes-model-certificates/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-certificates/src/main/resources/schema/validation-schema.json @@ -1389,14 +1389,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "certificates.k8s.io/v1", + "default": "certificates.k8s.io/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_certificates_v1_CertificateSigningRequest", - "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1.CertificateSigningRequest" + "$ref": "#/definitions/kubernetes_certificates_v1beta1_CertificateSigningRequest", + "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1beta1.CertificateSigningRequest" } }, "kind": { @@ -1464,8 +1464,8 @@ "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_certificates_v1_CertificateSigningRequestCondition", - "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1.CertificateSigningRequestCondition" + "$ref": "#/definitions/kubernetes_certificates_v1beta1_CertificateSigningRequestCondition", + "existingJavaType": "io.fabric8.kubernetes.api.model.certificates.v1beta1.CertificateSigningRequestCondition" } } }, diff --git a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/LeaseList.java b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/LeaseList.java index 224b4be2994..a06bf8c3166 100644 --- a/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/LeaseList.java +++ b/kubernetes-model-generator/kubernetes-model-coordination/src/generated/java/io/fabric8/kubernetes/api/model/coordination/v1/LeaseList.java @@ -79,6 +79,7 @@ public class LeaseList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroup.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroup.java index 4306ddd07ec..f46d4e42da6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroup.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroup.java @@ -73,6 +73,7 @@ public class APIGroup implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List serverAddressByClientCIDRs = new ArrayList(); @JsonProperty("versions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List versions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroupList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroupList.java index 19a2d00bf73..21f3e923e62 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroupList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIGroupList.java @@ -56,6 +56,7 @@ public class APIGroupList implements KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResource.java index c1419f0647b..3f22a85d19c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResource.java @@ -66,6 +66,7 @@ public class APIResource implements KubernetesResource @JsonProperty("storageVersionHash") private String storageVersionHash; @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonProperty("version") private String version; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResourceList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResourceList.java index 5d17865bef5..b16d5db2076 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResourceList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIResourceList.java @@ -62,6 +62,7 @@ public class APIResourceList implements KubernetesResource @JsonProperty("kind") private String kind = "APIResourceList"; @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceList.java index afdd53390d7..f8a9d819e72 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/APIServiceList.java @@ -56,6 +56,7 @@ public class APIServiceList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "apiregistration.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSPersistentVolumeSource.java index 64f6a962da8..9841d724faf 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSPersistentVolumeSource.java @@ -45,6 +45,7 @@ public class CephFSPersistentVolumeSource implements KubernetesResource { @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List monitors = new ArrayList(); @JsonProperty("path") private String path; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSVolumeSource.java index 5f6c5a6b3e5..23b42a6033e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/CephFSVolumeSource.java @@ -45,6 +45,7 @@ public class CephFSVolumeSource implements KubernetesResource { @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List monitors = new ArrayList(); @JsonProperty("path") private String path; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatusList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatusList.java index 72e1f4dc7b2..d87fafa6e4c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatusList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ComponentStatusList.java @@ -56,6 +56,7 @@ public class ComponentStatusList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Config.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Config.java index 8de5b7daa26..fa7f4b15eec 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Config.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/Config.java @@ -47,8 +47,10 @@ public class Config implements KubernetesResource @JsonProperty("apiVersion") private String apiVersion; @JsonProperty("clusters") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusters = new ArrayList(); @JsonProperty("contexts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List contexts = new ArrayList(); @JsonProperty("current-context") private String currentContext; @@ -60,6 +62,7 @@ public class Config implements KubernetesResource @JsonProperty("preferences") private Preferences preferences; @JsonProperty("users") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List users = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapList.java index 1e80e079027..c56c83e7509 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ConfigMapList.java @@ -56,6 +56,7 @@ public class ConfigMapList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerImage.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerImage.java index 3953a954eee..4cc2ae761c4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerImage.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ContainerImage.java @@ -41,6 +41,7 @@ public class ContainerImage implements KubernetesResource { @JsonProperty("names") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List names = new ArrayList(); @JsonProperty("sizeBytes") private Long sizeBytes; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointsList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointsList.java index 9b5099dab1d..10e845fa525 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointsList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EndpointsList.java @@ -56,6 +56,7 @@ public class EndpointsList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventList.java index 868770f6191..1b7222050b6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/EventList.java @@ -56,6 +56,7 @@ public class EventList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecConfig.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecConfig.java index 086568d7097..e91b6e5c2f0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecConfig.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ExecConfig.java @@ -47,10 +47,12 @@ public class ExecConfig implements KubernetesResource @JsonProperty("apiVersion") private String apiVersion; @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List args = new ArrayList(); @JsonProperty("command") private String command; @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List env = new ArrayList(); @JsonProperty("installHint") private String installHint; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeList.java index c2230d71f0d..6de80500c1a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeList.java @@ -56,6 +56,7 @@ public class LimitRangeList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeSpec.java index 1b28a16ba6f..217cedf3e4d 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/LimitRangeSpec.java @@ -40,6 +40,7 @@ public class LimitRangeSpec implements KubernetesResource { @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List limits = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceList.java index 4c726b01e67..0d7983e8521 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NamespaceList.java @@ -56,6 +56,7 @@ public class NamespaceList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeList.java index 5dcef544d25..a2bed8d8397 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeList.java @@ -56,6 +56,7 @@ public class NodeList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelector.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelector.java index b2abcd5b1ce..04626ec0c5a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelector.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/NodeSelector.java @@ -40,6 +40,7 @@ public class NodeSelector implements KubernetesResource { @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nodeSelectorTerms = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimList.java index 25e404a1df8..c851622cc55 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeClaimList.java @@ -56,6 +56,7 @@ public class PersistentVolumeClaimList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeList.java index e2ea01389e9..8aa8eef5c5c 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PersistentVolumeList.java @@ -56,6 +56,7 @@ public class PersistentVolumeList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodExecOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodExecOptions.java index 1fcc1eba2bd..c9057e9a360 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodExecOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodExecOptions.java @@ -61,6 +61,7 @@ public class PodExecOptions implements KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List command = new ArrayList(); @JsonProperty("container") private String container; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodList.java index 92af73bbb3d..43abf6c712e 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodList.java @@ -56,6 +56,7 @@ public class PodList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSpec.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSpec.java index eaa45154d8f..9c8908d2ab4 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSpec.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodSpec.java @@ -84,6 +84,7 @@ public class PodSpec implements KubernetesResource @JsonProperty("automountServiceAccountToken") private Boolean automountServiceAccountToken; @JsonProperty("containers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containers = new ArrayList(); @JsonProperty("dnsConfig") private PodDNSConfig dnsConfig; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateList.java index 73db14a6b3a..f6fd8a73018 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/PodTemplateList.java @@ -56,6 +56,7 @@ public class PodTemplateList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ProjectedVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ProjectedVolumeSource.java index 13b348002b6..55e0d7af551 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ProjectedVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ProjectedVolumeSource.java @@ -43,6 +43,7 @@ public class ProjectedVolumeSource implements KubernetesResource @JsonProperty("defaultMode") private Integer defaultMode; @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List sources = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDPersistentVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDPersistentVolumeSource.java index d1692c5a94e..9d6ff5fd467 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDPersistentVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDPersistentVolumeSource.java @@ -53,6 +53,7 @@ public class RBDPersistentVolumeSource implements KubernetesResource @JsonProperty("keyring") private String keyring; @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List monitors = new ArrayList(); @JsonProperty("pool") private String pool; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDVolumeSource.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDVolumeSource.java index ace801350a4..50239ab41d6 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDVolumeSource.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RBDVolumeSource.java @@ -53,6 +53,7 @@ public class RBDVolumeSource implements KubernetesResource @JsonProperty("keyring") private String keyring; @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List monitors = new ArrayList(); @JsonProperty("pool") private String pool; diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerList.java index 7073a8a5894..0d775e4426f 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ReplicationControllerList.java @@ -56,6 +56,7 @@ public class ReplicationControllerList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaList.java index 278b27f8f40..445e2430284 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ResourceQuotaList.java @@ -56,6 +56,7 @@ public class ResourceQuotaList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RootPaths.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RootPaths.java index 109deecce1c..9ad0899d1f1 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RootPaths.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/RootPaths.java @@ -40,6 +40,7 @@ public class RootPaths implements KubernetesResource { @JsonProperty("paths") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List paths = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretList.java index 691cd463158..ad3f5a4b034 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/SecretList.java @@ -56,6 +56,7 @@ public class SecretList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountList.java index 45802834318..767929caf20 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountList.java @@ -56,6 +56,7 @@ public class ServiceAccountList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceList.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceList.java index d08f307b3ea..eac5d6e4d30 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceList.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceList.java @@ -56,6 +56,7 @@ public class ServiceList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorLabelRequirement.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorLabelRequirement.java index cb80de1692d..640015eed0a 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorLabelRequirement.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/TopologySelectorLabelRequirement.java @@ -43,6 +43,7 @@ public class TopologySelectorLabelRequirement implements KubernetesResource @JsonProperty("key") private String key; @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List values = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/Endpoint.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/Endpoint.java index ad9b49c10d5..1e52acff25c 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/Endpoint.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/Endpoint.java @@ -67,6 +67,7 @@ public class Endpoint implements KubernetesResource { @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List addresses = new ArrayList(); @JsonProperty("conditions") private EndpointConditions conditions; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSlice.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSlice.java index 645d4abcbe0..e54afa25968 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSlice.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSlice.java @@ -81,6 +81,7 @@ public class EndpointSlice implements HasMetadata, Namespaced @JsonProperty("apiVersion") private String apiVersion = "discovery.k8s.io/v1"; @JsonProperty("endpoints") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List endpoints = new ArrayList(); /** * @@ -92,6 +93,7 @@ public class EndpointSlice implements HasMetadata, Namespaced @JsonProperty("metadata") private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ports = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSliceList.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSliceList.java index b7f073687b8..6c074f13444 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSliceList.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1/EndpointSliceList.java @@ -79,6 +79,7 @@ public class EndpointSliceList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "discovery.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/Endpoint.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/Endpoint.java index 06ed79ef1a1..7578149b86a 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/Endpoint.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/Endpoint.java @@ -66,6 +66,7 @@ public class Endpoint implements KubernetesResource { @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List addresses = new ArrayList(); @JsonProperty("conditions") private EndpointConditions conditions; diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSlice.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSlice.java index b774af015b0..fe6b9a03a33 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSlice.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSlice.java @@ -81,6 +81,7 @@ public class EndpointSlice implements HasMetadata, Namespaced @JsonProperty("apiVersion") private String apiVersion = "discovery.k8s.io/v1beta1"; @JsonProperty("endpoints") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List endpoints = new ArrayList(); /** * @@ -92,6 +93,7 @@ public class EndpointSlice implements HasMetadata, Namespaced @JsonProperty("metadata") private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ports = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSliceList.java b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSliceList.java index 5940ee600bf..39a0f8a5186 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSliceList.java +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/generated/java/io/fabric8/kubernetes/api/model/discovery/v1beta1/EndpointSliceList.java @@ -79,6 +79,7 @@ public class EndpointSliceList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "discovery.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-discovery/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-discovery/src/main/resources/schema/validation-schema.json index c4218fed07a..5c9a7c5b8e7 100644 --- a/kubernetes-model-generator/kubernetes-model-discovery/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-discovery/src/main/resources/schema/validation-schema.json @@ -1503,14 +1503,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "discovery.k8s.io/v1beta1", + "default": "discovery.k8s.io/v1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_discovery_v1beta1_EndpointSlice", - "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1beta1.EndpointSlice" + "$ref": "#/definitions/kubernetes_discovery_v1_EndpointSlice", + "existingJavaType": "io.fabric8.kubernetes.api.model.discovery.v1.EndpointSlice" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventList.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventList.java index ae40d824d9e..664b074bd4e 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventList.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1/EventList.java @@ -79,6 +79,7 @@ public class EventList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventList.java b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventList.java index 6970bff095a..621f0fdc108 100644 --- a/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventList.java +++ b/kubernetes-model-generator/kubernetes-model-events/src/generated/java/io/fabric8/kubernetes/api/model/events/v1beta1/EventList.java @@ -79,6 +79,7 @@ public class EventList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetList.java index 38ef232fc46..75d780cefb2 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DaemonSetList.java @@ -79,6 +79,7 @@ public class DaemonSetList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "extensions/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentList.java index d466c9a551e..1b8ddfa7039 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/DeploymentList.java @@ -79,6 +79,7 @@ public class DeploymentList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "extensions/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressRuleValue.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressRuleValue.java index 87269c539cf..fea52d0f539 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressRuleValue.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/HTTPIngressRuleValue.java @@ -61,6 +61,7 @@ public class HTTPIngressRuleValue implements KubernetesResource { @JsonProperty("paths") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List paths = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressList.java index 46d7d3b6afc..4b7b432af44 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/IngressList.java @@ -79,6 +79,7 @@ public class IngressList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyList.java index 68ea8931536..75fbbf383a3 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/NetworkPolicyList.java @@ -79,6 +79,7 @@ public class NetworkPolicyList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "extensions/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetList.java b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetList.java index c5e7cb63f86..95552c6932c 100644 --- a/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetList.java +++ b/kubernetes-model-generator/kubernetes-model-extensions/src/generated/java/io/fabric8/kubernetes/api/model/extensions/ReplicaSetList.java @@ -79,6 +79,7 @@ public class ReplicaSetList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "extensions/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaList.java index 364793d4cf9..70685fa8fa8 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/FlowSchemaList.java @@ -79,6 +79,7 @@ public class FlowSchemaList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "flowcontrol.apiserver.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/NonResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/NonResourcePolicyRule.java index eee11750c7f..50899a7c7ac 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/NonResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/NonResourcePolicyRule.java @@ -62,8 +62,10 @@ public class NonResourcePolicyRule implements KubernetesResource { @JsonProperty("nonResourceURLs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nonResourceURLs = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PolicyRulesWithSubjects.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PolicyRulesWithSubjects.java index f72d20f416a..ec674f3fa02 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PolicyRulesWithSubjects.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PolicyRulesWithSubjects.java @@ -69,6 +69,7 @@ public class PolicyRulesWithSubjects implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resourceRules = new ArrayList(); @JsonProperty("subjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subjects = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationList.java index d6ae34cd1b2..700a6b3a930 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/PriorityLevelConfigurationList.java @@ -79,6 +79,7 @@ public class PriorityLevelConfigurationList implements KubernetesResource, Kuber @JsonProperty("apiVersion") private String apiVersion = "flowcontrol.apiserver.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ResourcePolicyRule.java index 04a10df2039..170a6cd9ff9 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1alpha1/ResourcePolicyRule.java @@ -65,14 +65,18 @@ public class ResourcePolicyRule implements KubernetesResource { @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiGroups = new ArrayList(); @JsonProperty("clusterScope") private Boolean clusterScope; @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaList.java index e08ebb5369e..8450aabd5c4 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/FlowSchemaList.java @@ -79,6 +79,7 @@ public class FlowSchemaList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "flowcontrol.apiserver.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/NonResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/NonResourcePolicyRule.java index 7be58bc8546..e54701d855f 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/NonResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/NonResourcePolicyRule.java @@ -62,8 +62,10 @@ public class NonResourcePolicyRule implements KubernetesResource { @JsonProperty("nonResourceURLs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nonResourceURLs = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PolicyRulesWithSubjects.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PolicyRulesWithSubjects.java index f72665de682..e313067ef2b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PolicyRulesWithSubjects.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PolicyRulesWithSubjects.java @@ -69,6 +69,7 @@ public class PolicyRulesWithSubjects implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resourceRules = new ArrayList(); @JsonProperty("subjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subjects = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationList.java index c1d4312d6b4..ab012615fb9 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/PriorityLevelConfigurationList.java @@ -79,6 +79,7 @@ public class PriorityLevelConfigurationList implements KubernetesResource, Kuber @JsonProperty("apiVersion") private String apiVersion = "flowcontrol.apiserver.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ResourcePolicyRule.java index d955efde861..4df6ab38d22 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta1/ResourcePolicyRule.java @@ -65,14 +65,18 @@ public class ResourcePolicyRule implements KubernetesResource { @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiGroups = new ArrayList(); @JsonProperty("clusterScope") private Boolean clusterScope; @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaList.java index cac178d7568..f1c041ae0be 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/FlowSchemaList.java @@ -79,6 +79,7 @@ public class FlowSchemaList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "flowcontrol.apiserver.k8s.io/v1beta2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/NonResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/NonResourcePolicyRule.java index f58886889a3..abe4c3e4f88 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/NonResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/NonResourcePolicyRule.java @@ -62,8 +62,10 @@ public class NonResourcePolicyRule implements KubernetesResource { @JsonProperty("nonResourceURLs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nonResourceURLs = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PolicyRulesWithSubjects.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PolicyRulesWithSubjects.java index 1e79f362ca2..e9396463f2e 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PolicyRulesWithSubjects.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PolicyRulesWithSubjects.java @@ -69,6 +69,7 @@ public class PolicyRulesWithSubjects implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resourceRules = new ArrayList(); @JsonProperty("subjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subjects = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationList.java index d06ce96d2e8..ef1f11116b8 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/PriorityLevelConfigurationList.java @@ -79,6 +79,7 @@ public class PriorityLevelConfigurationList implements KubernetesResource, Kuber @JsonProperty("apiVersion") private String apiVersion = "flowcontrol.apiserver.k8s.io/v1beta2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ResourcePolicyRule.java index 20240b07b8d..cb5b0f8dc6f 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta2/ResourcePolicyRule.java @@ -65,14 +65,18 @@ public class ResourcePolicyRule implements KubernetesResource { @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiGroups = new ArrayList(); @JsonProperty("clusterScope") private Boolean clusterScope; @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaList.java index 86106414790..ce4e9f6a79b 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/FlowSchemaList.java @@ -79,6 +79,7 @@ public class FlowSchemaList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "flowcontrol.apiserver.k8s.io/v1beta3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/NonResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/NonResourcePolicyRule.java index bb17f3eb48a..4e26ae4aa33 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/NonResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/NonResourcePolicyRule.java @@ -62,8 +62,10 @@ public class NonResourcePolicyRule implements KubernetesResource { @JsonProperty("nonResourceURLs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nonResourceURLs = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PolicyRulesWithSubjects.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PolicyRulesWithSubjects.java index 48c7337cd93..3cc92e3d519 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PolicyRulesWithSubjects.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PolicyRulesWithSubjects.java @@ -69,6 +69,7 @@ public class PolicyRulesWithSubjects implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resourceRules = new ArrayList(); @JsonProperty("subjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subjects = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationList.java index 65222a8ebba..7b08a7f89b8 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/PriorityLevelConfigurationList.java @@ -79,6 +79,7 @@ public class PriorityLevelConfigurationList implements KubernetesResource, Kuber @JsonProperty("apiVersion") private String apiVersion = "flowcontrol.apiserver.k8s.io/v1beta3"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ResourcePolicyRule.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ResourcePolicyRule.java index 2ebb160c28c..3c24ac77dc0 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ResourcePolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/flowcontrol/v1beta3/ResourcePolicyRule.java @@ -65,14 +65,18 @@ public class ResourcePolicyRule implements KubernetesResource { @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiGroups = new ArrayList(); @JsonProperty("clusterScope") private Boolean clusterScope; @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionList.java b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionList.java index d9e35efd7ae..df6a2b909d1 100644 --- a/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionList.java +++ b/kubernetes-model-generator/kubernetes-model-flowcontrol/src/generated/java/io/fabric8/kubernetes/api/model/internal/apiserver/v1alpha1/StorageVersionList.java @@ -79,6 +79,7 @@ public class StorageVersionList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "internal.apiserver.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteList.java index 4ba9c55f1fe..a8156683ed9 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteList.java @@ -79,6 +79,7 @@ public class GRPCRouteList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteStatus.java index f2637f4211e..2cbec1273e7 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GRPCRouteStatus.java @@ -62,6 +62,7 @@ public class GRPCRouteStatus implements KubernetesResource { @JsonProperty("parents") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List parents = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClassList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClassList.java index 9a2d3b5c8a2..93658b14456 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClassList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayClassList.java @@ -79,6 +79,7 @@ public class GatewayClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayList.java index e7457c0841e..941cc0ef32c 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/GatewayList.java @@ -79,6 +79,7 @@ public class GatewayList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRouteList.java index 56f586029fc..1813b7ff3ab 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/HTTPRouteList.java @@ -79,6 +79,7 @@ public class HTTPRouteList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrantList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrantList.java index 17971058cad..a34cc7cde49 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrantList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/ReferenceGrantList.java @@ -79,6 +79,7 @@ public class ReferenceGrantList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteList.java index 0baa993ba71..c6867404695 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteList.java @@ -79,6 +79,7 @@ public class TCPRouteList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteSpec.java index 0f408ba09e0..2cd830393f3 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteSpec.java @@ -66,6 +66,7 @@ public class TCPRouteSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List parentRefs = new ArrayList(); @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteStatus.java index 0f6ff7db0dd..d4201c880c1 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TCPRouteStatus.java @@ -62,6 +62,7 @@ public class TCPRouteStatus implements KubernetesResource { @JsonProperty("parents") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List parents = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteList.java index 68da3f94824..dfcd4d6e011 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteList.java @@ -79,6 +79,7 @@ public class TLSRouteList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteSpec.java index 844be36ddc6..86d2c9b7ee2 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteSpec.java @@ -70,6 +70,7 @@ public class TLSRouteSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List parentRefs = new ArrayList(); @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteStatus.java index 93c001eff1d..0d7414b8cc1 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/TLSRouteStatus.java @@ -62,6 +62,7 @@ public class TLSRouteStatus implements KubernetesResource { @JsonProperty("parents") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List parents = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteList.java index 8d03d3e55c5..269b8d21b8f 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteList.java @@ -79,6 +79,7 @@ public class UDPRouteList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteSpec.java index 66c294f211f..1bc5caf5569 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteSpec.java @@ -66,6 +66,7 @@ public class UDPRouteSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List parentRefs = new ArrayList(); @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteStatus.java index c0192347ba3..4e49fa7957f 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1alpha2/UDPRouteStatus.java @@ -62,6 +62,7 @@ public class UDPRouteStatus implements KubernetesResource { @JsonProperty("parents") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List parents = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassList.java index ffe116aa323..2918da4d96a 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayClassList.java @@ -79,6 +79,7 @@ public class GatewayClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayList.java index fe1d71a262b..9bcd5254948 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewayList.java @@ -79,6 +79,7 @@ public class GatewayList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewaySpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewaySpec.java index 366334ab130..f8b13eeda8d 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewaySpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/GatewaySpec.java @@ -68,6 +68,7 @@ public class GatewaySpec implements KubernetesResource @JsonProperty("gatewayClassName") private String gatewayClassName; @JsonProperty("listeners") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List listeners = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteList.java index 50993385ad2..8633345c077 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteList.java @@ -79,6 +79,7 @@ public class HTTPRouteList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteStatus.java index ab322229a27..562ec8b1329 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/HTTPRouteStatus.java @@ -61,6 +61,7 @@ public class HTTPRouteStatus implements KubernetesResource { @JsonProperty("parents") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List parents = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ListenerStatus.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ListenerStatus.java index a15d84c30c4..4ba70508043 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ListenerStatus.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ListenerStatus.java @@ -67,10 +67,12 @@ public class ListenerStatus implements KubernetesResource @JsonProperty("attachedRoutes") private Integer attachedRoutes; @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("name") private String name; @JsonProperty("supportedKinds") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List supportedKinds = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantList.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantList.java index ad9895accd4..3eea3a7bc18 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantList.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantList.java @@ -79,6 +79,7 @@ public class ReferenceGrantList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "gateway.networking.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantSpec.java b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantSpec.java index 0449d7b1484..eb464d54ec0 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantSpec.java +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/generated/java/io/fabric8/kubernetes/api/model/gatewayapi/v1beta1/ReferenceGrantSpec.java @@ -62,8 +62,10 @@ public class ReferenceGrantSpec implements KubernetesResource { @JsonProperty("from") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List from = new ArrayList(); @JsonProperty("to") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List to = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/main/resources/schema/validation-schema.json index bd74bf300f4..ec152485a4c 100644 --- a/kubernetes-model-generator/kubernetes-model-gatewayapi/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-gatewayapi/src/main/resources/schema/validation-schema.json @@ -2598,7 +2598,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "gateway.networking.k8s.io/v1beta1", + "default": "gateway.networking.k8s.io/v1alpha2", "required": true }, "kind": { @@ -3679,14 +3679,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "gateway.networking.k8s.io/v1beta1", + "default": "gateway.networking.k8s.io/v1alpha2", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_sigs_gatewayapi_v1beta1_ReferenceGrant", - "existingJavaType": "io.fabric8.kubernetes.api.model.gatewayapi.v1beta1.ReferenceGrant" + "$ref": "#/definitions/kubernetes_sigs_gatewayapi_v1alpha2_ReferenceGrant", + "existingJavaType": "io.fabric8.kubernetes.api.model.gatewayapi.v1alpha2.ReferenceGrant" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/Fabric8DefaultRule.java b/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/Fabric8DefaultRule.java index c0699d8c899..7ff2db48cff 100644 --- a/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/Fabric8DefaultRule.java +++ b/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/Fabric8DefaultRule.java @@ -27,6 +27,7 @@ import org.jsonschema2pojo.rules.RuleFactory; import java.util.LinkedHashMap; +import java.util.List; import java.util.Map; /** @@ -46,16 +47,24 @@ public JFieldVar apply(String nodeName, JsonNode node, JsonNode parent, JFieldVa JType fieldType = field.type(); String fieldTypeName = fieldType.fullName(); - if (ruleFactory.getGenerationConfig().isInitializeCollections() && fieldTypeName.startsWith(Map.class.getName()) - && (node == null || node.asText() == null || node.asText().isEmpty())) { - JClass keyGenericType = ((JClass) fieldType).getTypeParameters().get(0); - JClass valueGenericType = ((JClass) fieldType).getTypeParameters().get(1); + if (ruleFactory.getGenerationConfig().isInitializeCollections()) { + // add a default for maps if missing, rejected upstream https://github.com/joelittlejohn/jsonschema2pojo/issues/955 + if (fieldTypeName.startsWith(Map.class.getName()) && (node == null || node.asText() == null || node.asText().isEmpty())) { + JClass keyGenericType = ((JClass) fieldType).getTypeParameters().get(0); + JClass valueGenericType = ((JClass) fieldType).getTypeParameters().get(1); - JClass mapImplClass = fieldType.owner().ref(LinkedHashMap.class); - mapImplClass = mapImplClass.narrow(keyGenericType, valueGenericType); - // maps are not marked as omitJavaEmpty - it's simplest to just add the annotation here, rather than updating the generator - field.annotate(JsonInclude.class).param(KubernetesCoreTypeAnnotator.ANNOTATION_VALUE, JsonInclude.Include.NON_EMPTY); - field.init(JExpr._new(mapImplClass)); + JClass mapImplClass = fieldType.owner().ref(LinkedHashMap.class); + mapImplClass = mapImplClass.narrow(keyGenericType, valueGenericType); + field.init(JExpr._new(mapImplClass)); + } + + // maps and some lists are not marked as omitJavaEmpty - it's simplest to just add the annotation here, rather than updating the generator + JClass jsonInclude = fieldType.owner().ref(JsonInclude.class); + if ((fieldTypeName.startsWith(Map.class.getName()) || fieldTypeName.startsWith(List.class.getName())) + && field.annotations().stream() + .noneMatch(annotation -> annotation.getAnnotationClass().isAssignableFrom(jsonInclude))) { + field.annotate(jsonInclude).param(KubernetesCoreTypeAnnotator.ANNOTATION_VALUE, JsonInclude.Include.NON_EMPTY); + } } return super.apply(nodeName, node, parent, field, currentSchema); diff --git a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/LegacySortOptions.java b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/LegacySortOptions.java index a42fd249b36..fea55cb5c8b 100644 --- a/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/LegacySortOptions.java +++ b/kubernetes-model-generator/kubernetes-model-kustomize/src/generated/java/io/fabric8/kubernetes/api/model/kustomize/v1beta1/LegacySortOptions.java @@ -42,8 +42,10 @@ public class LegacySortOptions implements KubernetesResource { @JsonProperty("orderFirst") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List orderFirst = new ArrayList(); @JsonProperty("orderLast") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List orderLast = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetricsList.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetricsList.java index dc24c4d8196..6771906abb4 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetricsList.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/NodeMetricsList.java @@ -79,6 +79,7 @@ public class NodeMetricsList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "metrics.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetrics.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetrics.java index 89c1bc6fbaa..eb8645b20f7 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetrics.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetrics.java @@ -80,6 +80,7 @@ public class PodMetrics implements HasMetadata, Namespaced @JsonProperty("apiVersion") private java.lang.String apiVersion = "metrics.k8s.io/v1beta1"; @JsonProperty("containers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List containers = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetricsList.java b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetricsList.java index 8bc56d9f600..fe59543167d 100644 --- a/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetricsList.java +++ b/kubernetes-model-generator/kubernetes-model-metrics/src/generated/java/io/fabric8/kubernetes/api/model/metrics/v1beta1/PodMetricsList.java @@ -79,6 +79,7 @@ public class PodMetricsList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "metrics.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressRuleValue.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressRuleValue.java index 599dac2cb3d..9f46b5a3259 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressRuleValue.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/HTTPIngressRuleValue.java @@ -61,6 +61,7 @@ public class HTTPIngressRuleValue implements KubernetesResource { @JsonProperty("paths") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List paths = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassList.java index 431f7042fd9..cfa86ee6792 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressClassList.java @@ -79,6 +79,7 @@ public class IngressClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "networking.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressList.java index 053e4f58132..a8db82354e0 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/IngressList.java @@ -79,6 +79,7 @@ public class IngressList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyList.java index a18d4b282da..100ebe72542 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1/NetworkPolicyList.java @@ -79,6 +79,7 @@ public class NetworkPolicyList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "networking.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRList.java index 79bf584408a..f12f846fd3d 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/ClusterCIDRList.java @@ -79,6 +79,7 @@ public class ClusterCIDRList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "networking.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressList.java index 0e9e1cde568..50a7820fe72 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1alpha1/IPAddressList.java @@ -79,6 +79,7 @@ public class IPAddressList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "networking.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressRuleValue.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressRuleValue.java index cb954056c98..df44e6c3a32 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressRuleValue.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/HTTPIngressRuleValue.java @@ -61,6 +61,7 @@ public class HTTPIngressRuleValue implements KubernetesResource { @JsonProperty("paths") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List paths = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassList.java index c01acb99349..e5fb8026ffc 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressClassList.java @@ -79,6 +79,7 @@ public class IngressClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "networking.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressList.java b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressList.java index ec6208166c3..bddecff478f 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressList.java +++ b/kubernetes-model-generator/kubernetes-model-networking/src/generated/java/io/fabric8/kubernetes/api/model/networking/v1beta1/IngressList.java @@ -79,6 +79,7 @@ public class IngressList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/validation-schema.json index 622ec35fedf..c346959d29d 100644 --- a/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-networking/src/main/resources/schema/validation-schema.json @@ -2560,8 +2560,8 @@ "httpingresspath": { "properties": { "backend": { - "$ref": "#/definitions/kubernetes_networking_v1_IngressBackend", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressBackend" + "$ref": "#/definitions/kubernetes_networking_v1beta1_IngressBackend", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.IngressBackend" }, "path": { "type": "string" @@ -2620,7 +2620,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "networking.k8s.io/v1beta1", + "default": "networking.k8s.io/v1", "required": true }, "kind": { @@ -2633,12 +2633,12 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_networking_v1beta1_IngressSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.IngressSpec" + "$ref": "#/definitions/kubernetes_networking_v1_IngressSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressSpec" }, "status": { - "$ref": "#/definitions/kubernetes_networking_v1beta1_IngressStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1beta1.IngressStatus" + "$ref": "#/definitions/kubernetes_networking_v1_IngressStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.networking.v1.IngressStatus" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClassList.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClassList.java index f6171c7cb41..455d9940f69 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClassList.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1/RuntimeClassList.java @@ -79,6 +79,7 @@ public class RuntimeClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "node.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassList.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassList.java index 6ed4d0b0ccb..8407e09e458 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassList.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1alpha1/RuntimeClassList.java @@ -79,6 +79,7 @@ public class RuntimeClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "node.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClassList.java b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClassList.java index 9e2f6604a8b..bb5a142832e 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClassList.java +++ b/kubernetes-model-generator/kubernetes-model-node/src/generated/java/io/fabric8/kubernetes/api/model/node/v1beta1/RuntimeClassList.java @@ -79,6 +79,7 @@ public class RuntimeClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "node.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-node/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-node/src/main/resources/schema/validation-schema.json index cd3fd40ac65..6d0a562243c 100644 --- a/kubernetes-model-generator/kubernetes-model-node/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-node/src/main/resources/schema/validation-schema.json @@ -1110,12 +1110,9 @@ "properties": { "apiVersion": { "type": "string", - "default": "node.k8s.io/v1beta1", + "default": "node.k8s.io/v1alpha1", "required": true }, - "handler": { - "type": "string" - }, "kind": { "type": "string", "default": "RuntimeClass", @@ -1125,13 +1122,9 @@ "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, - "overhead": { - "$ref": "#/definitions/kubernetes_node_v1beta1_Overhead", - "existingJavaType": "io.fabric8.kubernetes.api.model.node.v1beta1.Overhead" - }, - "scheduling": { - "$ref": "#/definitions/kubernetes_node_v1beta1_Scheduling", - "existingJavaType": "io.fabric8.kubernetes.api.model.node.v1beta1.Scheduling" + "spec": { + "$ref": "#/definitions/kubernetes_node_v1alpha_RuntimeClassSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.node.v1alpha1.RuntimeClassSpec" } }, "additionalProperties": true diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetList.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetList.java index 3d608d42ece..b63643a33e2 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetList.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1/PodDisruptionBudgetList.java @@ -79,6 +79,7 @@ public class PodDisruptionBudgetList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "policy/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetList.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetList.java index a34647af75b..3cdce298b85 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetList.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodDisruptionBudgetList.java @@ -79,6 +79,7 @@ public class PodDisruptionBudgetList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "policy/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicyList.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicyList.java index 64b7c5e1e18..e9cd8b22407 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicyList.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/PodSecurityPolicyList.java @@ -79,6 +79,7 @@ public class PodSecurityPolicyList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "policy/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RuntimeClassStrategyOptions.java b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RuntimeClassStrategyOptions.java index a25f281bd29..cabcf338d1d 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RuntimeClassStrategyOptions.java +++ b/kubernetes-model-generator/kubernetes-model-policy/src/generated/java/io/fabric8/kubernetes/api/model/policy/v1beta1/RuntimeClassStrategyOptions.java @@ -62,6 +62,7 @@ public class RuntimeClassStrategyOptions implements KubernetesResource { @JsonProperty("allowedRuntimeClassNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List allowedRuntimeClassNames = new ArrayList(); @JsonProperty("defaultRuntimeClassName") private String defaultRuntimeClassName; diff --git a/kubernetes-model-generator/kubernetes-model-policy/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-policy/src/main/resources/schema/validation-schema.json index 919fcac676c..097818135b4 100644 --- a/kubernetes-model-generator/kubernetes-model-policy/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-policy/src/main/resources/schema/validation-schema.json @@ -2393,14 +2393,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "policy/v1", + "default": "policy/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_policy_v1_PodDisruptionBudget", - "existingJavaType": "io.fabric8.kubernetes.api.model.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/kubernetes_policy_v1beta1_PodDisruptionBudget", + "existingJavaType": "io.fabric8.kubernetes.api.model.policy.v1beta1.PodDisruptionBudget" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRole.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRole.java index 71594d000fa..48f65f9f954 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRole.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRole.java @@ -88,6 +88,7 @@ public class ClusterRole implements HasMetadata @JsonProperty("metadata") private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBindingList.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBindingList.java index 68198ee2632..059943c29b0 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBindingList.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleBindingList.java @@ -79,6 +79,7 @@ public class ClusterRoleBindingList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "rbac.authorization.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleList.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleList.java index 1f5a9f9cd58..fc1c72e48ad 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleList.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/ClusterRoleList.java @@ -79,6 +79,7 @@ public class ClusterRoleList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "rbac.authorization.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/PolicyRule.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/PolicyRule.java index 7d9a99fea5c..b7638e8d9e1 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/PolicyRule.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/PolicyRule.java @@ -77,6 +77,7 @@ public class PolicyRule implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Role.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Role.java index 9ac0a506fbe..3eb4cb6c7b9 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Role.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/Role.java @@ -86,6 +86,7 @@ public class Role implements HasMetadata, Namespaced @JsonProperty("metadata") private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBindingList.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBindingList.java index d80adf01846..ec359813d96 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBindingList.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleBindingList.java @@ -79,6 +79,7 @@ public class RoleBindingList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "rbac.authorization.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleList.java b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleList.java index f9acabb3cbd..e7ff343d911 100644 --- a/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleList.java +++ b/kubernetes-model-generator/kubernetes-model-rbac/src/generated/java/io/fabric8/kubernetes/api/model/rbac/RoleList.java @@ -79,6 +79,7 @@ public class RoleList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextList.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextList.java index 59301a946c7..4990978cd97 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextList.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/PodSchedulingContextList.java @@ -79,6 +79,7 @@ public class PodSchedulingContextList implements KubernetesResource, KubernetesR @JsonProperty("apiVersion") private String apiVersion = "resource.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimList.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimList.java index 2e8b118c095..cbd3077ba83 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimList.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimList.java @@ -79,6 +79,7 @@ public class ResourceClaimList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "resource.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateList.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateList.java index 1a1d9231e80..c738a3decc1 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateList.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClaimTemplateList.java @@ -79,6 +79,7 @@ public class ResourceClaimTemplateList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "resource.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassList.java b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassList.java index dc31b24be98..0252e78c244 100644 --- a/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassList.java +++ b/kubernetes-model-generator/kubernetes-model-resource/src/generated/java/io/fabric8/kubernetes/api/model/resource/v1alpha2/ResourceClassList.java @@ -79,6 +79,7 @@ public class ResourceClassList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "resource.k8s.io/v1alpha2"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClassList.java b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClassList.java index 48b5d40ee82..428594242cc 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClassList.java +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1/PriorityClassList.java @@ -79,6 +79,7 @@ public class PriorityClassList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "scheduling.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClassList.java b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClassList.java index 544e669259c..9bf99e94541 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClassList.java +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/generated/java/io/fabric8/kubernetes/api/model/scheduling/v1beta1/PriorityClassList.java @@ -79,6 +79,7 @@ public class PriorityClassList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "scheduling.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-scheduling/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-scheduling/src/main/resources/schema/validation-schema.json index c7722ee5b0e..21b96a4a973 100644 --- a/kubernetes-model-generator/kubernetes-model-scheduling/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-scheduling/src/main/resources/schema/validation-schema.json @@ -1522,14 +1522,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "scheduling.k8s.io/v1", + "default": "scheduling.k8s.io/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_scheduling_v1_PriorityClass", - "existingJavaType": "io.fabric8.kubernetes.api.model.scheduling.v1.PriorityClass" + "$ref": "#/definitions/kubernetes_scheduling_v1beta1_PriorityClass", + "existingJavaType": "io.fabric8.kubernetes.api.model.scheduling.v1beta1.PriorityClass" } }, "kind": { diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverList.java index 4a325d26d3d..aa941d773c6 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIDriverList.java @@ -79,6 +79,7 @@ public class CSIDriverList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "storage.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeDriver.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeDriver.java index fea245ee0da..16752171a3b 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeDriver.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeDriver.java @@ -70,6 +70,7 @@ public class CSINodeDriver implements KubernetesResource @JsonProperty("nodeID") private String nodeID; @JsonProperty("topologyKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List topologyKeys = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeList.java index a95d6e83d7f..6df3da4c650 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeList.java @@ -79,6 +79,7 @@ public class CSINodeList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeSpec.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeSpec.java index d2dd1cb688e..741543b0551 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeSpec.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSINodeSpec.java @@ -61,6 +61,7 @@ public class CSINodeSpec implements KubernetesResource { @JsonProperty("drivers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List drivers = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacityList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacityList.java index 12c53a6c68a..d9756be82dc 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacityList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/CSIStorageCapacityList.java @@ -79,6 +79,7 @@ public class CSIStorageCapacityList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "storage.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClassList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClassList.java index 9f83ab689ec..17c7cb9934b 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClassList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/StorageClassList.java @@ -79,6 +79,7 @@ public class StorageClassList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "storage.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentList.java index 6b01c9a5fcb..5dc75d35892 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/VolumeAttachmentList.java @@ -79,6 +79,7 @@ public class VolumeAttachmentList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "storage.k8s.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverList.java index 6296b7ac33c..049d8781921 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIDriverList.java @@ -79,6 +79,7 @@ public class CSIDriverList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "storage.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeDriver.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeDriver.java index d4d2eed0d38..68bcffa240f 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeDriver.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeDriver.java @@ -70,6 +70,7 @@ public class CSINodeDriver implements KubernetesResource @JsonProperty("nodeID") private String nodeID; @JsonProperty("topologyKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List topologyKeys = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeList.java index feb11abaa12..3b961d4e984 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeList.java @@ -79,6 +79,7 @@ public class CSINodeList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeSpec.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeSpec.java index e7e3923323f..64d5890480a 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeSpec.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSINodeSpec.java @@ -61,6 +61,7 @@ public class CSINodeSpec implements KubernetesResource { @JsonProperty("drivers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List drivers = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacityList.java b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacityList.java index 83b89a856c3..bacccef0732 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacityList.java +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/generated/java/io/fabric8/kubernetes/api/model/storage/v1beta1/CSIStorageCapacityList.java @@ -79,6 +79,7 @@ public class CSIStorageCapacityList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "storage.k8s.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/kubernetes-model-storageclass/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-storageclass/src/main/resources/schema/validation-schema.json index 0e152d0ae9b..187fa95b0ee 100644 --- a/kubernetes-model-generator/kubernetes-model-storageclass/src/main/resources/schema/validation-schema.json +++ b/kubernetes-model-generator/kubernetes-model-storageclass/src/main/resources/schema/validation-schema.json @@ -2993,14 +2993,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "storage.k8s.io/v1beta1", + "default": "storage.k8s.io/v1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_storageclass_v1beta1_CSIDriver", - "existingJavaType": "io.fabric8.kubernetes.api.model.storage.v1beta1.CSIDriver" + "$ref": "#/definitions/kubernetes_storageclass_CSIDriver", + "existingJavaType": "io.fabric8.kubernetes.api.model.storage.CSIDriver" } }, "kind": { @@ -3057,7 +3057,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "storage.k8s.io/v1beta1", + "default": "storage.k8s.io/v1", "required": true }, "kind": { @@ -3070,8 +3070,8 @@ "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_storageclass_v1beta1_CSINodeSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.storage.v1beta1.CSINodeSpec" + "$ref": "#/definitions/kubernetes_storageclass_CSINodeSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.storage.CSINodeSpec" } }, "additionalProperties": true @@ -3183,7 +3183,7 @@ "properties": { "apiVersion": { "type": "string", - "default": "storage.k8s.io/v1beta1", + "default": "storage.k8s.io/v1", "required": true }, "capacity": { @@ -3217,14 +3217,14 @@ "properties": { "apiVersion": { "type": "string", - "default": "storage.k8s.io/v1", + "default": "storage.k8s.io/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_storageclass_CSIStorageCapacity", - "existingJavaType": "io.fabric8.kubernetes.api.model.storage.CSIStorageCapacity" + "$ref": "#/definitions/kubernetes_storageclass_v1beta1_CSIStorageCapacity", + "existingJavaType": "io.fabric8.kubernetes.api.model.storage.v1beta1.CSIStorageCapacity" } }, "kind": { diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerList.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerList.java index e2be03d9eba..d0008942782 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerList.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1/ClusterAutoscalerList.java @@ -79,6 +79,7 @@ public class ClusterAutoscalerList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "autoscaling.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerList.java b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerList.java index 93890408c1f..85f48661485 100644 --- a/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerList.java +++ b/kubernetes-model-generator/openshift-model-clusterautoscaling/src/generated/java/io/fabric8/openshift/api/model/clusterautoscaling/v1beta1/MachineAutoscalerList.java @@ -79,6 +79,7 @@ public class MachineAutoscalerList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "autoscaling.openshift.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerList.java index 2e0b318c33f..327aeb6d680 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerList.java @@ -79,6 +79,7 @@ public class APIServerList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationList.java index 1db95ab2acd..10b24d1da5d 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationList.java @@ -79,6 +79,7 @@ public class AuthenticationList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java index 4df286937a2..96f98afbf02 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java @@ -68,10 +68,12 @@ public class BareMetalPlatformStatus implements KubernetesResource @JsonProperty("apiServerInternalIP") private String apiServerInternalIP; @JsonProperty("apiServerInternalIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiServerInternalIPs = new ArrayList(); @JsonProperty("ingressIP") private String ingressIP; @JsonProperty("ingressIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ingressIPs = new ArrayList(); @JsonProperty("loadBalancer") private BareMetalPlatformLoadBalancer loadBalancer; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildList.java index 9047d319dd6..c323a264c95 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildList.java @@ -79,6 +79,7 @@ public class BuildList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorList.java index f9c4ba207ea..5b69d8a1325 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterOperatorList.java @@ -79,6 +79,7 @@ public class ClusterOperatorList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionList.java index 8501dd165e4..c2772beaca2 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionList.java @@ -79,6 +79,7 @@ public class ClusterVersionList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionStatus.java index 16e2f4d225a..985c23db028 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ClusterVersionStatus.java @@ -68,6 +68,7 @@ public class ClusterVersionStatus implements KubernetesResource { @JsonProperty("availableUpdates") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List availableUpdates = new ArrayList(); @JsonProperty("capabilities") private ClusterVersionCapabilitiesStatus capabilities; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteStatus.java index 006c5edf14b..4154503b6e1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ComponentRouteStatus.java @@ -82,6 +82,7 @@ public class ComponentRouteStatus implements KubernetesResource @JsonProperty("namespace") private String namespace; @JsonProperty("relatedObjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List relatedObjects = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdate.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdate.java index 0ebcdd79bdc..6d8e6819978 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdate.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdate.java @@ -69,6 +69,7 @@ public class ConditionalUpdate implements KubernetesResource @JsonProperty("release") private Release release; @JsonProperty("risks") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List risks = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdateRisk.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdateRisk.java index 5f1aa883952..932469c1cfc 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdateRisk.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConditionalUpdateRisk.java @@ -64,6 +64,7 @@ public class ConditionalUpdateRisk implements KubernetesResource { @JsonProperty("matchingRules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List matchingRules = new ArrayList(); @JsonProperty("message") private String message; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleList.java index d6910818bce..29df277fbd4 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ConsoleList.java @@ -79,6 +79,7 @@ public class ConsoleList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomTLSProfile.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomTLSProfile.java index 63db8f8269d..b87eb8bfd3f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomTLSProfile.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/CustomTLSProfile.java @@ -62,6 +62,7 @@ public class CustomTLSProfile implements KubernetesResource { @JsonProperty("ciphers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ciphers = new ArrayList(); @JsonProperty("minTLSVersion") private String minTLSVersion; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSList.java index 7488b0db80a..8e880df675f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSList.java @@ -79,6 +79,7 @@ public class DNSList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateDetails.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateDetails.java index 95c82f254ee..062be826984 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateDetails.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateDetails.java @@ -63,8 +63,10 @@ public class FeatureGateDetails implements KubernetesResource { @JsonProperty("disabled") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List disabled = new ArrayList(); @JsonProperty("enabled") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List enabled = new ArrayList(); @JsonProperty("version") private String version; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateList.java index d3f1c25dfec..20981663118 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateList.java @@ -79,6 +79,7 @@ public class FeatureGateList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateStatus.java index 59c26f7f8c2..5458ab2f1c7 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/FeatureGateStatus.java @@ -66,6 +66,7 @@ public class FeatureGateStatus implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("featureGates") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List featureGates = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicyList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicyList.java index 4b5ea767b67..e31977fe7cd 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicyList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicyList.java @@ -79,6 +79,7 @@ public class ImageContentPolicyList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicySpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicySpec.java index 11489253c8b..6672d95d8f1 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicySpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageContentPolicySpec.java @@ -61,6 +61,7 @@ public class ImageContentPolicySpec implements KubernetesResource { @JsonProperty("repositoryDigestMirrors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List repositoryDigestMirrors = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageList.java index 1aa7345b4bc..d91ab0b186c 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ImageList.java @@ -79,6 +79,7 @@ public class ImageList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureList.java index 4019c847f0f..884ea07f414 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureList.java @@ -79,6 +79,7 @@ public class InfrastructureList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressList.java index 01f80f9b044..4b90c7df76e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressList.java @@ -79,6 +79,7 @@ public class IngressList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPAttributeMapping.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPAttributeMapping.java index 96425f620cf..852dda51e8b 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPAttributeMapping.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/LDAPAttributeMapping.java @@ -67,6 +67,7 @@ public class LDAPAttributeMapping implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List email = new ArrayList(); @JsonProperty("id") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List id = new ArrayList(); @JsonProperty("name") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkList.java index 51addae0c00..901a7badfc4 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkList.java @@ -79,6 +79,7 @@ public class NetworkList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkSpec.java index d1888691dd3..3d295b0c3fe 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NetworkSpec.java @@ -65,12 +65,14 @@ public class NetworkSpec implements KubernetesResource { @JsonProperty("clusterNetwork") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterNetwork = new ArrayList(); @JsonProperty("externalIP") private ExternalIPConfig externalIP; @JsonProperty("networkType") private String networkType; @JsonProperty("serviceNetwork") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List serviceNetwork = new ArrayList(); @JsonProperty("serviceNodePortRange") private String serviceNodePortRange; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformSpec.java index 7316c27e998..cb49d9ace52 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformSpec.java @@ -64,6 +64,7 @@ public class NutanixPlatformSpec implements KubernetesResource @JsonProperty("prismCentral") private NutanixPrismEndpoint prismCentral; @JsonProperty("prismElements") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List prismElements = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformStatus.java index 970dec486e7..4e72e9073a8 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/NutanixPlatformStatus.java @@ -67,10 +67,12 @@ public class NutanixPlatformStatus implements KubernetesResource @JsonProperty("apiServerInternalIP") private String apiServerInternalIP; @JsonProperty("apiServerInternalIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiServerInternalIPs = new ArrayList(); @JsonProperty("ingressIP") private String ingressIP; @JsonProperty("ingressIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ingressIPs = new ArrayList(); @JsonProperty("loadBalancer") private NutanixPlatformLoadBalancer loadBalancer; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthList.java index 830de6ff4c4..fb98122b682 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthList.java @@ -79,6 +79,7 @@ public class OAuthList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformStatus.java index dd992c6c001..9510f8d2098 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OpenStackPlatformStatus.java @@ -69,12 +69,14 @@ public class OpenStackPlatformStatus implements KubernetesResource @JsonProperty("apiServerInternalIP") private String apiServerInternalIP; @JsonProperty("apiServerInternalIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiServerInternalIPs = new ArrayList(); @JsonProperty("cloudName") private String cloudName; @JsonProperty("ingressIP") private String ingressIP; @JsonProperty("ingressIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ingressIPs = new ArrayList(); @JsonProperty("loadBalancer") private OpenStackPlatformLoadBalancer loadBalancer; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubList.java index 757de7428a9..9d21c13fa48 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OperatorHubList.java @@ -79,6 +79,7 @@ public class OperatorHubList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformStatus.java index 28caccbde0b..a9ba7f9d794 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OvirtPlatformStatus.java @@ -68,10 +68,12 @@ public class OvirtPlatformStatus implements KubernetesResource @JsonProperty("apiServerInternalIP") private String apiServerInternalIP; @JsonProperty("apiServerInternalIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiServerInternalIPs = new ArrayList(); @JsonProperty("ingressIP") private String ingressIP; @JsonProperty("ingressIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ingressIPs = new ArrayList(); @JsonProperty("loadBalancer") private OvirtPlatformLoadBalancer loadBalancer; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectList.java index 6d33328bf90..380cb16bc1e 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProjectList.java @@ -79,6 +79,7 @@ public class ProjectList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyList.java index 1c647784fa3..281de356a93 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/ProxyList.java @@ -79,6 +79,7 @@ public class ProxyList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequestHeaderIdentityProvider.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequestHeaderIdentityProvider.java index ef5aacdbf6a..463413c6c65 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequestHeaderIdentityProvider.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequestHeaderIdentityProvider.java @@ -75,14 +75,18 @@ public class RequestHeaderIdentityProvider implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clientCommonNames = new ArrayList(); @JsonProperty("emailHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List emailHeaders = new ArrayList(); @JsonProperty("headers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List headers = new ArrayList(); @JsonProperty("loginURL") private String loginURL; @JsonProperty("nameHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List nameHeaders = new ArrayList(); @JsonProperty("preferredUsernameHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List preferredUsernameHeaders = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequiredHSTSPolicy.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequiredHSTSPolicy.java index b15e894c49d..50859aec053 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequiredHSTSPolicy.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/RequiredHSTSPolicy.java @@ -64,6 +64,7 @@ public class RequiredHSTSPolicy implements KubernetesResource { @JsonProperty("domainPatterns") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List domainPatterns = new ArrayList(); @JsonProperty("includeSubDomainsPolicy") private String includeSubDomainsPolicy; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerList.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerList.java index 64341daaa6b..766fb95dc2f 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerList.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/SchedulerList.java @@ -79,6 +79,7 @@ public class SchedulerList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "config.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSProfileSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSProfileSpec.java index bc2b83fc88c..5035eeeb650 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSProfileSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/TLSProfileSpec.java @@ -62,6 +62,7 @@ public class TLSProfileSpec implements KubernetesResource { @JsonProperty("ciphers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ciphers = new ArrayList(); @JsonProperty("minTLSVersion") private String minTLSVersion; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformStatus.java index 1754329289d..cb9cec2bbac 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformStatus.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformStatus.java @@ -68,10 +68,12 @@ public class VSpherePlatformStatus implements KubernetesResource @JsonProperty("apiServerInternalIP") private String apiServerInternalIP; @JsonProperty("apiServerInternalIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List apiServerInternalIPs = new ArrayList(); @JsonProperty("ingressIP") private String ingressIP; @JsonProperty("ingressIPs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List ingressIPs = new ArrayList(); @JsonProperty("loadBalancer") private VSpherePlatformLoadBalancer loadBalancer; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformTopology.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformTopology.java index 49a5c79e298..fb342d59899 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformTopology.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformTopology.java @@ -74,6 +74,7 @@ public class VSpherePlatformTopology implements KubernetesResource @JsonProperty("folder") private String folder; @JsonProperty("networks") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List networks = new ArrayList(); @JsonProperty("resourcePool") private String resourcePool; diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformVCenterSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformVCenterSpec.java index e4b707f096d..09f001d49cd 100644 --- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformVCenterSpec.java +++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/VSpherePlatformVCenterSpec.java @@ -63,6 +63,7 @@ public class VSpherePlatformVCenterSpec implements KubernetesResource { @JsonProperty("datacenters") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List datacenters = new ArrayList(); @JsonProperty("port") private Integer port; diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadList.java index 34a72728e38..15302562e31 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadList.java @@ -79,6 +79,7 @@ public class ConsoleCLIDownloadList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "console.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadSpec.java index 361e75c3267..07a5b38f880 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleCLIDownloadSpec.java @@ -67,6 +67,7 @@ public class ConsoleCLIDownloadSpec implements KubernetesResource @JsonProperty("displayName") private String displayName; @JsonProperty("links") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List links = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkList.java index 060c19b9644..9c45649c931 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleExternalLogLinkList.java @@ -79,6 +79,7 @@ public class ConsoleExternalLogLinkList implements KubernetesResource, Kubernete @JsonProperty("apiVersion") private String apiVersion = "console.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkList.java index f2d6d772650..85253a5c711 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleLinkList.java @@ -79,6 +79,7 @@ public class ConsoleLinkList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "console.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationList.java index 47cd4c4c4d2..2ff132e84d8 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleNotificationList.java @@ -79,6 +79,7 @@ public class ConsoleNotificationList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "console.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartList.java index 2775b730621..4ce334b959c 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartList.java @@ -79,6 +79,7 @@ public class ConsoleQuickStartList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "console.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartSpec.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartSpec.java index 831e3320186..43aef123a1a 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartSpec.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleQuickStartSpec.java @@ -96,6 +96,7 @@ public class ConsoleQuickStartSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List tags = new ArrayList(); @JsonProperty("tasks") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List tasks = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleList.java index 49ec6087163..fe03068c39f 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1/ConsoleYAMLSampleList.java @@ -79,6 +79,7 @@ public class ConsoleYAMLSampleList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "console.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginList.java b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginList.java index aebc7eca3f5..746a3b83c94 100644 --- a/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginList.java +++ b/kubernetes-model-generator/openshift-model-console/src/generated/java/io/fabric8/openshift/api/model/console/v1alpha1/ConsolePluginList.java @@ -79,6 +79,7 @@ public class ConsolePluginList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "console.openshift.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkInventory.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkInventory.java index e44b441c305..0c1a18c89f0 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkInventory.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/AWSPrivateLinkInventory.java @@ -65,6 +65,7 @@ public class AWSPrivateLinkInventory implements KubernetesResource @JsonProperty("region") private String region; @JsonProperty("subnets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subnets = new ArrayList(); @JsonProperty("vpcID") private String vpcID; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointList.java index 91faedcc329..33169b259f9 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/CheckpointList.java @@ -79,6 +79,7 @@ public class CheckpointList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimList.java index 9d96f9a9fd4..099e4635001 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterClaimList.java @@ -79,6 +79,7 @@ public class ClusterClaimList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentList.java index 64b5fb818cd..c686515936b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeploymentList.java @@ -79,6 +79,7 @@ public class ClusterDeploymentList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionList.java index efc81253ba0..5022127429e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterDeprovisionList.java @@ -79,6 +79,7 @@ public class ClusterDeprovisionList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetList.java index dbd367b3e60..62b23e35f23 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterImageSetList.java @@ -79,6 +79,7 @@ public class ClusterImageSetList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolList.java index 92ff947d2e0..7444bda5cb4 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterPoolList.java @@ -79,6 +79,7 @@ public class ClusterPoolList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionList.java index 86fb39e28cd..8eeab241bea 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterProvisionList.java @@ -79,6 +79,7 @@ public class ClusterProvisionList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateList.java index 7de22d59f0d..1ebe0f94d81 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterRelocateList.java @@ -79,6 +79,7 @@ public class ClusterRelocateList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateList.java index 10ff60ea00b..bc169bb678b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ClusterStateList.java @@ -79,6 +79,7 @@ public class ClusterStateList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneList.java index 46d380a58c9..f3b75422872 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/DNSZoneList.java @@ -79,6 +79,7 @@ public class DNSZoneList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigList.java index 56c557ea73e..5c8466ed538 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/HiveConfigList.java @@ -79,6 +79,7 @@ public class HiveConfigList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolList.java index 81f5f61c360..7be885d044e 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolList.java @@ -79,6 +79,7 @@ public class MachinePoolList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseList.java index 4923b0ea16b..c43cfb752d9 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/MachinePoolNameLeaseList.java @@ -79,6 +79,7 @@ public class MachinePoolNameLeaseList implements KubernetesResource, KubernetesR @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSConfig.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSConfig.java index fed1bdefd5a..3c49bbb4b05 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSConfig.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/ManageDNSConfig.java @@ -68,6 +68,7 @@ public class ManageDNSConfig implements KubernetesResource @JsonProperty("azure") private ManageDNSAzureConfig azure; @JsonProperty("domains") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List domains = new ArrayList(); @JsonProperty("gcp") private ManageDNSGCPConfig gcp; diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderList.java index 6164170e210..aa613c46832 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderList.java @@ -79,6 +79,7 @@ public class SelectorSyncIdentityProviderList implements KubernetesResource, Kub @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderSpec.java index 346efe2f4fa..2accdc26baf 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncIdentityProviderSpec.java @@ -64,6 +64,7 @@ public class SelectorSyncIdentityProviderSpec implements KubernetesResource @JsonProperty("clusterDeploymentSelector") private io.fabric8.kubernetes.api.model.LabelSelector clusterDeploymentSelector; @JsonProperty("identityProviders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List identityProviders = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetList.java index db88a41b7c7..5b3a00f0ca2 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SelectorSyncSetList.java @@ -79,6 +79,7 @@ public class SelectorSyncSetList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderList.java index 5642b401df3..57767a30a4b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderList.java @@ -79,6 +79,7 @@ public class SyncIdentityProviderList implements KubernetesResource, KubernetesR @JsonProperty("apiVersion") private String apiVersion = "hive.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderSpec.java index 1369f845f36..a09cba75f0b 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncIdentityProviderSpec.java @@ -62,8 +62,10 @@ public class SyncIdentityProviderSpec implements KubernetesResource { @JsonProperty("clusterDeploymentRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterDeploymentRefs = new ArrayList(); @JsonProperty("identityProviders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List identityProviders = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetList.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetList.java index 6f190fc552e..66e42356865 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetList.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetList.java @@ -79,6 +79,7 @@ public class SyncSetList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetSpec.java b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetSpec.java index 602661023c7..ba9fcac9ef6 100644 --- a/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetSpec.java +++ b/kubernetes-model-generator/openshift-model-hive/src/generated/java/io/fabric8/openshift/api/model/hive/v1/SyncSetSpec.java @@ -67,6 +67,7 @@ public class SyncSetSpec implements KubernetesResource @JsonProperty("applyBehavior") private java.lang.String applyBehavior; @JsonProperty("clusterDeploymentRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterDeploymentRefs = new ArrayList(); @JsonProperty("patches") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Platform.java index 681e6eb8338..99fdcce8b0b 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/baremetal/v1/Platform.java @@ -108,6 +108,7 @@ public class Platform implements KubernetesResource @JsonProperty("externalMACAddress") private String externalMACAddress; @JsonProperty("hosts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List hosts = new ArrayList(); @JsonProperty("ingressVIP") private String ingressVIP; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/Platform.java index 68ac56b33ee..a7d17135cf7 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/nutanix/v1/Platform.java @@ -89,8 +89,10 @@ public class Platform implements KubernetesResource @JsonProperty("prismCentral") private PrismCentral prismCentral; @JsonProperty("prismElements") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List prismElements = new ArrayList(); @JsonProperty("subnetUUIDs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subnetUUIDs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FailureDomain.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FailureDomain.java index 657118c2de9..c58dd7db87f 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FailureDomain.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/FailureDomain.java @@ -65,6 +65,7 @@ public class FailureDomain implements KubernetesResource @JsonProperty("computeAvailabilityZone") private String computeAvailabilityZone; @JsonProperty("portTargets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List portTargets = new ArrayList(); @JsonProperty("storageAvailabilityZone") private String storageAvailabilityZone; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/Platform.java index a1d7295ab72..222f3086566 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/openstack/v1/Platform.java @@ -98,6 +98,7 @@ public class Platform implements KubernetesResource @JsonProperty("defaultMachinePlatform") private MachinePool defaultMachinePlatform; @JsonProperty("externalDNS") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List externalDNS = new ArrayList(); @JsonProperty("externalNetwork") private java.lang.String externalNetwork; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/MachinePool.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/MachinePool.java index f6bde90b84d..826a8375afe 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/MachinePool.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/MachinePool.java @@ -71,6 +71,7 @@ public class MachinePool implements KubernetesResource { @JsonProperty("affinityGroupsNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List affinityGroupsNames = new ArrayList(); @JsonProperty("autoPinningPolicy") private String autoPinningPolicy; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Platform.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Platform.java index c093b36d25a..b19070a5f6a 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Platform.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/ovirt/v1/Platform.java @@ -72,6 +72,7 @@ public class Platform implements KubernetesResource { @JsonProperty("affinityGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List affinityGroups = new ArrayList(); @JsonProperty("api_vip") private String apiVip; diff --git a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/VCenter.java b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/VCenter.java index 2a33bc34560..b7ff22787b9 100644 --- a/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/VCenter.java +++ b/kubernetes-model-generator/openshift-model-installer/src/generated/java/io/fabric8/openshift/api/model/installer/vsphere/v1/VCenter.java @@ -65,6 +65,7 @@ public class VCenter implements KubernetesResource { @JsonProperty("datacenters") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List datacenters = new ArrayList(); @JsonProperty("password") private String password; diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckList.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckList.java index da6f072a6a0..74a9b7093fd 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckList.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckList.java @@ -79,6 +79,7 @@ public class MachineHealthCheckList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "machine.openshift.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckSpec.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckSpec.java index 2d54d63ca9c..2580b126d64 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckSpec.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineHealthCheckSpec.java @@ -71,6 +71,7 @@ public class MachineHealthCheckSpec implements KubernetesResource @JsonProperty("selector") private io.fabric8.kubernetes.api.model.LabelSelector selector; @JsonProperty("unhealthyConditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List unhealthyConditions = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineList.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineList.java index c5c6739427d..2dac87a3d18 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineList.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineList.java @@ -79,6 +79,7 @@ public class MachineList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetList.java b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetList.java index f0f15702e5b..9ae6bd41bd5 100644 --- a/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetList.java +++ b/kubernetes-model-generator/openshift-model-machine/src/generated/java/io/fabric8/openshift/api/model/machine/v1beta1/MachineSetList.java @@ -79,6 +79,7 @@ public class MachineSetList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "machine.openshift.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigList.java index 06583aec008..30267f0b6f1 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigList.java @@ -79,6 +79,7 @@ public class ContainerRuntimeConfigList implements KubernetesResource, Kubernete @JsonProperty("apiVersion") private String apiVersion = "machineconfiguration.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigStatus.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigStatus.java index 6f9e225c7b8..47e718e96fb 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigStatus.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ContainerRuntimeConfigStatus.java @@ -62,6 +62,7 @@ public class ContainerRuntimeConfigStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("observedGeneration") private Long observedGeneration; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigList.java index e099eca8039..a676b9d63de 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigList.java @@ -79,6 +79,7 @@ public class ControllerConfigList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "machineconfiguration.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatus.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatus.java index 1f2a571887f..0764edb94de 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatus.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/ControllerConfigStatus.java @@ -62,6 +62,7 @@ public class ControllerConfigStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("observedGeneration") private Long observedGeneration; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigList.java index 892bfcdf71e..464028429e1 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigList.java @@ -79,6 +79,7 @@ public class KubeletConfigList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "machineconfiguration.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigStatus.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigStatus.java index 456212d73ab..0486edb6383 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigStatus.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/KubeletConfigStatus.java @@ -62,6 +62,7 @@ public class KubeletConfigStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("observedGeneration") private Long observedGeneration; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigList.java index 5bd0395dc5d..4993553e000 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigList.java @@ -79,6 +79,7 @@ public class MachineConfigList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "machineconfiguration.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolList.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolList.java index 58065032ed9..2e5c8e6cd46 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolList.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolList.java @@ -79,6 +79,7 @@ public class MachineConfigPoolList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "machineconfiguration.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatus.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatus.java index a5f50c17cc9..99147b253ad 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatus.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigPoolStatus.java @@ -68,6 +68,7 @@ public class MachineConfigPoolStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("configuration") private MachineConfigPoolStatusConfiguration configuration; diff --git a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigSpec.java b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigSpec.java index f90fbe66d1b..9b895a8d417 100644 --- a/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-machineconfig/src/generated/java/io/fabric8/openshift/api/model/machineconfig/v1/MachineConfigSpec.java @@ -69,10 +69,12 @@ public class MachineConfigSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map config = new LinkedHashMap(); @JsonProperty("extensions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List extensions = new ArrayList(); @JsonProperty("fips") private Boolean fips; @JsonProperty("kernelArguments") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List kernelArguments = new ArrayList(); @JsonProperty("kernelType") private java.lang.String kernelType; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountList.java index bb23061c345..4a400631734 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountList.java @@ -79,6 +79,7 @@ public class APIRequestCountList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "apiserver.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountStatus.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountStatus.java index 42ff06e67e8..37cf67be28d 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountStatus.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/APIRequestCountStatus.java @@ -66,10 +66,12 @@ public class APIRequestCountStatus implements KubernetesResource { @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("currentHour") private PerResourceAPIRequestLog currentHour; @JsonProperty("last24h") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List last24h = new ArrayList(); @JsonProperty("removedInRelease") private String removedInRelease; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerNodeAPIRequestLog.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerNodeAPIRequestLog.java index 777fe04c5d5..a44a9f6edec 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerNodeAPIRequestLog.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerNodeAPIRequestLog.java @@ -63,6 +63,7 @@ public class PerNodeAPIRequestLog implements KubernetesResource { @JsonProperty("byUser") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List byUser = new ArrayList(); @JsonProperty("nodeName") private String nodeName; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerResourceAPIRequestLog.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerResourceAPIRequestLog.java index b3ae2ec8e19..204d50feeb1 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerResourceAPIRequestLog.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerResourceAPIRequestLog.java @@ -62,6 +62,7 @@ public class PerResourceAPIRequestLog implements KubernetesResource { @JsonProperty("byNode") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List byNode = new ArrayList(); @JsonProperty("requestCount") private Long requestCount; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerUserAPIRequestCount.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerUserAPIRequestCount.java index efbe6ebbca7..d3092100b44 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerUserAPIRequestCount.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/apiserver/v1/PerUserAPIRequestCount.java @@ -64,6 +64,7 @@ public class PerUserAPIRequestCount implements KubernetesResource { @JsonProperty("byVerb") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List byVerb = new ArrayList(); @JsonProperty("requestCount") private Long requestCount; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestList.java index 06cd65a40ed..e077a1742d5 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cloudcredential/v1/CredentialsRequestList.java @@ -79,6 +79,7 @@ public class CredentialsRequestList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "cloudcredential.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionList.java index a74eae8119b..3698f220662 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/cncf/cni/v1/NetworkAttachmentDefinitionList.java @@ -79,6 +79,7 @@ public class NetworkAttachmentDefinitionList implements KubernetesResource, Kube @JsonProperty("apiVersion") private String apiVersion = "k8s.cni.cncf.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ConfigList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ConfigList.java index ae9531592c6..1fb156f6945 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ConfigList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/imageregistry/operator/v1/ConfigList.java @@ -79,6 +79,7 @@ public class ConfigList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostList.java index f7f317446f9..a750be764ac 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/BareMetalHostList.java @@ -79,6 +79,7 @@ public class BareMetalHostList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "metal3.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RAIDConfig.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RAIDConfig.java index 92168f6648f..e25f030214b 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RAIDConfig.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/metal3/v1alpha1/RAIDConfig.java @@ -62,8 +62,10 @@ public class RAIDConfig implements KubernetesResource { @JsonProperty("hardwareRAIDVolumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List hardwareRAIDVolumes = new ArrayList(); @JsonProperty("softwareRAIDVolumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List softwareRAIDVolumes = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterList.java index 760ff604027..f1857ec89f4 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterList.java @@ -79,6 +79,7 @@ public class EgressRouterList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "network.operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterSpec.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterSpec.java index fc247a2f45e..cf78a9ee6a1 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterSpec.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/EgressRouterSpec.java @@ -64,6 +64,7 @@ public class EgressRouterSpec implements KubernetesResource { @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List addresses = new ArrayList(); @JsonProperty("mode") private String mode; diff --git a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIList.java b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIList.java index ea94d4fad09..750e62ec280 100644 --- a/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIList.java +++ b/kubernetes-model-generator/openshift-model-miscellaneous/src/generated/java/io/fabric8/openshift/api/model/miscellaneous/network/operator/v1/OperatorPKIList.java @@ -79,6 +79,7 @@ public class OperatorPKIList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "network.operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java index 74f0a280e3f..59d0402df37 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java @@ -61,6 +61,7 @@ public class AlertingSpec implements KubernetesResource { @JsonProperty("alertmanagers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List alertmanagers = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerList.java index fe6cf24cb80..4d1ff50f4a4 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerList.java @@ -79,6 +79,7 @@ public class AlertmanagerList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "monitoring.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java index 21378dc6dd3..59a26f0f173 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java @@ -62,6 +62,7 @@ public class HostAlias implements KubernetesResource { @JsonProperty("hostnames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List hostnames = new ArrayList(); @JsonProperty("ip") private String ip; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorList.java index 95b67b32f9c..de6d792e9da 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorList.java @@ -79,6 +79,7 @@ public class PodMonitorList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "monitoring.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java index 24facc036e5..5c30de62015 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java @@ -82,6 +82,7 @@ public class PodMonitorSpec implements KubernetesResource @JsonProperty("namespaceSelector") private NamespaceSelector namespaceSelector; @JsonProperty("podMetricsEndpoints") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List podMetricsEndpoints = new ArrayList(); @JsonProperty("podTargetLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeList.java index db962f6e9b9..e819f3f4045 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeList.java @@ -79,6 +79,7 @@ public class ProbeList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusList.java index 3adc00a0785..0c6e2cfbcfd 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusList.java @@ -79,6 +79,7 @@ public class PrometheusList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "monitoring.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleList.java index 54167fa1613..1e6b75494c6 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleList.java @@ -79,6 +79,7 @@ public class PrometheusRuleList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "monitoring.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java index f7c7551344c..e53d82e7cee 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java @@ -70,6 +70,7 @@ public class RuleGroup implements KubernetesResource @JsonProperty("partial_response_strategy") private String partialResponseStrategy; @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorList.java index ce568ac5ef5..16aaa82dde4 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorList.java @@ -79,6 +79,7 @@ public class ServiceMonitorList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "monitoring.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java index 6f416ac7c11..cfbcfbdee51 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java @@ -70,6 +70,7 @@ public class ServiceMonitorSpec implements KubernetesResource { @JsonProperty("endpoints") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List endpoints = new ArrayList(); @JsonProperty("jobLabel") private String jobLabel; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerList.java index 27521bbfd85..f6feb89f457 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerList.java @@ -79,6 +79,7 @@ public class ThanosRulerList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "monitoring.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java index 9bc769e382a..8a3aaf3bd8d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java @@ -79,6 +79,7 @@ public class AlertmanagerConfigList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "monitoring.coreos.com/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java index 44d499f8bf7..6fcf6ffbc3b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java @@ -70,6 +70,7 @@ public class AlertmanagerConfigSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List muteTimeIntervals = new ArrayList(); @JsonProperty("receivers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List receivers = new ArrayList(); @JsonProperty("route") private Route route; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckList.java index 3dd616dc926..6c7ff288671 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/controlplane/v1alpha1/PodNetworkConnectivityCheckList.java @@ -79,6 +79,7 @@ public class PodNetworkConnectivityCheckList implements KubernetesResource, Kube @JsonProperty("apiVersion") private String apiVersion = "controlplane.operator.openshift.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationList.java index 02b82d48723..57d8871b632 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/AuthenticationList.java @@ -79,6 +79,7 @@ public class AuthenticationList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerList.java index c78edb8d944..a715949c5c2 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CSISnapshotControllerList.java @@ -79,6 +79,7 @@ public class CSISnapshotControllerList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialList.java index 6f343cd66bc..4602422c99a 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/CloudCredentialList.java @@ -79,6 +79,7 @@ public class CloudCredentialList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverList.java index 04734a867ed..d867a49f28f 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ClusterCSIDriverList.java @@ -79,6 +79,7 @@ public class ClusterCSIDriverList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigList.java index a8e56fcf81c..d9ed695fc9e 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConfigList.java @@ -79,6 +79,7 @@ public class ConfigList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleCustomization.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleCustomization.java index 89c6bda3f80..2b9781c11c5 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleCustomization.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleCustomization.java @@ -82,6 +82,7 @@ public class ConsoleCustomization implements KubernetesResource @JsonProperty("documentationBaseURL") private String documentationBaseURL; @JsonProperty("perspectives") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List perspectives = new ArrayList(); @JsonProperty("projectAccess") private ProjectAccess projectAccess; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleList.java index 12295cc2654..70050010472 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ConsoleList.java @@ -79,6 +79,7 @@ public class ConsoleList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSList.java index f489acc68aa..dc0b33a885a 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSList.java @@ -79,6 +79,7 @@ public class DNSList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordList.java index 568b9e8fadf..6d9db66cdde 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordList.java @@ -79,6 +79,7 @@ public class DNSRecordList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "ingress.operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordSpec.java index 8ac583a5c29..dddd6230ace 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/DNSRecordSpec.java @@ -73,6 +73,7 @@ public class DNSRecordSpec implements KubernetesResource @JsonProperty("recordType") private String recordType; @JsonProperty("targets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List targets = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdList.java index 3c48537bdbc..aca22379f79 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/EtcdList.java @@ -79,6 +79,7 @@ public class EtcdList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ForwardPlugin.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ForwardPlugin.java index 3733ad11ba0..0df9da70834 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ForwardPlugin.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ForwardPlugin.java @@ -70,6 +70,7 @@ public class ForwardPlugin implements KubernetesResource @JsonProperty("transportConfig") private DNSTransportConfig transportConfig; @JsonProperty("upstreams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List upstreams = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HybridOverlayConfig.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HybridOverlayConfig.java index 59c597ebfbf..3a8432cfd1b 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HybridOverlayConfig.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/HybridOverlayConfig.java @@ -62,6 +62,7 @@ public class HybridOverlayConfig implements KubernetesResource { @JsonProperty("hybridClusterNetwork") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List hybridClusterNetwork = new ArrayList(); @JsonProperty("hybridOverlayVXLANPort") private Integer hybridOverlayVXLANPort; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerList.java index ca110831766..0def0503713 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ImagePrunerList.java @@ -79,6 +79,7 @@ public class ImagePrunerList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "imageregistry.operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerList.java index 1f525de22bb..7fc8a24c42c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/IngressControllerList.java @@ -79,6 +79,7 @@ public class IngressControllerList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerList.java index 01968d8ff54..b690892b6b8 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeAPIServerList.java @@ -79,6 +79,7 @@ public class KubeAPIServerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerList.java index 74a54328472..e2a16f4469a 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeControllerManagerList.java @@ -79,6 +79,7 @@ public class KubeControllerManagerList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerList.java index f6439c1ef07..59531380943 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeSchedulerList.java @@ -79,6 +79,7 @@ public class KubeSchedulerList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorList.java index efe55532470..b033f8f9adf 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/KubeStorageVersionMigratorList.java @@ -79,6 +79,7 @@ public class KubeStorageVersionMigratorList implements KubernetesResource, Kuber @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkList.java index 1d1a705b7e1..c6caf7926ae 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkList.java @@ -79,6 +79,7 @@ public class NetworkList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkSpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkSpec.java index 5ffe88a0076..6d136761667 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkSpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/NetworkSpec.java @@ -83,6 +83,7 @@ public class NetworkSpec implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List additionalNetworks = new ArrayList(); @JsonProperty("clusterNetwork") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterNetwork = new ArrayList(); @JsonProperty("defaultNetwork") private DefaultNetworkDefinition defaultNetwork; @@ -107,6 +108,7 @@ public class NetworkSpec implements KubernetesResource @JsonProperty("operatorLogLevel") private String operatorLogLevel; @JsonProperty("serviceNetwork") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List serviceNetwork = new ArrayList(); @JsonProperty("unsupportedConfigOverrides") private KubernetesResource unsupportedConfigOverrides; diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerList.java index a5e330371f1..a43bed272ac 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftAPIServerList.java @@ -79,6 +79,7 @@ public class OpenShiftAPIServerList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerList.java index eb02475327d..44319c94acb 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/OpenShiftControllerManagerList.java @@ -79,6 +79,7 @@ public class OpenShiftControllerManagerList implements KubernetesResource, Kuber @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ResourceAttributesAccessReview.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ResourceAttributesAccessReview.java index 94e6cf6f831..bb733971368 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ResourceAttributesAccessReview.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ResourceAttributesAccessReview.java @@ -63,8 +63,10 @@ public class ResourceAttributesAccessReview implements KubernetesResource { @JsonProperty("missing") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List missing = new ArrayList(); @JsonProperty("required") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List required = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Server.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Server.java index ea631118c04..3ba51bd23e7 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Server.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/Server.java @@ -67,6 +67,7 @@ public class Server implements KubernetesResource @JsonProperty("name") private String name; @JsonProperty("zones") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List zones = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAList.java index c164ee09265..19bef5ebce2 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCAList.java @@ -79,6 +79,7 @@ public class ServiceCAList implements KubernetesResource, KubernetesResourceList @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerList.java index 2271fedde13..cc449819fc1 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogAPIServerList.java @@ -79,6 +79,7 @@ public class ServiceCatalogAPIServerList implements KubernetesResource, Kubernet @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerList.java index 7ccef5b8641..8e087336a5c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/ServiceCatalogControllerManagerList.java @@ -79,6 +79,7 @@ public class ServiceCatalogControllerManagerList implements KubernetesResource, @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageList.java index 897b8b8a53a..ac679fa7bc9 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/StorageList.java @@ -79,6 +79,7 @@ public class StorageList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/UpstreamResolvers.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/UpstreamResolvers.java index af7382eb17f..1d6af226e0a 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/UpstreamResolvers.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1/UpstreamResolvers.java @@ -70,6 +70,7 @@ public class UpstreamResolvers implements KubernetesResource @JsonProperty("transportConfig") private DNSTransportConfig transportConfig; @JsonProperty("upstreams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List upstreams = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicyList.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicyList.java index 9ceb4e5911b..69feeaf82da 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicyList.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicyList.java @@ -79,6 +79,7 @@ public class ImageContentSourcePolicyList implements KubernetesResource, Kuberne @JsonProperty("apiVersion") private String apiVersion = "operator.openshift.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicySpec.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicySpec.java index 409a9083fca..5d701a3752c 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicySpec.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/ImageContentSourcePolicySpec.java @@ -61,6 +61,7 @@ public class ImageContentSourcePolicySpec implements KubernetesResource { @JsonProperty("repositoryDigestMirrors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List repositoryDigestMirrors = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/RepositoryDigestMirrors.java b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/RepositoryDigestMirrors.java index cd74d5f0ed2..aec1f782fbc 100644 --- a/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/RepositoryDigestMirrors.java +++ b/kubernetes-model-generator/openshift-model-operator/src/generated/java/io/fabric8/openshift/api/model/operator/v1alpha1/RepositoryDigestMirrors.java @@ -62,6 +62,7 @@ public class RepositoryDigestMirrors implements KubernetesResource { @JsonProperty("mirrors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List mirrors = new ArrayList(); @JsonProperty("source") private String source; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestList.java index 8f34d097503..a89f93999c1 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestList.java @@ -79,6 +79,7 @@ public class PackageManifestList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "packages.operators.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestStatus.java index 3aa2294f1ba..6264e1c9b2a 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestStatus.java @@ -76,6 +76,7 @@ public class PackageManifestStatus implements KubernetesResource @JsonProperty("catalogSourcePublisher") private String catalogSourcePublisher; @JsonProperty("channels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List channels = new ArrayList(); @JsonProperty("defaultChannel") private String defaultChannel; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionList.java index 7883562f6a2..d836d093ac8 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionList.java @@ -79,6 +79,7 @@ public class OperatorConditionList implements KubernetesResource, KubernetesReso @JsonProperty("apiVersion") private String apiVersion = "operators.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupList.java index ca5e8d7d880..4e6b69f7e44 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupList.java @@ -79,6 +79,7 @@ public class OperatorGroupList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "operators.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorList.java index 5cc325958f5..5473c6055f8 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorList.java @@ -79,6 +79,7 @@ public class OperatorList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "operators.coreos.com/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceList.java index defbf3722b4..f1803b93bf3 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceList.java @@ -79,6 +79,7 @@ public class CatalogSourceList implements KubernetesResource, KubernetesResource @JsonProperty("apiVersion") private String apiVersion = "operators.coreos.com/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionList.java index cdbf0270e4d..7eb8c1eb98e 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionList.java @@ -79,6 +79,7 @@ public class ClusterServiceVersionList implements KubernetesResource, Kubernetes @JsonProperty("apiVersion") private String apiVersion = "operators.coreos.com/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanList.java index 05bcc0b251d..36cab80a1a9 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanList.java @@ -79,6 +79,7 @@ public class InstallPlanList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "operators.coreos.com/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanSpec.java index f0025f463ac..5be9171aa66 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanSpec.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanSpec.java @@ -70,6 +70,7 @@ public class InstallPlanSpec implements KubernetesResource @JsonProperty("approved") private Boolean approved; @JsonProperty("clusterServiceVersionNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterServiceVersionNames = new ArrayList(); @JsonProperty("generation") private Integer generation; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatus.java index 9a9f39ee4de..157cc3be182 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatus.java @@ -72,6 +72,7 @@ public class InstallPlanStatus implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List bundleLookups = new ArrayList(); @JsonProperty("catalogSources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List catalogSources = new ArrayList(); @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceList.java index 66ee0044cfd..cd99c4ffd34 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceList.java @@ -64,6 +64,7 @@ public class ResourceList implements KubernetesResource @JsonProperty("group") private String group; @JsonProperty("instances") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List instances = new ArrayList(); @JsonProperty("kind") private String kind; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDeploymentPermissions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDeploymentPermissions.java index 9f2251f4028..a1473071f5c 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDeploymentPermissions.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDeploymentPermissions.java @@ -63,6 +63,7 @@ public class StrategyDeploymentPermissions implements KubernetesResource { @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonProperty("serviceAccountName") private String serviceAccountName; diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDetailsDeployment.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDetailsDeployment.java index ef20873585f..65c62f215d8 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDetailsDeployment.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDetailsDeployment.java @@ -66,6 +66,7 @@ public class StrategyDetailsDeployment implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterPermissions = new ArrayList(); @JsonProperty("deployments") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List deployments = new ArrayList(); @JsonProperty("permissions") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionList.java index 969726688fc..270f6d09daa 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionList.java @@ -79,6 +79,7 @@ public class SubscriptionList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "operators.coreos.com/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/WebhookDescription.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/WebhookDescription.java index 88fddaf5c5f..f7ed28f42d8 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/WebhookDescription.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/WebhookDescription.java @@ -74,6 +74,7 @@ public class WebhookDescription implements KubernetesResource { @JsonProperty("admissionReviewVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List admissionReviewVersions = new ArrayList(); @JsonProperty("containerPort") private Integer containerPort; diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateList.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateList.java index c25d630a9d7..6734ac3b56a 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateList.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageStateList.java @@ -79,6 +79,7 @@ public class StorageStateList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "migration.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationList.java b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationList.java index 71cafdff735..ebb490afb27 100644 --- a/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationList.java +++ b/kubernetes-model-generator/openshift-model-storageversionmigrator/src/generated/java/io/fabric8/openshift/api/model/storageversionmigrator/v1alpha1/StorageVersionMigrationList.java @@ -79,6 +79,7 @@ public class StorageVersionMigrationList implements KubernetesResource, Kubernet @JsonProperty("apiVersion") private String apiVersion = "migration.k8s.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileList.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileList.java index 59ce9bb42b1..d6eb78cc9f5 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileList.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/ProfileList.java @@ -79,6 +79,7 @@ public class ProfileList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedList.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedList.java index 32c0b8b54d6..6f346ba87df 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedList.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedList.java @@ -79,6 +79,7 @@ public class TunedList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedSpec.java b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedSpec.java index 8fb43a49709..6fc6bb9ffc2 100644 --- a/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedSpec.java +++ b/kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedSpec.java @@ -65,8 +65,10 @@ public class TunedSpec implements KubernetesResource @JsonProperty("managementState") private String managementState; @JsonProperty("profile") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List profile = new ArrayList(); @JsonProperty("recommend") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List recommend = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolList.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolList.java index 5f7d5c253d1..0a4d0d83731 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolList.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/IPPoolList.java @@ -79,6 +79,7 @@ public class IPPoolList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationList.java b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationList.java index daa0e03a1e7..23a219193f3 100644 --- a/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationList.java +++ b/kubernetes-model-generator/openshift-model-whereabouts/src/generated/java/io/fabric8/openshift/api/model/whereabouts/v1alpha1/OverlappingRangeIPReservationList.java @@ -79,6 +79,7 @@ public class OverlappingRangeIPReservationList implements KubernetesResource, Ku @JsonProperty("apiVersion") private String apiVersion = "whereabouts.cni.cncf.io/v1alpha1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuotaList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuotaList.java index fe25e2c64fd..05f11af0f1f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuotaList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/AppliedClusterResourceQuotaList.java @@ -79,6 +79,7 @@ public class AppliedClusterResourceQuotaList implements KubernetesResource, Kube @JsonProperty("apiVersion") private String apiVersion = "quota.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceList.java index f17d50476f6..a2517a76743 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BrokerTemplateInstanceList.java @@ -79,6 +79,7 @@ public class BrokerTemplateInstanceList implements KubernetesResource, Kubernete @JsonProperty("apiVersion") private String apiVersion = "template.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigList.java index 66f1e2fade2..1f0f53b429c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildConfigList.java @@ -79,6 +79,7 @@ public class BuildConfigList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "build.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildList.java index 7f1ae1ca1ea..ba8f61b3f3d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildList.java @@ -79,6 +79,7 @@ public class BuildList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolume.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolume.java index 251ad6dfac0..248558a24f5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolume.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/BuildVolume.java @@ -63,6 +63,7 @@ public class BuildVolume implements KubernetesResource { @JsonProperty("mounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List mounts = new ArrayList(); @JsonProperty("name") private String name; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetwork.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetwork.java index 12a87aa6a1b..29e0e74a55e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetwork.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetwork.java @@ -82,6 +82,7 @@ public class ClusterNetwork implements HasMetadata @JsonProperty("apiVersion") private String apiVersion = "network.openshift.io/v1"; @JsonProperty("clusterNetworks") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List clusterNetworks = new ArrayList(); @JsonProperty("hostsubnetlength") private Integer hostsubnetlength; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkList.java index ca520e96291..abc09286135 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterNetworkList.java @@ -79,6 +79,7 @@ public class ClusterNetworkList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "network.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaList.java index aa51355a720..7db06f20d0b 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaList.java @@ -79,6 +79,7 @@ public class ClusterResourceQuotaList implements KubernetesResource, KubernetesR @JsonProperty("apiVersion") private String apiVersion = "quota.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaStatus.java index 8cf6a4408b1..d27d9cc41c8 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterResourceQuotaStatus.java @@ -63,6 +63,7 @@ public class ClusterResourceQuotaStatus implements KubernetesResource { @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("total") private ResourceQuotaStatus total; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRole.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRole.java index d46bb96d4c2..39754275702 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRole.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRole.java @@ -89,6 +89,7 @@ public class ClusterRole implements HasMetadata @JsonProperty("metadata") private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBinding.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBinding.java index beeb9142814..f524652a69c 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBinding.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBinding.java @@ -78,6 +78,7 @@ public class ClusterRoleBinding implements HasMetadata @JsonProperty("apiVersion") private String apiVersion = "authorization.openshift.io/v1"; @JsonProperty("groupNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groupNames = new ArrayList(); /** * @@ -91,8 +92,10 @@ public class ClusterRoleBinding implements HasMetadata @JsonProperty("roleRef") private io.fabric8.kubernetes.api.model.ObjectReference roleRef; @JsonProperty("subjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subjects = new ArrayList(); @JsonProperty("userNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List userNames = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBindingList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBindingList.java index 0023cea29f6..220fc49c119 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBindingList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleBindingList.java @@ -79,6 +79,7 @@ public class ClusterRoleBindingList implements KubernetesResource, KubernetesRes @JsonProperty("apiVersion") private String apiVersion = "authorization.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleList.java index a8a170dcbb6..14137a01f2a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleList.java @@ -79,6 +79,7 @@ public class ClusterRoleList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "authorization.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleScopeRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleScopeRestriction.java index 126bfc101f5..471f3268fe6 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleScopeRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ClusterRoleScopeRestriction.java @@ -65,8 +65,10 @@ public class ClusterRoleScopeRestriction implements KubernetesResource @JsonProperty("allowEscalation") private Boolean allowEscalation; @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("roleNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List roleNames = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigList.java index 32ba31c67a0..af8229bee88 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigList.java @@ -79,6 +79,7 @@ public class DeploymentConfigList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "apps.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigSpec.java index 2e0e4823162..15c5de76cf1 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentConfigSpec.java @@ -85,6 +85,7 @@ public class DeploymentConfigSpec implements KubernetesResource @JsonProperty("test") private Boolean test; @JsonProperty("triggers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List triggers = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentDetails.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentDetails.java index f787ab42d2f..0283fd28255 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentDetails.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/DeploymentDetails.java @@ -62,6 +62,7 @@ public class DeploymentDetails implements KubernetesResource { @JsonProperty("causes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List causes = new ArrayList(); @JsonProperty("message") private String message; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyList.java index d806aaa473d..9c6527d0842 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicyList.java @@ -79,6 +79,7 @@ public class EgressNetworkPolicyList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "network.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicySpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicySpec.java index 7d37c1e959a..db9c5d2498d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicySpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/EgressNetworkPolicySpec.java @@ -61,6 +61,7 @@ public class EgressNetworkPolicySpec implements KubernetesResource { @JsonProperty("egress") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List egress = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ExecNewPodHook.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ExecNewPodHook.java index e81e86771b0..a385f0d0c2a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ExecNewPodHook.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ExecNewPodHook.java @@ -65,6 +65,7 @@ public class ExecNewPodHook implements KubernetesResource { @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List command = new ArrayList(); @JsonProperty("containerName") private String containerName; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Group.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Group.java index 0412ca8bd77..885b95ab6a2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Group.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Group.java @@ -84,6 +84,7 @@ public class Group implements HasMetadata @JsonProperty("metadata") private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("users") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List users = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupList.java index f78de80eeb0..57bebac3825 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupList.java @@ -78,6 +78,7 @@ public class GroupList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupRestriction.java index 36124c9257e..9f4bad39dfc 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/GroupRestriction.java @@ -61,8 +61,10 @@ public class GroupRestriction implements KubernetesResource { @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List labels = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryList.java index b5e89e75c08..f8345ab25ef 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HelmChartRepositoryList.java @@ -79,6 +79,7 @@ public class HelmChartRepositoryList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "helm.openshift.io/v1beta1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnetList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnetList.java index 0e2353c4094..b844ece10b9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnetList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/HostSubnetList.java @@ -79,6 +79,7 @@ public class HostSubnetList implements KubernetesResource, KubernetesResourceLis @JsonProperty("apiVersion") private String apiVersion = "network.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IdentityList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IdentityList.java index b971543813c..5a549a25cea 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IdentityList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/IdentityList.java @@ -79,6 +79,7 @@ public class IdentityList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "user.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageList.java index fbecab48143..be83d766a4e 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageList.java @@ -79,6 +79,7 @@ public class ImageList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamList.java index a2d1d13aef1..e1d261f61a4 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamList.java @@ -79,6 +79,7 @@ public class ImageStreamList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "image.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagList.java index 5aaa4b8fe37..0134e078b48 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageStreamTagList.java @@ -79,6 +79,7 @@ public class ImageStreamTagList implements KubernetesResource, KubernetesResourc @JsonProperty("apiVersion") private String apiVersion = "image.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTagList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTagList.java index 6133d4142e1..069f76a3a7a 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTagList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ImageTagList.java @@ -79,6 +79,7 @@ public class ImageTagList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "image.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalSubjectAccessReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalSubjectAccessReview.java index ad65490e387..fb2dec65797 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalSubjectAccessReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/LocalSubjectAccessReview.java @@ -95,6 +95,7 @@ public class LocalSubjectAccessReview implements KubernetesResource, Namespaced @JsonProperty("content") private KubernetesResource content; @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); @JsonProperty("isNonResourceURL") private Boolean isNonResourceURL; @@ -118,6 +119,7 @@ public class LocalSubjectAccessReview implements KubernetesResource, Namespaced @JsonProperty("resourceName") private String resourceName; @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List scopes = new ArrayList(); @JsonProperty("user") private String user; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NamedTagEventList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NamedTagEventList.java index fd915e4f39c..e98d325a647 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NamedTagEventList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NamedTagEventList.java @@ -66,6 +66,7 @@ public class NamedTagEventList implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList(); @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); @JsonProperty("tag") private String tag; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespaceList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespaceList.java index 55f052278da..22c68e960e1 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespaceList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/NetNamespaceList.java @@ -79,6 +79,7 @@ public class NetNamespaceList implements KubernetesResource, KubernetesResourceL @JsonProperty("apiVersion") private String apiVersion = "network.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessTokenList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessTokenList.java index 6fac325a6a0..087e5b76dd5 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessTokenList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAccessTokenList.java @@ -79,6 +79,7 @@ public class OAuthAccessTokenList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "oauth.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeTokenList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeTokenList.java index 57b284c427d..3f586278708 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeTokenList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthAuthorizeTokenList.java @@ -79,6 +79,7 @@ public class OAuthAuthorizeTokenList implements KubernetesResource, KubernetesRe @JsonProperty("apiVersion") private String apiVersion = "oauth.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorizationList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorizationList.java index 683a42b7b32..47eba38cebf 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorizationList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientAuthorizationList.java @@ -79,6 +79,7 @@ public class OAuthClientAuthorizationList implements KubernetesResource, Kuberne @JsonProperty("apiVersion") private String apiVersion = "oauth.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientList.java index f8fdc05fd69..0b726b796a1 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/OAuthClientList.java @@ -79,6 +79,7 @@ public class OAuthClientList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "oauth.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewStatus.java index 30e0676d4fc..420a1143660 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PodSecurityPolicyReviewStatus.java @@ -61,6 +61,7 @@ public class PodSecurityPolicyReviewStatus implements KubernetesResource { @JsonProperty("allowedServiceAccounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List allowedServiceAccounts = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PolicyRule.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PolicyRule.java index 43cafd882d3..2bb8feb178d 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PolicyRule.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/PolicyRule.java @@ -81,8 +81,10 @@ public class PolicyRule implements KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resourceNames = new ArrayList(); @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List resources = new ArrayList(); @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List verbs = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectList.java index e2a5422dd4e..462b2b529d6 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ProjectList.java @@ -79,6 +79,7 @@ public class ProjectList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocationList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocationList.java index 0e9e24f544b..ea0d12ca78f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocationList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RangeAllocationList.java @@ -79,6 +79,7 @@ public class RangeAllocationList implements KubernetesResource, KubernetesResour @JsonProperty("apiVersion") private String apiVersion = "security.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReviewResponse.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReviewResponse.java index 9b8c5fc7bfa..92f020ee0c8 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReviewResponse.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ResourceAccessReviewResponse.java @@ -82,6 +82,7 @@ public class ResourceAccessReviewResponse implements KubernetesResource @JsonProperty("evalutionError") private String evalutionError; @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); /** * @@ -93,6 +94,7 @@ public class ResourceAccessReviewResponse implements KubernetesResource @JsonProperty("namespace") private String namespace; @JsonProperty("users") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List users = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Role.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Role.java index 279d70e39d4..95f0ed348b6 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Role.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Role.java @@ -86,6 +86,7 @@ public class Role implements HasMetadata, Namespaced @JsonProperty("metadata") private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBinding.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBinding.java index 824ca3b1f35..ca818eaefb2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBinding.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBinding.java @@ -79,6 +79,7 @@ public class RoleBinding implements HasMetadata, Namespaced @JsonProperty("apiVersion") private String apiVersion = "authorization.openshift.io/v1"; @JsonProperty("groupNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groupNames = new ArrayList(); /** * @@ -92,8 +93,10 @@ public class RoleBinding implements HasMetadata, Namespaced @JsonProperty("roleRef") private io.fabric8.kubernetes.api.model.ObjectReference roleRef; @JsonProperty("subjects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List subjects = new ArrayList(); @JsonProperty("userNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List userNames = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingList.java index a5244f9eef3..d90dd4c22d4 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingList.java @@ -79,6 +79,7 @@ public class RoleBindingList implements KubernetesResource, KubernetesResourceLi @JsonProperty("apiVersion") private String apiVersion = "authorization.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionList.java index 327d1787dd5..398023ed8b7 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleBindingRestrictionList.java @@ -79,6 +79,7 @@ public class RoleBindingRestrictionList implements KubernetesResource, Kubernete @JsonProperty("apiVersion") private String apiVersion = "authorization.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleList.java index cd43cc2f550..ae781133fa2 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RoleList.java @@ -79,6 +79,7 @@ public class RoleList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteList.java index 0dd21d59c5e..246e76e1c38 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/RouteList.java @@ -79,6 +79,7 @@ public class RouteList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraints.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraints.java index d10f9d4f58d..7449dfbcfb3 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraints.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraints.java @@ -106,6 +106,7 @@ public class SecurityContextConstraints implements HasMetadata @JsonProperty("allowPrivilegedContainer") private Boolean allowPrivilegedContainer; @JsonProperty("allowedCapabilities") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List allowedCapabilities = new ArrayList(); @JsonProperty("allowedFlexVolumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) @@ -121,6 +122,7 @@ public class SecurityContextConstraints implements HasMetadata @JsonProperty("apiVersion") private String apiVersion = "security.openshift.io/v1"; @JsonProperty("defaultAddCapabilities") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List defaultAddCapabilities = new ArrayList(); @JsonProperty("defaultAllowPrivilegeEscalation") private Boolean defaultAllowPrivilegeEscalation; @@ -130,6 +132,7 @@ public class SecurityContextConstraints implements HasMetadata @JsonProperty("fsGroup") private FSGroupStrategyOptions fsGroup; @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); /** * @@ -145,6 +148,7 @@ public class SecurityContextConstraints implements HasMetadata @JsonProperty("readOnlyRootFilesystem") private Boolean readOnlyRootFilesystem; @JsonProperty("requiredDropCapabilities") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List requiredDropCapabilities = new ArrayList(); @JsonProperty("runAsUser") private RunAsUserStrategyOptions runAsUser; @@ -156,8 +160,10 @@ public class SecurityContextConstraints implements HasMetadata @JsonProperty("supplementalGroups") private SupplementalGroupsStrategyOptions supplementalGroups; @JsonProperty("users") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List users = new ArrayList(); @JsonProperty("volumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List volumes = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraintsList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraintsList.java index 2370e537e66..23b525a6130 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraintsList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SecurityContextConstraintsList.java @@ -79,6 +79,7 @@ public class SecurityContextConstraintsList implements KubernetesResource, Kuber @JsonProperty("apiVersion") private String apiVersion = "security.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReviewSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReviewSpec.java index 80f69888e98..70aced578f9 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReviewSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SelfSubjectRulesReviewSpec.java @@ -61,6 +61,7 @@ public class SelfSubjectRulesReviewSpec implements KubernetesResource { @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List scopes = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountRestriction.java index 5020d585c32..207b97e34ee 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/ServiceAccountRestriction.java @@ -62,8 +62,10 @@ public class ServiceAccountRestriction implements KubernetesResource { @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List namespaces = new ArrayList(); @JsonProperty("serviceaccounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List serviceaccounts = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReview.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReview.java index abf365f91da..cdc99e47205 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReview.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectAccessReview.java @@ -94,6 +94,7 @@ public class SubjectAccessReview implements KubernetesResource @JsonProperty("content") private KubernetesResource content; @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); @JsonProperty("isNonResourceURL") private Boolean isNonResourceURL; @@ -117,6 +118,7 @@ public class SubjectAccessReview implements KubernetesResource @JsonProperty("resourceName") private String resourceName; @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List scopes = new ArrayList(); @JsonProperty("user") private String user; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewSpec.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewSpec.java index 06c518acbb2..eea718cc828 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewSpec.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewSpec.java @@ -63,8 +63,10 @@ public class SubjectRulesReviewSpec implements KubernetesResource { @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List scopes = new ArrayList(); @JsonProperty("user") private String user; diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewStatus.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewStatus.java index b23708c54eb..fc4833d75ab 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewStatus.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/SubjectRulesReviewStatus.java @@ -64,6 +64,7 @@ public class SubjectRulesReviewStatus implements KubernetesResource @JsonProperty("evaluationError") private String evaluationError; @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Template.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Template.java index c53ce425a18..8999f6b47b3 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Template.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/Template.java @@ -98,6 +98,7 @@ public class Template implements HasMetadata, Namespaced @JsonProperty("metadata") private io.fabric8.kubernetes.api.model.ObjectMeta metadata; @JsonProperty("objects") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List objects = new ArrayList(); @JsonProperty("parameters") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceList.java index c3bd7aa24d1..d7adfadad26 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateInstanceList.java @@ -79,6 +79,7 @@ public class TemplateInstanceList implements KubernetesResource, KubernetesResou @JsonProperty("apiVersion") private String apiVersion = "template.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateList.java index fe3c463df22..cde7e6f9b98 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/TemplateList.java @@ -79,6 +79,7 @@ public class TemplateList implements KubernetesResource, KubernetesResourceList< @JsonProperty("apiVersion") private String apiVersion = "template.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/User.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/User.java index 2154494bdac..d1ba700f4c1 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/User.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/User.java @@ -80,6 +80,7 @@ public class User implements HasMetadata @JsonProperty("fullName") private String fullName; @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); @JsonProperty("identities") @JsonInclude(JsonInclude.Include.NON_EMPTY) diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserList.java index 6b001f93686..cd76ffc05a4 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserList.java @@ -79,6 +79,7 @@ public class UserList implements KubernetesResource, KubernetesResourceList items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessTokenList.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessTokenList.java index c7a977da9ec..b16818282cc 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessTokenList.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserOAuthAccessTokenList.java @@ -79,6 +79,7 @@ public class UserOAuthAccessTokenList implements KubernetesResource, KubernetesR @JsonProperty("apiVersion") private String apiVersion = "oauth.openshift.io/v1"; @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); /** * diff --git a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserRestriction.java b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserRestriction.java index df7fde5bc50..2b19bab818f 100644 --- a/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserRestriction.java +++ b/kubernetes-model-generator/openshift-model/src/generated/java/io/fabric8/openshift/api/model/UserRestriction.java @@ -62,10 +62,13 @@ public class UserRestriction implements KubernetesResource { @JsonProperty("groups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List groups = new ArrayList(); @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List labels = new ArrayList(); @JsonProperty("users") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List users = new ArrayList(); @JsonIgnore private Map additionalProperties = new LinkedHashMap();