From 0ff2bf5352b1c52837bdb2460c69a0e2cf77dd6f Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 4 Dec 2020 11:48:58 +0000 Subject: [PATCH] Switch to JDK date time library Signed-off-by: Dave Syer --- .gitignore | 1 + .../V1alpha2IssuerStatusConditions.java | 10 +- .../V1beta1CertificateRequestStatus.java | 10 +- ...ta1CertificateRequestStatusConditions.java | 10 +- .../models/V1beta1CertificateStatus.java | 34 +++--- .../V1beta1CertificateStatusConditions.java | 10 +- .../manager/models/V1beta1OrderStatus.java | 10 +- ...geVolumeClaimTemplateStatusConditions.java | 18 +-- .../client/examples/ProtoExample.java | 3 +- .../client/examples/ProtoExample.java | 3 +- .../event/legacy/EventAggregator.java | 7 +- .../extended/event/legacy/EventLogger.java | 13 ++- .../extended/event/legacy/EventUtils.java | 8 +- ...ObjectReferenceResolvingEventRecorder.java | 19 +-- .../resourcelock/LeaseLock.java | 14 ++- .../extended/event/EventCorrelatorTest.java | 34 +++--- kubernetes/docs/CoreV1Event.md | 6 +- kubernetes/docs/CoreV1EventSeries.md | 2 +- kubernetes/docs/EventsV1Event.md | 6 +- kubernetes/docs/EventsV1EventSeries.md | 2 +- kubernetes/docs/V1APIServiceCondition.md | 2 +- .../V1CertificateSigningRequestCondition.md | 4 +- kubernetes/docs/V1ContainerStateRunning.md | 2 +- kubernetes/docs/V1ContainerStateTerminated.md | 4 +- .../V1CustomResourceDefinitionCondition.md | 2 +- kubernetes/docs/V1DaemonSetCondition.md | 2 +- kubernetes/docs/V1DeploymentCondition.md | 4 +- .../docs/V1HorizontalPodAutoscalerStatus.md | 2 +- kubernetes/docs/V1JobCondition.md | 4 +- kubernetes/docs/V1JobStatus.md | 4 +- kubernetes/docs/V1LeaseSpec.md | 4 +- kubernetes/docs/V1ManagedFieldsEntry.md | 2 +- kubernetes/docs/V1NamespaceCondition.md | 2 +- kubernetes/docs/V1NodeCondition.md | 4 +- kubernetes/docs/V1ObjectMeta.md | 4 +- .../docs/V1PersistentVolumeClaimCondition.md | 4 +- kubernetes/docs/V1PodCondition.md | 4 +- kubernetes/docs/V1PodStatus.md | 2 +- kubernetes/docs/V1ReplicaSetCondition.md | 2 +- .../docs/V1ReplicationControllerCondition.md | 2 +- kubernetes/docs/V1StatefulSetCondition.md | 2 +- kubernetes/docs/V1Taint.md | 2 +- kubernetes/docs/V1TokenRequestStatus.md | 2 +- kubernetes/docs/V1VolumeError.md | 2 +- .../docs/V1alpha1FlowSchemaCondition.md | 2 +- ...pha1PriorityLevelConfigurationCondition.md | 2 +- kubernetes/docs/V1alpha1VolumeError.md | 2 +- kubernetes/docs/V1beta1APIServiceCondition.md | 2 +- ...beta1CertificateSigningRequestCondition.md | 4 +- kubernetes/docs/V1beta1CronJobStatus.md | 2 +- ...1beta1CustomResourceDefinitionCondition.md | 2 +- kubernetes/docs/V1beta1Event.md | 6 +- kubernetes/docs/V1beta1EventSeries.md | 2 +- kubernetes/docs/V1beta1LeaseSpec.md | 4 +- .../docs/V1beta1PodDisruptionBudgetStatus.md | 2 +- kubernetes/docs/V1beta1VolumeError.md | 2 +- kubernetes/docs/V2alpha1CronJobStatus.md | 2 +- ...V2beta1HorizontalPodAutoscalerCondition.md | 2 +- .../V2beta1HorizontalPodAutoscalerStatus.md | 2 +- ...V2beta2HorizontalPodAutoscalerCondition.md | 2 +- .../V2beta2HorizontalPodAutoscalerStatus.md | 2 +- kubernetes/pom.xml | 8 -- .../kubernetes/client/openapi/ApiClient.java | 14 ++- .../client/openapi/ApiException.java | 2 +- .../client/openapi/Configuration.java | 2 +- .../io/kubernetes/client/openapi/JSON.java | 110 +++++++++--------- .../io/kubernetes/client/openapi/Pair.java | 2 +- .../kubernetes/client/openapi/StringUtil.java | 2 +- .../client/openapi/auth/ApiKeyAuth.java | 2 +- .../client/openapi/auth/HttpBearerAuth.java | 2 +- ...missionregistrationV1ServiceReference.java | 2 +- ...sionregistrationV1WebhookClientConfig.java | 2 +- ...onregistrationV1beta1ServiceReference.java | 2 +- ...egistrationV1beta1WebhookClientConfig.java | 2 +- .../ApiextensionsV1ServiceReference.java | 2 +- .../ApiextensionsV1WebhookClientConfig.java | 2 +- .../ApiextensionsV1beta1ServiceReference.java | 2 +- ...iextensionsV1beta1WebhookClientConfig.java | 2 +- .../ApiregistrationV1ServiceReference.java | 2 +- ...piregistrationV1beta1ServiceReference.java | 2 +- .../client/openapi/models/CoreV1Event.java | 28 ++--- .../openapi/models/CoreV1EventList.java | 4 +- .../openapi/models/CoreV1EventSeries.java | 12 +- .../client/openapi/models/EventsV1Event.java | 28 ++--- .../openapi/models/EventsV1EventList.java | 4 +- .../openapi/models/EventsV1EventSeries.java | 12 +- .../ExtensionsV1beta1HTTPIngressPath.java | 2 +- ...ExtensionsV1beta1HTTPIngressRuleValue.java | 5 +- .../models/ExtensionsV1beta1Ingress.java | 2 +- .../ExtensionsV1beta1IngressBackend.java | 2 +- .../models/ExtensionsV1beta1IngressList.java | 4 +- .../models/ExtensionsV1beta1IngressRule.java | 2 +- .../models/ExtensionsV1beta1IngressSpec.java | 6 +- .../ExtensionsV1beta1IngressStatus.java | 2 +- .../models/ExtensionsV1beta1IngressTLS.java | 4 +- .../models/FlowcontrolV1alpha1Subject.java | 2 +- .../NetworkingV1beta1HTTPIngressPath.java | 2 +- ...NetworkingV1beta1HTTPIngressRuleValue.java | 5 +- .../models/NetworkingV1beta1Ingress.java | 2 +- .../NetworkingV1beta1IngressBackend.java | 2 +- .../models/NetworkingV1beta1IngressList.java | 4 +- .../models/NetworkingV1beta1IngressRule.java | 2 +- .../models/NetworkingV1beta1IngressSpec.java | 6 +- .../NetworkingV1beta1IngressStatus.java | 2 +- .../models/NetworkingV1beta1IngressTLS.java | 4 +- .../openapi/models/RbacV1alpha1Subject.java | 2 +- .../client/openapi/models/V1APIGroup.java | 6 +- .../client/openapi/models/V1APIGroupList.java | 4 +- .../client/openapi/models/V1APIResource.java | 8 +- .../openapi/models/V1APIResourceList.java | 4 +- .../client/openapi/models/V1APIService.java | 2 +- .../openapi/models/V1APIServiceCondition.java | 12 +- .../openapi/models/V1APIServiceList.java | 4 +- .../openapi/models/V1APIServiceSpec.java | 2 +- .../openapi/models/V1APIServiceStatus.java | 4 +- .../client/openapi/models/V1APIVersions.java | 7 +- .../V1AWSElasticBlockStoreVolumeSource.java | 2 +- .../client/openapi/models/V1Affinity.java | 2 +- .../openapi/models/V1AggregationRule.java | 4 +- .../openapi/models/V1AttachedVolume.java | 2 +- .../models/V1AzureDiskVolumeSource.java | 2 +- .../V1AzureFilePersistentVolumeSource.java | 2 +- .../models/V1AzureFileVolumeSource.java | 2 +- .../client/openapi/models/V1Binding.java | 2 +- .../models/V1BoundObjectReference.java | 2 +- .../client/openapi/models/V1CSIDriver.java | 2 +- .../openapi/models/V1CSIDriverList.java | 4 +- .../openapi/models/V1CSIDriverSpec.java | 4 +- .../client/openapi/models/V1CSINode.java | 2 +- .../openapi/models/V1CSINodeDriver.java | 4 +- .../client/openapi/models/V1CSINodeList.java | 4 +- .../client/openapi/models/V1CSINodeSpec.java | 4 +- .../models/V1CSIPersistentVolumeSource.java | 4 +- .../openapi/models/V1CSIVolumeSource.java | 4 +- .../client/openapi/models/V1Capabilities.java | 6 +- .../V1CephFSPersistentVolumeSource.java | 4 +- .../openapi/models/V1CephFSVolumeSource.java | 4 +- .../models/V1CertificateSigningRequest.java | 2 +- .../V1CertificateSigningRequestCondition.java | 21 ++-- .../V1CertificateSigningRequestList.java | 4 +- .../V1CertificateSigningRequestSpec.java | 8 +- .../V1CertificateSigningRequestStatus.java | 4 +- .../V1CinderPersistentVolumeSource.java | 2 +- .../openapi/models/V1CinderVolumeSource.java | 2 +- .../openapi/models/V1ClientIPConfig.java | 2 +- .../client/openapi/models/V1ClusterRole.java | 4 +- .../openapi/models/V1ClusterRoleBinding.java | 4 +- .../models/V1ClusterRoleBindingList.java | 4 +- .../openapi/models/V1ClusterRoleList.java | 4 +- .../openapi/models/V1ComponentCondition.java | 2 +- .../openapi/models/V1ComponentStatus.java | 4 +- .../openapi/models/V1ComponentStatusList.java | 4 +- .../client/openapi/models/V1ConfigMap.java | 6 +- .../openapi/models/V1ConfigMapEnvSource.java | 2 +- .../models/V1ConfigMapKeySelector.java | 2 +- .../openapi/models/V1ConfigMapList.java | 4 +- .../models/V1ConfigMapNodeConfigSource.java | 2 +- .../openapi/models/V1ConfigMapProjection.java | 4 +- .../models/V1ConfigMapVolumeSource.java | 4 +- .../client/openapi/models/V1Container.java | 16 +-- .../openapi/models/V1ContainerImage.java | 4 +- .../openapi/models/V1ContainerPort.java | 2 +- .../openapi/models/V1ContainerState.java | 2 +- .../models/V1ContainerStateRunning.java | 12 +- .../models/V1ContainerStateTerminated.java | 20 ++-- .../models/V1ContainerStateWaiting.java | 2 +- .../openapi/models/V1ContainerStatus.java | 2 +- .../openapi/models/V1ControllerRevision.java | 2 +- .../models/V1ControllerRevisionList.java | 4 +- .../models/V1CrossVersionObjectReference.java | 2 +- .../V1CustomResourceColumnDefinition.java | 2 +- .../models/V1CustomResourceConversion.java | 2 +- .../models/V1CustomResourceDefinition.java | 2 +- .../V1CustomResourceDefinitionCondition.java | 12 +- .../V1CustomResourceDefinitionList.java | 4 +- .../V1CustomResourceDefinitionNames.java | 6 +- .../V1CustomResourceDefinitionSpec.java | 5 +- .../V1CustomResourceDefinitionStatus.java | 6 +- .../V1CustomResourceDefinitionVersion.java | 4 +- .../V1CustomResourceSubresourceScale.java | 2 +- .../models/V1CustomResourceSubresources.java | 2 +- .../models/V1CustomResourceValidation.java | 2 +- .../openapi/models/V1DaemonEndpoint.java | 2 +- .../client/openapi/models/V1DaemonSet.java | 2 +- .../openapi/models/V1DaemonSetCondition.java | 12 +- .../openapi/models/V1DaemonSetList.java | 4 +- .../openapi/models/V1DaemonSetSpec.java | 2 +- .../openapi/models/V1DaemonSetStatus.java | 4 +- .../models/V1DaemonSetUpdateStrategy.java | 2 +- .../openapi/models/V1DeleteOptions.java | 4 +- .../client/openapi/models/V1Deployment.java | 2 +- .../openapi/models/V1DeploymentCondition.java | 20 ++-- .../openapi/models/V1DeploymentList.java | 4 +- .../openapi/models/V1DeploymentSpec.java | 2 +- .../openapi/models/V1DeploymentStatus.java | 4 +- .../openapi/models/V1DeploymentStrategy.java | 2 +- .../models/V1DownwardAPIProjection.java | 4 +- .../models/V1DownwardAPIVolumeFile.java | 2 +- .../models/V1DownwardAPIVolumeSource.java | 4 +- .../models/V1EmptyDirVolumeSource.java | 2 +- .../openapi/models/V1EndpointAddress.java | 2 +- .../client/openapi/models/V1EndpointPort.java | 2 +- .../openapi/models/V1EndpointSubset.java | 8 +- .../client/openapi/models/V1Endpoints.java | 4 +- .../openapi/models/V1EndpointsList.java | 4 +- .../openapi/models/V1EnvFromSource.java | 2 +- .../client/openapi/models/V1EnvVar.java | 2 +- .../client/openapi/models/V1EnvVarSource.java | 2 +- .../openapi/models/V1EphemeralContainer.java | 16 +-- .../models/V1EphemeralVolumeSource.java | 2 +- .../client/openapi/models/V1EventSource.java | 2 +- .../client/openapi/models/V1ExecAction.java | 4 +- .../models/V1ExternalDocumentation.java | 2 +- .../openapi/models/V1FCVolumeSource.java | 6 +- .../models/V1FlexPersistentVolumeSource.java | 4 +- .../openapi/models/V1FlexVolumeSource.java | 4 +- .../openapi/models/V1FlockerVolumeSource.java | 2 +- .../V1GCEPersistentDiskVolumeSource.java | 2 +- .../openapi/models/V1GitRepoVolumeSource.java | 2 +- .../V1GlusterfsPersistentVolumeSource.java | 2 +- .../models/V1GlusterfsVolumeSource.java | 2 +- .../models/V1GroupVersionForDiscovery.java | 2 +- .../openapi/models/V1HTTPGetAction.java | 4 +- .../client/openapi/models/V1HTTPHeader.java | 2 +- .../openapi/models/V1HTTPIngressPath.java | 2 +- .../models/V1HTTPIngressRuleValue.java | 4 +- .../client/openapi/models/V1Handler.java | 2 +- .../models/V1HorizontalPodAutoscaler.java | 2 +- .../models/V1HorizontalPodAutoscalerList.java | 4 +- .../models/V1HorizontalPodAutoscalerSpec.java | 2 +- .../V1HorizontalPodAutoscalerStatus.java | 12 +- .../client/openapi/models/V1HostAlias.java | 4 +- .../models/V1HostPathVolumeSource.java | 2 +- .../client/openapi/models/V1IPBlock.java | 4 +- .../models/V1ISCSIPersistentVolumeSource.java | 4 +- .../openapi/models/V1ISCSIVolumeSource.java | 4 +- .../client/openapi/models/V1Ingress.java | 2 +- .../openapi/models/V1IngressBackend.java | 2 +- .../client/openapi/models/V1IngressClass.java | 2 +- .../openapi/models/V1IngressClassList.java | 4 +- .../openapi/models/V1IngressClassSpec.java | 2 +- .../client/openapi/models/V1IngressList.java | 4 +- .../client/openapi/models/V1IngressRule.java | 2 +- .../models/V1IngressServiceBackend.java | 2 +- .../client/openapi/models/V1IngressSpec.java | 6 +- .../openapi/models/V1IngressStatus.java | 2 +- .../client/openapi/models/V1IngressTLS.java | 4 +- .../openapi/models/V1JSONSchemaProps.java | 22 ++-- .../client/openapi/models/V1Job.java | 2 +- .../client/openapi/models/V1JobCondition.java | 20 ++-- .../client/openapi/models/V1JobList.java | 4 +- .../client/openapi/models/V1JobSpec.java | 2 +- .../client/openapi/models/V1JobStatus.java | 22 ++-- .../client/openapi/models/V1KeyToPath.java | 2 +- .../openapi/models/V1LabelSelector.java | 6 +- .../models/V1LabelSelectorRequirement.java | 4 +- .../client/openapi/models/V1Lease.java | 2 +- .../client/openapi/models/V1LeaseList.java | 4 +- .../client/openapi/models/V1LeaseSpec.java | 20 ++-- .../client/openapi/models/V1Lifecycle.java | 2 +- .../client/openapi/models/V1LimitRange.java | 2 +- .../openapi/models/V1LimitRangeItem.java | 12 +- .../openapi/models/V1LimitRangeList.java | 4 +- .../openapi/models/V1LimitRangeSpec.java | 4 +- .../client/openapi/models/V1ListMeta.java | 2 +- .../openapi/models/V1LoadBalancerIngress.java | 2 +- .../openapi/models/V1LoadBalancerStatus.java | 4 +- .../models/V1LocalObjectReference.java | 2 +- .../models/V1LocalSubjectAccessReview.java | 2 +- .../openapi/models/V1LocalVolumeSource.java | 2 +- .../openapi/models/V1ManagedFieldsEntry.java | 12 +- .../openapi/models/V1MutatingWebhook.java | 6 +- .../V1MutatingWebhookConfiguration.java | 4 +- .../V1MutatingWebhookConfigurationList.java | 5 +- .../openapi/models/V1NFSVolumeSource.java | 2 +- .../client/openapi/models/V1Namespace.java | 2 +- .../openapi/models/V1NamespaceCondition.java | 12 +- .../openapi/models/V1NamespaceList.java | 4 +- .../openapi/models/V1NamespaceSpec.java | 4 +- .../openapi/models/V1NamespaceStatus.java | 4 +- .../openapi/models/V1NetworkPolicy.java | 2 +- .../models/V1NetworkPolicyEgressRule.java | 6 +- .../models/V1NetworkPolicyIngressRule.java | 6 +- .../openapi/models/V1NetworkPolicyList.java | 4 +- .../openapi/models/V1NetworkPolicyPeer.java | 2 +- .../openapi/models/V1NetworkPolicyPort.java | 2 +- .../openapi/models/V1NetworkPolicySpec.java | 8 +- .../client/openapi/models/V1Node.java | 2 +- .../client/openapi/models/V1NodeAddress.java | 2 +- .../client/openapi/models/V1NodeAffinity.java | 5 +- .../openapi/models/V1NodeCondition.java | 20 ++-- .../openapi/models/V1NodeConfigSource.java | 2 +- .../openapi/models/V1NodeConfigStatus.java | 2 +- .../openapi/models/V1NodeDaemonEndpoints.java | 2 +- .../client/openapi/models/V1NodeList.java | 4 +- .../client/openapi/models/V1NodeSelector.java | 4 +- .../models/V1NodeSelectorRequirement.java | 4 +- .../openapi/models/V1NodeSelectorTerm.java | 6 +- .../client/openapi/models/V1NodeSpec.java | 6 +- .../client/openapi/models/V1NodeStatus.java | 16 +-- .../openapi/models/V1NodeSystemInfo.java | 2 +- .../models/V1NonResourceAttributes.java | 2 +- .../openapi/models/V1NonResourceRule.java | 6 +- .../openapi/models/V1ObjectFieldSelector.java | 2 +- .../client/openapi/models/V1ObjectMeta.java | 30 ++--- .../openapi/models/V1ObjectReference.java | 2 +- .../openapi/models/V1OwnerReference.java | 2 +- .../openapi/models/V1PersistentVolume.java | 2 +- .../models/V1PersistentVolumeClaim.java | 2 +- .../V1PersistentVolumeClaimCondition.java | 20 ++-- .../models/V1PersistentVolumeClaimList.java | 4 +- .../models/V1PersistentVolumeClaimSpec.java | 4 +- .../models/V1PersistentVolumeClaimStatus.java | 8 +- .../V1PersistentVolumeClaimTemplate.java | 2 +- .../V1PersistentVolumeClaimVolumeSource.java | 2 +- .../models/V1PersistentVolumeList.java | 4 +- .../models/V1PersistentVolumeSpec.java | 8 +- .../models/V1PersistentVolumeStatus.java | 2 +- .../V1PhotonPersistentDiskVolumeSource.java | 2 +- .../client/openapi/models/V1Pod.java | 2 +- .../client/openapi/models/V1PodAffinity.java | 7 +- .../openapi/models/V1PodAffinityTerm.java | 4 +- .../openapi/models/V1PodAntiAffinity.java | 7 +- .../client/openapi/models/V1PodCondition.java | 20 ++-- .../client/openapi/models/V1PodDNSConfig.java | 8 +- .../openapi/models/V1PodDNSConfigOption.java | 2 +- .../client/openapi/models/V1PodIP.java | 2 +- .../client/openapi/models/V1PodList.java | 4 +- .../openapi/models/V1PodReadinessGate.java | 2 +- .../openapi/models/V1PodSecurityContext.java | 6 +- .../client/openapi/models/V1PodSpec.java | 24 ++-- .../client/openapi/models/V1PodStatus.java | 22 ++-- .../client/openapi/models/V1PodTemplate.java | 2 +- .../openapi/models/V1PodTemplateList.java | 4 +- .../openapi/models/V1PodTemplateSpec.java | 2 +- .../client/openapi/models/V1PolicyRule.java | 12 +- .../models/V1PortworxVolumeSource.java | 2 +- .../openapi/models/V1Preconditions.java | 2 +- .../models/V1PreferredSchedulingTerm.java | 2 +- .../openapi/models/V1PriorityClass.java | 2 +- .../openapi/models/V1PriorityClassList.java | 4 +- .../client/openapi/models/V1Probe.java | 2 +- .../models/V1ProjectedVolumeSource.java | 4 +- .../openapi/models/V1QuobyteVolumeSource.java | 2 +- .../models/V1RBDPersistentVolumeSource.java | 4 +- .../openapi/models/V1RBDVolumeSource.java | 4 +- .../client/openapi/models/V1ReplicaSet.java | 2 +- .../openapi/models/V1ReplicaSetCondition.java | 12 +- .../openapi/models/V1ReplicaSetList.java | 4 +- .../openapi/models/V1ReplicaSetSpec.java | 2 +- .../openapi/models/V1ReplicaSetStatus.java | 4 +- .../models/V1ReplicationController.java | 2 +- .../V1ReplicationControllerCondition.java | 12 +- .../models/V1ReplicationControllerList.java | 4 +- .../models/V1ReplicationControllerSpec.java | 4 +- .../models/V1ReplicationControllerStatus.java | 4 +- .../openapi/models/V1ResourceAttributes.java | 2 +- .../models/V1ResourceFieldSelector.java | 2 +- .../openapi/models/V1ResourceQuota.java | 2 +- .../openapi/models/V1ResourceQuotaList.java | 4 +- .../openapi/models/V1ResourceQuotaSpec.java | 6 +- .../openapi/models/V1ResourceQuotaStatus.java | 6 +- .../models/V1ResourceRequirements.java | 6 +- .../client/openapi/models/V1ResourceRule.java | 10 +- .../client/openapi/models/V1Role.java | 4 +- .../client/openapi/models/V1RoleBinding.java | 4 +- .../openapi/models/V1RoleBindingList.java | 4 +- .../client/openapi/models/V1RoleList.java | 4 +- .../client/openapi/models/V1RoleRef.java | 2 +- .../models/V1RollingUpdateDaemonSet.java | 2 +- .../models/V1RollingUpdateDeployment.java | 2 +- .../V1RollingUpdateStatefulSetStrategy.java | 2 +- .../openapi/models/V1RuleWithOperations.java | 10 +- .../openapi/models/V1SELinuxOptions.java | 2 +- .../client/openapi/models/V1Scale.java | 2 +- .../V1ScaleIOPersistentVolumeSource.java | 2 +- .../openapi/models/V1ScaleIOVolumeSource.java | 2 +- .../client/openapi/models/V1ScaleSpec.java | 2 +- .../client/openapi/models/V1ScaleStatus.java | 2 +- .../openapi/models/V1ScopeSelector.java | 4 +- .../V1ScopedResourceSelectorRequirement.java | 4 +- .../openapi/models/V1SeccompProfile.java | 2 +- .../client/openapi/models/V1Secret.java | 6 +- .../openapi/models/V1SecretEnvSource.java | 2 +- .../openapi/models/V1SecretKeySelector.java | 2 +- .../client/openapi/models/V1SecretList.java | 4 +- .../openapi/models/V1SecretProjection.java | 4 +- .../openapi/models/V1SecretReference.java | 2 +- .../openapi/models/V1SecretVolumeSource.java | 4 +- .../openapi/models/V1SecurityContext.java | 2 +- .../models/V1SelfSubjectAccessReview.java | 2 +- .../models/V1SelfSubjectAccessReviewSpec.java | 2 +- .../models/V1SelfSubjectRulesReview.java | 2 +- .../models/V1SelfSubjectRulesReviewSpec.java | 2 +- .../models/V1ServerAddressByClientCIDR.java | 2 +- .../client/openapi/models/V1Service.java | 2 +- .../openapi/models/V1ServiceAccount.java | 6 +- .../openapi/models/V1ServiceAccountList.java | 4 +- .../V1ServiceAccountTokenProjection.java | 2 +- .../openapi/models/V1ServiceBackendPort.java | 2 +- .../client/openapi/models/V1ServiceList.java | 4 +- .../client/openapi/models/V1ServicePort.java | 2 +- .../client/openapi/models/V1ServiceSpec.java | 12 +- .../openapi/models/V1ServiceStatus.java | 2 +- .../models/V1SessionAffinityConfig.java | 2 +- .../client/openapi/models/V1StatefulSet.java | 2 +- .../models/V1StatefulSetCondition.java | 12 +- .../openapi/models/V1StatefulSetList.java | 4 +- .../openapi/models/V1StatefulSetSpec.java | 4 +- .../openapi/models/V1StatefulSetStatus.java | 4 +- .../models/V1StatefulSetUpdateStrategy.java | 2 +- .../client/openapi/models/V1Status.java | 2 +- .../client/openapi/models/V1StatusCause.java | 2 +- .../openapi/models/V1StatusDetails.java | 4 +- .../client/openapi/models/V1StorageClass.java | 8 +- .../openapi/models/V1StorageClassList.java | 4 +- .../V1StorageOSPersistentVolumeSource.java | 2 +- .../models/V1StorageOSVolumeSource.java | 2 +- .../client/openapi/models/V1Subject.java | 2 +- .../openapi/models/V1SubjectAccessReview.java | 2 +- .../models/V1SubjectAccessReviewSpec.java | 6 +- .../models/V1SubjectAccessReviewStatus.java | 2 +- .../models/V1SubjectRulesReviewStatus.java | 6 +- .../client/openapi/models/V1Sysctl.java | 2 +- .../openapi/models/V1TCPSocketAction.java | 2 +- .../client/openapi/models/V1Taint.java | 12 +- .../client/openapi/models/V1TokenRequest.java | 2 +- .../openapi/models/V1TokenRequestSpec.java | 4 +- .../openapi/models/V1TokenRequestStatus.java | 12 +- .../client/openapi/models/V1TokenReview.java | 2 +- .../openapi/models/V1TokenReviewSpec.java | 4 +- .../openapi/models/V1TokenReviewStatus.java | 4 +- .../client/openapi/models/V1Toleration.java | 2 +- .../V1TopologySelectorLabelRequirement.java | 4 +- .../models/V1TopologySelectorTerm.java | 4 +- .../models/V1TopologySpreadConstraint.java | 2 +- .../models/V1TypedLocalObjectReference.java | 2 +- .../client/openapi/models/V1UserInfo.java | 6 +- .../openapi/models/V1ValidatingWebhook.java | 6 +- .../V1ValidatingWebhookConfiguration.java | 4 +- .../V1ValidatingWebhookConfigurationList.java | 5 +- .../client/openapi/models/V1Volume.java | 2 +- .../openapi/models/V1VolumeAttachment.java | 2 +- .../models/V1VolumeAttachmentList.java | 4 +- .../models/V1VolumeAttachmentSource.java | 2 +- .../models/V1VolumeAttachmentSpec.java | 2 +- .../models/V1VolumeAttachmentStatus.java | 4 +- .../client/openapi/models/V1VolumeDevice.java | 2 +- .../client/openapi/models/V1VolumeError.java | 12 +- .../client/openapi/models/V1VolumeMount.java | 2 +- .../openapi/models/V1VolumeNodeAffinity.java | 2 +- .../openapi/models/V1VolumeNodeResources.java | 2 +- .../openapi/models/V1VolumeProjection.java | 2 +- .../V1VsphereVirtualDiskVolumeSource.java | 2 +- .../client/openapi/models/V1WatchEvent.java | 2 +- .../openapi/models/V1WebhookConversion.java | 4 +- .../models/V1WeightedPodAffinityTerm.java | 2 +- .../V1WindowsSecurityContextOptions.java | 2 +- .../models/V1alpha1AggregationRule.java | 4 +- .../openapi/models/V1alpha1ClusterRole.java | 4 +- .../models/V1alpha1ClusterRoleBinding.java | 4 +- .../V1alpha1ClusterRoleBindingList.java | 4 +- .../models/V1alpha1ClusterRoleList.java | 4 +- .../V1alpha1FlowDistinguisherMethod.java | 2 +- .../openapi/models/V1alpha1FlowSchema.java | 2 +- .../models/V1alpha1FlowSchemaCondition.java | 12 +- .../models/V1alpha1FlowSchemaList.java | 4 +- .../models/V1alpha1FlowSchemaSpec.java | 4 +- .../models/V1alpha1FlowSchemaStatus.java | 4 +- .../openapi/models/V1alpha1GroupSubject.java | 2 +- .../openapi/models/V1alpha1LimitResponse.java | 2 +- ...pha1LimitedPriorityLevelConfiguration.java | 2 +- .../models/V1alpha1NonResourcePolicyRule.java | 6 +- .../openapi/models/V1alpha1Overhead.java | 4 +- .../openapi/models/V1alpha1PodPreset.java | 2 +- .../openapi/models/V1alpha1PodPresetList.java | 4 +- .../openapi/models/V1alpha1PodPresetSpec.java | 10 +- .../openapi/models/V1alpha1PolicyRule.java | 12 +- .../V1alpha1PolicyRulesWithSubjects.java | 8 +- .../openapi/models/V1alpha1PriorityClass.java | 2 +- .../models/V1alpha1PriorityClassList.java | 4 +- .../V1alpha1PriorityLevelConfiguration.java | 2 +- ...a1PriorityLevelConfigurationCondition.java | 12 +- ...1alpha1PriorityLevelConfigurationList.java | 5 +- ...a1PriorityLevelConfigurationReference.java | 2 +- ...1alpha1PriorityLevelConfigurationSpec.java | 2 +- ...lpha1PriorityLevelConfigurationStatus.java | 4 +- .../models/V1alpha1QueuingConfiguration.java | 2 +- .../models/V1alpha1ResourcePolicyRule.java | 10 +- .../client/openapi/models/V1alpha1Role.java | 4 +- .../openapi/models/V1alpha1RoleBinding.java | 4 +- .../models/V1alpha1RoleBindingList.java | 4 +- .../openapi/models/V1alpha1RoleList.java | 4 +- .../openapi/models/V1alpha1RoleRef.java | 2 +- .../openapi/models/V1alpha1RuntimeClass.java | 2 +- .../models/V1alpha1RuntimeClassList.java | 4 +- .../models/V1alpha1RuntimeClassSpec.java | 2 +- .../openapi/models/V1alpha1Scheduling.java | 6 +- .../models/V1alpha1ServiceAccountSubject.java | 2 +- .../openapi/models/V1alpha1UserSubject.java | 2 +- .../models/V1alpha1VolumeAttachment.java | 2 +- .../models/V1alpha1VolumeAttachmentList.java | 4 +- .../V1alpha1VolumeAttachmentSource.java | 2 +- .../models/V1alpha1VolumeAttachmentSpec.java | 2 +- .../V1alpha1VolumeAttachmentStatus.java | 4 +- .../openapi/models/V1alpha1VolumeError.java | 12 +- .../openapi/models/V1beta1APIService.java | 2 +- .../models/V1beta1APIServiceCondition.java | 12 +- .../openapi/models/V1beta1APIServiceList.java | 4 +- .../openapi/models/V1beta1APIServiceSpec.java | 2 +- .../models/V1beta1APIServiceStatus.java | 4 +- .../models/V1beta1AggregationRule.java | 4 +- .../models/V1beta1AllowedCSIDriver.java | 2 +- .../models/V1beta1AllowedFlexVolume.java | 2 +- .../models/V1beta1AllowedHostPath.java | 2 +- .../openapi/models/V1beta1CSIDriver.java | 2 +- .../openapi/models/V1beta1CSIDriverList.java | 4 +- .../openapi/models/V1beta1CSIDriverSpec.java | 4 +- .../client/openapi/models/V1beta1CSINode.java | 2 +- .../openapi/models/V1beta1CSINodeDriver.java | 4 +- .../openapi/models/V1beta1CSINodeList.java | 4 +- .../openapi/models/V1beta1CSINodeSpec.java | 4 +- .../V1beta1CertificateSigningRequest.java | 2 +- ...ta1CertificateSigningRequestCondition.java | 21 ++-- .../V1beta1CertificateSigningRequestList.java | 5 +- .../V1beta1CertificateSigningRequestSpec.java | 8 +- ...1beta1CertificateSigningRequestStatus.java | 4 +- .../openapi/models/V1beta1ClusterRole.java | 4 +- .../models/V1beta1ClusterRoleBinding.java | 4 +- .../models/V1beta1ClusterRoleBindingList.java | 4 +- .../models/V1beta1ClusterRoleList.java | 4 +- .../client/openapi/models/V1beta1CronJob.java | 2 +- .../openapi/models/V1beta1CronJobList.java | 4 +- .../openapi/models/V1beta1CronJobSpec.java | 2 +- .../openapi/models/V1beta1CronJobStatus.java | 14 +-- ...V1beta1CustomResourceColumnDefinition.java | 2 +- .../V1beta1CustomResourceConversion.java | 4 +- .../V1beta1CustomResourceDefinition.java | 2 +- ...eta1CustomResourceDefinitionCondition.java | 13 ++- .../V1beta1CustomResourceDefinitionList.java | 5 +- .../V1beta1CustomResourceDefinitionNames.java | 6 +- .../V1beta1CustomResourceDefinitionSpec.java | 6 +- ...V1beta1CustomResourceDefinitionStatus.java | 6 +- ...1beta1CustomResourceDefinitionVersion.java | 4 +- ...V1beta1CustomResourceSubresourceScale.java | 2 +- .../V1beta1CustomResourceSubresources.java | 2 +- .../V1beta1CustomResourceValidation.java | 2 +- .../openapi/models/V1beta1Endpoint.java | 6 +- .../models/V1beta1EndpointConditions.java | 2 +- .../openapi/models/V1beta1EndpointPort.java | 2 +- .../openapi/models/V1beta1EndpointSlice.java | 6 +- .../models/V1beta1EndpointSliceList.java | 4 +- .../client/openapi/models/V1beta1Event.java | 28 ++--- .../openapi/models/V1beta1EventList.java | 4 +- .../openapi/models/V1beta1EventSeries.java | 12 +- .../openapi/models/V1beta1Eviction.java | 2 +- .../models/V1beta1ExternalDocumentation.java | 2 +- .../models/V1beta1FSGroupStrategyOptions.java | 4 +- .../openapi/models/V1beta1HostPortRange.java | 2 +- .../client/openapi/models/V1beta1IDRange.java | 2 +- .../openapi/models/V1beta1IngressClass.java | 2 +- .../models/V1beta1IngressClassList.java | 4 +- .../models/V1beta1IngressClassSpec.java | 2 +- .../models/V1beta1JSONSchemaProps.java | 22 ++-- .../models/V1beta1JobTemplateSpec.java | 2 +- .../client/openapi/models/V1beta1Lease.java | 2 +- .../openapi/models/V1beta1LeaseList.java | 4 +- .../openapi/models/V1beta1LeaseSpec.java | 20 ++-- .../V1beta1LocalSubjectAccessReview.java | 2 +- .../models/V1beta1MutatingWebhook.java | 6 +- .../V1beta1MutatingWebhookConfiguration.java | 4 +- ...beta1MutatingWebhookConfigurationList.java | 5 +- .../models/V1beta1NonResourceAttributes.java | 2 +- .../models/V1beta1NonResourceRule.java | 6 +- .../openapi/models/V1beta1Overhead.java | 4 +- .../models/V1beta1PodDisruptionBudget.java | 2 +- .../V1beta1PodDisruptionBudgetList.java | 4 +- .../V1beta1PodDisruptionBudgetSpec.java | 2 +- .../V1beta1PodDisruptionBudgetStatus.java | 16 +-- .../models/V1beta1PodSecurityPolicy.java | 2 +- .../models/V1beta1PodSecurityPolicyList.java | 4 +- .../models/V1beta1PodSecurityPolicySpec.java | 24 ++-- .../openapi/models/V1beta1PolicyRule.java | 12 +- .../openapi/models/V1beta1PriorityClass.java | 2 +- .../models/V1beta1PriorityClassList.java | 4 +- .../models/V1beta1ResourceAttributes.java | 2 +- .../openapi/models/V1beta1ResourceRule.java | 10 +- .../client/openapi/models/V1beta1Role.java | 4 +- .../openapi/models/V1beta1RoleBinding.java | 4 +- .../models/V1beta1RoleBindingList.java | 4 +- .../openapi/models/V1beta1RoleList.java | 4 +- .../client/openapi/models/V1beta1RoleRef.java | 2 +- .../models/V1beta1RuleWithOperations.java | 10 +- .../V1beta1RunAsGroupStrategyOptions.java | 4 +- .../V1beta1RunAsUserStrategyOptions.java | 4 +- .../openapi/models/V1beta1RuntimeClass.java | 2 +- .../models/V1beta1RuntimeClassList.java | 4 +- .../V1beta1RuntimeClassStrategyOptions.java | 4 +- .../models/V1beta1SELinuxStrategyOptions.java | 2 +- .../openapi/models/V1beta1Scheduling.java | 6 +- .../V1beta1SelfSubjectAccessReview.java | 2 +- .../V1beta1SelfSubjectAccessReviewSpec.java | 2 +- .../models/V1beta1SelfSubjectRulesReview.java | 2 +- .../V1beta1SelfSubjectRulesReviewSpec.java | 2 +- .../openapi/models/V1beta1StorageClass.java | 8 +- .../models/V1beta1StorageClassList.java | 4 +- .../client/openapi/models/V1beta1Subject.java | 2 +- .../models/V1beta1SubjectAccessReview.java | 2 +- .../V1beta1SubjectAccessReviewSpec.java | 6 +- .../V1beta1SubjectAccessReviewStatus.java | 2 +- .../V1beta1SubjectRulesReviewStatus.java | 6 +- ...eta1SupplementalGroupsStrategyOptions.java | 4 +- .../openapi/models/V1beta1TokenReview.java | 2 +- .../models/V1beta1TokenReviewSpec.java | 4 +- .../models/V1beta1TokenReviewStatus.java | 4 +- .../openapi/models/V1beta1UserInfo.java | 6 +- .../models/V1beta1ValidatingWebhook.java | 6 +- ...V1beta1ValidatingWebhookConfiguration.java | 4 +- ...ta1ValidatingWebhookConfigurationList.java | 5 +- .../models/V1beta1VolumeAttachment.java | 2 +- .../models/V1beta1VolumeAttachmentList.java | 4 +- .../models/V1beta1VolumeAttachmentSource.java | 2 +- .../models/V1beta1VolumeAttachmentSpec.java | 2 +- .../models/V1beta1VolumeAttachmentStatus.java | 4 +- .../openapi/models/V1beta1VolumeError.java | 12 +- .../models/V1beta1VolumeNodeResources.java | 2 +- .../openapi/models/V2alpha1CronJob.java | 2 +- .../openapi/models/V2alpha1CronJobList.java | 4 +- .../openapi/models/V2alpha1CronJobSpec.java | 2 +- .../openapi/models/V2alpha1CronJobStatus.java | 14 +-- .../models/V2alpha1JobTemplateSpec.java | 2 +- .../V2beta1CrossVersionObjectReference.java | 2 +- .../models/V2beta1ExternalMetricSource.java | 2 +- .../models/V2beta1ExternalMetricStatus.java | 2 +- .../V2beta1HorizontalPodAutoscaler.java | 2 +- ...beta1HorizontalPodAutoscalerCondition.java | 13 ++- .../V2beta1HorizontalPodAutoscalerList.java | 5 +- .../V2beta1HorizontalPodAutoscalerSpec.java | 4 +- .../V2beta1HorizontalPodAutoscalerStatus.java | 17 ++- .../openapi/models/V2beta1MetricSpec.java | 2 +- .../openapi/models/V2beta1MetricStatus.java | 2 +- .../models/V2beta1ObjectMetricSource.java | 2 +- .../models/V2beta1ObjectMetricStatus.java | 2 +- .../models/V2beta1PodsMetricSource.java | 2 +- .../models/V2beta1PodsMetricStatus.java | 2 +- .../models/V2beta1ResourceMetricSource.java | 2 +- .../models/V2beta1ResourceMetricStatus.java | 2 +- .../V2beta2CrossVersionObjectReference.java | 2 +- .../models/V2beta2ExternalMetricSource.java | 2 +- .../models/V2beta2ExternalMetricStatus.java | 2 +- .../models/V2beta2HPAScalingPolicy.java | 2 +- .../models/V2beta2HPAScalingRules.java | 4 +- .../V2beta2HorizontalPodAutoscaler.java | 2 +- ...2beta2HorizontalPodAutoscalerBehavior.java | 2 +- ...beta2HorizontalPodAutoscalerCondition.java | 13 ++- .../V2beta2HorizontalPodAutoscalerList.java | 5 +- .../V2beta2HorizontalPodAutoscalerSpec.java | 4 +- .../V2beta2HorizontalPodAutoscalerStatus.java | 17 ++- .../models/V2beta2MetricIdentifier.java | 2 +- .../openapi/models/V2beta2MetricSpec.java | 2 +- .../openapi/models/V2beta2MetricStatus.java | 2 +- .../openapi/models/V2beta2MetricTarget.java | 2 +- .../models/V2beta2MetricValueStatus.java | 2 +- .../models/V2beta2ObjectMetricSource.java | 2 +- .../models/V2beta2ObjectMetricStatus.java | 2 +- .../models/V2beta2PodsMetricSource.java | 2 +- .../models/V2beta2PodsMetricStatus.java | 2 +- .../models/V2beta2ResourceMetricSource.java | 2 +- .../models/V2beta2ResourceMetricStatus.java | 2 +- .../client/openapi/models/VersionInfo.java | 2 +- pom.xml | 12 -- util/pom.xml | 1 - .../informer/SharedInformerFactory.java | 2 +- .../informer/cache/ProcessorListener.java | 15 ++- .../informer/cache/SharedProcessor.java | 4 +- .../io/kubernetes/client/util/CSRUtils.java | 28 +++-- .../java/io/kubernetes/client/util/Yaml.java | 9 +- .../io/kubernetes/client/util/YamlTest.java | 2 +- 678 files changed, 1617 insertions(+), 1625 deletions(-) diff --git a/.gitignore b/.gitignore index 95a6de1b5d..af329204b3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ .settings/ .project .vscode/ +.attach_pid* # Maven builds */target/ diff --git a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1alpha2IssuerStatusConditions.java b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1alpha2IssuerStatusConditions.java index 1c3148e6f8..d7a7000981 100644 --- a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1alpha2IssuerStatusConditions.java +++ b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1alpha2IssuerStatusConditions.java @@ -21,7 +21,7 @@ import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.Objects; -import org.joda.time.DateTime; +import java.time.OffsetDateTime; /** IssuerCondition contains condition information for an Issuer. */ @ApiModel(description = "IssuerCondition contains condition information for an Issuer.") @@ -32,7 +32,7 @@ public class V1alpha2IssuerStatusConditions { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -102,7 +102,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1alpha2IssuerStatusConditions lastTransitionTime(DateTime lastTransitionTime) { + public V1alpha2IssuerStatusConditions lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -117,11 +117,11 @@ public V1alpha2IssuerStatusConditions lastTransitionTime(DateTime lastTransition @ApiModelProperty( value = "LastTransitionTime is the timestamp corresponding to the last status change of this condition.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateRequestStatus.java b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateRequestStatus.java index ea143c94b4..87bbd5fc64 100644 --- a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateRequestStatus.java +++ b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateRequestStatus.java @@ -19,7 +19,7 @@ import java.util.Arrays; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; +import java.time.OffsetDateTime; /** Status of the CertificateRequest. This is set and managed automatically. */ @ApiModel(description = "Status of the CertificateRequest. This is set and managed automatically.") @@ -45,7 +45,7 @@ public class V1beta1CertificateRequestStatus { public static final String SERIALIZED_NAME_FAILURE_TIME = "failureTime"; @SerializedName(SERIALIZED_NAME_FAILURE_TIME) - private DateTime failureTime; + private OffsetDateTime failureTime; public V1beta1CertificateRequestStatus ca(byte[] ca) { @@ -131,7 +131,7 @@ public void setConditions(List condit this.conditions = conditions; } - public V1beta1CertificateRequestStatus failureTime(DateTime failureTime) { + public V1beta1CertificateRequestStatus failureTime(OffsetDateTime failureTime) { this.failureTime = failureTime; return this; @@ -147,11 +147,11 @@ public V1beta1CertificateRequestStatus failureTime(DateTime failureTime) { @ApiModelProperty( value = "FailureTime stores the time that this CertificateRequest failed. This is used to influence garbage collection and back-off.") - public DateTime getFailureTime() { + public OffsetDateTime getFailureTime() { return failureTime; } - public void setFailureTime(DateTime failureTime) { + public void setFailureTime(OffsetDateTime failureTime) { this.failureTime = failureTime; } diff --git a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateRequestStatusConditions.java b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateRequestStatusConditions.java index a3880d5fc9..4bbc3a56e5 100644 --- a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateRequestStatusConditions.java +++ b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateRequestStatusConditions.java @@ -21,7 +21,7 @@ import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.Objects; -import org.joda.time.DateTime; +import java.time.OffsetDateTime; /** CertificateRequestCondition contains condition information for a CertificateRequest. */ @ApiModel( @@ -34,7 +34,7 @@ public class V1beta1CertificateRequestStatusConditions { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -104,7 +104,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1beta1CertificateRequestStatusConditions lastTransitionTime(DateTime lastTransitionTime) { + public V1beta1CertificateRequestStatusConditions lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -119,11 +119,11 @@ public V1beta1CertificateRequestStatusConditions lastTransitionTime(DateTime las @ApiModelProperty( value = "LastTransitionTime is the timestamp corresponding to the last status change of this condition.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateStatus.java b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateStatus.java index d910141d27..4b372029e4 100644 --- a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateStatus.java +++ b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateStatus.java @@ -18,7 +18,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; +import java.time.OffsetDateTime; /** Status of the Certificate. This is set and managed automatically. */ @ApiModel(description = "Status of the Certificate. This is set and managed automatically.") @@ -34,7 +34,7 @@ public class V1beta1CertificateStatus { public static final String SERIALIZED_NAME_LAST_FAILURE_TIME = "lastFailureTime"; @SerializedName(SERIALIZED_NAME_LAST_FAILURE_TIME) - private DateTime lastFailureTime; + private OffsetDateTime lastFailureTime; public static final String SERIALIZED_NAME_NEXT_PRIVATE_KEY_SECRET_NAME = "nextPrivateKeySecretName"; @@ -45,17 +45,17 @@ public class V1beta1CertificateStatus { public static final String SERIALIZED_NAME_NOT_AFTER = "notAfter"; @SerializedName(SERIALIZED_NAME_NOT_AFTER) - private DateTime notAfter; + private OffsetDateTime notAfter; public static final String SERIALIZED_NAME_NOT_BEFORE = "notBefore"; @SerializedName(SERIALIZED_NAME_NOT_BEFORE) - private DateTime notBefore; + private OffsetDateTime notBefore; public static final String SERIALIZED_NAME_RENEWAL_TIME = "renewalTime"; @SerializedName(SERIALIZED_NAME_RENEWAL_TIME) - private DateTime renewalTime; + private OffsetDateTime renewalTime; public static final String SERIALIZED_NAME_REVISION = "revision"; @@ -95,7 +95,7 @@ public void setConditions(List conditions) { this.conditions = conditions; } - public V1beta1CertificateStatus lastFailureTime(DateTime lastFailureTime) { + public V1beta1CertificateStatus lastFailureTime(OffsetDateTime lastFailureTime) { this.lastFailureTime = lastFailureTime; return this; @@ -112,11 +112,11 @@ public V1beta1CertificateStatus lastFailureTime(DateTime lastFailureTime) { @ApiModelProperty( value = "LastFailureTime is the time as recorded by the Certificate controller of the most recent failure to complete a CertificateRequest for this Certificate resource. If set, cert-manager will not re-request another Certificate until 1 hour has elapsed from this time.") - public DateTime getLastFailureTime() { + public OffsetDateTime getLastFailureTime() { return lastFailureTime; } - public void setLastFailureTime(DateTime lastFailureTime) { + public void setLastFailureTime(OffsetDateTime lastFailureTime) { this.lastFailureTime = lastFailureTime; } @@ -146,7 +146,7 @@ public void setNextPrivateKeySecretName(String nextPrivateKeySecretName) { this.nextPrivateKeySecretName = nextPrivateKeySecretName; } - public V1beta1CertificateStatus notAfter(DateTime notAfter) { + public V1beta1CertificateStatus notAfter(OffsetDateTime notAfter) { this.notAfter = notAfter; return this; @@ -162,15 +162,15 @@ public V1beta1CertificateStatus notAfter(DateTime notAfter) { @ApiModelProperty( value = "The expiration time of the certificate stored in the secret named by this resource in `spec.secretName`.") - public DateTime getNotAfter() { + public OffsetDateTime getNotAfter() { return notAfter; } - public void setNotAfter(DateTime notAfter) { + public void setNotAfter(OffsetDateTime notAfter) { this.notAfter = notAfter; } - public V1beta1CertificateStatus notBefore(DateTime notBefore) { + public V1beta1CertificateStatus notBefore(OffsetDateTime notBefore) { this.notBefore = notBefore; return this; @@ -186,15 +186,15 @@ public V1beta1CertificateStatus notBefore(DateTime notBefore) { @ApiModelProperty( value = "The time after which the certificate stored in the secret named by this resource in spec.secretName is valid.") - public DateTime getNotBefore() { + public OffsetDateTime getNotBefore() { return notBefore; } - public void setNotBefore(DateTime notBefore) { + public void setNotBefore(OffsetDateTime notBefore) { this.notBefore = notBefore; } - public V1beta1CertificateStatus renewalTime(DateTime renewalTime) { + public V1beta1CertificateStatus renewalTime(OffsetDateTime renewalTime) { this.renewalTime = renewalTime; return this; @@ -210,11 +210,11 @@ public V1beta1CertificateStatus renewalTime(DateTime renewalTime) { @ApiModelProperty( value = "RenewalTime is the time at which the certificate will be next renewed. If not set, no upcoming renewal is scheduled.") - public DateTime getRenewalTime() { + public OffsetDateTime getRenewalTime() { return renewalTime; } - public void setRenewalTime(DateTime renewalTime) { + public void setRenewalTime(OffsetDateTime renewalTime) { this.renewalTime = renewalTime; } diff --git a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateStatusConditions.java b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateStatusConditions.java index 9b2e35d5b8..c20cb76a5d 100644 --- a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateStatusConditions.java +++ b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1CertificateStatusConditions.java @@ -21,7 +21,7 @@ import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.Objects; -import org.joda.time.DateTime; +import java.time.OffsetDateTime; /** CertificateCondition contains condition information for an Certificate. */ @ApiModel(description = "CertificateCondition contains condition information for an Certificate.") @@ -32,7 +32,7 @@ public class V1beta1CertificateStatusConditions { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -102,7 +102,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1beta1CertificateStatusConditions lastTransitionTime(DateTime lastTransitionTime) { + public V1beta1CertificateStatusConditions lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -117,11 +117,11 @@ public V1beta1CertificateStatusConditions lastTransitionTime(DateTime lastTransi @ApiModelProperty( value = "LastTransitionTime is the timestamp corresponding to the last status change of this condition.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1OrderStatus.java b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1OrderStatus.java index 4778a21da5..ac1863d5ec 100644 --- a/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1OrderStatus.java +++ b/client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1beta1OrderStatus.java @@ -23,7 +23,7 @@ import java.util.Arrays; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; +import java.time.OffsetDateTime; /** V1beta1OrderStatus */ @javax.annotation.Generated( @@ -43,7 +43,7 @@ public class V1beta1OrderStatus { public static final String SERIALIZED_NAME_FAILURE_TIME = "failureTime"; @SerializedName(SERIALIZED_NAME_FAILURE_TIME) - private DateTime failureTime; + private OffsetDateTime failureTime; public static final String SERIALIZED_NAME_FINALIZE_U_R_L = "finalizeURL"; @@ -182,7 +182,7 @@ public void setCertificate(byte[] certificate) { this.certificate = certificate; } - public V1beta1OrderStatus failureTime(DateTime failureTime) { + public V1beta1OrderStatus failureTime(OffsetDateTime failureTime) { this.failureTime = failureTime; return this; @@ -198,11 +198,11 @@ public V1beta1OrderStatus failureTime(DateTime failureTime) { @ApiModelProperty( value = "FailureTime stores the time that this order failed. This is used to influence garbage collection and back-off.") - public DateTime getFailureTime() { + public OffsetDateTime getFailureTime() { return failureTime; } - public void setFailureTime(DateTime failureTime) { + public void setFailureTime(OffsetDateTime failureTime) { this.failureTime = failureTime; } diff --git a/client-java-contrib/prometheus-operator/src/main/java/com/coreos/monitoring/models/V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions.java b/client-java-contrib/prometheus-operator/src/main/java/com/coreos/monitoring/models/V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions.java index 28fa1e8658..69a7b28f8e 100644 --- a/client-java-contrib/prometheus-operator/src/main/java/com/coreos/monitoring/models/V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions.java +++ b/client-java-contrib/prometheus-operator/src/main/java/com/coreos/monitoring/models/V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions.java @@ -16,7 +16,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.Objects; -import org.joda.time.DateTime; +import java.time.OffsetDateTime; /** PersistentVolumeClaimCondition contails details about state of pvc */ @ApiModel(description = "PersistentVolumeClaimCondition contails details about state of pvc") @@ -27,12 +27,12 @@ public class V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions { public static final String SERIALIZED_NAME_LAST_PROBE_TIME = "lastProbeTime"; @SerializedName(SERIALIZED_NAME_LAST_PROBE_TIME) - private DateTime lastProbeTime; + private OffsetDateTime lastProbeTime; public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -55,7 +55,7 @@ public class V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions { private String type; public V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions lastProbeTime( - DateTime lastProbeTime) { + OffsetDateTime lastProbeTime) { this.lastProbeTime = lastProbeTime; return this; @@ -68,16 +68,16 @@ public V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions lastProbeTime */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time we probed the condition.") - public DateTime getLastProbeTime() { + public OffsetDateTime getLastProbeTime() { return lastProbeTime; } - public void setLastProbeTime(DateTime lastProbeTime) { + public void setLastProbeTime(OffsetDateTime lastProbeTime) { this.lastProbeTime = lastProbeTime; } public V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions lastTransitionTime( - DateTime lastTransitionTime) { + OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -90,11 +90,11 @@ public V1ThanosRulerSpecStorageVolumeClaimTemplateStatusConditions lastTransitio */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/examples/examples-release-10/src/main/java/io/kubernetes/client/examples/ProtoExample.java b/examples/examples-release-10/src/main/java/io/kubernetes/client/examples/ProtoExample.java index e4e05a2aa1..7230c80a24 100644 --- a/examples/examples-release-10/src/main/java/io/kubernetes/client/examples/ProtoExample.java +++ b/examples/examples-release-10/src/main/java/io/kubernetes/client/examples/ProtoExample.java @@ -53,8 +53,7 @@ public static void main(String[] args) throws IOException, ApiException, Interru System.out.println(ns); if (ns.object != null) { namespace = - ns.object - .toBuilder() + ns.object.toBuilder() .setSpec(NamespaceSpec.newBuilder().addFinalizers("test").build()) .build(); // This is how you would update an object, but you can't actually diff --git a/examples/examples-release-11/src/main/java/io/kubernetes/client/examples/ProtoExample.java b/examples/examples-release-11/src/main/java/io/kubernetes/client/examples/ProtoExample.java index e4e05a2aa1..7230c80a24 100644 --- a/examples/examples-release-11/src/main/java/io/kubernetes/client/examples/ProtoExample.java +++ b/examples/examples-release-11/src/main/java/io/kubernetes/client/examples/ProtoExample.java @@ -53,8 +53,7 @@ public static void main(String[] args) throws IOException, ApiException, Interru System.out.println(ns); if (ns.object != null) { namespace = - ns.object - .toBuilder() + ns.object.toBuilder() .setSpec(NamespaceSpec.newBuilder().addFinalizers("test").build()) .build(); // This is how you would update an object, but you can't actually diff --git a/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventAggregator.java b/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventAggregator.java index 743e693ed0..61d968f603 100644 --- a/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventAggregator.java +++ b/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventAggregator.java @@ -18,12 +18,13 @@ import io.kubernetes.client.openapi.models.CoreV1Event; import io.kubernetes.client.openapi.models.CoreV1EventBuilder; import io.kubernetes.client.openapi.models.V1ObjectMetaBuilder; + +import java.time.OffsetDateTime; import java.util.HashSet; import java.util.Objects; import java.util.Set; import java.util.concurrent.ExecutionException; import org.apache.commons.lang3.tuple.MutablePair; -import org.joda.time.DateTime; public class EventAggregator { @@ -52,7 +53,7 @@ public EventAggregator( private final int maxEvents; public synchronized MutablePair aggregate(CoreV1Event event) { - DateTime now = DateTime.now(); + OffsetDateTime now = OffsetDateTime.now(); MutablePair aggregatedKeys = keyFunc.apply(event); String aggregatedKey = aggregatedKeys.getLeft(); @@ -90,7 +91,7 @@ record = this.spammingCache.get(aggregatedKey, AggregatedRecord::new); private static class AggregatedRecord { private Set localKeys = new HashSet<>(); - private DateTime lastTimestamp; + private OffsetDateTime lastTimestamp; @Override public boolean equals(Object o) { diff --git a/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventLogger.java b/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventLogger.java index 44ecd25872..44f64170eb 100644 --- a/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventLogger.java +++ b/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventLogger.java @@ -12,14 +12,17 @@ */ package io.kubernetes.client.extended.event.legacy; +import java.time.OffsetDateTime; +import java.util.function.Function; + import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; + +import org.apache.commons.lang3.tuple.MutablePair; + import io.kubernetes.client.custom.V1Patch; import io.kubernetes.client.openapi.Configuration; import io.kubernetes.client.openapi.models.CoreV1Event; -import java.util.function.Function; -import org.apache.commons.lang3.tuple.MutablePair; -import org.joda.time.DateTime; public class EventLogger { public EventLogger(int lruCacheEntries, Function eventKeyFunc) { @@ -31,7 +34,7 @@ public EventLogger(int lruCacheEntries, Function eventKeyFu private Function eventKeyFunc; public MutablePair observe(CoreV1Event event, String key) { - DateTime now = DateTime.now(); + OffsetDateTime now = OffsetDateTime.now(); EventLog lastObserved = this.eventCache.getIfPresent(key); V1Patch patch = null; if (lastObserved != null && lastObserved.count != null && lastObserved.count > 0) { @@ -69,7 +72,7 @@ public void updateState(CoreV1Event event) { private static class EventLog { private Integer count; - private DateTime firstTimestamp; + private OffsetDateTime firstTimestamp; private String name; private String resourceVersion; } diff --git a/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventUtils.java b/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventUtils.java index cbcf51d037..4cf24952ba 100644 --- a/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventUtils.java +++ b/extended/src/main/java/io/kubernetes/client/extended/event/legacy/EventUtils.java @@ -12,14 +12,16 @@ */ package io.kubernetes.client.extended.event.legacy; -import io.kubernetes.client.openapi.models.CoreV1Event; +import java.time.OffsetDateTime; + import org.apache.commons.lang.RandomStringUtils; import org.apache.commons.lang3.tuple.MutablePair; -import org.joda.time.DateTime; + +import io.kubernetes.client.openapi.models.CoreV1Event; public class EventUtils { - public static String generateName(String referencedObjectName, DateTime timestamp) { + public static String generateName(String referencedObjectName, OffsetDateTime timestamp) { return referencedObjectName + "." + RandomStringUtils.randomAlphanumeric(12); } diff --git a/extended/src/main/java/io/kubernetes/client/extended/event/legacy/ObjectReferenceResolvingEventRecorder.java b/extended/src/main/java/io/kubernetes/client/extended/event/legacy/ObjectReferenceResolvingEventRecorder.java index 8d35588f90..f3c35bd03b 100644 --- a/extended/src/main/java/io/kubernetes/client/extended/event/legacy/ObjectReferenceResolvingEventRecorder.java +++ b/extended/src/main/java/io/kubernetes/client/extended/event/legacy/ObjectReferenceResolvingEventRecorder.java @@ -12,7 +12,17 @@ */ package io.kubernetes.client.extended.event.legacy; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.concurrent.BlockingQueue; +import java.util.concurrent.TimeUnit; + import com.google.common.base.Strings; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + import io.kubernetes.client.common.KubernetesObject; import io.kubernetes.client.extended.event.EventType; import io.kubernetes.client.openapi.models.CoreV1Event; @@ -22,13 +32,6 @@ import io.kubernetes.client.openapi.models.V1ObjectMetaBuilder; import io.kubernetes.client.openapi.models.V1ObjectReference; import io.kubernetes.client.openapi.models.V1ObjectReferenceBuilder; -import java.util.HashMap; -import java.util.Map; -import java.util.concurrent.BlockingQueue; -import java.util.concurrent.TimeUnit; -import org.joda.time.DateTime; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; public class ObjectReferenceResolvingEventRecorder implements EventRecorder { @@ -109,7 +112,7 @@ private void generateEvent( } // build event - DateTime now = DateTime.now(); + OffsetDateTime now = OffsetDateTime.now(); CoreV1Event event = new CoreV1EventBuilder() .withMetadata( diff --git a/extended/src/main/java/io/kubernetes/client/extended/leaderelection/resourcelock/LeaseLock.java b/extended/src/main/java/io/kubernetes/client/extended/leaderelection/resourcelock/LeaseLock.java index 4dd918ccba..ae82b69dbc 100644 --- a/extended/src/main/java/io/kubernetes/client/extended/leaderelection/resourcelock/LeaseLock.java +++ b/extended/src/main/java/io/kubernetes/client/extended/leaderelection/resourcelock/LeaseLock.java @@ -22,8 +22,12 @@ import io.kubernetes.client.openapi.models.V1LeaseSpec; import io.kubernetes.client.openapi.models.V1ObjectMeta; import java.net.HttpURLConnection; +import java.time.Instant; +import java.time.OffsetDateTime; +import java.time.ZoneId; +import java.time.ZoneOffset; +import java.util.Date; import java.util.concurrent.atomic.AtomicReference; -import org.joda.time.DateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -115,10 +119,10 @@ public String describe() { private LeaderElectionRecord getRecordFromLease(V1LeaseSpec lease) { LeaderElectionRecord record = new LeaderElectionRecord(); if (lease.getAcquireTime() != null) { - record.setAcquireTime(lease.getAcquireTime().toDate()); + record.setAcquireTime(new Date(lease.getAcquireTime().toInstant().toEpochMilli())); } if (lease.getRenewTime() != null) { - record.setRenewTime(lease.getRenewTime().toDate()); + record.setRenewTime(new Date(lease.getRenewTime().toInstant().toEpochMilli())); } record.setHolderIdentity(lease.getHolderIdentity()); record.setLeaderTransitions(lease.getLeaseTransitions()); @@ -128,8 +132,8 @@ private LeaderElectionRecord getRecordFromLease(V1LeaseSpec lease) { private V1LeaseSpec getLeaseFromRecord(LeaderElectionRecord record) { return new V1LeaseSpec() - .acquireTime(new DateTime(record.getAcquireTime())) - .renewTime(new DateTime(record.getRenewTime())) + .acquireTime(OffsetDateTime.ofInstant(Instant.ofEpochMilli(record.getAcquireTime().getTime()), ZoneOffset.UTC)) + .renewTime(OffsetDateTime.ofInstant(Instant.ofEpochMilli(record.getRenewTime().getTime()), ZoneOffset.UTC)) .holderIdentity(record.getHolderIdentity()) .leaseDurationSeconds(record.getLeaseDurationSeconds()) .leaseTransitions(record.getLeaderTransitions()); diff --git a/extended/src/test/java/io/kubernetes/client/extended/event/EventCorrelatorTest.java b/extended/src/test/java/io/kubernetes/client/extended/event/EventCorrelatorTest.java index 8276c017b5..344da56b86 100644 --- a/extended/src/test/java/io/kubernetes/client/extended/event/EventCorrelatorTest.java +++ b/extended/src/test/java/io/kubernetes/client/extended/event/EventCorrelatorTest.java @@ -16,6 +16,20 @@ import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.fail; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; +import java.util.Optional; + +import org.apache.commons.lang3.tuple.MutablePair; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameter; +import org.junit.runners.Parameterized.Parameters; + import io.kubernetes.client.custom.V1Patch; import io.kubernetes.client.extended.event.legacy.EventAggregator; import io.kubernetes.client.extended.event.legacy.EventCorrelator; @@ -28,18 +42,6 @@ import io.kubernetes.client.openapi.models.V1ObjectMetaBuilder; import io.kubernetes.client.openapi.models.V1ObjectReference; import io.kubernetes.client.openapi.models.V1ObjectReferenceBuilder; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import java.util.List; -import java.util.Optional; -import org.apache.commons.lang3.tuple.MutablePair; -import org.joda.time.DateTime; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameter; -import org.junit.runners.Parameterized.Parameters; @RunWith(Parameterized.class) public class EventCorrelatorTest { @@ -159,7 +161,7 @@ public static Collection data() { public void testEventCorrelate() throws InterruptedException { EventCorrelator correlator = new EventCorrelator(); for (CoreV1Event event : previousEvents) { - DateTime now = DateTime.now(); + OffsetDateTime now = OffsetDateTime.now(); event.setFirstTimestamp(now); event.setLastTimestamp(now); Optional> result = correlator.correlate(event); @@ -168,7 +170,7 @@ public void testEventCorrelate() throws InterruptedException { } } Thread.sleep(100); - DateTime now = DateTime.now(); + OffsetDateTime now = OffsetDateTime.now(); newEvent.setFirstTimestamp(now); newEvent.setLastTimestamp(now); Optional> result = correlator.correlate(newEvent); @@ -183,8 +185,8 @@ public void testEventCorrelate() throws InterruptedException { private void validateEvent(CoreV1Event expectedEvent, CoreV1Event actualEvent) { CoreV1Event recvEvent = new CoreV1EventBuilder(actualEvent).build(); - assertNotEquals(0, recvEvent.getFirstTimestamp().getMillis()); - assertNotEquals(0, recvEvent.getLastTimestamp().getMillis()); + assertNotEquals(0, recvEvent.getFirstTimestamp().toInstant().toEpochMilli()); + assertNotEquals(0, recvEvent.getLastTimestamp().toInstant().toEpochMilli()); if (actualEvent.getFirstTimestamp().equals(actualEvent.getLastTimestamp())) { if (expectedEvent.getCount() > 1) { fail("firstTimestamp and lastTimestamp must not be equal to indicate compression happen"); diff --git a/kubernetes/docs/CoreV1Event.md b/kubernetes/docs/CoreV1Event.md index ddcfede2f9..03c8fe7f78 100644 --- a/kubernetes/docs/CoreV1Event.md +++ b/kubernetes/docs/CoreV1Event.md @@ -10,11 +10,11 @@ Name | Type | Description | Notes **action** | **String** | What action was taken/failed regarding to the Regarding object. | [optional] **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **count** | **Integer** | The number of times this event has occurred. | [optional] -**eventTime** | [**DateTime**](DateTime.md) | Time when this Event was first observed. | [optional] -**firstTimestamp** | [**DateTime**](DateTime.md) | The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) | [optional] +**eventTime** | [**OffsetDateTime**](OffsetDateTime.md) | Time when this Event was first observed. | [optional] +**firstTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) | [optional] **involvedObject** | [**V1ObjectReference**](V1ObjectReference.md) | | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**lastTimestamp** | [**DateTime**](DateTime.md) | The time at which the most recent occurrence of this event was recorded. | [optional] +**lastTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | The time at which the most recent occurrence of this event was recorded. | [optional] **message** | **String** | A human-readable description of the status of this operation. | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | **reason** | **String** | This should be a short, machine understandable string that gives the reason for the transition into the object's current status. | [optional] diff --git a/kubernetes/docs/CoreV1EventSeries.md b/kubernetes/docs/CoreV1EventSeries.md index 28ba806edd..1c15f665c4 100644 --- a/kubernetes/docs/CoreV1EventSeries.md +++ b/kubernetes/docs/CoreV1EventSeries.md @@ -8,7 +8,7 @@ EventSeries contain information on series of events, i.e. thing that was/is happ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **Integer** | Number of occurrences in this series up to the last heartbeat time | [optional] -**lastObservedTime** | [**DateTime**](DateTime.md) | Time of the last occurrence observed | [optional] +**lastObservedTime** | [**OffsetDateTime**](OffsetDateTime.md) | Time of the last occurrence observed | [optional] diff --git a/kubernetes/docs/EventsV1Event.md b/kubernetes/docs/EventsV1Event.md index cf61af22e3..f05492413d 100644 --- a/kubernetes/docs/EventsV1Event.md +++ b/kubernetes/docs/EventsV1Event.md @@ -10,10 +10,10 @@ Name | Type | Description | Notes **action** | **String** | action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters. | [optional] **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **deprecatedCount** | **Integer** | deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] -**deprecatedFirstTimestamp** | [**DateTime**](DateTime.md) | deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] -**deprecatedLastTimestamp** | [**DateTime**](DateTime.md) | deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] +**deprecatedFirstTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] +**deprecatedLastTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] **deprecatedSource** | [**V1EventSource**](V1EventSource.md) | | [optional] -**eventTime** | [**DateTime**](DateTime.md) | eventTime is the time when this Event was first observed. It is required. | +**eventTime** | [**OffsetDateTime**](OffsetDateTime.md) | eventTime is the time when this Event was first observed. It is required. | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **note** | **String** | note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. | [optional] diff --git a/kubernetes/docs/EventsV1EventSeries.md b/kubernetes/docs/EventsV1EventSeries.md index d2ea70de39..746786738b 100644 --- a/kubernetes/docs/EventsV1EventSeries.md +++ b/kubernetes/docs/EventsV1EventSeries.md @@ -8,7 +8,7 @@ EventSeries contain information on series of events, i.e. thing that was/is happ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **Integer** | count is the number of occurrences in this series up to the last heartbeat time. | -**lastObservedTime** | [**DateTime**](DateTime.md) | lastObservedTime is the time when last Event from the series was seen before last heartbeat. | +**lastObservedTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastObservedTime is the time when last Event from the series was seen before last heartbeat. | diff --git a/kubernetes/docs/V1APIServiceCondition.md b/kubernetes/docs/V1APIServiceCondition.md index b39491969a..c806053731 100644 --- a/kubernetes/docs/V1APIServiceCondition.md +++ b/kubernetes/docs/V1APIServiceCondition.md @@ -7,7 +7,7 @@ APIServiceCondition describes the state of an APIService at a particular point Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transitioned from one status to another. | [optional] **message** | **String** | Human-readable message indicating details about last transition. | [optional] **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | diff --git a/kubernetes/docs/V1CertificateSigningRequestCondition.md b/kubernetes/docs/V1CertificateSigningRequestCondition.md index cc508bc679..e5ac137ba7 100644 --- a/kubernetes/docs/V1CertificateSigningRequestCondition.md +++ b/kubernetes/docs/V1CertificateSigningRequestCondition.md @@ -7,8 +7,8 @@ CertificateSigningRequestCondition describes a condition of a CertificateSigning Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time. | [optional] -**lastUpdateTime** | [**DateTime**](DateTime.md) | lastUpdateTime is the time of the last update to this condition | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time. | [optional] +**lastUpdateTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastUpdateTime is the time of the last update to this condition | [optional] **message** | **String** | message contains a human readable message with details about the request state | [optional] **reason** | **String** | reason indicates a brief reason for the request state | [optional] **status** | **String** | status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\". | diff --git a/kubernetes/docs/V1ContainerStateRunning.md b/kubernetes/docs/V1ContainerStateRunning.md index 2cc74954f3..87f0cf7380 100644 --- a/kubernetes/docs/V1ContainerStateRunning.md +++ b/kubernetes/docs/V1ContainerStateRunning.md @@ -7,7 +7,7 @@ ContainerStateRunning is a running state of a container. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**startedAt** | [**DateTime**](DateTime.md) | Time at which the container was last (re-)started | [optional] +**startedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Time at which the container was last (re-)started | [optional] diff --git a/kubernetes/docs/V1ContainerStateTerminated.md b/kubernetes/docs/V1ContainerStateTerminated.md index 31837082aa..1bcc246d68 100644 --- a/kubernetes/docs/V1ContainerStateTerminated.md +++ b/kubernetes/docs/V1ContainerStateTerminated.md @@ -9,11 +9,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **containerID** | **String** | Container's ID in the format 'docker://<container_id>' | [optional] **exitCode** | **Integer** | Exit status from the last termination of the container | -**finishedAt** | [**DateTime**](DateTime.md) | Time at which the container last terminated | [optional] +**finishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Time at which the container last terminated | [optional] **message** | **String** | Message regarding the last termination of the container | [optional] **reason** | **String** | (brief) reason from the last termination of the container | [optional] **signal** | **Integer** | Signal from the last termination of the container | [optional] -**startedAt** | [**DateTime**](DateTime.md) | Time at which previous execution of the container started | [optional] +**startedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Time at which previous execution of the container started | [optional] diff --git a/kubernetes/docs/V1CustomResourceDefinitionCondition.md b/kubernetes/docs/V1CustomResourceDefinitionCondition.md index eb916d65bc..a8f2754eef 100644 --- a/kubernetes/docs/V1CustomResourceDefinitionCondition.md +++ b/kubernetes/docs/V1CustomResourceDefinitionCondition.md @@ -7,7 +7,7 @@ CustomResourceDefinitionCondition contains details for the current condition of Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastTransitionTime last time the condition transitioned from one status to another. | [optional] **message** | **String** | message is a human-readable message indicating details about last transition. | [optional] **reason** | **String** | reason is a unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **String** | status is the status of the condition. Can be True, False, Unknown. | diff --git a/kubernetes/docs/V1DaemonSetCondition.md b/kubernetes/docs/V1DaemonSetCondition.md index e54552e93f..051022ecfc 100644 --- a/kubernetes/docs/V1DaemonSetCondition.md +++ b/kubernetes/docs/V1DaemonSetCondition.md @@ -7,7 +7,7 @@ DaemonSetCondition describes the state of a DaemonSet at a certain point. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transitioned from one status to another. | [optional] **message** | **String** | A human readable message indicating details about the transition. | [optional] **reason** | **String** | The reason for the condition's last transition. | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. | diff --git a/kubernetes/docs/V1DeploymentCondition.md b/kubernetes/docs/V1DeploymentCondition.md index 16742aa3ff..a5dd276da1 100644 --- a/kubernetes/docs/V1DeploymentCondition.md +++ b/kubernetes/docs/V1DeploymentCondition.md @@ -7,8 +7,8 @@ DeploymentCondition describes the state of a deployment at a certain point. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] -**lastUpdateTime** | [**DateTime**](DateTime.md) | The last time this condition was updated. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**lastUpdateTime** | [**OffsetDateTime**](OffsetDateTime.md) | The last time this condition was updated. | [optional] **message** | **String** | A human readable message indicating details about the transition. | [optional] **reason** | **String** | The reason for the condition's last transition. | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. | diff --git a/kubernetes/docs/V1HorizontalPodAutoscalerStatus.md b/kubernetes/docs/V1HorizontalPodAutoscalerStatus.md index 887582c98f..f11bcf1fc3 100644 --- a/kubernetes/docs/V1HorizontalPodAutoscalerStatus.md +++ b/kubernetes/docs/V1HorizontalPodAutoscalerStatus.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **currentCPUUtilizationPercentage** | **Integer** | current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. | [optional] **currentReplicas** | **Integer** | current number of replicas of pods managed by this autoscaler. | **desiredReplicas** | **Integer** | desired number of replicas of pods managed by this autoscaler. | -**lastScaleTime** | [**DateTime**](DateTime.md) | last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. | [optional] +**lastScaleTime** | [**OffsetDateTime**](OffsetDateTime.md) | last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. | [optional] **observedGeneration** | **Long** | most recent generation observed by this autoscaler. | [optional] diff --git a/kubernetes/docs/V1JobCondition.md b/kubernetes/docs/V1JobCondition.md index 3a013c3966..21f61f3e4e 100644 --- a/kubernetes/docs/V1JobCondition.md +++ b/kubernetes/docs/V1JobCondition.md @@ -7,8 +7,8 @@ JobCondition describes current state of a job. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastProbeTime** | [**DateTime**](DateTime.md) | Last time the condition was checked. | [optional] -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transit from one status to another. | [optional] +**lastProbeTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition was checked. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transit from one status to another. | [optional] **message** | **String** | Human readable message indicating details about last transition. | [optional] **reason** | **String** | (brief) reason for the condition's last transition. | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. | diff --git a/kubernetes/docs/V1JobStatus.md b/kubernetes/docs/V1JobStatus.md index dd1622f506..89221cef67 100644 --- a/kubernetes/docs/V1JobStatus.md +++ b/kubernetes/docs/V1JobStatus.md @@ -8,10 +8,10 @@ JobStatus represents the current state of a Job. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | **Integer** | The number of actively running pods. | [optional] -**completionTime** | [**DateTime**](DateTime.md) | Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] +**completionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] **conditions** | [**List<V1JobCondition>**](V1JobCondition.md) | The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] **failed** | **Integer** | The number of pods which reached phase Failed. | [optional] -**startTime** | [**DateTime**](DateTime.md) | Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] +**startTime** | [**OffsetDateTime**](OffsetDateTime.md) | Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] **succeeded** | **Integer** | The number of pods which reached phase Succeeded. | [optional] diff --git a/kubernetes/docs/V1LeaseSpec.md b/kubernetes/docs/V1LeaseSpec.md index f38f8fbe53..5547d30d9d 100644 --- a/kubernetes/docs/V1LeaseSpec.md +++ b/kubernetes/docs/V1LeaseSpec.md @@ -7,11 +7,11 @@ LeaseSpec is a specification of a Lease. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**acquireTime** | [**DateTime**](DateTime.md) | acquireTime is a time when the current lease was acquired. | [optional] +**acquireTime** | [**OffsetDateTime**](OffsetDateTime.md) | acquireTime is a time when the current lease was acquired. | [optional] **holderIdentity** | **String** | holderIdentity contains the identity of the holder of a current lease. | [optional] **leaseDurationSeconds** | **Integer** | leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. | [optional] **leaseTransitions** | **Integer** | leaseTransitions is the number of transitions of a lease between holders. | [optional] -**renewTime** | [**DateTime**](DateTime.md) | renewTime is a time when the current holder of a lease has last updated the lease. | [optional] +**renewTime** | [**OffsetDateTime**](OffsetDateTime.md) | renewTime is a time when the current holder of a lease has last updated the lease. | [optional] diff --git a/kubernetes/docs/V1ManagedFieldsEntry.md b/kubernetes/docs/V1ManagedFieldsEntry.md index d54ca1b16d..4376b7716d 100644 --- a/kubernetes/docs/V1ManagedFieldsEntry.md +++ b/kubernetes/docs/V1ManagedFieldsEntry.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **fieldsV1** | [**Object**](.md) | FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type. | [optional] **manager** | **String** | Manager is an identifier of the workflow managing these fields. | [optional] **operation** | **String** | Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'. | [optional] -**time** | [**DateTime**](DateTime.md) | Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply' | [optional] +**time** | [**OffsetDateTime**](OffsetDateTime.md) | Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply' | [optional] diff --git a/kubernetes/docs/V1NamespaceCondition.md b/kubernetes/docs/V1NamespaceCondition.md index c6fe03b9fd..4cfab73753 100644 --- a/kubernetes/docs/V1NamespaceCondition.md +++ b/kubernetes/docs/V1NamespaceCondition.md @@ -7,7 +7,7 @@ NamespaceCondition contains details about state of namespace. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. | [optional] **message** | **String** | | [optional] **reason** | **String** | | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. | diff --git a/kubernetes/docs/V1NodeCondition.md b/kubernetes/docs/V1NodeCondition.md index e907fd8c5c..c86927adf1 100644 --- a/kubernetes/docs/V1NodeCondition.md +++ b/kubernetes/docs/V1NodeCondition.md @@ -7,8 +7,8 @@ NodeCondition contains condition information for a node. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastHeartbeatTime** | [**DateTime**](DateTime.md) | Last time we got an update on a given condition. | [optional] -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transit from one status to another. | [optional] +**lastHeartbeatTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time we got an update on a given condition. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transit from one status to another. | [optional] **message** | **String** | Human readable message indicating details about last transition. | [optional] **reason** | **String** | (brief) reason for the condition's last transition. | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. | diff --git a/kubernetes/docs/V1ObjectMeta.md b/kubernetes/docs/V1ObjectMeta.md index efe3e689d7..bdba2c64f1 100644 --- a/kubernetes/docs/V1ObjectMeta.md +++ b/kubernetes/docs/V1ObjectMeta.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **annotations** | **Map<String, String>** | Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations | [optional] **clusterName** | **String** | The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. | [optional] -**creationTimestamp** | [**DateTime**](DateTime.md) | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | [optional] +**creationTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | [optional] **deletionGracePeriodSeconds** | **Long** | Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. | [optional] -**deletionTimestamp** | [**DateTime**](DateTime.md) | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | [optional] +**deletionTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | [optional] **finalizers** | **List<String>** | Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. | [optional] **generateName** | **String** | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency | [optional] **generation** | **Long** | A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaimCondition.md b/kubernetes/docs/V1PersistentVolumeClaimCondition.md index c58c7a6f5a..428bd57a4f 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimCondition.md +++ b/kubernetes/docs/V1PersistentVolumeClaimCondition.md @@ -7,8 +7,8 @@ PersistentVolumeClaimCondition contails details about state of pvc Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastProbeTime** | [**DateTime**](DateTime.md) | Last time we probed the condition. | [optional] -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**lastProbeTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time we probed the condition. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transitioned from one status to another. | [optional] **message** | **String** | Human-readable message indicating details about last transition. | [optional] **reason** | **String** | Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized. | [optional] **status** | **String** | | diff --git a/kubernetes/docs/V1PodCondition.md b/kubernetes/docs/V1PodCondition.md index 73b3a0d4f5..5e01b413bf 100644 --- a/kubernetes/docs/V1PodCondition.md +++ b/kubernetes/docs/V1PodCondition.md @@ -7,8 +7,8 @@ PodCondition contains details for the current condition of this pod. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastProbeTime** | [**DateTime**](DateTime.md) | Last time we probed the condition. | [optional] -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**lastProbeTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time we probed the condition. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transitioned from one status to another. | [optional] **message** | **String** | Human-readable message indicating details about last transition. | [optional] **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **String** | Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | diff --git a/kubernetes/docs/V1PodStatus.md b/kubernetes/docs/V1PodStatus.md index f532e5b70b..a0b2b302a1 100644 --- a/kubernetes/docs/V1PodStatus.md +++ b/kubernetes/docs/V1PodStatus.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **podIPs** | [**List<V1PodIP>**](V1PodIP.md) | podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet. | [optional] **qosClass** | **String** | The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md | [optional] **reason** | **String** | A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted' | [optional] -**startTime** | [**DateTime**](DateTime.md) | RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod. | [optional] +**startTime** | [**OffsetDateTime**](OffsetDateTime.md) | RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod. | [optional] diff --git a/kubernetes/docs/V1ReplicaSetCondition.md b/kubernetes/docs/V1ReplicaSetCondition.md index 26c4146dd6..94ded64415 100644 --- a/kubernetes/docs/V1ReplicaSetCondition.md +++ b/kubernetes/docs/V1ReplicaSetCondition.md @@ -7,7 +7,7 @@ ReplicaSetCondition describes the state of a replica set at a certain point. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | The last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | The last time the condition transitioned from one status to another. | [optional] **message** | **String** | A human readable message indicating details about the transition. | [optional] **reason** | **String** | The reason for the condition's last transition. | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. | diff --git a/kubernetes/docs/V1ReplicationControllerCondition.md b/kubernetes/docs/V1ReplicationControllerCondition.md index 662d69bddd..4cbb50f66e 100644 --- a/kubernetes/docs/V1ReplicationControllerCondition.md +++ b/kubernetes/docs/V1ReplicationControllerCondition.md @@ -7,7 +7,7 @@ ReplicationControllerCondition describes the state of a replication controller a Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | The last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | The last time the condition transitioned from one status to another. | [optional] **message** | **String** | A human readable message indicating details about the transition. | [optional] **reason** | **String** | The reason for the condition's last transition. | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. | diff --git a/kubernetes/docs/V1StatefulSetCondition.md b/kubernetes/docs/V1StatefulSetCondition.md index 3c34614d04..2588a7ee0f 100644 --- a/kubernetes/docs/V1StatefulSetCondition.md +++ b/kubernetes/docs/V1StatefulSetCondition.md @@ -7,7 +7,7 @@ StatefulSetCondition describes the state of a statefulset at a certain point. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transitioned from one status to another. | [optional] **message** | **String** | A human readable message indicating details about the transition. | [optional] **reason** | **String** | The reason for the condition's last transition. | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. | diff --git a/kubernetes/docs/V1Taint.md b/kubernetes/docs/V1Taint.md index 16049786e3..ff0061000d 100644 --- a/kubernetes/docs/V1Taint.md +++ b/kubernetes/docs/V1Taint.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **effect** | **String** | Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. | **key** | **String** | Required. The taint key to be applied to a node. | -**timeAdded** | [**DateTime**](DateTime.md) | TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. | [optional] +**timeAdded** | [**OffsetDateTime**](OffsetDateTime.md) | TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. | [optional] **value** | **String** | The taint value corresponding to the taint key. | [optional] diff --git a/kubernetes/docs/V1TokenRequestStatus.md b/kubernetes/docs/V1TokenRequestStatus.md index 025b21ce44..697a17dfac 100644 --- a/kubernetes/docs/V1TokenRequestStatus.md +++ b/kubernetes/docs/V1TokenRequestStatus.md @@ -7,7 +7,7 @@ TokenRequestStatus is the result of a token request. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**expirationTimestamp** | [**DateTime**](DateTime.md) | ExpirationTimestamp is the time of expiration of the returned token. | +**expirationTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | ExpirationTimestamp is the time of expiration of the returned token. | **token** | **String** | Token is the opaque bearer token. | diff --git a/kubernetes/docs/V1VolumeError.md b/kubernetes/docs/V1VolumeError.md index 1120eee3b5..cfec2843cc 100644 --- a/kubernetes/docs/V1VolumeError.md +++ b/kubernetes/docs/V1VolumeError.md @@ -8,7 +8,7 @@ VolumeError captures an error encountered during a volume operation. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message** | **String** | String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. | [optional] -**time** | [**DateTime**](DateTime.md) | Time the error was encountered. | [optional] +**time** | [**OffsetDateTime**](OffsetDateTime.md) | Time the error was encountered. | [optional] diff --git a/kubernetes/docs/V1alpha1FlowSchemaCondition.md b/kubernetes/docs/V1alpha1FlowSchemaCondition.md index 7c153c74a0..0e6768da68 100644 --- a/kubernetes/docs/V1alpha1FlowSchemaCondition.md +++ b/kubernetes/docs/V1alpha1FlowSchemaCondition.md @@ -7,7 +7,7 @@ FlowSchemaCondition describes conditions for a FlowSchema. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | `lastTransitionTime` is the last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | `lastTransitionTime` is the last time the condition transitioned from one status to another. | [optional] **message** | **String** | `message` is a human-readable message indicating details about last transition. | [optional] **reason** | **String** | `reason` is a unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **String** | `status` is the status of the condition. Can be True, False, Unknown. Required. | [optional] diff --git a/kubernetes/docs/V1alpha1PriorityLevelConfigurationCondition.md b/kubernetes/docs/V1alpha1PriorityLevelConfigurationCondition.md index 528d646a99..32cba41003 100644 --- a/kubernetes/docs/V1alpha1PriorityLevelConfigurationCondition.md +++ b/kubernetes/docs/V1alpha1PriorityLevelConfigurationCondition.md @@ -7,7 +7,7 @@ PriorityLevelConfigurationCondition defines the condition of priority level. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | `lastTransitionTime` is the last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | `lastTransitionTime` is the last time the condition transitioned from one status to another. | [optional] **message** | **String** | `message` is a human-readable message indicating details about last transition. | [optional] **reason** | **String** | `reason` is a unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **String** | `status` is the status of the condition. Can be True, False, Unknown. Required. | [optional] diff --git a/kubernetes/docs/V1alpha1VolumeError.md b/kubernetes/docs/V1alpha1VolumeError.md index 5c934b7522..0fcd738760 100644 --- a/kubernetes/docs/V1alpha1VolumeError.md +++ b/kubernetes/docs/V1alpha1VolumeError.md @@ -8,7 +8,7 @@ VolumeError captures an error encountered during a volume operation. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message** | **String** | String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. | [optional] -**time** | [**DateTime**](DateTime.md) | Time the error was encountered. | [optional] +**time** | [**OffsetDateTime**](OffsetDateTime.md) | Time the error was encountered. | [optional] diff --git a/kubernetes/docs/V1beta1APIServiceCondition.md b/kubernetes/docs/V1beta1APIServiceCondition.md index b0b3a67208..0150e7d08b 100644 --- a/kubernetes/docs/V1beta1APIServiceCondition.md +++ b/kubernetes/docs/V1beta1APIServiceCondition.md @@ -7,7 +7,7 @@ APIServiceCondition describes the state of an APIService at a particular point Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | Last time the condition transitioned from one status to another. | [optional] **message** | **String** | Human-readable message indicating details about last transition. | [optional] **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | diff --git a/kubernetes/docs/V1beta1CertificateSigningRequestCondition.md b/kubernetes/docs/V1beta1CertificateSigningRequestCondition.md index ad574d74c5..1e47f70d86 100644 --- a/kubernetes/docs/V1beta1CertificateSigningRequestCondition.md +++ b/kubernetes/docs/V1beta1CertificateSigningRequestCondition.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time. | [optional] -**lastUpdateTime** | [**DateTime**](DateTime.md) | timestamp for the last update to this condition | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time. | [optional] +**lastUpdateTime** | [**OffsetDateTime**](OffsetDateTime.md) | timestamp for the last update to this condition | [optional] **message** | **String** | human readable message with details about the request state | [optional] **reason** | **String** | brief reason for the request state | [optional] **status** | **String** | Status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\". Defaults to \"True\". If unset, should be treated as \"True\". | [optional] diff --git a/kubernetes/docs/V1beta1CronJobStatus.md b/kubernetes/docs/V1beta1CronJobStatus.md index 47953fc8be..87ac54577d 100644 --- a/kubernetes/docs/V1beta1CronJobStatus.md +++ b/kubernetes/docs/V1beta1CronJobStatus.md @@ -8,7 +8,7 @@ CronJobStatus represents the current state of a cron job. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | [**List<V1ObjectReference>**](V1ObjectReference.md) | A list of pointers to currently running jobs. | [optional] -**lastScheduleTime** | [**DateTime**](DateTime.md) | Information when was the last time the job was successfully scheduled. | [optional] +**lastScheduleTime** | [**OffsetDateTime**](OffsetDateTime.md) | Information when was the last time the job was successfully scheduled. | [optional] diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionCondition.md b/kubernetes/docs/V1beta1CustomResourceDefinitionCondition.md index 39f6458148..165bf14e95 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinitionCondition.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionCondition.md @@ -7,7 +7,7 @@ CustomResourceDefinitionCondition contains details for the current condition of Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime last time the condition transitioned from one status to another. | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastTransitionTime last time the condition transitioned from one status to another. | [optional] **message** | **String** | message is a human-readable message indicating details about last transition. | [optional] **reason** | **String** | reason is a unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **String** | status is the status of the condition. Can be True, False, Unknown. | diff --git a/kubernetes/docs/V1beta1Event.md b/kubernetes/docs/V1beta1Event.md index b61c347351..3376b9dd9f 100644 --- a/kubernetes/docs/V1beta1Event.md +++ b/kubernetes/docs/V1beta1Event.md @@ -10,10 +10,10 @@ Name | Type | Description | Notes **action** | **String** | action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters. | [optional] **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **deprecatedCount** | **Integer** | deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] -**deprecatedFirstTimestamp** | [**DateTime**](DateTime.md) | deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] -**deprecatedLastTimestamp** | [**DateTime**](DateTime.md) | deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] +**deprecatedFirstTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] +**deprecatedLastTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. | [optional] **deprecatedSource** | [**V1EventSource**](V1EventSource.md) | | [optional] -**eventTime** | [**DateTime**](DateTime.md) | eventTime is the time when this Event was first observed. It is required. | +**eventTime** | [**OffsetDateTime**](OffsetDateTime.md) | eventTime is the time when this Event was first observed. It is required. | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **note** | **String** | note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. | [optional] diff --git a/kubernetes/docs/V1beta1EventSeries.md b/kubernetes/docs/V1beta1EventSeries.md index 8d5a678b0b..17e314b50d 100644 --- a/kubernetes/docs/V1beta1EventSeries.md +++ b/kubernetes/docs/V1beta1EventSeries.md @@ -8,7 +8,7 @@ EventSeries contain information on series of events, i.e. thing that was/is happ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **Integer** | count is the number of occurrences in this series up to the last heartbeat time. | -**lastObservedTime** | [**DateTime**](DateTime.md) | lastObservedTime is the time when last Event from the series was seen before last heartbeat. | +**lastObservedTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastObservedTime is the time when last Event from the series was seen before last heartbeat. | diff --git a/kubernetes/docs/V1beta1LeaseSpec.md b/kubernetes/docs/V1beta1LeaseSpec.md index 0aa3ca429b..deeb56343d 100644 --- a/kubernetes/docs/V1beta1LeaseSpec.md +++ b/kubernetes/docs/V1beta1LeaseSpec.md @@ -7,11 +7,11 @@ LeaseSpec is a specification of a Lease. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**acquireTime** | [**DateTime**](DateTime.md) | acquireTime is a time when the current lease was acquired. | [optional] +**acquireTime** | [**OffsetDateTime**](OffsetDateTime.md) | acquireTime is a time when the current lease was acquired. | [optional] **holderIdentity** | **String** | holderIdentity contains the identity of the holder of a current lease. | [optional] **leaseDurationSeconds** | **Integer** | leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. | [optional] **leaseTransitions** | **Integer** | leaseTransitions is the number of transitions of a lease between holders. | [optional] -**renewTime** | [**DateTime**](DateTime.md) | renewTime is a time when the current holder of a lease has last updated the lease. | [optional] +**renewTime** | [**OffsetDateTime**](OffsetDateTime.md) | renewTime is a time when the current holder of a lease has last updated the lease. | [optional] diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md b/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md index 7648dab144..191412b291 100644 --- a/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md +++ b/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **currentHealthy** | **Integer** | current number of healthy pods | **desiredHealthy** | **Integer** | minimum desired number of healthy pods | -**disruptedPods** | [**Map<String, DateTime>**](DateTime.md) | DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. | [optional] +**disruptedPods** | [**Map<String, OffsetDateTime>**](OffsetDateTime.md) | DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. | [optional] **disruptionsAllowed** | **Integer** | Number of pod disruptions that are currently allowed. | **expectedPods** | **Integer** | total number of pods counted by this disruption budget | **observedGeneration** | **Long** | Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. | [optional] diff --git a/kubernetes/docs/V1beta1VolumeError.md b/kubernetes/docs/V1beta1VolumeError.md index 99a5ec3bc8..4dee387182 100644 --- a/kubernetes/docs/V1beta1VolumeError.md +++ b/kubernetes/docs/V1beta1VolumeError.md @@ -8,7 +8,7 @@ VolumeError captures an error encountered during a volume operation. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message** | **String** | String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. | [optional] -**time** | [**DateTime**](DateTime.md) | Time the error was encountered. | [optional] +**time** | [**OffsetDateTime**](OffsetDateTime.md) | Time the error was encountered. | [optional] diff --git a/kubernetes/docs/V2alpha1CronJobStatus.md b/kubernetes/docs/V2alpha1CronJobStatus.md index 75b8530baa..6948bc47b8 100644 --- a/kubernetes/docs/V2alpha1CronJobStatus.md +++ b/kubernetes/docs/V2alpha1CronJobStatus.md @@ -8,7 +8,7 @@ CronJobStatus represents the current state of a cron job. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | [**List<V1ObjectReference>**](V1ObjectReference.md) | A list of pointers to currently running jobs. | [optional] -**lastScheduleTime** | [**DateTime**](DateTime.md) | Information when was the last time the job was successfully scheduled. | [optional] +**lastScheduleTime** | [**OffsetDateTime**](OffsetDateTime.md) | Information when was the last time the job was successfully scheduled. | [optional] diff --git a/kubernetes/docs/V2beta1HorizontalPodAutoscalerCondition.md b/kubernetes/docs/V2beta1HorizontalPodAutoscalerCondition.md index be3d6a94ac..37a1df8852 100644 --- a/kubernetes/docs/V2beta1HorizontalPodAutoscalerCondition.md +++ b/kubernetes/docs/V2beta1HorizontalPodAutoscalerCondition.md @@ -7,7 +7,7 @@ HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscale Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime is the last time the condition transitioned from one status to another | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastTransitionTime is the last time the condition transitioned from one status to another | [optional] **message** | **String** | message is a human-readable explanation containing details about the transition | [optional] **reason** | **String** | reason is the reason for the condition's last transition. | [optional] **status** | **String** | status is the status of the condition (True, False, Unknown) | diff --git a/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md b/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md index c0e1c33d46..5ec1c8ba7a 100644 --- a/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md +++ b/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **currentMetrics** | [**List<V2beta1MetricStatus>**](V2beta1MetricStatus.md) | currentMetrics is the last read state of the metrics used by this autoscaler. | [optional] **currentReplicas** | **Integer** | currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. | **desiredReplicas** | **Integer** | desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. | -**lastScaleTime** | [**DateTime**](DateTime.md) | lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. | [optional] +**lastScaleTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. | [optional] **observedGeneration** | **Long** | observedGeneration is the most recent generation observed by this autoscaler. | [optional] diff --git a/kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md b/kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md index 2243cae3b3..b1aaa044b2 100644 --- a/kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md +++ b/kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md @@ -7,7 +7,7 @@ HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscale Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime is the last time the condition transitioned from one status to another | [optional] +**lastTransitionTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastTransitionTime is the last time the condition transitioned from one status to another | [optional] **message** | **String** | message is a human-readable explanation containing details about the transition | [optional] **reason** | **String** | reason is the reason for the condition's last transition. | [optional] **status** | **String** | status is the status of the condition (True, False, Unknown) | diff --git a/kubernetes/docs/V2beta2HorizontalPodAutoscalerStatus.md b/kubernetes/docs/V2beta2HorizontalPodAutoscalerStatus.md index 270764660a..528681a94a 100644 --- a/kubernetes/docs/V2beta2HorizontalPodAutoscalerStatus.md +++ b/kubernetes/docs/V2beta2HorizontalPodAutoscalerStatus.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **currentMetrics** | [**List<V2beta2MetricStatus>**](V2beta2MetricStatus.md) | currentMetrics is the last read state of the metrics used by this autoscaler. | [optional] **currentReplicas** | **Integer** | currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. | **desiredReplicas** | **Integer** | desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. | -**lastScaleTime** | [**DateTime**](DateTime.md) | lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. | [optional] +**lastScaleTime** | [**OffsetDateTime**](OffsetDateTime.md) | lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. | [optional] **observedGeneration** | **Long** | observedGeneration is the most recent generation observed by this autoscaler. | [optional] diff --git a/kubernetes/pom.xml b/kubernetes/pom.xml index 17c70ddf55..29669bf953 100644 --- a/kubernetes/pom.xml +++ b/kubernetes/pom.xml @@ -166,14 +166,6 @@ io.gsonfire gson-fire - - joda-time - joda-time - - - org.joda - joda-convert - org.apache.commons commons-lang3 diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java index 5b449201a0..b5af68cd71 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java @@ -29,6 +29,9 @@ import java.security.cert.CertificateException; import java.security.cert.CertificateFactory; import java.text.DateFormat; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.time.format.DateTimeFormatter; import java.util.*; import java.util.Map.Entry; import java.util.concurrent.TimeUnit; @@ -42,9 +45,6 @@ import okhttp3.logging.HttpLoggingInterceptor.Level; import okio.BufferedSink; import okio.Okio; -import org.joda.time.DateTime; -import org.joda.time.LocalDate; -import org.joda.time.format.DateTimeFormatter; public class ApiClient { @@ -244,8 +244,8 @@ public ApiClient setSqlDateFormat(DateFormat dateFormat) { return this; } - public ApiClient setDateTimeFormat(DateTimeFormatter dateFormat) { - this.json.setDateTimeFormat(dateFormat); + public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { + this.json.setOffsetDateTimeFormat(dateFormat); return this; } @@ -508,7 +508,9 @@ public ApiClient setWriteTimeout(int writeTimeout) { public String parameterToString(Object param) { if (param == null) { return ""; - } else if (param instanceof Date || param instanceof DateTime || param instanceof LocalDate) { + } else if (param instanceof Date + || param instanceof OffsetDateTime + || param instanceof LocalDate) { // Serialize to json string and remove the " enclosing characters String jsonStr = json.serialize(param); return jsonStr.substring(1, jsonStr.length() - 1); diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java index 4d57af86b6..79d4b2640a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java @@ -17,7 +17,7 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java index 771f1e96ad..217f684f62 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java @@ -14,7 +14,7 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java index 6fd80b1e35..4a629f7c9b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java @@ -17,30 +17,30 @@ import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapter; +import com.google.gson.internal.bind.util.ISO8601Utils; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.gsonfire.GsonFireBuilder; +import io.kubernetes.client.openapi.models.*; import java.io.IOException; import java.io.StringReader; import java.lang.reflect.Type; import java.text.DateFormat; import java.text.ParseException; +import java.text.ParsePosition; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.time.format.DateTimeFormatter; import java.util.Date; -import java.util.Locale; import java.util.Map; import okio.ByteString; -import org.joda.time.DateTime; -import org.joda.time.LocalDate; -import org.joda.time.format.DateTimeFormatter; -import org.joda.time.format.DateTimeFormatterBuilder; -import org.joda.time.format.ISODateTimeFormat; public class JSON { private Gson gson; private boolean isLenientOnJson = false; private DateTypeAdapter dateTypeAdapter = new DateTypeAdapter(); private SqlDateTypeAdapter sqlDateTypeAdapter = new SqlDateTypeAdapter(); - private DateTimeTypeAdapter dateTimeTypeAdapter = new DateTimeTypeAdapter(); + private OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter(); private LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); private ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); @@ -53,32 +53,35 @@ public static GsonBuilder createGson() { private static String getDiscriminatorValue(JsonElement readElement, String discriminatorField) { JsonElement element = readElement.getAsJsonObject().get(discriminatorField); if (null == element) { - throw new IllegalArgumentException( - "missing discriminator field: <" + discriminatorField + ">"); + throw new IllegalArgumentException("missing discriminator field: <" + discriminatorField + ">"); } return element.getAsString(); } - private static Class getClassByDiscriminator( - Map classByDiscriminatorValue, String discriminatorValue) { - Class clazz = - (Class) classByDiscriminatorValue.get(discriminatorValue.toUpperCase(Locale.ROOT)); + /** + * Returns the Java class that implements the OpenAPI schema for the specified + * discriminator value. + * + * @param classByDiscriminatorValue The map of discriminator values to Java + * classes. + * @param discriminatorValue The value of the OpenAPI discriminator in + * the input data. + * @return The Java class that implements the OpenAPI schema + */ + private static Class getClassByDiscriminator(Map classByDiscriminatorValue, String discriminatorValue) { + Class clazz = (Class) classByDiscriminatorValue.get(discriminatorValue); if (null == clazz) { - throw new IllegalArgumentException( - "cannot determine model class of name: <" + discriminatorValue + ">"); + throw new IllegalArgumentException("cannot determine model class of name: <" + discriminatorValue + ">"); } return clazz; } public JSON() { - gson = - createGson() - .registerTypeAdapter(Date.class, dateTypeAdapter) - .registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter) - .registerTypeAdapter(DateTime.class, dateTimeTypeAdapter) - .registerTypeAdapter(LocalDate.class, localDateTypeAdapter) - .registerTypeAdapter(byte[].class, byteArrayAdapter) - .create(); + gson = createGson().registerTypeAdapter(Date.class, dateTypeAdapter) + .registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter) + .registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter) + .registerTypeAdapter(LocalDate.class, localDateTypeAdapter).registerTypeAdapter(byte[].class, byteArrayAdapter) + .create(); } /** @@ -119,8 +122,8 @@ public String serialize(Object obj) { /** * Deserialize the given JSON string to Java object. * - * @param Type - * @param body The JSON string + * @param Type + * @param body The JSON string * @param returnType The type to deserialize into * @return The deserialized Java object */ @@ -176,21 +179,16 @@ public byte[] read(JsonReader in) throws IOException { } } - /** Gson TypeAdapter for Joda DateTime type */ - public static class DateTimeTypeAdapter extends TypeAdapter { + /** Gson TypeAdapter for JSR310 OffsetDateTime type */ + public static class OffsetDateTimeTypeAdapter extends TypeAdapter { private DateTimeFormatter formatter; - public DateTimeTypeAdapter() { - this( - new DateTimeFormatterBuilder() - .append( - ISODateTimeFormat.dateTime().getPrinter(), - ISODateTimeFormat.dateOptionalTimeParser().getParser()) - .toFormatter()); + public OffsetDateTimeTypeAdapter() { + this(DateTimeFormatter.ISO_OFFSET_DATE_TIME); } - public DateTimeTypeAdapter(DateTimeFormatter formatter) { + public OffsetDateTimeTypeAdapter(DateTimeFormatter formatter) { this.formatter = formatter; } @@ -199,34 +197,37 @@ public void setFormat(DateTimeFormatter dateFormat) { } @Override - public void write(JsonWriter out, DateTime date) throws IOException { + public void write(JsonWriter out, OffsetDateTime date) throws IOException { if (date == null) { out.nullValue(); } else { - out.value(formatter.print(date)); + out.value(formatter.format(date)); } } @Override - public DateTime read(JsonReader in) throws IOException { + public OffsetDateTime read(JsonReader in) throws IOException { switch (in.peek()) { case NULL: in.nextNull(); return null; default: String date = in.nextString(); - return formatter.parseDateTime(date); + if (date.endsWith("+0000")) { + date = date.substring(0, date.length() - 5) + "Z"; + } + return OffsetDateTime.parse(date, formatter); } } } - /** Gson TypeAdapter for Joda LocalDate type */ + /** Gson TypeAdapter for JSR310 LocalDate type */ public class LocalDateTypeAdapter extends TypeAdapter { private DateTimeFormatter formatter; public LocalDateTypeAdapter() { - this(ISODateTimeFormat.date()); + this(DateTimeFormatter.ISO_LOCAL_DATE); } public LocalDateTypeAdapter(DateTimeFormatter formatter) { @@ -242,7 +243,7 @@ public void write(JsonWriter out, LocalDate date) throws IOException { if (date == null) { out.nullValue(); } else { - out.value(formatter.print(date)); + out.value(formatter.format(date)); } } @@ -254,13 +255,13 @@ public LocalDate read(JsonReader in) throws IOException { return null; default: String date = in.nextString(); - return formatter.parseLocalDate(date); + return LocalDate.parse(date, formatter); } } } - public JSON setDateTimeFormat(DateTimeFormatter dateFormat) { - dateTimeTypeAdapter.setFormat(dateFormat); + public JSON setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { + offsetDateTimeTypeAdapter.setFormat(dateFormat); return this; } @@ -270,14 +271,15 @@ public JSON setLocalDateFormat(DateTimeFormatter dateFormat) { } /** - * Gson TypeAdapter for java.sql.Date type If the dateFormat is null, a simple "yyyy-MM-dd" format - * will be used (more efficient than SimpleDateFormat). + * Gson TypeAdapter for java.sql.Date type If the dateFormat is null, a simple + * "yyyy-MM-dd" format will be used (more efficient than SimpleDateFormat). */ public static class SqlDateTypeAdapter extends TypeAdapter { private DateFormat dateFormat; - public SqlDateTypeAdapter() {} + public SqlDateTypeAdapter() { + } public SqlDateTypeAdapter(DateFormat dateFormat) { this.dateFormat = dateFormat; @@ -314,7 +316,7 @@ public java.sql.Date read(JsonReader in) throws IOException { if (dateFormat != null) { return new java.sql.Date(dateFormat.parse(date).getTime()); } - return new java.sql.Date(ISODateTimeFormat.basicDateTime().parseMillis(date)); + return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime()); } catch (ParseException e) { throw new JsonParseException(e); } @@ -323,13 +325,15 @@ public java.sql.Date read(JsonReader in) throws IOException { } /** - * Gson TypeAdapter for java.util.Date type If the dateFormat is null, ISO8601Utils will be used. + * Gson TypeAdapter for java.util.Date type If the dateFormat is null, + * ISO8601Utils will be used. */ public static class DateTypeAdapter extends TypeAdapter { private DateFormat dateFormat; - public DateTypeAdapter() {} + public DateTypeAdapter() { + } public DateTypeAdapter(DateFormat dateFormat) { this.dateFormat = dateFormat; @@ -348,7 +352,7 @@ public void write(JsonWriter out, Date date) throws IOException { if (dateFormat != null) { value = dateFormat.format(date); } else { - value = ISODateTimeFormat.basicDateTime().print(date.getTime()); + value = ISO8601Utils.format(date, true); } out.value(value); } @@ -367,7 +371,7 @@ public Date read(JsonReader in) throws IOException { if (dateFormat != null) { return dateFormat.parse(date); } - return ISODateTimeFormat.basicDateTime().parseDateTime(date).toDate(); + return ISO8601Utils.parse(date, new ParsePosition(0)); } catch (ParseException e) { throw new JsonParseException(e); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java index 7761c5ce58..b819957fd1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java @@ -14,7 +14,7 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class Pair { private String name = ""; private String value = ""; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java index c7a380faae..d2cd9c1aec 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java @@ -14,7 +14,7 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java index c8a2f6e41c..cd82f4d9da 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java @@ -18,7 +18,7 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java index 451f3d3cfa..6d8c626929 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java @@ -18,7 +18,7 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java index b7885983d6..18a0a65d5d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java @@ -21,7 +21,7 @@ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class AdmissionregistrationV1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java index f64bbe72aa..1437f1e846 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java @@ -24,7 +24,7 @@ "WebhookClientConfig contains the information to make a TLS connection with the webhook") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class AdmissionregistrationV1WebhookClientConfig { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1beta1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1beta1ServiceReference.java index 4c1ba95060..8cc381f9f3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1beta1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1beta1ServiceReference.java @@ -21,7 +21,7 @@ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class AdmissionregistrationV1beta1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1beta1WebhookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1beta1WebhookClientConfig.java index 1213c322d4..93f8c26b3f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1beta1WebhookClientConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1beta1WebhookClientConfig.java @@ -24,7 +24,7 @@ "WebhookClientConfig contains the information to make a TLS connection with the webhook") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class AdmissionregistrationV1beta1WebhookClientConfig { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java index 7c56c320f4..502de8d4ed 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java @@ -21,7 +21,7 @@ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ApiextensionsV1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java index 6c0040a465..1328d96169 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java @@ -24,7 +24,7 @@ "WebhookClientConfig contains the information to make a TLS connection with the webhook.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ApiextensionsV1WebhookClientConfig { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1beta1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1beta1ServiceReference.java index 00508a4e2f..ee233b6aa5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1beta1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1beta1ServiceReference.java @@ -21,7 +21,7 @@ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ApiextensionsV1beta1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1beta1WebhookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1beta1WebhookClientConfig.java index ea794bab34..126d3bee21 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1beta1WebhookClientConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1beta1WebhookClientConfig.java @@ -24,7 +24,7 @@ "WebhookClientConfig contains the information to make a TLS connection with the webhook.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ApiextensionsV1beta1WebhookClientConfig { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java index 050a48eb6d..78aabb80f9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java @@ -21,7 +21,7 @@ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ApiregistrationV1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1beta1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1beta1ServiceReference.java index 0727a916bf..21617136af 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1beta1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1beta1ServiceReference.java @@ -21,7 +21,7 @@ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ApiregistrationV1beta1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java index 44b52f4f24..380f1d9966 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java @@ -15,14 +15,14 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** Event is a report of an event somewhere in the cluster. */ @ApiModel(description = "Event is a report of an event somewhere in the cluster.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class CoreV1Event implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ACTION = "action"; @@ -42,12 +42,12 @@ public class CoreV1Event implements io.kubernetes.client.common.KubernetesObject public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - private DateTime eventTime; + private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_FIRST_TIMESTAMP = "firstTimestamp"; @SerializedName(SERIALIZED_NAME_FIRST_TIMESTAMP) - private DateTime firstTimestamp; + private OffsetDateTime firstTimestamp; public static final String SERIALIZED_NAME_INVOLVED_OBJECT = "involvedObject"; @@ -62,7 +62,7 @@ public class CoreV1Event implements io.kubernetes.client.common.KubernetesObject public static final String SERIALIZED_NAME_LAST_TIMESTAMP = "lastTimestamp"; @SerializedName(SERIALIZED_NAME_LAST_TIMESTAMP) - private DateTime lastTimestamp; + private OffsetDateTime lastTimestamp; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -177,7 +177,7 @@ public void setCount(Integer count) { this.count = count; } - public CoreV1Event eventTime(DateTime eventTime) { + public CoreV1Event eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; @@ -190,15 +190,15 @@ public CoreV1Event eventTime(DateTime eventTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Time when this Event was first observed.") - public DateTime getEventTime() { + public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(DateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public CoreV1Event firstTimestamp(DateTime firstTimestamp) { + public CoreV1Event firstTimestamp(OffsetDateTime firstTimestamp) { this.firstTimestamp = firstTimestamp; return this; @@ -213,11 +213,11 @@ public CoreV1Event firstTimestamp(DateTime firstTimestamp) { @ApiModelProperty( value = "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)") - public DateTime getFirstTimestamp() { + public OffsetDateTime getFirstTimestamp() { return firstTimestamp; } - public void setFirstTimestamp(DateTime firstTimestamp) { + public void setFirstTimestamp(OffsetDateTime firstTimestamp) { this.firstTimestamp = firstTimestamp; } @@ -267,7 +267,7 @@ public void setKind(String kind) { this.kind = kind; } - public CoreV1Event lastTimestamp(DateTime lastTimestamp) { + public CoreV1Event lastTimestamp(OffsetDateTime lastTimestamp) { this.lastTimestamp = lastTimestamp; return this; @@ -281,11 +281,11 @@ public CoreV1Event lastTimestamp(DateTime lastTimestamp) { @javax.annotation.Nullable @ApiModelProperty( value = "The time at which the most recent occurrence of this event was recorded.") - public DateTime getLastTimestamp() { + public OffsetDateTime getLastTimestamp() { return lastTimestamp; } - public void setLastTimestamp(DateTime lastTimestamp) { + public void setLastTimestamp(OffsetDateTime lastTimestamp) { this.lastTimestamp = lastTimestamp; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java index 6342c4248b..1cfb89d419 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java @@ -23,7 +23,7 @@ @ApiModel(description = "EventList is a list of events.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class CoreV1EventList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class CoreV1EventList implements io.kubernetes.client.common.KubernetesLi public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java index 97e5e99938..e53035536a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * EventSeries contain information on series of events, i.e. thing that was/is happening @@ -27,7 +27,7 @@ "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class CoreV1EventSeries { public static final String SERIALIZED_NAME_COUNT = "count"; @@ -37,7 +37,7 @@ public class CoreV1EventSeries { public static final String SERIALIZED_NAME_LAST_OBSERVED_TIME = "lastObservedTime"; @SerializedName(SERIALIZED_NAME_LAST_OBSERVED_TIME) - private DateTime lastObservedTime; + private OffsetDateTime lastObservedTime; public CoreV1EventSeries count(Integer count) { @@ -60,7 +60,7 @@ public void setCount(Integer count) { this.count = count; } - public CoreV1EventSeries lastObservedTime(DateTime lastObservedTime) { + public CoreV1EventSeries lastObservedTime(OffsetDateTime lastObservedTime) { this.lastObservedTime = lastObservedTime; return this; @@ -73,11 +73,11 @@ public CoreV1EventSeries lastObservedTime(DateTime lastObservedTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Time of the last occurrence observed") - public DateTime getLastObservedTime() { + public OffsetDateTime getLastObservedTime() { return lastObservedTime; } - public void setLastObservedTime(DateTime lastObservedTime) { + public void setLastObservedTime(OffsetDateTime lastObservedTime) { this.lastObservedTime = lastObservedTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java index 8bf2a835b9..f92421db2a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * Event is a report of an event somewhere in the cluster. It generally denotes some state change in @@ -27,7 +27,7 @@ "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class EventsV1Event implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ACTION = "action"; @@ -48,12 +48,12 @@ public class EventsV1Event implements io.kubernetes.client.common.KubernetesObje "deprecatedFirstTimestamp"; @SerializedName(SERIALIZED_NAME_DEPRECATED_FIRST_TIMESTAMP) - private DateTime deprecatedFirstTimestamp; + private OffsetDateTime deprecatedFirstTimestamp; public static final String SERIALIZED_NAME_DEPRECATED_LAST_TIMESTAMP = "deprecatedLastTimestamp"; @SerializedName(SERIALIZED_NAME_DEPRECATED_LAST_TIMESTAMP) - private DateTime deprecatedLastTimestamp; + private OffsetDateTime deprecatedLastTimestamp; public static final String SERIALIZED_NAME_DEPRECATED_SOURCE = "deprecatedSource"; @@ -63,7 +63,7 @@ public class EventsV1Event implements io.kubernetes.client.common.KubernetesObje public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - private DateTime eventTime; + private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_KIND = "kind"; @@ -189,7 +189,7 @@ public void setDeprecatedCount(Integer deprecatedCount) { this.deprecatedCount = deprecatedCount; } - public EventsV1Event deprecatedFirstTimestamp(DateTime deprecatedFirstTimestamp) { + public EventsV1Event deprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTimestamp) { this.deprecatedFirstTimestamp = deprecatedFirstTimestamp; return this; @@ -205,15 +205,15 @@ public EventsV1Event deprecatedFirstTimestamp(DateTime deprecatedFirstTimestamp) @ApiModelProperty( value = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.") - public DateTime getDeprecatedFirstTimestamp() { + public OffsetDateTime getDeprecatedFirstTimestamp() { return deprecatedFirstTimestamp; } - public void setDeprecatedFirstTimestamp(DateTime deprecatedFirstTimestamp) { + public void setDeprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTimestamp) { this.deprecatedFirstTimestamp = deprecatedFirstTimestamp; } - public EventsV1Event deprecatedLastTimestamp(DateTime deprecatedLastTimestamp) { + public EventsV1Event deprecatedLastTimestamp(OffsetDateTime deprecatedLastTimestamp) { this.deprecatedLastTimestamp = deprecatedLastTimestamp; return this; @@ -229,11 +229,11 @@ public EventsV1Event deprecatedLastTimestamp(DateTime deprecatedLastTimestamp) { @ApiModelProperty( value = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.") - public DateTime getDeprecatedLastTimestamp() { + public OffsetDateTime getDeprecatedLastTimestamp() { return deprecatedLastTimestamp; } - public void setDeprecatedLastTimestamp(DateTime deprecatedLastTimestamp) { + public void setDeprecatedLastTimestamp(OffsetDateTime deprecatedLastTimestamp) { this.deprecatedLastTimestamp = deprecatedLastTimestamp; } @@ -258,7 +258,7 @@ public void setDeprecatedSource(V1EventSource deprecatedSource) { this.deprecatedSource = deprecatedSource; } - public EventsV1Event eventTime(DateTime eventTime) { + public EventsV1Event eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; @@ -272,11 +272,11 @@ public EventsV1Event eventTime(DateTime eventTime) { @ApiModelProperty( required = true, value = "eventTime is the time when this Event was first observed. It is required.") - public DateTime getEventTime() { + public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(DateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java index 236880d938..7859ba11d8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java @@ -23,7 +23,7 @@ @ApiModel(description = "EventList is a list of Event objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class EventsV1EventList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class EventsV1EventList implements io.kubernetes.client.common.Kubernetes public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java index 4bec076b56..bacd6c13ad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * EventSeries contain information on series of events, i.e. thing that was/is happening @@ -29,7 +29,7 @@ "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class EventsV1EventSeries { public static final String SERIALIZED_NAME_COUNT = "count"; @@ -39,7 +39,7 @@ public class EventsV1EventSeries { public static final String SERIALIZED_NAME_LAST_OBSERVED_TIME = "lastObservedTime"; @SerializedName(SERIALIZED_NAME_LAST_OBSERVED_TIME) - private DateTime lastObservedTime; + private OffsetDateTime lastObservedTime; public EventsV1EventSeries count(Integer count) { @@ -63,7 +63,7 @@ public void setCount(Integer count) { this.count = count; } - public EventsV1EventSeries lastObservedTime(DateTime lastObservedTime) { + public EventsV1EventSeries lastObservedTime(OffsetDateTime lastObservedTime) { this.lastObservedTime = lastObservedTime; return this; @@ -78,11 +78,11 @@ public EventsV1EventSeries lastObservedTime(DateTime lastObservedTime) { required = true, value = "lastObservedTime is the time when last Event from the series was seen before last heartbeat.") - public DateTime getLastObservedTime() { + public OffsetDateTime getLastObservedTime() { return lastObservedTime; } - public void setLastObservedTime(DateTime lastObservedTime) { + public void setLastObservedTime(OffsetDateTime lastObservedTime) { this.lastObservedTime = lastObservedTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1HTTPIngressPath.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1HTTPIngressPath.java index cbd0f9d3d0..b2deb5b147 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1HTTPIngressPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1HTTPIngressPath.java @@ -26,7 +26,7 @@ "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1HTTPIngressPath { public static final String SERIALIZED_NAME_BACKEND = "backend"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1HTTPIngressRuleValue.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1HTTPIngressRuleValue.java index cef0732497..808d3f47ff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1HTTPIngressRuleValue.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1HTTPIngressRuleValue.java @@ -30,13 +30,12 @@ "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1HTTPIngressRuleValue { public static final String SERIALIZED_NAME_PATHS = "paths"; @SerializedName(SERIALIZED_NAME_PATHS) - private List paths = - new ArrayList(); + private List paths = new ArrayList<>(); public ExtensionsV1beta1HTTPIngressRuleValue paths(List paths) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1Ingress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1Ingress.java index 856222f342..224b8ebf07 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1Ingress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1Ingress.java @@ -29,7 +29,7 @@ "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1Ingress implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressBackend.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressBackend.java index f2df28fd38..e97ff1e27e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressBackend.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressBackend.java @@ -22,7 +22,7 @@ @ApiModel(description = "IngressBackend describes all endpoints for a given service and port.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1IngressBackend { public static final String SERIALIZED_NAME_RESOURCE = "resource"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressList.java index a80824321b..f9a8513cd2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressList.java @@ -23,7 +23,7 @@ @ApiModel(description = "IngressList is a collection of Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1IngressList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class ExtensionsV1beta1IngressList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressRule.java index 1c55a752ce..07057799a7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressRule.java @@ -27,7 +27,7 @@ "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1IngressRule { public static final String SERIALIZED_NAME_HOST = "host"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressSpec.java index 81d2cb178f..d43756b761 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "IngressSpec describes the Ingress the user wishes to exist.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1IngressSpec { public static final String SERIALIZED_NAME_BACKEND = "backend"; @@ -104,7 +104,7 @@ public ExtensionsV1beta1IngressSpec rules(List rul public ExtensionsV1beta1IngressSpec addRulesItem(ExtensionsV1beta1IngressRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; @@ -136,7 +136,7 @@ public ExtensionsV1beta1IngressSpec tls(List tls) { public ExtensionsV1beta1IngressSpec addTlsItem(ExtensionsV1beta1IngressTLS tlsItem) { if (this.tls == null) { - this.tls = new ArrayList(); + this.tls = new ArrayList<>(); } this.tls.add(tlsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressStatus.java index e0d74e75f2..8a7da1daeb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "IngressStatus describe the current state of the Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1IngressStatus { public static final String SERIALIZED_NAME_LOAD_BALANCER = "loadBalancer"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressTLS.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressTLS.java index 4c846d518b..d29bc4489b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressTLS.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ExtensionsV1beta1IngressTLS.java @@ -24,7 +24,7 @@ description = "IngressTLS describes the transport layer security associated with an Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class ExtensionsV1beta1IngressTLS { public static final String SERIALIZED_NAME_HOSTS = "hosts"; @@ -44,7 +44,7 @@ public ExtensionsV1beta1IngressTLS hosts(List hosts) { public ExtensionsV1beta1IngressTLS addHostsItem(String hostsItem) { if (this.hosts == null) { - this.hosts = new ArrayList(); + this.hosts = new ArrayList<>(); } this.hosts.add(hostsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1alpha1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1alpha1Subject.java index b4d0b71fd7..9bf31c50b9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1alpha1Subject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1alpha1Subject.java @@ -26,7 +26,7 @@ "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class FlowcontrolV1alpha1Subject { public static final String SERIALIZED_NAME_GROUP = "group"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1HTTPIngressPath.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1HTTPIngressPath.java index a02d03f84e..4e1cebfbde 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1HTTPIngressPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1HTTPIngressPath.java @@ -26,7 +26,7 @@ "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1HTTPIngressPath { public static final String SERIALIZED_NAME_BACKEND = "backend"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1HTTPIngressRuleValue.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1HTTPIngressRuleValue.java index e2e23a0751..0fbbba65aa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1HTTPIngressRuleValue.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1HTTPIngressRuleValue.java @@ -30,13 +30,12 @@ "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1HTTPIngressRuleValue { public static final String SERIALIZED_NAME_PATHS = "paths"; @SerializedName(SERIALIZED_NAME_PATHS) - private List paths = - new ArrayList(); + private List paths = new ArrayList<>(); public NetworkingV1beta1HTTPIngressRuleValue paths(List paths) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1Ingress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1Ingress.java index 68368ca9c2..2fe132910a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1Ingress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1Ingress.java @@ -27,7 +27,7 @@ "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1Ingress implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressBackend.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressBackend.java index 5151d30b2b..3f4c83da95 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressBackend.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressBackend.java @@ -22,7 +22,7 @@ @ApiModel(description = "IngressBackend describes all endpoints for a given service and port.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1IngressBackend { public static final String SERIALIZED_NAME_RESOURCE = "resource"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressList.java index 9e53097077..1ed5e3c381 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressList.java @@ -23,7 +23,7 @@ @ApiModel(description = "IngressList is a collection of Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1IngressList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class NetworkingV1beta1IngressList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressRule.java index eb00c0352b..28ad4271cf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressRule.java @@ -27,7 +27,7 @@ "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1IngressRule { public static final String SERIALIZED_NAME_HOST = "host"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressSpec.java index c039ad6b04..14c2158bf6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "IngressSpec describes the Ingress the user wishes to exist.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1IngressSpec { public static final String SERIALIZED_NAME_BACKEND = "backend"; @@ -104,7 +104,7 @@ public NetworkingV1beta1IngressSpec rules(List rul public NetworkingV1beta1IngressSpec addRulesItem(NetworkingV1beta1IngressRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; @@ -136,7 +136,7 @@ public NetworkingV1beta1IngressSpec tls(List tls) { public NetworkingV1beta1IngressSpec addTlsItem(NetworkingV1beta1IngressTLS tlsItem) { if (this.tls == null) { - this.tls = new ArrayList(); + this.tls = new ArrayList<>(); } this.tls.add(tlsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressStatus.java index 05aaf7c748..4f25580d6c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "IngressStatus describe the current state of the Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1IngressStatus { public static final String SERIALIZED_NAME_LOAD_BALANCER = "loadBalancer"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressTLS.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressTLS.java index 9b44735bc4..4f640d6067 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressTLS.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/NetworkingV1beta1IngressTLS.java @@ -24,7 +24,7 @@ description = "IngressTLS describes the transport layer security associated with an Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class NetworkingV1beta1IngressTLS { public static final String SERIALIZED_NAME_HOSTS = "hosts"; @@ -44,7 +44,7 @@ public NetworkingV1beta1IngressTLS hosts(List hosts) { public NetworkingV1beta1IngressTLS addHostsItem(String hostsItem) { if (this.hosts == null) { - this.hosts = new ArrayList(); + this.hosts = new ArrayList<>(); } this.hosts.add(hostsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1alpha1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1alpha1Subject.java index 0c7662e59d..4b561421a5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1alpha1Subject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1alpha1Subject.java @@ -27,7 +27,7 @@ "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class RbacV1alpha1Subject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java index 1e65366fb3..2bdd7d95c8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java @@ -25,7 +25,7 @@ "APIGroup contains the name, the supported versions, and the preferred version of a group.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIGroup { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -56,7 +56,7 @@ public class V1APIGroup { public static final String SERIALIZED_NAME_VERSIONS = "versions"; @SerializedName(SERIALIZED_NAME_VERSIONS) - private List versions = new ArrayList(); + private List versions = new ArrayList<>(); public V1APIGroup apiVersion(String apiVersion) { @@ -161,7 +161,7 @@ public V1APIGroup serverAddressByClientCIDRs( public V1APIGroup addServerAddressByClientCIDRsItem( V1ServerAddressByClientCIDR serverAddressByClientCIDRsItem) { if (this.serverAddressByClientCIDRs == null) { - this.serverAddressByClientCIDRs = new ArrayList(); + this.serverAddressByClientCIDRs = new ArrayList<>(); } this.serverAddressByClientCIDRs.add(serverAddressByClientCIDRsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java index 44f180f66b..0c03cf8655 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java @@ -25,7 +25,7 @@ "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIGroupList { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,7 +35,7 @@ public class V1APIGroupList { public static final String SERIALIZED_NAME_GROUPS = "groups"; @SerializedName(SERIALIZED_NAME_GROUPS) - private List groups = new ArrayList(); + private List groups = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java index c7ae7e6234..faff7a3ff4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java @@ -24,7 +24,7 @@ description = "APIResource specifies the name of a resource and whether it is namespaced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIResource { public static final String SERIALIZED_NAME_CATEGORIES = "categories"; @@ -69,7 +69,7 @@ public class V1APIResource { public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public static final String SERIALIZED_NAME_VERSION = "version"; @@ -84,7 +84,7 @@ public V1APIResource categories(List categories) { public V1APIResource addCategoriesItem(String categoriesItem) { if (this.categories == null) { - this.categories = new ArrayList(); + this.categories = new ArrayList<>(); } this.categories.add(categoriesItem); return this; @@ -202,7 +202,7 @@ public V1APIResource shortNames(List shortNames) { public V1APIResource addShortNamesItem(String shortNamesItem) { if (this.shortNames == null) { - this.shortNames = new ArrayList(); + this.shortNames = new ArrayList<>(); } this.shortNames.add(shortNamesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java index 67e1307a27..0a79a19da9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java @@ -28,7 +28,7 @@ "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIResourceList { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -48,7 +48,7 @@ public class V1APIResourceList { public static final String SERIALIZED_NAME_RESOURCES = "resources"; @SerializedName(SERIALIZED_NAME_RESOURCES) - private List resources = new ArrayList(); + private List resources = new ArrayList<>(); public V1APIResourceList apiVersion(String apiVersion) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java index a7a632e757..ab51cb1f7c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java @@ -26,7 +26,7 @@ "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIService implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java index 7ee17154b0..7362e4c368 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java @@ -15,20 +15,20 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** APIServiceCondition describes the state of an APIService at a particular point */ @ApiModel( description = "APIServiceCondition describes the state of an APIService at a particular point") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIServiceCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -50,7 +50,7 @@ public class V1APIServiceCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1APIServiceCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1APIServiceCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -63,11 +63,11 @@ public V1APIServiceCondition lastTransitionTime(DateTime lastTransitionTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java index 92e7987870..cc147566a4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java @@ -23,7 +23,7 @@ @ApiModel(description = "APIServiceList is a list of APIService objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIServiceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1APIServiceList implements io.kubernetes.client.common.KubernetesL public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java index 0e38e8ffe7..61690eee6f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java @@ -27,7 +27,7 @@ "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIServiceSpec { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java index 0c731fcdc7..b87c3057ba 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "APIServiceStatus contains derived information about an API server") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIServiceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @@ -38,7 +38,7 @@ public V1APIServiceStatus conditions(List conditions) { public V1APIServiceStatus addConditionsItem(V1APIServiceCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java index 62512108ee..5aca25d810 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java @@ -28,7 +28,7 @@ "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1APIVersions { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -44,13 +44,12 @@ public class V1APIVersions { "serverAddressByClientCIDRs"; @SerializedName(SERIALIZED_NAME_SERVER_ADDRESS_BY_CLIENT_C_I_D_RS) - private List serverAddressByClientCIDRs = - new ArrayList(); + private List serverAddressByClientCIDRs = new ArrayList<>(); public static final String SERIALIZED_NAME_VERSIONS = "versions"; @SerializedName(SERIALIZED_NAME_VERSIONS) - private List versions = new ArrayList(); + private List versions = new ArrayList<>(); public V1APIVersions apiVersion(String apiVersion) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java index bd6f78f77a..cadce55497 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java @@ -27,7 +27,7 @@ "Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1AWSElasticBlockStoreVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java index e27d553d92..b6a767895b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java @@ -21,7 +21,7 @@ @ApiModel(description = "Affinity is a group of affinity scheduling rules.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Affinity { public static final String SERIALIZED_NAME_NODE_AFFINITY = "nodeAffinity"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java index f7b3c6bdd2..7af1a4620d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java @@ -25,7 +25,7 @@ "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1AggregationRule { public static final String SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS = "clusterRoleSelectors"; @@ -40,7 +40,7 @@ public V1AggregationRule clusterRoleSelectors(List clusterRoleS public V1AggregationRule addClusterRoleSelectorsItem(V1LabelSelector clusterRoleSelectorsItem) { if (this.clusterRoleSelectors == null) { - this.clusterRoleSelectors = new ArrayList(); + this.clusterRoleSelectors = new ArrayList<>(); } this.clusterRoleSelectors.add(clusterRoleSelectorsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java index 05e83a6946..238fca52f7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java @@ -21,7 +21,7 @@ @ApiModel(description = "AttachedVolume describes a volume attached to a node") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1AttachedVolume { public static final String SERIALIZED_NAME_DEVICE_PATH = "devicePath"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java index be8be43e9c..7c98ec02f5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java @@ -23,7 +23,7 @@ "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1AzureDiskVolumeSource { public static final String SERIALIZED_NAME_CACHING_MODE = "cachingMode"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java index acab50d0f0..86deced147 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java @@ -23,7 +23,7 @@ "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1AzureFilePersistentVolumeSource { public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java index 2d29b25b3e..ee8ee2baba 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java @@ -23,7 +23,7 @@ "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1AzureFileVolumeSource { public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java index 7404894d68..efdcc9f710 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java @@ -26,7 +26,7 @@ "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Binding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java index 4271708697..10d4a512c8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java @@ -22,7 +22,7 @@ description = "BoundObjectReference is a reference to an object that a token is bound to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1BoundObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java index c19aa93db1..7a710492c0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java @@ -28,7 +28,7 @@ "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSIDriver implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java index 129465908b..5c8844c12a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java @@ -23,7 +23,7 @@ @ApiModel(description = "CSIDriverList is a collection of CSIDriver objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSIDriverList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1CSIDriverList implements io.kubernetes.client.common.KubernetesLi public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java index 4a62b6d614..cf22a7ca49 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "CSIDriverSpec is the specification of a CSIDriver.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSIDriverSpec { public static final String SERIALIZED_NAME_ATTACH_REQUIRED = "attachRequired"; @@ -184,7 +184,7 @@ public V1CSIDriverSpec volumeLifecycleModes(List volumeLifecycleModes) { public V1CSIDriverSpec addVolumeLifecycleModesItem(String volumeLifecycleModesItem) { if (this.volumeLifecycleModes == null) { - this.volumeLifecycleModes = new ArrayList(); + this.volumeLifecycleModes = new ArrayList<>(); } this.volumeLifecycleModes.add(volumeLifecycleModesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java index 4c43993b60..24d23c6c1f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java @@ -31,7 +31,7 @@ "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSINode implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java index c6e950f238..deb11806f7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java @@ -25,7 +25,7 @@ "CSINodeDriver holds information about the specification of one CSI driver installed on a node") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSINodeDriver { public static final String SERIALIZED_NAME_ALLOCATABLE = "allocatable"; @@ -129,7 +129,7 @@ public V1CSINodeDriver topologyKeys(List topologyKeys) { public V1CSINodeDriver addTopologyKeysItem(String topologyKeysItem) { if (this.topologyKeys == null) { - this.topologyKeys = new ArrayList(); + this.topologyKeys = new ArrayList<>(); } this.topologyKeys.add(topologyKeysItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java index 0456cad418..da9c115cbd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java @@ -23,7 +23,7 @@ @ApiModel(description = "CSINodeList is a collection of CSINode objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSINodeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1CSINodeList implements io.kubernetes.client.common.KubernetesList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java index d655c61a8f..ced8b21d1f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java @@ -25,12 +25,12 @@ "CSINodeSpec holds information about the specification of all CSI drivers installed on a node") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSINodeSpec { public static final String SERIALIZED_NAME_DRIVERS = "drivers"; @SerializedName(SERIALIZED_NAME_DRIVERS) - private List drivers = new ArrayList(); + private List drivers = new ArrayList<>(); public V1CSINodeSpec drivers(List drivers) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java index 6fa5de699f..71d562d5d3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java @@ -25,7 +25,7 @@ "Represents storage that is managed by an external CSI volume driver (Beta feature)") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSIPersistentVolumeSource { public static final String SERIALIZED_NAME_CONTROLLER_EXPAND_SECRET_REF = "controllerExpandSecretRef"; @@ -238,7 +238,7 @@ public V1CSIPersistentVolumeSource volumeAttributes(Map volumeAt public V1CSIPersistentVolumeSource putVolumeAttributesItem( String key, String volumeAttributesItem) { if (this.volumeAttributes == null) { - this.volumeAttributes = new HashMap(); + this.volumeAttributes = new HashMap<>(); } this.volumeAttributes.put(key, volumeAttributesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java index a509eff4cd..2f6aa7da38 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java @@ -25,7 +25,7 @@ "Represents a source location of a volume to mount, managed by an external CSI driver") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CSIVolumeSource { public static final String SERIALIZED_NAME_DRIVER = "driver"; @@ -152,7 +152,7 @@ public V1CSIVolumeSource volumeAttributes(Map volumeAttributes) public V1CSIVolumeSource putVolumeAttributesItem(String key, String volumeAttributesItem) { if (this.volumeAttributes == null) { - this.volumeAttributes = new HashMap(); + this.volumeAttributes = new HashMap<>(); } this.volumeAttributes.put(key, volumeAttributesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java index 07bb1b573a..4a4c10cb70 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java @@ -23,7 +23,7 @@ @ApiModel(description = "Adds and removes POSIX capabilities from running containers.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Capabilities { public static final String SERIALIZED_NAME_ADD = "add"; @@ -43,7 +43,7 @@ public V1Capabilities add(List add) { public V1Capabilities addAddItem(String addItem) { if (this.add == null) { - this.add = new ArrayList(); + this.add = new ArrayList<>(); } this.add.add(addItem); return this; @@ -72,7 +72,7 @@ public V1Capabilities drop(List drop) { public V1Capabilities addDropItem(String dropItem) { if (this.drop == null) { - this.drop = new ArrayList(); + this.drop = new ArrayList<>(); } this.drop.add(dropItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java index 3b29978c89..5fa92876c9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java @@ -28,12 +28,12 @@ "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CephFSPersistentVolumeSource { public static final String SERIALIZED_NAME_MONITORS = "monitors"; @SerializedName(SERIALIZED_NAME_MONITORS) - private List monitors = new ArrayList(); + private List monitors = new ArrayList<>(); public static final String SERIALIZED_NAME_PATH = "path"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java index c0cff5ad4c..d35ad4b50e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java @@ -28,12 +28,12 @@ "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CephFSVolumeSource { public static final String SERIALIZED_NAME_MONITORS = "monitors"; @SerializedName(SERIALIZED_NAME_MONITORS) - private List monitors = new ArrayList(); + private List monitors = new ArrayList<>(); public static final String SERIALIZED_NAME_PATH = "path"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java index 594e63721f..53c2d6ee49 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java @@ -33,7 +33,7 @@ "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. Kubelets use this API to obtain: 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName). This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CertificateSigningRequest implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java index 440939dd67..9a30221610 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object @@ -26,17 +26,17 @@ "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CertificateSigningRequestCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_LAST_UPDATE_TIME = "lastUpdateTime"; @SerializedName(SERIALIZED_NAME_LAST_UPDATE_TIME) - private DateTime lastUpdateTime; + private OffsetDateTime lastUpdateTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -58,7 +58,8 @@ public class V1CertificateSigningRequestCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1CertificateSigningRequestCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1CertificateSigningRequestCondition lastTransitionTime( + OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -75,15 +76,15 @@ public V1CertificateSigningRequestCondition lastTransitionTime(DateTime lastTran @ApiModelProperty( value = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } - public V1CertificateSigningRequestCondition lastUpdateTime(DateTime lastUpdateTime) { + public V1CertificateSigningRequestCondition lastUpdateTime(OffsetDateTime lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; return this; @@ -96,11 +97,11 @@ public V1CertificateSigningRequestCondition lastUpdateTime(DateTime lastUpdateTi */ @javax.annotation.Nullable @ApiModelProperty(value = "lastUpdateTime is the time of the last update to this condition") - public DateTime getLastUpdateTime() { + public OffsetDateTime getLastUpdateTime() { return lastUpdateTime; } - public void setLastUpdateTime(DateTime lastUpdateTime) { + public void setLastUpdateTime(OffsetDateTime lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java index 8084a27552..559a4df774 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java @@ -25,7 +25,7 @@ "CertificateSigningRequestList is a collection of CertificateSigningRequest objects") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CertificateSigningRequestList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -36,7 +36,7 @@ public class V1CertificateSigningRequestList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java index e66887630c..60f7cc10b9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java @@ -26,7 +26,7 @@ @ApiModel(description = "CertificateSigningRequestSpec contains the certificate request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CertificateSigningRequestSpec { public static final String SERIALIZED_NAME_EXTRA = "extra"; @@ -71,7 +71,7 @@ public V1CertificateSigningRequestSpec extra(Map> extra) { public V1CertificateSigningRequestSpec putExtraItem(String key, List extraItem) { if (this.extra == null) { - this.extra = new HashMap>(); + this.extra = new HashMap<>(); } this.extra.put(key, extraItem); return this; @@ -103,7 +103,7 @@ public V1CertificateSigningRequestSpec groups(List groups) { public V1CertificateSigningRequestSpec addGroupsItem(String groupsItem) { if (this.groups == null) { - this.groups = new ArrayList(); + this.groups = new ArrayList<>(); } this.groups.add(groupsItem); return this; @@ -229,7 +229,7 @@ public V1CertificateSigningRequestSpec usages(List usages) { public V1CertificateSigningRequestSpec addUsagesItem(String usagesItem) { if (this.usages == null) { - this.usages = new ArrayList(); + this.usages = new ArrayList<>(); } this.usages.add(usagesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java index a0d39adf6b..ca02bcf80b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java @@ -29,7 +29,7 @@ "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CertificateSigningRequestStatus { public static final String SERIALIZED_NAME_CERTIFICATE = "certificate"; @@ -88,7 +88,7 @@ public V1CertificateSigningRequestStatus conditions( public V1CertificateSigningRequestStatus addConditionsItem( V1CertificateSigningRequestCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java index 7f359ea3c3..de83342816 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java @@ -27,7 +27,7 @@ "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CinderPersistentVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java index 25890a45f2..90b71d53f1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java @@ -27,7 +27,7 @@ "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CinderVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java index eb7cd5881b..a7e3514455 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java @@ -23,7 +23,7 @@ "ClientIPConfig represents the configurations of Client IP based session affinity.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ClientIPConfig { public static final String SERIALIZED_NAME_TIMEOUT_SECONDS = "timeoutSeconds"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java index 7a7788b12e..086c4f2335 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java @@ -28,7 +28,7 @@ "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ClusterRole implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_AGGREGATION_RULE = "aggregationRule"; @@ -157,7 +157,7 @@ public V1ClusterRole rules(List rules) { public V1ClusterRole addRulesItem(V1PolicyRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java index babe003294..c546cdd4fa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java @@ -28,7 +28,7 @@ "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ClusterRoleBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -156,7 +156,7 @@ public V1ClusterRoleBinding subjects(List subjects) { public V1ClusterRoleBinding addSubjectsItem(V1Subject subjectsItem) { if (this.subjects == null) { - this.subjects = new ArrayList(); + this.subjects = new ArrayList<>(); } this.subjects.add(subjectsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java index abdf6dbd15..7cfc9b0016 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java @@ -23,7 +23,7 @@ @ApiModel(description = "ClusterRoleBindingList is a collection of ClusterRoleBindings") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ClusterRoleBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1ClusterRoleBindingList implements io.kubernetes.client.common.Kub public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java index b7d80d990d..331ec00a20 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java @@ -23,7 +23,7 @@ @ApiModel(description = "ClusterRoleList is a collection of ClusterRoles") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ClusterRoleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1ClusterRoleList implements io.kubernetes.client.common.Kubernetes public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java index df2f72de27..558f53b80a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java @@ -21,7 +21,7 @@ @ApiModel(description = "Information about the condition of a component.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ComponentCondition { public static final String SERIALIZED_NAME_ERROR = "error"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java index e3f27ac813..bf58a42173 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java @@ -28,7 +28,7 @@ "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ComponentStatus implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -84,7 +84,7 @@ public V1ComponentStatus conditions(List conditions) { public V1ComponentStatus addConditionsItem(V1ComponentCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java index 5c135d7456..53d335f06b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java @@ -28,7 +28,7 @@ "Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ComponentStatusList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -38,7 +38,7 @@ public class V1ComponentStatusList implements io.kubernetes.client.common.Kubern public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java index 7a019265b1..b87f2b423b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java @@ -23,7 +23,7 @@ @ApiModel(description = "ConfigMap holds configuration data for pods to consume.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ConfigMap implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -89,7 +89,7 @@ public V1ConfigMap binaryData(Map binaryData) { public V1ConfigMap putBinaryDataItem(String key, byte[] binaryDataItem) { if (this.binaryData == null) { - this.binaryData = new HashMap(); + this.binaryData = new HashMap<>(); } this.binaryData.put(key, binaryDataItem); return this; @@ -124,7 +124,7 @@ public V1ConfigMap data(Map data) { public V1ConfigMap putDataItem(String key, String dataItem) { if (this.data == null) { - this.data = new HashMap(); + this.data = new HashMap<>(); } this.data.put(key, dataItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java index 459d36fa43..6b2c984d13 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java @@ -27,7 +27,7 @@ "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ConfigMapEnvSource { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java index 4320673b1c..6d144102fc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java @@ -21,7 +21,7 @@ @ApiModel(description = "Selects a key from a ConfigMap.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ConfigMapKeySelector { public static final String SERIALIZED_NAME_KEY = "key"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java index 1c99a47209..3b11f663e0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java @@ -23,7 +23,7 @@ @ApiModel(description = "ConfigMapList is a resource containing a list of ConfigMap objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ConfigMapList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1ConfigMapList implements io.kubernetes.client.common.KubernetesLi public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java index a0ae1fb91c..6d5b502f77 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java @@ -26,7 +26,7 @@ "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ConfigMapNodeConfigSource { public static final String SERIALIZED_NAME_KUBELET_CONFIG_KEY = "kubeletConfigKey"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java index 30a1fecfae..52a5ec67a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java @@ -30,7 +30,7 @@ "Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ConfigMapProjection { public static final String SERIALIZED_NAME_ITEMS = "items"; @@ -55,7 +55,7 @@ public V1ConfigMapProjection items(List items) { public V1ConfigMapProjection addItemsItem(V1KeyToPath itemsItem) { if (this.items == null) { - this.items = new ArrayList(); + this.items = new ArrayList<>(); } this.items.add(itemsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java index 94f9876d11..48fc82cde3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java @@ -30,7 +30,7 @@ "Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ConfigMapVolumeSource { public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode"; @@ -87,7 +87,7 @@ public V1ConfigMapVolumeSource items(List items) { public V1ConfigMapVolumeSource addItemsItem(V1KeyToPath itemsItem) { if (this.items == null) { - this.items = new ArrayList(); + this.items = new ArrayList<>(); } this.items.add(itemsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java index 6a2f79b8fd..e34df7e283 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java @@ -23,7 +23,7 @@ @ApiModel(description = "A single application container that you want to run within a pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Container { public static final String SERIALIZED_NAME_ARGS = "args"; @@ -144,7 +144,7 @@ public V1Container args(List args) { public V1Container addArgsItem(String argsItem) { if (this.args == null) { - this.args = new ArrayList(); + this.args = new ArrayList<>(); } this.args.add(argsItem); return this; @@ -181,7 +181,7 @@ public V1Container command(List command) { public V1Container addCommandItem(String commandItem) { if (this.command == null) { - this.command = new ArrayList(); + this.command = new ArrayList<>(); } this.command.add(commandItem); return this; @@ -218,7 +218,7 @@ public V1Container env(List env) { public V1Container addEnvItem(V1EnvVar envItem) { if (this.env == null) { - this.env = new ArrayList(); + this.env = new ArrayList<>(); } this.env.add(envItem); return this; @@ -248,7 +248,7 @@ public V1Container envFrom(List envFrom) { public V1Container addEnvFromItem(V1EnvFromSource envFromItem) { if (this.envFrom == null) { - this.envFrom = new ArrayList(); + this.envFrom = new ArrayList<>(); } this.envFrom.add(envFromItem); return this; @@ -399,7 +399,7 @@ public V1Container ports(List ports) { public V1Container addPortsItem(V1ContainerPort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList<>(); } this.ports.add(portsItem); return this; @@ -649,7 +649,7 @@ public V1Container volumeDevices(List volumeDevices) { public V1Container addVolumeDevicesItem(V1VolumeDevice volumeDevicesItem) { if (this.volumeDevices == null) { - this.volumeDevices = new ArrayList(); + this.volumeDevices = new ArrayList<>(); } this.volumeDevices.add(volumeDevicesItem); return this; @@ -679,7 +679,7 @@ public V1Container volumeMounts(List volumeMounts) { public V1Container addVolumeMountsItem(V1VolumeMount volumeMountsItem) { if (this.volumeMounts == null) { - this.volumeMounts = new ArrayList(); + this.volumeMounts = new ArrayList<>(); } this.volumeMounts.add(volumeMountsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java index 6f81b751cb..09cf40dfa0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java @@ -23,12 +23,12 @@ @ApiModel(description = "Describe a container image") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ContainerImage { public static final String SERIALIZED_NAME_NAMES = "names"; @SerializedName(SERIALIZED_NAME_NAMES) - private List names = new ArrayList(); + private List names = new ArrayList<>(); public static final String SERIALIZED_NAME_SIZE_BYTES = "sizeBytes"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java index 7205f31742..dba5afcc1b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java @@ -21,7 +21,7 @@ @ApiModel(description = "ContainerPort represents a network port in a single container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ContainerPort { public static final String SERIALIZED_NAME_CONTAINER_PORT = "containerPort"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java index 00df4cb1d4..8e5fcdc8bd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java @@ -26,7 +26,7 @@ "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ContainerState { public static final String SERIALIZED_NAME_RUNNING = "running"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java index 5e72d0d808..441167e1b9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java @@ -15,21 +15,21 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** ContainerStateRunning is a running state of a container. */ @ApiModel(description = "ContainerStateRunning is a running state of a container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ContainerStateRunning { public static final String SERIALIZED_NAME_STARTED_AT = "startedAt"; @SerializedName(SERIALIZED_NAME_STARTED_AT) - private DateTime startedAt; + private OffsetDateTime startedAt; - public V1ContainerStateRunning startedAt(DateTime startedAt) { + public V1ContainerStateRunning startedAt(OffsetDateTime startedAt) { this.startedAt = startedAt; return this; @@ -42,11 +42,11 @@ public V1ContainerStateRunning startedAt(DateTime startedAt) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Time at which the container was last (re-)started") - public DateTime getStartedAt() { + public OffsetDateTime getStartedAt() { return startedAt; } - public void setStartedAt(DateTime startedAt) { + public void setStartedAt(OffsetDateTime startedAt) { this.startedAt = startedAt; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java index f9473796ef..8104452662 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java @@ -15,14 +15,14 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** ContainerStateTerminated is a terminated state of a container. */ @ApiModel(description = "ContainerStateTerminated is a terminated state of a container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ContainerStateTerminated { public static final String SERIALIZED_NAME_CONTAINER_I_D = "containerID"; @@ -37,7 +37,7 @@ public class V1ContainerStateTerminated { public static final String SERIALIZED_NAME_FINISHED_AT = "finishedAt"; @SerializedName(SERIALIZED_NAME_FINISHED_AT) - private DateTime finishedAt; + private OffsetDateTime finishedAt; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -57,7 +57,7 @@ public class V1ContainerStateTerminated { public static final String SERIALIZED_NAME_STARTED_AT = "startedAt"; @SerializedName(SERIALIZED_NAME_STARTED_AT) - private DateTime startedAt; + private OffsetDateTime startedAt; public V1ContainerStateTerminated containerID(String containerID) { @@ -102,7 +102,7 @@ public void setExitCode(Integer exitCode) { this.exitCode = exitCode; } - public V1ContainerStateTerminated finishedAt(DateTime finishedAt) { + public V1ContainerStateTerminated finishedAt(OffsetDateTime finishedAt) { this.finishedAt = finishedAt; return this; @@ -115,11 +115,11 @@ public V1ContainerStateTerminated finishedAt(DateTime finishedAt) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Time at which the container last terminated") - public DateTime getFinishedAt() { + public OffsetDateTime getFinishedAt() { return finishedAt; } - public void setFinishedAt(DateTime finishedAt) { + public void setFinishedAt(OffsetDateTime finishedAt) { this.finishedAt = finishedAt; } @@ -186,7 +186,7 @@ public void setSignal(Integer signal) { this.signal = signal; } - public V1ContainerStateTerminated startedAt(DateTime startedAt) { + public V1ContainerStateTerminated startedAt(OffsetDateTime startedAt) { this.startedAt = startedAt; return this; @@ -199,11 +199,11 @@ public V1ContainerStateTerminated startedAt(DateTime startedAt) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Time at which previous execution of the container started") - public DateTime getStartedAt() { + public OffsetDateTime getStartedAt() { return startedAt; } - public void setStartedAt(DateTime startedAt) { + public void setStartedAt(OffsetDateTime startedAt) { this.startedAt = startedAt; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java index 97be0695ed..d3a369b1c1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java @@ -21,7 +21,7 @@ @ApiModel(description = "ContainerStateWaiting is a waiting state of a container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ContainerStateWaiting { public static final String SERIALIZED_NAME_MESSAGE = "message"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java index 6e296c7679..484bf0d564 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java @@ -22,7 +22,7 @@ description = "ContainerStatus contains details for the current status of this container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ContainerStatus { public static final String SERIALIZED_NAME_CONTAINER_I_D = "containerID"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java index fff8838c35..f9f217c4eb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java @@ -32,7 +32,7 @@ "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ControllerRevision implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java index 76c9495d32..608256b3f4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java @@ -25,7 +25,7 @@ "ControllerRevisionList is a resource containing a list of ControllerRevision objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ControllerRevisionList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,7 +35,7 @@ public class V1ControllerRevisionList implements io.kubernetes.client.common.Kub public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java index e6442987a5..2e3c2d93dd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java @@ -26,7 +26,7 @@ "CrossVersionObjectReference contains enough information to let you identify the referred resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CrossVersionObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java index 4e62985566..d6e08a7162 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java @@ -22,7 +22,7 @@ description = "CustomResourceColumnDefinition specifies a column for server side printing.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceColumnDefinition { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java index e2b575cdd1..02a0d45a1f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java @@ -22,7 +22,7 @@ description = "CustomResourceConversion describes how to convert different versions of a CR.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceConversion { public static final String SERIALIZED_NAME_STRATEGY = "strategy"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java index f479527ded..9f2a811639 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java @@ -26,7 +26,7 @@ "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceDefinition implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java index 46685bd3d1..b8f306424d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** CustomResourceDefinitionCondition contains details for the current condition of this pod. */ @ApiModel( @@ -24,12 +24,12 @@ "CustomResourceDefinitionCondition contains details for the current condition of this pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceDefinitionCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -51,7 +51,7 @@ public class V1CustomResourceDefinitionCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1CustomResourceDefinitionCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1CustomResourceDefinitionCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -65,11 +65,11 @@ public V1CustomResourceDefinitionCondition lastTransitionTime(DateTime lastTrans @javax.annotation.Nullable @ApiModelProperty( value = "lastTransitionTime last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java index e16b49778b..a4b2a2f51e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java @@ -24,7 +24,7 @@ description = "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceDefinitionList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,7 +35,7 @@ public class V1CustomResourceDefinitionList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java index bb0f26a205..91dc660805 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java @@ -25,7 +25,7 @@ "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceDefinitionNames { public static final String SERIALIZED_NAME_CATEGORIES = "categories"; @@ -65,7 +65,7 @@ public V1CustomResourceDefinitionNames categories(List categories) { public V1CustomResourceDefinitionNames addCategoriesItem(String categoriesItem) { if (this.categories == null) { - this.categories = new ArrayList(); + this.categories = new ArrayList<>(); } this.categories.add(categoriesItem); return this; @@ -172,7 +172,7 @@ public V1CustomResourceDefinitionNames shortNames(List shortNames) { public V1CustomResourceDefinitionNames addShortNamesItem(String shortNamesItem) { if (this.shortNames == null) { - this.shortNames = new ArrayList(); + this.shortNames = new ArrayList<>(); } this.shortNames.add(shortNamesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java index ab643c99d3..7e4a5d0549 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java @@ -25,7 +25,7 @@ "CustomResourceDefinitionSpec describes how a user wants their resource to appear") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceDefinitionSpec { public static final String SERIALIZED_NAME_CONVERSION = "conversion"; @@ -55,8 +55,7 @@ public class V1CustomResourceDefinitionSpec { public static final String SERIALIZED_NAME_VERSIONS = "versions"; @SerializedName(SERIALIZED_NAME_VERSIONS) - private List versions = - new ArrayList(); + private List versions = new ArrayList<>(); public V1CustomResourceDefinitionSpec conversion(V1CustomResourceConversion conversion) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java index d6fbd24b94..56a258bda1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java @@ -25,7 +25,7 @@ "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceDefinitionStatus { public static final String SERIALIZED_NAME_ACCEPTED_NAMES = "acceptedNames"; @@ -74,7 +74,7 @@ public V1CustomResourceDefinitionStatus conditions( public V1CustomResourceDefinitionStatus addConditionsItem( V1CustomResourceDefinitionCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; @@ -104,7 +104,7 @@ public V1CustomResourceDefinitionStatus storedVersions(List storedVersio public V1CustomResourceDefinitionStatus addStoredVersionsItem(String storedVersionsItem) { if (this.storedVersions == null) { - this.storedVersions = new ArrayList(); + this.storedVersions = new ArrayList<>(); } this.storedVersions.add(storedVersionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java index 459be2a841..ac539c29f3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java @@ -23,7 +23,7 @@ @ApiModel(description = "CustomResourceDefinitionVersion describes a version for CRD.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceDefinitionVersion { public static final String SERIALIZED_NAME_ADDITIONAL_PRINTER_COLUMNS = "additionalPrinterColumns"; @@ -76,7 +76,7 @@ public V1CustomResourceDefinitionVersion additionalPrinterColumns( public V1CustomResourceDefinitionVersion addAdditionalPrinterColumnsItem( V1CustomResourceColumnDefinition additionalPrinterColumnsItem) { if (this.additionalPrinterColumns == null) { - this.additionalPrinterColumns = new ArrayList(); + this.additionalPrinterColumns = new ArrayList<>(); } this.additionalPrinterColumns.add(additionalPrinterColumnsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java index d4dd9d6a5c..c470d2ebad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java @@ -25,7 +25,7 @@ "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceSubresourceScale { public static final String SERIALIZED_NAME_LABEL_SELECTOR_PATH = "labelSelectorPath"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java index 219ebb25f4..c4f9a7930b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java @@ -23,7 +23,7 @@ "CustomResourceSubresources defines the status and scale subresources for CustomResources.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceSubresources { public static final String SERIALIZED_NAME_SCALE = "scale"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java index 787540065e..36147f46b5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java @@ -22,7 +22,7 @@ description = "CustomResourceValidation is a list of validation methods for CustomResources.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1CustomResourceValidation { public static final String SERIALIZED_NAME_OPEN_A_P_I_V3_SCHEMA = "openAPIV3Schema"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java index c635882f39..94d684de1b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java @@ -21,7 +21,7 @@ @ApiModel(description = "DaemonEndpoint contains information about a single Daemon endpoint.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DaemonEndpoint { public static final String SERIALIZED_NAME_PORT = "Port"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java index 09e3d43422..2ba6b73d06 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java @@ -21,7 +21,7 @@ @ApiModel(description = "DaemonSet represents the configuration of a daemon set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DaemonSet implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java index a1c805245b..86a1ae14f1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java @@ -15,19 +15,19 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** DaemonSetCondition describes the state of a DaemonSet at a certain point. */ @ApiModel(description = "DaemonSetCondition describes the state of a DaemonSet at a certain point.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DaemonSetCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -49,7 +49,7 @@ public class V1DaemonSetCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1DaemonSetCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1DaemonSetCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -62,11 +62,11 @@ public V1DaemonSetCondition lastTransitionTime(DateTime lastTransitionTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java index f06905fd88..d2e95b3a20 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java @@ -23,7 +23,7 @@ @ApiModel(description = "DaemonSetList is a collection of daemon sets.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DaemonSetList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1DaemonSetList implements io.kubernetes.client.common.KubernetesLi public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java index 3dce883360..6b79225cdd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "DaemonSetSpec is the specification of a daemon set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DaemonSetSpec { public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java index 90672315a9..fdadee8b1a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "DaemonSetStatus represents the current status of a daemon set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DaemonSetStatus { public static final String SERIALIZED_NAME_COLLISION_COUNT = "collisionCount"; @@ -108,7 +108,7 @@ public V1DaemonSetStatus conditions(List conditions) { public V1DaemonSetStatus addConditionsItem(V1DaemonSetCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java index fe95639282..4c47a8ba92 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java @@ -23,7 +23,7 @@ "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DaemonSetUpdateStrategy { public static final String SERIALIZED_NAME_ROLLING_UPDATE = "rollingUpdate"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java index 8dad1d4b9c..8449877534 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java @@ -23,7 +23,7 @@ @ApiModel(description = "DeleteOptions may be provided when deleting an API object.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DeleteOptions { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -94,7 +94,7 @@ public V1DeleteOptions dryRun(List dryRun) { public V1DeleteOptions addDryRunItem(String dryRunItem) { if (this.dryRun == null) { - this.dryRun = new ArrayList(); + this.dryRun = new ArrayList<>(); } this.dryRun.add(dryRunItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java index cdff242de7..5e9655c6c7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java @@ -21,7 +21,7 @@ @ApiModel(description = "Deployment enables declarative updates for Pods and ReplicaSets.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Deployment implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java index 5df55cf302..090e2b402c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java @@ -15,25 +15,25 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** DeploymentCondition describes the state of a deployment at a certain point. */ @ApiModel( description = "DeploymentCondition describes the state of a deployment at a certain point.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DeploymentCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_LAST_UPDATE_TIME = "lastUpdateTime"; @SerializedName(SERIALIZED_NAME_LAST_UPDATE_TIME) - private DateTime lastUpdateTime; + private OffsetDateTime lastUpdateTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -55,7 +55,7 @@ public class V1DeploymentCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1DeploymentCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1DeploymentCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -68,15 +68,15 @@ public V1DeploymentCondition lastTransitionTime(DateTime lastTransitionTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } - public V1DeploymentCondition lastUpdateTime(DateTime lastUpdateTime) { + public V1DeploymentCondition lastUpdateTime(OffsetDateTime lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; return this; @@ -89,11 +89,11 @@ public V1DeploymentCondition lastUpdateTime(DateTime lastUpdateTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "The last time this condition was updated.") - public DateTime getLastUpdateTime() { + public OffsetDateTime getLastUpdateTime() { return lastUpdateTime; } - public void setLastUpdateTime(DateTime lastUpdateTime) { + public void setLastUpdateTime(OffsetDateTime lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java index 0a54317bcf..c1339f4e18 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java @@ -23,7 +23,7 @@ @ApiModel(description = "DeploymentList is a list of Deployments.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DeploymentList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1DeploymentList implements io.kubernetes.client.common.KubernetesL public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java index d8f911884b..178881537d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java @@ -22,7 +22,7 @@ description = "DeploymentSpec is the specification of the desired behavior of the Deployment.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DeploymentSpec { public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java index b9f2a08292..a10b13c075 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "DeploymentStatus is the most recently observed status of the Deployment.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DeploymentStatus { public static final String SERIALIZED_NAME_AVAILABLE_REPLICAS = "availableReplicas"; @@ -121,7 +121,7 @@ public V1DeploymentStatus conditions(List conditions) { public V1DeploymentStatus addConditionsItem(V1DeploymentCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java index edb021d950..137c927856 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java @@ -21,7 +21,7 @@ @ApiModel(description = "DeploymentStrategy describes how to replace existing pods with new ones.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DeploymentStrategy { public static final String SERIALIZED_NAME_ROLLING_UPDATE = "rollingUpdate"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java index c1fa46a2a8..545dc2406f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java @@ -28,7 +28,7 @@ "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DownwardAPIProjection { public static final String SERIALIZED_NAME_ITEMS = "items"; @@ -43,7 +43,7 @@ public V1DownwardAPIProjection items(List items) { public V1DownwardAPIProjection addItemsItem(V1DownwardAPIVolumeFile itemsItem) { if (this.items == null) { - this.items = new ArrayList(); + this.items = new ArrayList<>(); } this.items.add(itemsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java index b00ddbf6c2..7dc563f815 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java @@ -23,7 +23,7 @@ "DownwardAPIVolumeFile represents information to create the file containing the pod field") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DownwardAPIVolumeFile { public static final String SERIALIZED_NAME_FIELD_REF = "fieldRef"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java index 8037b7b288..95e94740f0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java @@ -28,7 +28,7 @@ "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1DownwardAPIVolumeSource { public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode"; @@ -76,7 +76,7 @@ public V1DownwardAPIVolumeSource items(List items) { public V1DownwardAPIVolumeSource addItemsItem(V1DownwardAPIVolumeFile itemsItem) { if (this.items == null) { - this.items = new ArrayList(); + this.items = new ArrayList<>(); } this.items.add(itemsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java index 925fd364e5..56785a9ab0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java @@ -27,7 +27,7 @@ "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EmptyDirVolumeSource { public static final String SERIALIZED_NAME_MEDIUM = "medium"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java index 77297c6bf8..f93c45ba7d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java @@ -21,7 +21,7 @@ @ApiModel(description = "EndpointAddress is a tuple that describes single IP address.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EndpointAddress { public static final String SERIALIZED_NAME_HOSTNAME = "hostname"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointPort.java index f8bda32bba..d0027fd4eb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointPort.java @@ -21,7 +21,7 @@ @ApiModel(description = "EndpointPort is a tuple that describes a single port.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EndpointPort { public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java index 1546aa63e9..23d9916af1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java @@ -32,7 +32,7 @@ "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EndpointSubset { public static final String SERIALIZED_NAME_ADDRESSES = "addresses"; @@ -57,7 +57,7 @@ public V1EndpointSubset addresses(List addresses) { public V1EndpointSubset addAddressesItem(V1EndpointAddress addressesItem) { if (this.addresses == null) { - this.addresses = new ArrayList(); + this.addresses = new ArrayList<>(); } this.addresses.add(addressesItem); return this; @@ -89,7 +89,7 @@ public V1EndpointSubset notReadyAddresses(List notReadyAddres public V1EndpointSubset addNotReadyAddressesItem(V1EndpointAddress notReadyAddressesItem) { if (this.notReadyAddresses == null) { - this.notReadyAddresses = new ArrayList(); + this.notReadyAddresses = new ArrayList<>(); } this.notReadyAddresses.add(notReadyAddressesItem); return this; @@ -122,7 +122,7 @@ public V1EndpointSubset ports(List ports) { public V1EndpointSubset addPortsItem(V1EndpointPort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList<>(); } this.ports.add(portsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java index 849f7aaf1d..ea70c1ba15 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java @@ -33,7 +33,7 @@ "Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ]") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Endpoints implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -136,7 +136,7 @@ public V1Endpoints subsets(List subsets) { public V1Endpoints addSubsetsItem(V1EndpointSubset subsetsItem) { if (this.subsets == null) { - this.subsets = new ArrayList(); + this.subsets = new ArrayList<>(); } this.subsets.add(subsetsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java index 84c34bed92..9aeeac7d16 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java @@ -23,7 +23,7 @@ @ApiModel(description = "EndpointsList is a list of endpoints.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EndpointsList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1EndpointsList implements io.kubernetes.client.common.KubernetesLi public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java index d509498634..797d6bc95e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "EnvFromSource represents the source of a set of ConfigMaps") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EnvFromSource { public static final String SERIALIZED_NAME_CONFIG_MAP_REF = "configMapRef"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java index dd113249f5..34de280706 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java @@ -21,7 +21,7 @@ @ApiModel(description = "EnvVar represents an environment variable present in a Container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EnvVar { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java index 76ec9808fd..6dd4f3db9b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "EnvVarSource represents a source for the value of an EnvVar.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EnvVarSource { public static final String SERIALIZED_NAME_CONFIG_MAP_KEY_REF = "configMapKeyRef"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java index ea566d163b..bd0ddff148 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java @@ -33,7 +33,7 @@ "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EphemeralContainer { public static final String SERIALIZED_NAME_ARGS = "args"; @@ -159,7 +159,7 @@ public V1EphemeralContainer args(List args) { public V1EphemeralContainer addArgsItem(String argsItem) { if (this.args == null) { - this.args = new ArrayList(); + this.args = new ArrayList<>(); } this.args.add(argsItem); return this; @@ -196,7 +196,7 @@ public V1EphemeralContainer command(List command) { public V1EphemeralContainer addCommandItem(String commandItem) { if (this.command == null) { - this.command = new ArrayList(); + this.command = new ArrayList<>(); } this.command.add(commandItem); return this; @@ -233,7 +233,7 @@ public V1EphemeralContainer env(List env) { public V1EphemeralContainer addEnvItem(V1EnvVar envItem) { if (this.env == null) { - this.env = new ArrayList(); + this.env = new ArrayList<>(); } this.env.add(envItem); return this; @@ -263,7 +263,7 @@ public V1EphemeralContainer envFrom(List envFrom) { public V1EphemeralContainer addEnvFromItem(V1EnvFromSource envFromItem) { if (this.envFrom == null) { - this.envFrom = new ArrayList(); + this.envFrom = new ArrayList<>(); } this.envFrom.add(envFromItem); return this; @@ -411,7 +411,7 @@ public V1EphemeralContainer ports(List ports) { public V1EphemeralContainer addPortsItem(V1ContainerPort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList<>(); } this.ports.add(portsItem); return this; @@ -681,7 +681,7 @@ public V1EphemeralContainer volumeDevices(List volumeDevices) { public V1EphemeralContainer addVolumeDevicesItem(V1VolumeDevice volumeDevicesItem) { if (this.volumeDevices == null) { - this.volumeDevices = new ArrayList(); + this.volumeDevices = new ArrayList<>(); } this.volumeDevices.add(volumeDevicesItem); return this; @@ -711,7 +711,7 @@ public V1EphemeralContainer volumeMounts(List volumeMounts) { public V1EphemeralContainer addVolumeMountsItem(V1VolumeMount volumeMountsItem) { if (this.volumeMounts == null) { - this.volumeMounts = new ArrayList(); + this.volumeMounts = new ArrayList<>(); } this.volumeMounts.add(volumeMountsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java index 730f8b00f0..e9b7539d81 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java @@ -22,7 +22,7 @@ description = "Represents an ephemeral volume that is handled by a normal storage driver.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EphemeralVolumeSource { public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java index b941c68d2e..865a4238b4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "EventSource contains information for an event.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1EventSource { public static final String SERIALIZED_NAME_COMPONENT = "component"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java index 8bafee7fe9..7f7f4f82ff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java @@ -23,7 +23,7 @@ @ApiModel(description = "ExecAction describes a \"run in container\" action.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ExecAction { public static final String SERIALIZED_NAME_COMMAND = "command"; @@ -38,7 +38,7 @@ public V1ExecAction command(List command) { public V1ExecAction addCommandItem(String commandItem) { if (this.command == null) { - this.command = new ArrayList(); + this.command = new ArrayList<>(); } this.command.add(commandItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java index 272fdb80e6..d2546f2265 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java @@ -23,7 +23,7 @@ "ExternalDocumentation allows referencing an external resource for extended documentation.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ExternalDocumentation { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java index 2c251524f2..ff726075dc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java @@ -28,7 +28,7 @@ "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1FCVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @@ -133,7 +133,7 @@ public V1FCVolumeSource targetWWNs(List targetWWNs) { public V1FCVolumeSource addTargetWWNsItem(String targetWWNsItem) { if (this.targetWWNs == null) { - this.targetWWNs = new ArrayList(); + this.targetWWNs = new ArrayList<>(); } this.targetWWNs.add(targetWWNsItem); return this; @@ -162,7 +162,7 @@ public V1FCVolumeSource wwids(List wwids) { public V1FCVolumeSource addWwidsItem(String wwidsItem) { if (this.wwids == null) { - this.wwids = new ArrayList(); + this.wwids = new ArrayList<>(); } this.wwids.add(wwidsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java index 3308d45768..6b70b5ed1c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java @@ -28,7 +28,7 @@ "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1FlexPersistentVolumeSource { public static final String SERIALIZED_NAME_DRIVER = "driver"; @@ -110,7 +110,7 @@ public V1FlexPersistentVolumeSource options(Map options) { public V1FlexPersistentVolumeSource putOptionsItem(String key, String optionsItem) { if (this.options == null) { - this.options = new HashMap(); + this.options = new HashMap<>(); } this.options.put(key, optionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java index db9a8e7269..47c496d042 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java @@ -28,7 +28,7 @@ "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1FlexVolumeSource { public static final String SERIALIZED_NAME_DRIVER = "driver"; @@ -110,7 +110,7 @@ public V1FlexVolumeSource options(Map options) { public V1FlexVolumeSource putOptionsItem(String key, String optionsItem) { if (this.options == null) { - this.options = new HashMap(); + this.options = new HashMap<>(); } this.options.put(key, optionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java index cc1fcd4f5f..229e3e8513 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java @@ -27,7 +27,7 @@ "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1FlockerVolumeSource { public static final String SERIALIZED_NAME_DATASET_NAME = "datasetName"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java index 34f9ba5dcf..545b2b292b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java @@ -28,7 +28,7 @@ "Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1GCEPersistentDiskVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java index 8979bef4c6..b79a4f65c3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java @@ -29,7 +29,7 @@ "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1GitRepoVolumeSource { public static final String SERIALIZED_NAME_DIRECTORY = "directory"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java index 093fb53e96..83fd4188d0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java @@ -26,7 +26,7 @@ "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1GlusterfsPersistentVolumeSource { public static final String SERIALIZED_NAME_ENDPOINTS = "endpoints"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java index d225b95534..e386f11f51 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java @@ -26,7 +26,7 @@ "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1GlusterfsVolumeSource { public static final String SERIALIZED_NAME_ENDPOINTS = "endpoints"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java index 70ca379f04..c49ac273ac 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java @@ -26,7 +26,7 @@ "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1GroupVersionForDiscovery { public static final String SERIALIZED_NAME_GROUP_VERSION = "groupVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java index 28723e8d70..1ec7ef1d8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java @@ -24,7 +24,7 @@ @ApiModel(description = "HTTPGetAction describes an action based on HTTP Get requests.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HTTPGetAction { public static final String SERIALIZED_NAME_HOST = "host"; @@ -83,7 +83,7 @@ public V1HTTPGetAction httpHeaders(List httpHeaders) { public V1HTTPGetAction addHttpHeadersItem(V1HTTPHeader httpHeadersItem) { if (this.httpHeaders == null) { - this.httpHeaders = new ArrayList(); + this.httpHeaders = new ArrayList<>(); } this.httpHeaders.add(httpHeadersItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java index ef8c7e3356..22f27e79b3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java @@ -21,7 +21,7 @@ @ApiModel(description = "HTTPHeader describes a custom header to be used in HTTP probes") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HTTPHeader { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java index 07247f5da8..a3fbca0467 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java @@ -26,7 +26,7 @@ "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HTTPIngressPath { public static final String SERIALIZED_NAME_BACKEND = "backend"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java index 65cee11a3a..8c608b6e5f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java @@ -30,12 +30,12 @@ "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HTTPIngressRuleValue { public static final String SERIALIZED_NAME_PATHS = "paths"; @SerializedName(SERIALIZED_NAME_PATHS) - private List paths = new ArrayList(); + private List paths = new ArrayList<>(); public V1HTTPIngressRuleValue paths(List paths) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Handler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Handler.java index ce48125e01..180a1959e0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Handler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Handler.java @@ -21,7 +21,7 @@ @ApiModel(description = "Handler defines a specific action that should be taken") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Handler { public static final String SERIALIZED_NAME_EXEC = "exec"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java index 529247c1b3..a5b0521d4c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java @@ -21,7 +21,7 @@ @ApiModel(description = "configuration of a horizontal pod autoscaler.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HorizontalPodAutoscaler implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java index 3f876ac556..e287d2fb33 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java @@ -23,7 +23,7 @@ @ApiModel(description = "list of horizontal pod autoscaler objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HorizontalPodAutoscalerList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class V1HorizontalPodAutoscalerList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java index 12f0a9959a..d29bb547a0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "specification of a horizontal pod autoscaler.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HorizontalPodAutoscalerSpec { public static final String SERIALIZED_NAME_MAX_REPLICAS = "maxReplicas"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java index fd95822079..a6427d46ba 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java @@ -15,14 +15,14 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** current status of a horizontal pod autoscaler */ @ApiModel(description = "current status of a horizontal pod autoscaler") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HorizontalPodAutoscalerStatus { public static final String SERIALIZED_NAME_CURRENT_C_P_U_UTILIZATION_PERCENTAGE = "currentCPUUtilizationPercentage"; @@ -43,7 +43,7 @@ public class V1HorizontalPodAutoscalerStatus { public static final String SERIALIZED_NAME_LAST_SCALE_TIME = "lastScaleTime"; @SerializedName(SERIALIZED_NAME_LAST_SCALE_TIME) - private DateTime lastScaleTime; + private OffsetDateTime lastScaleTime; public static final String SERIALIZED_NAME_OBSERVED_GENERATION = "observedGeneration"; @@ -119,7 +119,7 @@ public void setDesiredReplicas(Integer desiredReplicas) { this.desiredReplicas = desiredReplicas; } - public V1HorizontalPodAutoscalerStatus lastScaleTime(DateTime lastScaleTime) { + public V1HorizontalPodAutoscalerStatus lastScaleTime(OffsetDateTime lastScaleTime) { this.lastScaleTime = lastScaleTime; return this; @@ -135,11 +135,11 @@ public V1HorizontalPodAutoscalerStatus lastScaleTime(DateTime lastScaleTime) { @ApiModelProperty( value = "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.") - public DateTime getLastScaleTime() { + public OffsetDateTime getLastScaleTime() { return lastScaleTime; } - public void setLastScaleTime(DateTime lastScaleTime) { + public void setLastScaleTime(OffsetDateTime lastScaleTime) { this.lastScaleTime = lastScaleTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java index 80729859f8..c20d037025 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java @@ -28,7 +28,7 @@ "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HostAlias { public static final String SERIALIZED_NAME_HOSTNAMES = "hostnames"; @@ -48,7 +48,7 @@ public V1HostAlias hostnames(List hostnames) { public V1HostAlias addHostnamesItem(String hostnamesItem) { if (this.hostnames == null) { - this.hostnames = new ArrayList(); + this.hostnames = new ArrayList<>(); } this.hostnames.add(hostnamesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java index ab86e93c69..3113e190f7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java @@ -26,7 +26,7 @@ "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1HostPathVolumeSource { public static final String SERIALIZED_NAME_PATH = "path"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java index 18c2adcc08..fc950a3748 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java @@ -30,7 +30,7 @@ "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IPBlock { public static final String SERIALIZED_NAME_CIDR = "cidr"; @@ -74,7 +74,7 @@ public V1IPBlock except(List except) { public V1IPBlock addExceptItem(String exceptItem) { if (this.except == null) { - this.except = new ArrayList(); + this.except = new ArrayList<>(); } this.except.add(exceptItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java index d4f9ec7a0c..7a90f275b6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java @@ -28,7 +28,7 @@ "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ISCSIPersistentVolumeSource { public static final String SERIALIZED_NAME_CHAP_AUTH_DISCOVERY = "chapAuthDiscovery"; @@ -248,7 +248,7 @@ public V1ISCSIPersistentVolumeSource portals(List portals) { public V1ISCSIPersistentVolumeSource addPortalsItem(String portalsItem) { if (this.portals == null) { - this.portals = new ArrayList(); + this.portals = new ArrayList<>(); } this.portals.add(portalsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIVolumeSource.java index 16f0da480c..dcbe144722 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIVolumeSource.java @@ -28,7 +28,7 @@ "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ISCSIVolumeSource { public static final String SERIALIZED_NAME_CHAP_AUTH_DISCOVERY = "chapAuthDiscovery"; @@ -248,7 +248,7 @@ public V1ISCSIVolumeSource portals(List portals) { public V1ISCSIVolumeSource addPortalsItem(String portalsItem) { if (this.portals == null) { - this.portals = new ArrayList(); + this.portals = new ArrayList<>(); } this.portals.add(portalsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Ingress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Ingress.java index a8c2aee980..ddcde6c0cf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Ingress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Ingress.java @@ -27,7 +27,7 @@ "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Ingress implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressBackend.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressBackend.java index c261ce912c..9dd8b18eef 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressBackend.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressBackend.java @@ -21,7 +21,7 @@ @ApiModel(description = "IngressBackend describes all endpoints for a given service and port.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressBackend { public static final String SERIALIZED_NAME_RESOURCE = "resource"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClass.java index 7f6d22d73e..9fb0a9604a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClass.java @@ -29,7 +29,7 @@ "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassList.java index c017887aa2..4213c3dd30 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "IngressClassList is a collection of IngressClasses.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1IngressClassList implements io.kubernetes.client.common.Kubernete public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassSpec.java index 73b8ff40ac..8c4f9dc749 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "IngressClassSpec provides information about the class of an Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressClassSpec { public static final String SERIALIZED_NAME_CONTROLLER = "controller"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressList.java index e01c53158f..7d6b56348c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressList.java @@ -23,7 +23,7 @@ @ApiModel(description = "IngressList is a collection of Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1IngressList implements io.kubernetes.client.common.KubernetesList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressRule.java index 7386528a49..0d3c7032a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressRule.java @@ -27,7 +27,7 @@ "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressRule { public static final String SERIALIZED_NAME_HOST = "host"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressServiceBackend.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressServiceBackend.java index 952c12eb8d..6d732e9df0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressServiceBackend.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressServiceBackend.java @@ -21,7 +21,7 @@ @ApiModel(description = "IngressServiceBackend references a Kubernetes Service as a Backend.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressServiceBackend { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressSpec.java index 2667517a15..ca9949d200 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "IngressSpec describes the Ingress the user wishes to exist.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressSpec { public static final String SERIALIZED_NAME_DEFAULT_BACKEND = "defaultBackend"; @@ -104,7 +104,7 @@ public V1IngressSpec rules(List rules) { public V1IngressSpec addRulesItem(V1IngressRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; @@ -136,7 +136,7 @@ public V1IngressSpec tls(List tls) { public V1IngressSpec addTlsItem(V1IngressTLS tlsItem) { if (this.tls == null) { - this.tls = new ArrayList(); + this.tls = new ArrayList<>(); } this.tls.add(tlsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressStatus.java index cf8b4f5e82..6b589331d9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "IngressStatus describe the current state of the Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressStatus { public static final String SERIALIZED_NAME_LOAD_BALANCER = "loadBalancer"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressTLS.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressTLS.java index 39926e66db..68bf6afab1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressTLS.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressTLS.java @@ -24,7 +24,7 @@ description = "IngressTLS describes the transport layer security associated with an Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1IngressTLS { public static final String SERIALIZED_NAME_HOSTS = "hosts"; @@ -44,7 +44,7 @@ public V1IngressTLS hosts(List hosts) { public V1IngressTLS addHostsItem(String hostsItem) { if (this.hosts == null) { - this.hosts = new ArrayList(); + this.hosts = new ArrayList<>(); } this.hosts.add(hostsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JSONSchemaProps.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JSONSchemaProps.java index b634a02ce5..4174dae300 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JSONSchemaProps.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JSONSchemaProps.java @@ -27,7 +27,7 @@ "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1JSONSchemaProps { public static final String SERIALIZED_NAME_$_REF = "$ref"; @@ -346,7 +346,7 @@ public V1JSONSchemaProps allOf(List allOf) { public V1JSONSchemaProps addAllOfItem(V1JSONSchemaProps allOfItem) { if (this.allOf == null) { - this.allOf = new ArrayList(); + this.allOf = new ArrayList<>(); } this.allOf.add(allOfItem); return this; @@ -375,7 +375,7 @@ public V1JSONSchemaProps anyOf(List anyOf) { public V1JSONSchemaProps addAnyOfItem(V1JSONSchemaProps anyOfItem) { if (this.anyOf == null) { - this.anyOf = new ArrayList(); + this.anyOf = new ArrayList<>(); } this.anyOf.add(anyOfItem); return this; @@ -429,7 +429,7 @@ public V1JSONSchemaProps definitions(Map definitions) public V1JSONSchemaProps putDefinitionsItem(String key, V1JSONSchemaProps definitionsItem) { if (this.definitions == null) { - this.definitions = new HashMap(); + this.definitions = new HashMap<>(); } this.definitions.put(key, definitionsItem); return this; @@ -458,7 +458,7 @@ public V1JSONSchemaProps dependencies(Map dependencies) { public V1JSONSchemaProps putDependenciesItem(String key, Object dependenciesItem) { if (this.dependencies == null) { - this.dependencies = new HashMap(); + this.dependencies = new HashMap<>(); } this.dependencies.put(key, dependenciesItem); return this; @@ -508,7 +508,7 @@ public V1JSONSchemaProps _enum(List _enum) { public V1JSONSchemaProps addEnumItem(Object _enumItem) { if (this._enum == null) { - this._enum = new ArrayList(); + this._enum = new ArrayList<>(); } this._enum.add(_enumItem); return this; @@ -948,7 +948,7 @@ public V1JSONSchemaProps oneOf(List oneOf) { public V1JSONSchemaProps addOneOfItem(V1JSONSchemaProps oneOfItem) { if (this.oneOf == null) { - this.oneOf = new ArrayList(); + this.oneOf = new ArrayList<>(); } this.oneOf.add(oneOfItem); return this; @@ -999,7 +999,7 @@ public V1JSONSchemaProps patternProperties(Map patter public V1JSONSchemaProps putPatternPropertiesItem( String key, V1JSONSchemaProps patternPropertiesItem) { if (this.patternProperties == null) { - this.patternProperties = new HashMap(); + this.patternProperties = new HashMap<>(); } this.patternProperties.put(key, patternPropertiesItem); return this; @@ -1028,7 +1028,7 @@ public V1JSONSchemaProps properties(Map properties) { public V1JSONSchemaProps putPropertiesItem(String key, V1JSONSchemaProps propertiesItem) { if (this.properties == null) { - this.properties = new HashMap(); + this.properties = new HashMap<>(); } this.properties.put(key, propertiesItem); return this; @@ -1057,7 +1057,7 @@ public V1JSONSchemaProps required(List required) { public V1JSONSchemaProps addRequiredItem(String requiredItem) { if (this.required == null) { - this.required = new ArrayList(); + this.required = new ArrayList<>(); } this.required.add(requiredItem); return this; @@ -1202,7 +1202,7 @@ public V1JSONSchemaProps xKubernetesListMapKeys(List xKubernetesListMapK public V1JSONSchemaProps addXKubernetesListMapKeysItem(String xKubernetesListMapKeysItem) { if (this.xKubernetesListMapKeys == null) { - this.xKubernetesListMapKeys = new ArrayList(); + this.xKubernetesListMapKeys = new ArrayList<>(); } this.xKubernetesListMapKeys.add(xKubernetesListMapKeysItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Job.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Job.java index 2e44118755..b52cc860a7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Job.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Job.java @@ -21,7 +21,7 @@ @ApiModel(description = "Job represents the configuration of a single job.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Job implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobCondition.java index 4d4d217adb..98fde59653 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobCondition.java @@ -15,24 +15,24 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** JobCondition describes current state of a job. */ @ApiModel(description = "JobCondition describes current state of a job.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1JobCondition { public static final String SERIALIZED_NAME_LAST_PROBE_TIME = "lastProbeTime"; @SerializedName(SERIALIZED_NAME_LAST_PROBE_TIME) - private DateTime lastProbeTime; + private OffsetDateTime lastProbeTime; public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -54,7 +54,7 @@ public class V1JobCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1JobCondition lastProbeTime(DateTime lastProbeTime) { + public V1JobCondition lastProbeTime(OffsetDateTime lastProbeTime) { this.lastProbeTime = lastProbeTime; return this; @@ -67,15 +67,15 @@ public V1JobCondition lastProbeTime(DateTime lastProbeTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition was checked.") - public DateTime getLastProbeTime() { + public OffsetDateTime getLastProbeTime() { return lastProbeTime; } - public void setLastProbeTime(DateTime lastProbeTime) { + public void setLastProbeTime(OffsetDateTime lastProbeTime) { this.lastProbeTime = lastProbeTime; } - public V1JobCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1JobCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -88,11 +88,11 @@ public V1JobCondition lastTransitionTime(DateTime lastTransitionTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transit from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobList.java index f14186e7c6..5c17c06797 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobList.java @@ -23,7 +23,7 @@ @ApiModel(description = "JobList is a collection of jobs.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1JobList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1JobList implements io.kubernetes.client.common.KubernetesListObje public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobSpec.java index 657e7b9e5a..02a0c15db6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "JobSpec describes how the job execution will look like.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1JobSpec { public static final String SERIALIZED_NAME_ACTIVE_DEADLINE_SECONDS = "activeDeadlineSeconds"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobStatus.java index e2aba80203..5d54f0a16e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobStatus.java @@ -15,16 +15,16 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; /** JobStatus represents the current state of a Job. */ @ApiModel(description = "JobStatus represents the current state of a Job.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1JobStatus { public static final String SERIALIZED_NAME_ACTIVE = "active"; @@ -34,7 +34,7 @@ public class V1JobStatus { public static final String SERIALIZED_NAME_COMPLETION_TIME = "completionTime"; @SerializedName(SERIALIZED_NAME_COMPLETION_TIME) - private DateTime completionTime; + private OffsetDateTime completionTime; public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @@ -49,7 +49,7 @@ public class V1JobStatus { public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - private DateTime startTime; + private OffsetDateTime startTime; public static final String SERIALIZED_NAME_SUCCEEDED = "succeeded"; @@ -77,7 +77,7 @@ public void setActive(Integer active) { this.active = active; } - public V1JobStatus completionTime(DateTime completionTime) { + public V1JobStatus completionTime(OffsetDateTime completionTime) { this.completionTime = completionTime; return this; @@ -93,11 +93,11 @@ public V1JobStatus completionTime(DateTime completionTime) { @ApiModelProperty( value = "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.") - public DateTime getCompletionTime() { + public OffsetDateTime getCompletionTime() { return completionTime; } - public void setCompletionTime(DateTime completionTime) { + public void setCompletionTime(OffsetDateTime completionTime) { this.completionTime = completionTime; } @@ -109,7 +109,7 @@ public V1JobStatus conditions(List conditions) { public V1JobStatus addConditionsItem(V1JobCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; @@ -154,7 +154,7 @@ public void setFailed(Integer failed) { this.failed = failed; } - public V1JobStatus startTime(DateTime startTime) { + public V1JobStatus startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; @@ -171,11 +171,11 @@ public V1JobStatus startTime(DateTime startTime) { @ApiModelProperty( value = "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.") - public DateTime getStartTime() { + public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(DateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1KeyToPath.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1KeyToPath.java index ebeb58eab2..1a115547db 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1KeyToPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1KeyToPath.java @@ -21,7 +21,7 @@ @ApiModel(description = "Maps a string key to a path within a volume.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1KeyToPath { public static final String SERIALIZED_NAME_KEY = "key"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelector.java index 778f2e4301..8005efa58e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelector.java @@ -31,7 +31,7 @@ "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LabelSelector { public static final String SERIALIZED_NAME_MATCH_EXPRESSIONS = "matchExpressions"; @@ -51,7 +51,7 @@ public V1LabelSelector matchExpressions(List matchEx public V1LabelSelector addMatchExpressionsItem(V1LabelSelectorRequirement matchExpressionsItem) { if (this.matchExpressions == null) { - this.matchExpressions = new ArrayList(); + this.matchExpressions = new ArrayList<>(); } this.matchExpressions.add(matchExpressionsItem); return this; @@ -82,7 +82,7 @@ public V1LabelSelector matchLabels(Map matchLabels) { public V1LabelSelector putMatchLabelsItem(String key, String matchLabelsItem) { if (this.matchLabels == null) { - this.matchLabels = new HashMap(); + this.matchLabels = new HashMap<>(); } this.matchLabels.put(key, matchLabelsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorRequirement.java index e35ccc0ca8..a113eddd3d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorRequirement.java @@ -28,7 +28,7 @@ "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LabelSelectorRequirement { public static final String SERIALIZED_NAME_KEY = "key"; @@ -97,7 +97,7 @@ public V1LabelSelectorRequirement values(List values) { public V1LabelSelectorRequirement addValuesItem(String valuesItem) { if (this.values == null) { - this.values = new ArrayList(); + this.values = new ArrayList<>(); } this.values.add(valuesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lease.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lease.java index e5c2902307..e6482347d8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lease.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lease.java @@ -21,7 +21,7 @@ @ApiModel(description = "Lease defines a lease concept.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Lease implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseList.java index 6ca610d427..6af709ea9a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseList.java @@ -23,7 +23,7 @@ @ApiModel(description = "LeaseList is a list of Lease objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LeaseList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1LeaseList implements io.kubernetes.client.common.KubernetesListOb public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseSpec.java index 20a72df06f..94bf04a5e1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseSpec.java @@ -15,19 +15,19 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** LeaseSpec is a specification of a Lease. */ @ApiModel(description = "LeaseSpec is a specification of a Lease.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LeaseSpec { public static final String SERIALIZED_NAME_ACQUIRE_TIME = "acquireTime"; @SerializedName(SERIALIZED_NAME_ACQUIRE_TIME) - private DateTime acquireTime; + private OffsetDateTime acquireTime; public static final String SERIALIZED_NAME_HOLDER_IDENTITY = "holderIdentity"; @@ -47,9 +47,9 @@ public class V1LeaseSpec { public static final String SERIALIZED_NAME_RENEW_TIME = "renewTime"; @SerializedName(SERIALIZED_NAME_RENEW_TIME) - private DateTime renewTime; + private OffsetDateTime renewTime; - public V1LeaseSpec acquireTime(DateTime acquireTime) { + public V1LeaseSpec acquireTime(OffsetDateTime acquireTime) { this.acquireTime = acquireTime; return this; @@ -62,11 +62,11 @@ public V1LeaseSpec acquireTime(DateTime acquireTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "acquireTime is a time when the current lease was acquired.") - public DateTime getAcquireTime() { + public OffsetDateTime getAcquireTime() { return acquireTime; } - public void setAcquireTime(DateTime acquireTime) { + public void setAcquireTime(OffsetDateTime acquireTime) { this.acquireTime = acquireTime; } @@ -138,7 +138,7 @@ public void setLeaseTransitions(Integer leaseTransitions) { this.leaseTransitions = leaseTransitions; } - public V1LeaseSpec renewTime(DateTime renewTime) { + public V1LeaseSpec renewTime(OffsetDateTime renewTime) { this.renewTime = renewTime; return this; @@ -152,11 +152,11 @@ public V1LeaseSpec renewTime(DateTime renewTime) { @javax.annotation.Nullable @ApiModelProperty( value = "renewTime is a time when the current holder of a lease has last updated the lease.") - public DateTime getRenewTime() { + public OffsetDateTime getRenewTime() { return renewTime; } - public void setRenewTime(DateTime renewTime) { + public void setRenewTime(OffsetDateTime renewTime) { this.renewTime = renewTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lifecycle.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lifecycle.java index 6ed0acf430..8111950989 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lifecycle.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lifecycle.java @@ -28,7 +28,7 @@ "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Lifecycle { public static final String SERIALIZED_NAME_POST_START = "postStart"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRange.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRange.java index 0c009379a1..3ead2ebe26 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRange.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRange.java @@ -22,7 +22,7 @@ description = "LimitRange sets resource usage limits for each kind of resource in a Namespace.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LimitRange implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeItem.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeItem.java index a246bd9408..ed7eed4144 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeItem.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeItem.java @@ -26,7 +26,7 @@ "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LimitRangeItem { public static final String SERIALIZED_NAME_DEFAULT = "default"; @@ -66,7 +66,7 @@ public V1LimitRangeItem _default(Map _default) { public V1LimitRangeItem putDefaultItem(String key, Quantity _defaultItem) { if (this._default == null) { - this._default = new HashMap(); + this._default = new HashMap<>(); } this._default.put(key, _defaultItem); return this; @@ -97,7 +97,7 @@ public V1LimitRangeItem defaultRequest(Map defaultRequest) { public V1LimitRangeItem putDefaultRequestItem(String key, Quantity defaultRequestItem) { if (this.defaultRequest == null) { - this.defaultRequest = new HashMap(); + this.defaultRequest = new HashMap<>(); } this.defaultRequest.put(key, defaultRequestItem); return this; @@ -129,7 +129,7 @@ public V1LimitRangeItem max(Map max) { public V1LimitRangeItem putMaxItem(String key, Quantity maxItem) { if (this.max == null) { - this.max = new HashMap(); + this.max = new HashMap<>(); } this.max.put(key, maxItem); return this; @@ -159,7 +159,7 @@ public V1LimitRangeItem maxLimitRequestRatio(Map maxLimitReque public V1LimitRangeItem putMaxLimitRequestRatioItem( String key, Quantity maxLimitRequestRatioItem) { if (this.maxLimitRequestRatio == null) { - this.maxLimitRequestRatio = new HashMap(); + this.maxLimitRequestRatio = new HashMap<>(); } this.maxLimitRequestRatio.put(key, maxLimitRequestRatioItem); return this; @@ -192,7 +192,7 @@ public V1LimitRangeItem min(Map min) { public V1LimitRangeItem putMinItem(String key, Quantity minItem) { if (this.min == null) { - this.min = new HashMap(); + this.min = new HashMap<>(); } this.min.put(key, minItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeList.java index 9b7b4dc432..5d272ff64e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeList.java @@ -23,7 +23,7 @@ @ApiModel(description = "LimitRangeList is a list of LimitRange items.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LimitRangeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1LimitRangeList implements io.kubernetes.client.common.KubernetesL public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeSpec.java index ad81c5ab1c..1e7ea9e59f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeSpec.java @@ -24,12 +24,12 @@ description = "LimitRangeSpec defines a min/max usage limit for resources that match on kind.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LimitRangeSpec { public static final String SERIALIZED_NAME_LIMITS = "limits"; @SerializedName(SERIALIZED_NAME_LIMITS) - private List limits = new ArrayList(); + private List limits = new ArrayList<>(); public V1LimitRangeSpec limits(List limits) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ListMeta.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ListMeta.java index 5c178f5d90..621b67af4c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ListMeta.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ListMeta.java @@ -26,7 +26,7 @@ "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ListMeta { public static final String SERIALIZED_NAME_CONTINUE = "continue"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerIngress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerIngress.java index 5074e77105..2f4b967487 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerIngress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerIngress.java @@ -26,7 +26,7 @@ "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LoadBalancerIngress { public static final String SERIALIZED_NAME_HOSTNAME = "hostname"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerStatus.java index d0ae599858..111720edfa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "LoadBalancerStatus represents the status of a load-balancer.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LoadBalancerStatus { public static final String SERIALIZED_NAME_INGRESS = "ingress"; @@ -38,7 +38,7 @@ public V1LoadBalancerStatus ingress(List ingress) { public V1LoadBalancerStatus addIngressItem(V1LoadBalancerIngress ingressItem) { if (this.ingress == null) { - this.ingress = new ArrayList(); + this.ingress = new ArrayList<>(); } this.ingress.add(ingressItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalObjectReference.java index 5d3935a9cf..4153ef6ec0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalObjectReference.java @@ -26,7 +26,7 @@ "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LocalObjectReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalSubjectAccessReview.java index d54d813362..ed7d24edc1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalSubjectAccessReview.java @@ -27,7 +27,7 @@ "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LocalSubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalVolumeSource.java index 0eadcdd5b0..cbb25e0c31 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalVolumeSource.java @@ -22,7 +22,7 @@ description = "Local represents directly-attached storage with node affinity (Beta feature)") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1LocalVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ManagedFieldsEntry.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ManagedFieldsEntry.java index b59594fc04..fee3979f19 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ManagedFieldsEntry.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ManagedFieldsEntry.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the @@ -27,7 +27,7 @@ "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ManagedFieldsEntry { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -57,7 +57,7 @@ public class V1ManagedFieldsEntry { public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - private DateTime time; + private OffsetDateTime time; public V1ManagedFieldsEntry apiVersion(String apiVersion) { @@ -175,7 +175,7 @@ public void setOperation(String operation) { this.operation = operation; } - public V1ManagedFieldsEntry time(DateTime time) { + public V1ManagedFieldsEntry time(OffsetDateTime time) { this.time = time; return this; @@ -191,11 +191,11 @@ public V1ManagedFieldsEntry time(DateTime time) { @ApiModelProperty( value = "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'") - public DateTime getTime() { + public OffsetDateTime getTime() { return time; } - public void setTime(DateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhook.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhook.java index 2f511dea79..70ddf06d17 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhook.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhook.java @@ -27,12 +27,12 @@ "MutatingWebhook describes an admission webhook and the resources and operations it applies to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1MutatingWebhook { public static final String SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS = "admissionReviewVersions"; @SerializedName(SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS) - private List admissionReviewVersions = new ArrayList(); + private List admissionReviewVersions = new ArrayList<>(); public static final String SERIALIZED_NAME_CLIENT_CONFIG = "clientConfig"; @@ -304,7 +304,7 @@ public V1MutatingWebhook rules(List rules) { public V1MutatingWebhook addRulesItem(V1RuleWithOperations rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfiguration.java index 539a810659..635e5a3f43 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfiguration.java @@ -28,7 +28,7 @@ "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1MutatingWebhookConfiguration implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -132,7 +132,7 @@ public V1MutatingWebhookConfiguration webhooks(List webhooks) public V1MutatingWebhookConfiguration addWebhooksItem(V1MutatingWebhook webhooksItem) { if (this.webhooks == null) { - this.webhooks = new ArrayList(); + this.webhooks = new ArrayList<>(); } this.webhooks.add(webhooksItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfigurationList.java index a02cf8dd8f..8f9688d6fd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfigurationList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfigurationList.java @@ -24,7 +24,7 @@ description = "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1MutatingWebhookConfigurationList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,8 +35,7 @@ public class V1MutatingWebhookConfigurationList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NFSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NFSVolumeSource.java index e2fecc971a..459035ec1f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NFSVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NFSVolumeSource.java @@ -26,7 +26,7 @@ "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NFSVolumeSource { public static final String SERIALIZED_NAME_PATH = "path"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Namespace.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Namespace.java index b72a981cb1..f05ab11ee8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Namespace.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Namespace.java @@ -22,7 +22,7 @@ description = "Namespace provides a scope for Names. Use of multiple namespaces is optional.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Namespace implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java index 67118a26fe..1d84780ce7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java @@ -15,19 +15,19 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** NamespaceCondition contains details about state of namespace. */ @ApiModel(description = "NamespaceCondition contains details about state of namespace.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NamespaceCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -49,7 +49,7 @@ public class V1NamespaceCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1NamespaceCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1NamespaceCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -65,11 +65,11 @@ public V1NamespaceCondition lastTransitionTime(DateTime lastTransitionTime) { @ApiModelProperty( value = "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java index f3751dad11..6cf88d0506 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java @@ -23,7 +23,7 @@ @ApiModel(description = "NamespaceList is a list of Namespaces.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NamespaceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1NamespaceList implements io.kubernetes.client.common.KubernetesLi public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java index 4f72aca109..3bfd763e8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "NamespaceSpec describes the attributes on a Namespace.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NamespaceSpec { public static final String SERIALIZED_NAME_FINALIZERS = "finalizers"; @@ -38,7 +38,7 @@ public V1NamespaceSpec finalizers(List finalizers) { public V1NamespaceSpec addFinalizersItem(String finalizersItem) { if (this.finalizers == null) { - this.finalizers = new ArrayList(); + this.finalizers = new ArrayList<>(); } this.finalizers.add(finalizersItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java index ea141ac234..6ecd98dbd6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "NamespaceStatus is information about the current status of a Namespace.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NamespaceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @@ -43,7 +43,7 @@ public V1NamespaceStatus conditions(List conditions) { public V1NamespaceStatus addConditionsItem(V1NamespaceCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java index 15950692e0..f0cf7914e2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java @@ -21,7 +21,7 @@ @ApiModel(description = "NetworkPolicy describes what network traffic is allowed for a set of Pods") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NetworkPolicy implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java index df7f66cf2e..16c82d8355 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java @@ -29,7 +29,7 @@ "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NetworkPolicyEgressRule { public static final String SERIALIZED_NAME_PORTS = "ports"; @@ -49,7 +49,7 @@ public V1NetworkPolicyEgressRule ports(List ports) { public V1NetworkPolicyEgressRule addPortsItem(V1NetworkPolicyPort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList<>(); } this.ports.add(portsItem); return this; @@ -83,7 +83,7 @@ public V1NetworkPolicyEgressRule to(List to) { public V1NetworkPolicyEgressRule addToItem(V1NetworkPolicyPeer toItem) { if (this.to == null) { - this.to = new ArrayList(); + this.to = new ArrayList<>(); } this.to.add(toItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java index 4035b83c06..553f8a55b7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java @@ -28,7 +28,7 @@ "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NetworkPolicyIngressRule { public static final String SERIALIZED_NAME_FROM = "from"; @@ -48,7 +48,7 @@ public V1NetworkPolicyIngressRule from(List from) { public V1NetworkPolicyIngressRule addFromItem(V1NetworkPolicyPeer fromItem) { if (this.from == null) { - this.from = new ArrayList(); + this.from = new ArrayList<>(); } this.from.add(fromItem); return this; @@ -83,7 +83,7 @@ public V1NetworkPolicyIngressRule ports(List ports) { public V1NetworkPolicyIngressRule addPortsItem(V1NetworkPolicyPort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList<>(); } this.ports.add(portsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyList.java index b59d199817..873aee9989 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyList.java @@ -23,7 +23,7 @@ @ApiModel(description = "NetworkPolicyList is a list of NetworkPolicy objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NetworkPolicyList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1NetworkPolicyList implements io.kubernetes.client.common.Kubernet public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPeer.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPeer.java index bbf6dc292a..447ef316ca 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPeer.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPeer.java @@ -26,7 +26,7 @@ "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NetworkPolicyPeer { public static final String SERIALIZED_NAME_IP_BLOCK = "ipBlock"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPort.java index 9869ffea65..b067cfa40f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPort.java @@ -22,7 +22,7 @@ @ApiModel(description = "NetworkPolicyPort describes a port to allow traffic on") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NetworkPolicyPort { public static final String SERIALIZED_NAME_PORT = "port"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicySpec.java index 61124dba21..331565ad0b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicySpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicySpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "NetworkPolicySpec provides the specification of a NetworkPolicy") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NetworkPolicySpec { public static final String SERIALIZED_NAME_EGRESS = "egress"; @@ -53,7 +53,7 @@ public V1NetworkPolicySpec egress(List egress) { public V1NetworkPolicySpec addEgressItem(V1NetworkPolicyEgressRule egressItem) { if (this.egress == null) { - this.egress = new ArrayList(); + this.egress = new ArrayList<>(); } this.egress.add(egressItem); return this; @@ -89,7 +89,7 @@ public V1NetworkPolicySpec ingress(List ingress) { public V1NetworkPolicySpec addIngressItem(V1NetworkPolicyIngressRule ingressItem) { if (this.ingress == null) { - this.ingress = new ArrayList(); + this.ingress = new ArrayList<>(); } this.ingress.add(ingressItem); return this; @@ -145,7 +145,7 @@ public V1NetworkPolicySpec policyTypes(List policyTypes) { public V1NetworkPolicySpec addPolicyTypesItem(String policyTypesItem) { if (this.policyTypes == null) { - this.policyTypes = new ArrayList(); + this.policyTypes = new ArrayList<>(); } this.policyTypes.add(policyTypesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Node.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Node.java index 019a849bcb..a723afd574 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Node.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Node.java @@ -26,7 +26,7 @@ "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Node implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAddress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAddress.java index 91b9f457c2..b27bb21cff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAddress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAddress.java @@ -21,7 +21,7 @@ @ApiModel(description = "NodeAddress contains information for the node's address.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeAddress { public static final String SERIALIZED_NAME_ADDRESS = "address"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAffinity.java index b139dafaa0..b70d9d5ac8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAffinity.java @@ -23,7 +23,7 @@ @ApiModel(description = "Node affinity is a group of node affinity scheduling rules.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeAffinity { public static final String SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION = "preferredDuringSchedulingIgnoredDuringExecution"; @@ -48,8 +48,7 @@ public V1NodeAffinity preferredDuringSchedulingIgnoredDuringExecution( public V1NodeAffinity addPreferredDuringSchedulingIgnoredDuringExecutionItem( V1PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecutionItem) { if (this.preferredDuringSchedulingIgnoredDuringExecution == null) { - this.preferredDuringSchedulingIgnoredDuringExecution = - new ArrayList(); + this.preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); } this.preferredDuringSchedulingIgnoredDuringExecution.add( preferredDuringSchedulingIgnoredDuringExecutionItem); diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeCondition.java index fd049c83af..96cbd33b1a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeCondition.java @@ -15,24 +15,24 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** NodeCondition contains condition information for a node. */ @ApiModel(description = "NodeCondition contains condition information for a node.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeCondition { public static final String SERIALIZED_NAME_LAST_HEARTBEAT_TIME = "lastHeartbeatTime"; @SerializedName(SERIALIZED_NAME_LAST_HEARTBEAT_TIME) - private DateTime lastHeartbeatTime; + private OffsetDateTime lastHeartbeatTime; public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -54,7 +54,7 @@ public class V1NodeCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1NodeCondition lastHeartbeatTime(DateTime lastHeartbeatTime) { + public V1NodeCondition lastHeartbeatTime(OffsetDateTime lastHeartbeatTime) { this.lastHeartbeatTime = lastHeartbeatTime; return this; @@ -67,15 +67,15 @@ public V1NodeCondition lastHeartbeatTime(DateTime lastHeartbeatTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time we got an update on a given condition.") - public DateTime getLastHeartbeatTime() { + public OffsetDateTime getLastHeartbeatTime() { return lastHeartbeatTime; } - public void setLastHeartbeatTime(DateTime lastHeartbeatTime) { + public void setLastHeartbeatTime(OffsetDateTime lastHeartbeatTime) { this.lastHeartbeatTime = lastHeartbeatTime; } - public V1NodeCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1NodeCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -88,11 +88,11 @@ public V1NodeCondition lastTransitionTime(DateTime lastTransitionTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transit from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigSource.java index 8be733f5de..8743264e43 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigSource.java @@ -26,7 +26,7 @@ "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeConfigSource { public static final String SERIALIZED_NAME_CONFIG_MAP = "configMap"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigStatus.java index dc6bfadaf0..571d543204 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigStatus.java @@ -23,7 +23,7 @@ "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeConfigStatus { public static final String SERIALIZED_NAME_ACTIVE = "active"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeDaemonEndpoints.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeDaemonEndpoints.java index 890efb2976..0c5e891a8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeDaemonEndpoints.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeDaemonEndpoints.java @@ -21,7 +21,7 @@ @ApiModel(description = "NodeDaemonEndpoints lists ports opened by daemons running on the Node.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeDaemonEndpoints { public static final String SERIALIZED_NAME_KUBELET_ENDPOINT = "kubeletEndpoint"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeList.java index b67c4a2a8e..68e9daa9c9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeList.java @@ -24,7 +24,7 @@ description = "NodeList is the whole list of all Nodes which have been registered with master.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class V1NodeList implements io.kubernetes.client.common.KubernetesListObj public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelector.java index 19bae3bfdf..41f4661393 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelector.java @@ -28,12 +28,12 @@ "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeSelector { public static final String SERIALIZED_NAME_NODE_SELECTOR_TERMS = "nodeSelectorTerms"; @SerializedName(SERIALIZED_NAME_NODE_SELECTOR_TERMS) - private List nodeSelectorTerms = new ArrayList(); + private List nodeSelectorTerms = new ArrayList<>(); public V1NodeSelector nodeSelectorTerms(List nodeSelectorTerms) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorRequirement.java index 44292c1360..884b5d9e2e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorRequirement.java @@ -28,7 +28,7 @@ "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeSelectorRequirement { public static final String SERIALIZED_NAME_KEY = "key"; @@ -97,7 +97,7 @@ public V1NodeSelectorRequirement values(List values) { public V1NodeSelectorRequirement addValuesItem(String valuesItem) { if (this.values == null) { - this.values = new ArrayList(); + this.values = new ArrayList<>(); } this.values.add(valuesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorTerm.java index f07efc1711..a42542823b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorTerm.java @@ -28,7 +28,7 @@ "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeSelectorTerm { public static final String SERIALIZED_NAME_MATCH_EXPRESSIONS = "matchExpressions"; @@ -49,7 +49,7 @@ public V1NodeSelectorTerm matchExpressions(List match public V1NodeSelectorTerm addMatchExpressionsItem( V1NodeSelectorRequirement matchExpressionsItem) { if (this.matchExpressions == null) { - this.matchExpressions = new ArrayList(); + this.matchExpressions = new ArrayList<>(); } this.matchExpressions.add(matchExpressionsItem); return this; @@ -78,7 +78,7 @@ public V1NodeSelectorTerm matchFields(List matchField public V1NodeSelectorTerm addMatchFieldsItem(V1NodeSelectorRequirement matchFieldsItem) { if (this.matchFields == null) { - this.matchFields = new ArrayList(); + this.matchFields = new ArrayList<>(); } this.matchFields.add(matchFieldsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSpec.java index c967fb39e2..3967f07a32 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "NodeSpec describes the attributes that a node is created with.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeSpec { public static final String SERIALIZED_NAME_CONFIG_SOURCE = "configSource"; @@ -134,7 +134,7 @@ public V1NodeSpec podCIDRs(List podCIDRs) { public V1NodeSpec addPodCIDRsItem(String podCIDRsItem) { if (this.podCIDRs == null) { - this.podCIDRs = new ArrayList(); + this.podCIDRs = new ArrayList<>(); } this.podCIDRs.add(podCIDRsItem); return this; @@ -191,7 +191,7 @@ public V1NodeSpec taints(List taints) { public V1NodeSpec addTaintsItem(V1Taint taintsItem) { if (this.taints == null) { - this.taints = new ArrayList(); + this.taints = new ArrayList<>(); } this.taints.add(taintsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeStatus.java index 11186fffaf..bba8b4e1db 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeStatus.java @@ -26,7 +26,7 @@ @ApiModel(description = "NodeStatus is information about the current status of a node.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeStatus { public static final String SERIALIZED_NAME_ADDRESSES = "addresses"; @@ -91,7 +91,7 @@ public V1NodeStatus addresses(List addresses) { public V1NodeStatus addAddressesItem(V1NodeAddress addressesItem) { if (this.addresses == null) { - this.addresses = new ArrayList(); + this.addresses = new ArrayList<>(); } this.addresses.add(addressesItem); return this; @@ -126,7 +126,7 @@ public V1NodeStatus allocatable(Map allocatable) { public V1NodeStatus putAllocatableItem(String key, Quantity allocatableItem) { if (this.allocatable == null) { - this.allocatable = new HashMap(); + this.allocatable = new HashMap<>(); } this.allocatable.put(key, allocatableItem); return this; @@ -158,7 +158,7 @@ public V1NodeStatus capacity(Map capacity) { public V1NodeStatus putCapacityItem(String key, Quantity capacityItem) { if (this.capacity == null) { - this.capacity = new HashMap(); + this.capacity = new HashMap<>(); } this.capacity.put(key, capacityItem); return this; @@ -190,7 +190,7 @@ public V1NodeStatus conditions(List conditions) { public V1NodeStatus addConditionsItem(V1NodeCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; @@ -264,7 +264,7 @@ public V1NodeStatus images(List images) { public V1NodeStatus addImagesItem(V1ContainerImage imagesItem) { if (this.images == null) { - this.images = new ArrayList(); + this.images = new ArrayList<>(); } this.images.add(imagesItem); return this; @@ -339,7 +339,7 @@ public V1NodeStatus volumesAttached(List volumesAttached) { public V1NodeStatus addVolumesAttachedItem(V1AttachedVolume volumesAttachedItem) { if (this.volumesAttached == null) { - this.volumesAttached = new ArrayList(); + this.volumesAttached = new ArrayList<>(); } this.volumesAttached.add(volumesAttachedItem); return this; @@ -368,7 +368,7 @@ public V1NodeStatus volumesInUse(List volumesInUse) { public V1NodeStatus addVolumesInUseItem(String volumesInUseItem) { if (this.volumesInUse == null) { - this.volumesInUse = new ArrayList(); + this.volumesInUse = new ArrayList<>(); } this.volumesInUse.add(volumesInUseItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSystemInfo.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSystemInfo.java index c2434c086b..76823af6fa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSystemInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSystemInfo.java @@ -21,7 +21,7 @@ @ApiModel(description = "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NodeSystemInfo { public static final String SERIALIZED_NAME_ARCHITECTURE = "architecture"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceAttributes.java index 21b58640a0..615f73caa6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceAttributes.java @@ -26,7 +26,7 @@ "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NonResourceAttributes { public static final String SERIALIZED_NAME_PATH = "path"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java index 147e90ff16..eca4c3e6a6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java @@ -24,7 +24,7 @@ description = "NonResourceRule holds information that describes a rule for the non-resource") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1NonResourceRule { public static final String SERIALIZED_NAME_NON_RESOURCE_U_R_LS = "nonResourceURLs"; @@ -34,7 +34,7 @@ public class V1NonResourceRule { public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1NonResourceRule nonResourceURLs(List nonResourceURLs) { @@ -44,7 +44,7 @@ public V1NonResourceRule nonResourceURLs(List nonResourceURLs) { public V1NonResourceRule addNonResourceURLsItem(String nonResourceURLsItem) { if (this.nonResourceURLs == null) { - this.nonResourceURLs = new ArrayList(); + this.nonResourceURLs = new ArrayList<>(); } this.nonResourceURLs.add(nonResourceURLsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java index eb080d0c8f..9abd89cd86 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java @@ -21,7 +21,7 @@ @ApiModel(description = "ObjectFieldSelector selects an APIVersioned field of an object.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ObjectFieldSelector { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java index 1d7341515f..24838fad59 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java @@ -15,12 +15,12 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; -import org.joda.time.DateTime; /** * ObjectMeta is metadata that all persisted resources must have, which includes all objects users @@ -31,7 +31,7 @@ "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ObjectMeta { public static final String SERIALIZED_NAME_ANNOTATIONS = "annotations"; @@ -46,7 +46,7 @@ public class V1ObjectMeta { public static final String SERIALIZED_NAME_CREATION_TIMESTAMP = "creationTimestamp"; @SerializedName(SERIALIZED_NAME_CREATION_TIMESTAMP) - private DateTime creationTimestamp; + private OffsetDateTime creationTimestamp; public static final String SERIALIZED_NAME_DELETION_GRACE_PERIOD_SECONDS = "deletionGracePeriodSeconds"; @@ -57,7 +57,7 @@ public class V1ObjectMeta { public static final String SERIALIZED_NAME_DELETION_TIMESTAMP = "deletionTimestamp"; @SerializedName(SERIALIZED_NAME_DELETION_TIMESTAMP) - private DateTime deletionTimestamp; + private OffsetDateTime deletionTimestamp; public static final String SERIALIZED_NAME_FINALIZERS = "finalizers"; @@ -122,7 +122,7 @@ public V1ObjectMeta annotations(Map annotations) { public V1ObjectMeta putAnnotationsItem(String key, String annotationsItem) { if (this.annotations == null) { - this.annotations = new HashMap(); + this.annotations = new HashMap<>(); } this.annotations.put(key, annotationsItem); return this; @@ -172,7 +172,7 @@ public void setClusterName(String clusterName) { this.clusterName = clusterName; } - public V1ObjectMeta creationTimestamp(DateTime creationTimestamp) { + public V1ObjectMeta creationTimestamp(OffsetDateTime creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; @@ -191,11 +191,11 @@ public V1ObjectMeta creationTimestamp(DateTime creationTimestamp) { @ApiModelProperty( value = "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata") - public DateTime getCreationTimestamp() { + public OffsetDateTime getCreationTimestamp() { return creationTimestamp; } - public void setCreationTimestamp(DateTime creationTimestamp) { + public void setCreationTimestamp(OffsetDateTime creationTimestamp) { this.creationTimestamp = creationTimestamp; } @@ -223,7 +223,7 @@ public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; } - public V1ObjectMeta deletionTimestamp(DateTime deletionTimestamp) { + public V1ObjectMeta deletionTimestamp(OffsetDateTime deletionTimestamp) { this.deletionTimestamp = deletionTimestamp; return this; @@ -252,11 +252,11 @@ public V1ObjectMeta deletionTimestamp(DateTime deletionTimestamp) { @ApiModelProperty( value = "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata") - public DateTime getDeletionTimestamp() { + public OffsetDateTime getDeletionTimestamp() { return deletionTimestamp; } - public void setDeletionTimestamp(DateTime deletionTimestamp) { + public void setDeletionTimestamp(OffsetDateTime deletionTimestamp) { this.deletionTimestamp = deletionTimestamp; } @@ -268,7 +268,7 @@ public V1ObjectMeta finalizers(List finalizers) { public V1ObjectMeta addFinalizersItem(String finalizersItem) { if (this.finalizers == null) { - this.finalizers = new ArrayList(); + this.finalizers = new ArrayList<>(); } this.finalizers.add(finalizersItem); return this; @@ -364,7 +364,7 @@ public V1ObjectMeta labels(Map labels) { public V1ObjectMeta putLabelsItem(String key, String labelsItem) { if (this.labels == null) { - this.labels = new HashMap(); + this.labels = new HashMap<>(); } this.labels.put(key, labelsItem); return this; @@ -397,7 +397,7 @@ public V1ObjectMeta managedFields(List managedFields) { public V1ObjectMeta addManagedFieldsItem(V1ManagedFieldsEntry managedFieldsItem) { if (this.managedFields == null) { - this.managedFields = new ArrayList(); + this.managedFields = new ArrayList<>(); } this.managedFields.add(managedFieldsItem); return this; @@ -485,7 +485,7 @@ public V1ObjectMeta ownerReferences(List ownerReferences) { public V1ObjectMeta addOwnerReferencesItem(V1OwnerReference ownerReferencesItem) { if (this.ownerReferences == null) { - this.ownerReferences = new ArrayList(); + this.ownerReferences = new ArrayList<>(); } this.ownerReferences.add(ownerReferencesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java index 14ce9903e1..b2e54f59f9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java @@ -23,7 +23,7 @@ "ObjectReference contains enough information to let you inspect or modify the referred object.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java index 73156e9021..94050f3a38 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java @@ -27,7 +27,7 @@ "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1OwnerReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolume.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolume.java index 5cf86a994d..ffddf8768b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolume.java @@ -26,7 +26,7 @@ "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolume implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaim.java index 77d9293d0b..51f8b7a3af 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaim.java @@ -22,7 +22,7 @@ description = "PersistentVolumeClaim is a user's request for and claim to a persistent volume") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeClaim implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimCondition.java index 2ee8cbae30..0cfb1a59b2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimCondition.java @@ -15,24 +15,24 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** PersistentVolumeClaimCondition contails details about state of pvc */ @ApiModel(description = "PersistentVolumeClaimCondition contails details about state of pvc") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeClaimCondition { public static final String SERIALIZED_NAME_LAST_PROBE_TIME = "lastProbeTime"; @SerializedName(SERIALIZED_NAME_LAST_PROBE_TIME) - private DateTime lastProbeTime; + private OffsetDateTime lastProbeTime; public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -54,7 +54,7 @@ public class V1PersistentVolumeClaimCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1PersistentVolumeClaimCondition lastProbeTime(DateTime lastProbeTime) { + public V1PersistentVolumeClaimCondition lastProbeTime(OffsetDateTime lastProbeTime) { this.lastProbeTime = lastProbeTime; return this; @@ -67,15 +67,15 @@ public V1PersistentVolumeClaimCondition lastProbeTime(DateTime lastProbeTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time we probed the condition.") - public DateTime getLastProbeTime() { + public OffsetDateTime getLastProbeTime() { return lastProbeTime; } - public void setLastProbeTime(DateTime lastProbeTime) { + public void setLastProbeTime(OffsetDateTime lastProbeTime) { this.lastProbeTime = lastProbeTime; } - public V1PersistentVolumeClaimCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1PersistentVolumeClaimCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -88,11 +88,11 @@ public V1PersistentVolumeClaimCondition lastTransitionTime(DateTime lastTransiti */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimList.java index 1825d7a3e6..3bcf67f567 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeClaimList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class V1PersistentVolumeClaimList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimSpec.java index 1f417f5c1c..3090399860 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimSpec.java @@ -28,7 +28,7 @@ "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeClaimSpec { public static final String SERIALIZED_NAME_ACCESS_MODES = "accessModes"; @@ -73,7 +73,7 @@ public V1PersistentVolumeClaimSpec accessModes(List accessModes) { public V1PersistentVolumeClaimSpec addAccessModesItem(String accessModesItem) { if (this.accessModes == null) { - this.accessModes = new ArrayList(); + this.accessModes = new ArrayList<>(); } this.accessModes.add(accessModesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimStatus.java index 2e5f897281..bd17af346c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimStatus.java @@ -27,7 +27,7 @@ description = "PersistentVolumeClaimStatus is the current status of a persistent volume claim.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeClaimStatus { public static final String SERIALIZED_NAME_ACCESS_MODES = "accessModes"; @@ -57,7 +57,7 @@ public V1PersistentVolumeClaimStatus accessModes(List accessModes) { public V1PersistentVolumeClaimStatus addAccessModesItem(String accessModesItem) { if (this.accessModes == null) { - this.accessModes = new ArrayList(); + this.accessModes = new ArrayList<>(); } this.accessModes.add(accessModesItem); return this; @@ -89,7 +89,7 @@ public V1PersistentVolumeClaimStatus capacity(Map capacity) { public V1PersistentVolumeClaimStatus putCapacityItem(String key, Quantity capacityItem) { if (this.capacity == null) { - this.capacity = new HashMap(); + this.capacity = new HashMap<>(); } this.capacity.put(key, capacityItem); return this; @@ -120,7 +120,7 @@ public V1PersistentVolumeClaimStatus conditions( public V1PersistentVolumeClaimStatus addConditionsItem( V1PersistentVolumeClaimCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimTemplate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimTemplate.java index 37962b9519..09d422a71b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimTemplate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimTemplate.java @@ -26,7 +26,7 @@ "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeClaimTemplate { public static final String SERIALIZED_NAME_METADATA = "metadata"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimVolumeSource.java index 01facfef94..c887210766 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimVolumeSource.java @@ -28,7 +28,7 @@ "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeClaimVolumeSource { public static final String SERIALIZED_NAME_CLAIM_NAME = "claimName"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeList.java index 9574db0050..d0adf6e6aa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PersistentVolumeList is a list of PersistentVolume items.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1PersistentVolumeList implements io.kubernetes.client.common.Kuber public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeSpec.java index 19e7b6e63a..124499b531 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeSpec.java @@ -26,7 +26,7 @@ @ApiModel(description = "PersistentVolumeSpec is the specification of a persistent volume.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeSpec { public static final String SERIALIZED_NAME_ACCESS_MODES = "accessModes"; @@ -187,7 +187,7 @@ public V1PersistentVolumeSpec accessModes(List accessModes) { public V1PersistentVolumeSpec addAccessModesItem(String accessModesItem) { if (this.accessModes == null) { - this.accessModes = new ArrayList(); + this.accessModes = new ArrayList<>(); } this.accessModes.add(accessModesItem); return this; @@ -283,7 +283,7 @@ public V1PersistentVolumeSpec capacity(Map capacity) { public V1PersistentVolumeSpec putCapacityItem(String key, Quantity capacityItem) { if (this.capacity == null) { - this.capacity = new HashMap(); + this.capacity = new HashMap<>(); } this.capacity.put(key, capacityItem); return this; @@ -568,7 +568,7 @@ public V1PersistentVolumeSpec mountOptions(List mountOptions) { public V1PersistentVolumeSpec addMountOptionsItem(String mountOptionsItem) { if (this.mountOptions == null) { - this.mountOptions = new ArrayList(); + this.mountOptions = new ArrayList<>(); } this.mountOptions.add(mountOptionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeStatus.java index 895d775f02..ff39ad8797 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "PersistentVolumeStatus is the current status of a persistent volume.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PersistentVolumeStatus { public static final String SERIALIZED_NAME_MESSAGE = "message"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PhotonPersistentDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PhotonPersistentDiskVolumeSource.java index 2510cbd2f0..194f3b129b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PhotonPersistentDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PhotonPersistentDiskVolumeSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "Represents a Photon Controller persistent disk resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PhotonPersistentDiskVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Pod.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Pod.java index 3f328064f1..f609e8515f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Pod.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Pod.java @@ -26,7 +26,7 @@ "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Pod implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java index 2d56f9fd17..6c12d0b3ce 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java @@ -23,7 +23,7 @@ @ApiModel(description = "Pod affinity is a group of inter pod affinity scheduling rules.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodAffinity { public static final String SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION = "preferredDuringSchedulingIgnoredDuringExecution"; @@ -48,8 +48,7 @@ public V1PodAffinity preferredDuringSchedulingIgnoredDuringExecution( public V1PodAffinity addPreferredDuringSchedulingIgnoredDuringExecutionItem( V1WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecutionItem) { if (this.preferredDuringSchedulingIgnoredDuringExecution == null) { - this.preferredDuringSchedulingIgnoredDuringExecution = - new ArrayList(); + this.preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); } this.preferredDuringSchedulingIgnoredDuringExecution.add( preferredDuringSchedulingIgnoredDuringExecutionItem); @@ -92,7 +91,7 @@ public V1PodAffinity requiredDuringSchedulingIgnoredDuringExecution( public V1PodAffinity addRequiredDuringSchedulingIgnoredDuringExecutionItem( V1PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecutionItem) { if (this.requiredDuringSchedulingIgnoredDuringExecution == null) { - this.requiredDuringSchedulingIgnoredDuringExecution = new ArrayList(); + this.requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); } this.requiredDuringSchedulingIgnoredDuringExecution.add( requiredDuringSchedulingIgnoredDuringExecutionItem); diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java index 497910c13a..c1e6282077 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java @@ -30,7 +30,7 @@ "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodAffinityTerm { public static final String SERIALIZED_NAME_LABEL_SELECTOR = "labelSelector"; @@ -76,7 +76,7 @@ public V1PodAffinityTerm namespaces(List namespaces) { public V1PodAffinityTerm addNamespacesItem(String namespacesItem) { if (this.namespaces == null) { - this.namespaces = new ArrayList(); + this.namespaces = new ArrayList<>(); } this.namespaces.add(namespacesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java index 5034cbf062..3b8a48dc79 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java @@ -23,7 +23,7 @@ @ApiModel(description = "Pod anti affinity is a group of inter pod anti affinity scheduling rules.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodAntiAffinity { public static final String SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION = "preferredDuringSchedulingIgnoredDuringExecution"; @@ -48,8 +48,7 @@ public V1PodAntiAffinity preferredDuringSchedulingIgnoredDuringExecution( public V1PodAntiAffinity addPreferredDuringSchedulingIgnoredDuringExecutionItem( V1WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecutionItem) { if (this.preferredDuringSchedulingIgnoredDuringExecution == null) { - this.preferredDuringSchedulingIgnoredDuringExecution = - new ArrayList(); + this.preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); } this.preferredDuringSchedulingIgnoredDuringExecution.add( preferredDuringSchedulingIgnoredDuringExecutionItem); @@ -92,7 +91,7 @@ public V1PodAntiAffinity requiredDuringSchedulingIgnoredDuringExecution( public V1PodAntiAffinity addRequiredDuringSchedulingIgnoredDuringExecutionItem( V1PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecutionItem) { if (this.requiredDuringSchedulingIgnoredDuringExecution == null) { - this.requiredDuringSchedulingIgnoredDuringExecution = new ArrayList(); + this.requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); } this.requiredDuringSchedulingIgnoredDuringExecution.add( requiredDuringSchedulingIgnoredDuringExecutionItem); diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java index 2d03ced1c5..b08f316039 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java @@ -15,24 +15,24 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** PodCondition contains details for the current condition of this pod. */ @ApiModel(description = "PodCondition contains details for the current condition of this pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodCondition { public static final String SERIALIZED_NAME_LAST_PROBE_TIME = "lastProbeTime"; @SerializedName(SERIALIZED_NAME_LAST_PROBE_TIME) - private DateTime lastProbeTime; + private OffsetDateTime lastProbeTime; public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -54,7 +54,7 @@ public class V1PodCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1PodCondition lastProbeTime(DateTime lastProbeTime) { + public V1PodCondition lastProbeTime(OffsetDateTime lastProbeTime) { this.lastProbeTime = lastProbeTime; return this; @@ -67,15 +67,15 @@ public V1PodCondition lastProbeTime(DateTime lastProbeTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time we probed the condition.") - public DateTime getLastProbeTime() { + public OffsetDateTime getLastProbeTime() { return lastProbeTime; } - public void setLastProbeTime(DateTime lastProbeTime) { + public void setLastProbeTime(OffsetDateTime lastProbeTime) { this.lastProbeTime = lastProbeTime; } - public V1PodCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1PodCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -88,11 +88,11 @@ public V1PodCondition lastTransitionTime(DateTime lastTransitionTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java index a8a11ece31..7c8f367b74 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java @@ -27,7 +27,7 @@ "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodDNSConfig { public static final String SERIALIZED_NAME_NAMESERVERS = "nameservers"; @@ -52,7 +52,7 @@ public V1PodDNSConfig nameservers(List nameservers) { public V1PodDNSConfig addNameserversItem(String nameserversItem) { if (this.nameservers == null) { - this.nameservers = new ArrayList(); + this.nameservers = new ArrayList<>(); } this.nameservers.add(nameserversItem); return this; @@ -84,7 +84,7 @@ public V1PodDNSConfig options(List options) { public V1PodDNSConfig addOptionsItem(V1PodDNSConfigOption optionsItem) { if (this.options == null) { - this.options = new ArrayList(); + this.options = new ArrayList<>(); } this.options.add(optionsItem); return this; @@ -117,7 +117,7 @@ public V1PodDNSConfig searches(List searches) { public V1PodDNSConfig addSearchesItem(String searchesItem) { if (this.searches == null) { - this.searches = new ArrayList(); + this.searches = new ArrayList<>(); } this.searches.add(searchesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java index a95076fe46..08bd72b0a0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java @@ -21,7 +21,7 @@ @ApiModel(description = "PodDNSConfigOption defines DNS resolver options of a pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodDNSConfigOption { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodIP.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodIP.java index df9f4bdb67..d81b709b9a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodIP.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodIP.java @@ -26,7 +26,7 @@ "IP address information for entries in the (plural) PodIPs field. Each entry includes: IP: An IP address allocated to the pod. Routable at least within the cluster.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodIP { public static final String SERIALIZED_NAME_IP = "ip"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodList.java index b20bdff13c..5734e9d203 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PodList is a list of Pods.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1PodList implements io.kubernetes.client.common.KubernetesListObje public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodReadinessGate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodReadinessGate.java index dafc1363c9..dd846bf100 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodReadinessGate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodReadinessGate.java @@ -21,7 +21,7 @@ @ApiModel(description = "PodReadinessGate contains the reference to a pod condition") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodReadinessGate { public static final String SERIALIZED_NAME_CONDITION_TYPE = "conditionType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSecurityContext.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSecurityContext.java index 5080610eae..aee9c2e601 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSecurityContext.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSecurityContext.java @@ -29,7 +29,7 @@ "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodSecurityContext { public static final String SERIALIZED_NAME_FS_GROUP = "fsGroup"; @@ -262,7 +262,7 @@ public V1PodSecurityContext supplementalGroups(List supplementalGroups) { public V1PodSecurityContext addSupplementalGroupsItem(Long supplementalGroupsItem) { if (this.supplementalGroups == null) { - this.supplementalGroups = new ArrayList(); + this.supplementalGroups = new ArrayList<>(); } this.supplementalGroups.add(supplementalGroupsItem); return this; @@ -294,7 +294,7 @@ public V1PodSecurityContext sysctls(List sysctls) { public V1PodSecurityContext addSysctlsItem(V1Sysctl sysctlsItem) { if (this.sysctls == null) { - this.sysctls = new ArrayList(); + this.sysctls = new ArrayList<>(); } this.sysctls.add(sysctlsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSpec.java index c5a872c452..5200e703f8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSpec.java @@ -26,7 +26,7 @@ @ApiModel(description = "PodSpec is a description of a pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodSpec { public static final String SERIALIZED_NAME_ACTIVE_DEADLINE_SECONDS = "activeDeadlineSeconds"; @@ -47,7 +47,7 @@ public class V1PodSpec { public static final String SERIALIZED_NAME_CONTAINERS = "containers"; @SerializedName(SERIALIZED_NAME_CONTAINERS) - private List containers = new ArrayList(); + private List containers = new ArrayList<>(); public static final String SERIALIZED_NAME_DNS_CONFIG = "dnsConfig"; @@ -386,7 +386,7 @@ public V1PodSpec ephemeralContainers(List ephemeralContain public V1PodSpec addEphemeralContainersItem(V1EphemeralContainer ephemeralContainersItem) { if (this.ephemeralContainers == null) { - this.ephemeralContainers = new ArrayList(); + this.ephemeralContainers = new ArrayList<>(); } this.ephemeralContainers.add(ephemeralContainersItem); return this; @@ -422,7 +422,7 @@ public V1PodSpec hostAliases(List hostAliases) { public V1PodSpec addHostAliasesItem(V1HostAlias hostAliasesItem) { if (this.hostAliases == null) { - this.hostAliases = new ArrayList(); + this.hostAliases = new ArrayList<>(); } this.hostAliases.add(hostAliasesItem); return this; @@ -544,7 +544,7 @@ public V1PodSpec imagePullSecrets(List imagePullSecrets) public V1PodSpec addImagePullSecretsItem(V1LocalObjectReference imagePullSecretsItem) { if (this.imagePullSecrets == null) { - this.imagePullSecrets = new ArrayList(); + this.imagePullSecrets = new ArrayList<>(); } this.imagePullSecrets.add(imagePullSecretsItem); return this; @@ -579,7 +579,7 @@ public V1PodSpec initContainers(List initContainers) { public V1PodSpec addInitContainersItem(V1Container initContainersItem) { if (this.initContainers == null) { - this.initContainers = new ArrayList(); + this.initContainers = new ArrayList<>(); } this.initContainers.add(initContainersItem); return this; @@ -644,7 +644,7 @@ public V1PodSpec nodeSelector(Map nodeSelector) { public V1PodSpec putNodeSelectorItem(String key, String nodeSelectorItem) { if (this.nodeSelector == null) { - this.nodeSelector = new HashMap(); + this.nodeSelector = new HashMap<>(); } this.nodeSelector.put(key, nodeSelectorItem); return this; @@ -677,7 +677,7 @@ public V1PodSpec overhead(Map overhead) { public V1PodSpec putOverheadItem(String key, Quantity overheadItem) { if (this.overhead == null) { - this.overhead = new HashMap(); + this.overhead = new HashMap<>(); } this.overhead.put(key, overheadItem); return this; @@ -795,7 +795,7 @@ public V1PodSpec readinessGates(List readinessGates) { public V1PodSpec addReadinessGatesItem(V1PodReadinessGate readinessGatesItem) { if (this.readinessGates == null) { - this.readinessGates = new ArrayList(); + this.readinessGates = new ArrayList<>(); } this.readinessGates.add(readinessGatesItem); return this; @@ -1082,7 +1082,7 @@ public V1PodSpec tolerations(List tolerations) { public V1PodSpec addTolerationsItem(V1Toleration tolerationsItem) { if (this.tolerations == null) { - this.tolerations = new ArrayList(); + this.tolerations = new ArrayList<>(); } this.tolerations.add(tolerationsItem); return this; @@ -1113,7 +1113,7 @@ public V1PodSpec topologySpreadConstraints( public V1PodSpec addTopologySpreadConstraintsItem( V1TopologySpreadConstraint topologySpreadConstraintsItem) { if (this.topologySpreadConstraints == null) { - this.topologySpreadConstraints = new ArrayList(); + this.topologySpreadConstraints = new ArrayList<>(); } this.topologySpreadConstraints.add(topologySpreadConstraintsItem); return this; @@ -1147,7 +1147,7 @@ public V1PodSpec volumes(List volumes) { public V1PodSpec addVolumesItem(V1Volume volumesItem) { if (this.volumes == null) { - this.volumes = new ArrayList(); + this.volumes = new ArrayList<>(); } this.volumes.add(volumesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodStatus.java index 9d6211b813..a33be521b1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodStatus.java @@ -15,10 +15,10 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; /** * PodStatus represents information about the status of a pod. Status may trail the actual state of @@ -29,7 +29,7 @@ "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @@ -95,7 +95,7 @@ public class V1PodStatus { public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - private DateTime startTime; + private OffsetDateTime startTime; public V1PodStatus conditions(List conditions) { @@ -105,7 +105,7 @@ public V1PodStatus conditions(List conditions) { public V1PodStatus addConditionsItem(V1PodCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; @@ -137,7 +137,7 @@ public V1PodStatus containerStatuses(List containerStatuses) public V1PodStatus addContainerStatusesItem(V1ContainerStatus containerStatusesItem) { if (this.containerStatuses == null) { - this.containerStatuses = new ArrayList(); + this.containerStatuses = new ArrayList<>(); } this.containerStatuses.add(containerStatusesItem); return this; @@ -172,7 +172,7 @@ public V1PodStatus ephemeralContainerStatuses( public V1PodStatus addEphemeralContainerStatusesItem( V1ContainerStatus ephemeralContainerStatusesItem) { if (this.ephemeralContainerStatuses == null) { - this.ephemeralContainerStatuses = new ArrayList(); + this.ephemeralContainerStatuses = new ArrayList<>(); } this.ephemeralContainerStatuses.add(ephemeralContainerStatusesItem); return this; @@ -226,7 +226,7 @@ public V1PodStatus initContainerStatuses(List initContainerSt public V1PodStatus addInitContainerStatusesItem(V1ContainerStatus initContainerStatusesItem) { if (this.initContainerStatuses == null) { - this.initContainerStatuses = new ArrayList(); + this.initContainerStatuses = new ArrayList<>(); } this.initContainerStatuses.add(initContainerStatusesItem); return this; @@ -369,7 +369,7 @@ public V1PodStatus podIPs(List podIPs) { public V1PodStatus addPodIPsItem(V1PodIP podIPsItem) { if (this.podIPs == null) { - this.podIPs = new ArrayList(); + this.podIPs = new ArrayList<>(); } this.podIPs.add(podIPsItem); return this; @@ -443,7 +443,7 @@ public void setReason(String reason) { this.reason = reason; } - public V1PodStatus startTime(DateTime startTime) { + public V1PodStatus startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; @@ -459,11 +459,11 @@ public V1PodStatus startTime(DateTime startTime) { @ApiModelProperty( value = "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.") - public DateTime getStartTime() { + public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(DateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplate.java index fccd005c13..765b570cca 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplate.java @@ -21,7 +21,7 @@ @ApiModel(description = "PodTemplate describes a template for creating copies of a predefined pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodTemplate implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplateList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplateList.java index 5f6ec6bcd1..c756e5eeb6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplateList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplateList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PodTemplateList is a list of PodTemplates.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodTemplateList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1PodTemplateList implements io.kubernetes.client.common.Kubernetes public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplateSpec.java index 16922e3b6c..21cacf149f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodTemplateSpec.java @@ -23,7 +23,7 @@ "PodTemplateSpec describes the data a pod should have when created from a template") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PodTemplateSpec { public static final String SERIALIZED_NAME_METADATA = "metadata"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PolicyRule.java index ea6ebd21b6..f5c7a816ae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PolicyRule.java @@ -28,7 +28,7 @@ "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PolicyRule { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @@ -53,7 +53,7 @@ public class V1PolicyRule { public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1PolicyRule apiGroups(List apiGroups) { @@ -63,7 +63,7 @@ public V1PolicyRule apiGroups(List apiGroups) { public V1PolicyRule addApiGroupsItem(String apiGroupsItem) { if (this.apiGroups == null) { - this.apiGroups = new ArrayList(); + this.apiGroups = new ArrayList<>(); } this.apiGroups.add(apiGroupsItem); return this; @@ -96,7 +96,7 @@ public V1PolicyRule nonResourceURLs(List nonResourceURLs) { public V1PolicyRule addNonResourceURLsItem(String nonResourceURLsItem) { if (this.nonResourceURLs == null) { - this.nonResourceURLs = new ArrayList(); + this.nonResourceURLs = new ArrayList<>(); } this.nonResourceURLs.add(nonResourceURLsItem); return this; @@ -131,7 +131,7 @@ public V1PolicyRule resourceNames(List resourceNames) { public V1PolicyRule addResourceNamesItem(String resourceNamesItem) { if (this.resourceNames == null) { - this.resourceNames = new ArrayList(); + this.resourceNames = new ArrayList<>(); } this.resourceNames.add(resourceNamesItem); return this; @@ -163,7 +163,7 @@ public V1PolicyRule resources(List resources) { public V1PolicyRule addResourcesItem(String resourcesItem) { if (this.resources == null) { - this.resources = new ArrayList(); + this.resources = new ArrayList<>(); } this.resources.add(resourcesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PortworxVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PortworxVolumeSource.java index 8acc5db8eb..a407a215f7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PortworxVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PortworxVolumeSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "PortworxVolumeSource represents a Portworx volume resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PortworxVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Preconditions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Preconditions.java index 8cec264e2a..d083c9a8e9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Preconditions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Preconditions.java @@ -23,7 +23,7 @@ "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Preconditions { public static final String SERIALIZED_NAME_RESOURCE_VERSION = "resourceVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PreferredSchedulingTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PreferredSchedulingTerm.java index 2f801e45af..6dbb51f354 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PreferredSchedulingTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PreferredSchedulingTerm.java @@ -26,7 +26,7 @@ "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PreferredSchedulingTerm { public static final String SERIALIZED_NAME_PREFERENCE = "preference"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PriorityClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PriorityClass.java index 4b2756e938..68026da784 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PriorityClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PriorityClass.java @@ -26,7 +26,7 @@ "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PriorityClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PriorityClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PriorityClassList.java index 7c018eae23..a2147f8862 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PriorityClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PriorityClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PriorityClassList is a collection of priority classes.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1PriorityClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1PriorityClassList implements io.kubernetes.client.common.Kubernet public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Probe.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Probe.java index 86e02c25ae..360ee10f2d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Probe.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Probe.java @@ -26,7 +26,7 @@ "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Probe { public static final String SERIALIZED_NAME_EXEC = "exec"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ProjectedVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ProjectedVolumeSource.java index 3e0ad4d0a3..7c3929dd8b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ProjectedVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ProjectedVolumeSource.java @@ -23,7 +23,7 @@ @ApiModel(description = "Represents a projected volume source") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ProjectedVolumeSource { public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode"; @@ -33,7 +33,7 @@ public class V1ProjectedVolumeSource { public static final String SERIALIZED_NAME_SOURCES = "sources"; @SerializedName(SERIALIZED_NAME_SOURCES) - private List sources = new ArrayList(); + private List sources = new ArrayList<>(); public V1ProjectedVolumeSource defaultMode(Integer defaultMode) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1QuobyteVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1QuobyteVolumeSource.java index ce4168455f..b276926252 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1QuobyteVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1QuobyteVolumeSource.java @@ -26,7 +26,7 @@ "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1QuobyteVolumeSource { public static final String SERIALIZED_NAME_GROUP = "group"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RBDPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RBDPersistentVolumeSource.java index 3b65add225..4fcb47acfd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RBDPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RBDPersistentVolumeSource.java @@ -28,7 +28,7 @@ "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RBDPersistentVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @@ -48,7 +48,7 @@ public class V1RBDPersistentVolumeSource { public static final String SERIALIZED_NAME_MONITORS = "monitors"; @SerializedName(SERIALIZED_NAME_MONITORS) - private List monitors = new ArrayList(); + private List monitors = new ArrayList<>(); public static final String SERIALIZED_NAME_POOL = "pool"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RBDVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RBDVolumeSource.java index 5b60b9f16b..3f34dc8135 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RBDVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RBDVolumeSource.java @@ -28,7 +28,7 @@ "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RBDVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @@ -48,7 +48,7 @@ public class V1RBDVolumeSource { public static final String SERIALIZED_NAME_MONITORS = "monitors"; @SerializedName(SERIALIZED_NAME_MONITORS) - private List monitors = new ArrayList(); + private List monitors = new ArrayList<>(); public static final String SERIALIZED_NAME_POOL = "pool"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSet.java index 47cd9625b0..b6ef35ab90 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSet.java @@ -23,7 +23,7 @@ "ReplicaSet ensures that a specified number of pod replicas are running at any given time.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicaSet implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetCondition.java index d755f26275..7de63c14d6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetCondition.java @@ -15,20 +15,20 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** ReplicaSetCondition describes the state of a replica set at a certain point. */ @ApiModel( description = "ReplicaSetCondition describes the state of a replica set at a certain point.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicaSetCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -50,7 +50,7 @@ public class V1ReplicaSetCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1ReplicaSetCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1ReplicaSetCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -63,11 +63,11 @@ public V1ReplicaSetCondition lastTransitionTime(DateTime lastTransitionTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "The last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetList.java index 89eeaac878..1515b414e2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetList.java @@ -23,7 +23,7 @@ @ApiModel(description = "ReplicaSetList is a collection of ReplicaSets.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicaSetList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1ReplicaSetList implements io.kubernetes.client.common.KubernetesL public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetSpec.java index ba53a44fc9..1d56e3c01c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "ReplicaSetSpec is the specification of a ReplicaSet.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicaSetSpec { public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetStatus.java index 88ddff4f8d..311641d701 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicaSetStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "ReplicaSetStatus represents the current status of a ReplicaSet.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicaSetStatus { public static final String SERIALIZED_NAME_AVAILABLE_REPLICAS = "availableReplicas"; @@ -86,7 +86,7 @@ public V1ReplicaSetStatus conditions(List conditions) { public V1ReplicaSetStatus addConditionsItem(V1ReplicaSetCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationController.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationController.java index c530bbb71d..1c12523f8b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationController.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationController.java @@ -22,7 +22,7 @@ description = "ReplicationController represents the configuration of a replication controller.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicationController implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerCondition.java index 94246fb1a1..19759dd41f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerCondition.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * ReplicationControllerCondition describes the state of a replication controller at a certain @@ -27,12 +27,12 @@ "ReplicationControllerCondition describes the state of a replication controller at a certain point.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicationControllerCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -54,7 +54,7 @@ public class V1ReplicationControllerCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1ReplicationControllerCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1ReplicationControllerCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -67,11 +67,11 @@ public V1ReplicationControllerCondition lastTransitionTime(DateTime lastTransiti */ @javax.annotation.Nullable @ApiModelProperty(value = "The last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerList.java index 74c6390c67..7c2ca2270e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerList.java @@ -23,7 +23,7 @@ @ApiModel(description = "ReplicationControllerList is a collection of replication controllers.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicationControllerList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class V1ReplicationControllerList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerSpec.java index ebd5523c8f..8b87b0b137 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerSpec.java @@ -24,7 +24,7 @@ description = "ReplicationControllerSpec is the specification of a replication controller.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicationControllerSpec { public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds"; @@ -104,7 +104,7 @@ public V1ReplicationControllerSpec selector(Map selector) { public V1ReplicationControllerSpec putSelectorItem(String key, String selectorItem) { if (this.selector == null) { - this.selector = new HashMap(); + this.selector = new HashMap<>(); } this.selector.put(key, selectorItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerStatus.java index d982e4ec47..a379bc254d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerStatus.java @@ -25,7 +25,7 @@ "ReplicationControllerStatus represents the current status of a replication controller.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ReplicationControllerStatus { public static final String SERIALIZED_NAME_AVAILABLE_REPLICAS = "availableReplicas"; @@ -91,7 +91,7 @@ public V1ReplicationControllerStatus conditions( public V1ReplicationControllerStatus addConditionsItem( V1ReplicationControllerCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceAttributes.java index e15bddaf5a..b6ffe2d243 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceAttributes.java @@ -26,7 +26,7 @@ "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ResourceAttributes { public static final String SERIALIZED_NAME_GROUP = "group"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java index c78c938cf7..0e3210b3b7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java @@ -24,7 +24,7 @@ "ResourceFieldSelector represents container resources (cpu, memory) and their output format") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ResourceFieldSelector { public static final String SERIALIZED_NAME_CONTAINER_NAME = "containerName"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java index 58602cb419..19ab6bb575 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java @@ -21,7 +21,7 @@ @ApiModel(description = "ResourceQuota sets aggregate quota restrictions enforced per namespace") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ResourceQuota implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java index 3835033936..7eddd15702 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java @@ -23,7 +23,7 @@ @ApiModel(description = "ResourceQuotaList is a list of ResourceQuota items.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ResourceQuotaList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1ResourceQuotaList implements io.kubernetes.client.common.Kubernet public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java index 7ed0591fe1..826301cc21 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java @@ -26,7 +26,7 @@ @ApiModel(description = "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ResourceQuotaSpec { public static final String SERIALIZED_NAME_HARD = "hard"; @@ -51,7 +51,7 @@ public V1ResourceQuotaSpec hard(Map hard) { public V1ResourceQuotaSpec putHardItem(String key, Quantity hardItem) { if (this.hard == null) { - this.hard = new HashMap(); + this.hard = new HashMap<>(); } this.hard.put(key, hardItem); return this; @@ -104,7 +104,7 @@ public V1ResourceQuotaSpec scopes(List scopes) { public V1ResourceQuotaSpec addScopesItem(String scopesItem) { if (this.scopes == null) { - this.scopes = new ArrayList(); + this.scopes = new ArrayList<>(); } this.scopes.add(scopesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java index d8330821de..f0000079de 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java @@ -24,7 +24,7 @@ @ApiModel(description = "ResourceQuotaStatus defines the enforced hard limits and observed use.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ResourceQuotaStatus { public static final String SERIALIZED_NAME_HARD = "hard"; @@ -44,7 +44,7 @@ public V1ResourceQuotaStatus hard(Map hard) { public V1ResourceQuotaStatus putHardItem(String key, Quantity hardItem) { if (this.hard == null) { - this.hard = new HashMap(); + this.hard = new HashMap<>(); } this.hard.put(key, hardItem); return this; @@ -76,7 +76,7 @@ public V1ResourceQuotaStatus used(Map used) { public V1ResourceQuotaStatus putUsedItem(String key, Quantity usedItem) { if (this.used == null) { - this.used = new HashMap(); + this.used = new HashMap<>(); } this.used.put(key, usedItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java index 78ed0025e5..4c5ef44041 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java @@ -24,7 +24,7 @@ @ApiModel(description = "ResourceRequirements describes the compute resource requirements.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ResourceRequirements { public static final String SERIALIZED_NAME_LIMITS = "limits"; @@ -44,7 +44,7 @@ public V1ResourceRequirements limits(Map limits) { public V1ResourceRequirements putLimitsItem(String key, Quantity limitsItem) { if (this.limits == null) { - this.limits = new HashMap(); + this.limits = new HashMap<>(); } this.limits.put(key, limitsItem); return this; @@ -76,7 +76,7 @@ public V1ResourceRequirements requests(Map requests) { public V1ResourceRequirements putRequestsItem(String key, Quantity requestsItem) { if (this.requests == null) { - this.requests = new HashMap(); + this.requests = new HashMap<>(); } this.requests.put(key, requestsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java index d75aab4bf5..c10b88b4a2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java @@ -28,7 +28,7 @@ "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ResourceRule { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @@ -48,7 +48,7 @@ public class V1ResourceRule { public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1ResourceRule apiGroups(List apiGroups) { @@ -58,7 +58,7 @@ public V1ResourceRule apiGroups(List apiGroups) { public V1ResourceRule addApiGroupsItem(String apiGroupsItem) { if (this.apiGroups == null) { - this.apiGroups = new ArrayList(); + this.apiGroups = new ArrayList<>(); } this.apiGroups.add(apiGroupsItem); return this; @@ -91,7 +91,7 @@ public V1ResourceRule resourceNames(List resourceNames) { public V1ResourceRule addResourceNamesItem(String resourceNamesItem) { if (this.resourceNames == null) { - this.resourceNames = new ArrayList(); + this.resourceNames = new ArrayList<>(); } this.resourceNames.add(resourceNamesItem); return this; @@ -123,7 +123,7 @@ public V1ResourceRule resources(List resources) { public V1ResourceRule addResourcesItem(String resourcesItem) { if (this.resources == null) { - this.resources = new ArrayList(); + this.resources = new ArrayList<>(); } this.resources.add(resourcesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Role.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Role.java index 9d19af5270..f8eae73ff5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Role.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Role.java @@ -28,7 +28,7 @@ "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Role implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -131,7 +131,7 @@ public V1Role rules(List rules) { public V1Role addRulesItem(V1PolicyRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java index 0d4567ca1e..cfebb64317 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java @@ -30,7 +30,7 @@ "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RoleBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -158,7 +158,7 @@ public V1RoleBinding subjects(List subjects) { public V1RoleBinding addSubjectsItem(V1Subject subjectsItem) { if (this.subjects == null) { - this.subjects = new ArrayList(); + this.subjects = new ArrayList<>(); } this.subjects.add(subjectsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBindingList.java index b30c1f566b..65d3f6009c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBindingList.java @@ -23,7 +23,7 @@ @ApiModel(description = "RoleBindingList is a collection of RoleBindings") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RoleBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1RoleBindingList implements io.kubernetes.client.common.Kubernetes public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleList.java index b526aef62d..be34463aa4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleList.java @@ -23,7 +23,7 @@ @ApiModel(description = "RoleList is a collection of Roles") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RoleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1RoleList implements io.kubernetes.client.common.KubernetesListObj public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleRef.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleRef.java index a43911203d..fe4fc93e4d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleRef.java @@ -21,7 +21,7 @@ @ApiModel(description = "RoleRef contains information that points to the role being used") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RoleRef { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDaemonSet.java index f890af36a7..17e9733722 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDaemonSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDaemonSet.java @@ -22,7 +22,7 @@ @ApiModel(description = "Spec to control the desired behavior of daemon set rolling update.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RollingUpdateDaemonSet { public static final String SERIALIZED_NAME_MAX_UNAVAILABLE = "maxUnavailable"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeployment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeployment.java index f82efce2fa..0edcd24715 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeployment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeployment.java @@ -22,7 +22,7 @@ @ApiModel(description = "Spec to control the desired behavior of rolling update.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RollingUpdateDeployment { public static final String SERIALIZED_NAME_MAX_SURGE = "maxSurge"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateStatefulSetStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateStatefulSetStrategy.java index a691e75679..c4a3f9d862 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateStatefulSetStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateStatefulSetStrategy.java @@ -26,7 +26,7 @@ "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RollingUpdateStatefulSetStrategy { public static final String SERIALIZED_NAME_PARTITION = "partition"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuleWithOperations.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuleWithOperations.java index cd74553a32..a2640fb0b4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuleWithOperations.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuleWithOperations.java @@ -28,7 +28,7 @@ "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1RuleWithOperations { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @@ -63,7 +63,7 @@ public V1RuleWithOperations apiGroups(List apiGroups) { public V1RuleWithOperations addApiGroupsItem(String apiGroupsItem) { if (this.apiGroups == null) { - this.apiGroups = new ArrayList(); + this.apiGroups = new ArrayList<>(); } this.apiGroups.add(apiGroupsItem); return this; @@ -95,7 +95,7 @@ public V1RuleWithOperations apiVersions(List apiVersions) { public V1RuleWithOperations addApiVersionsItem(String apiVersionsItem) { if (this.apiVersions == null) { - this.apiVersions = new ArrayList(); + this.apiVersions = new ArrayList<>(); } this.apiVersions.add(apiVersionsItem); return this; @@ -127,7 +127,7 @@ public V1RuleWithOperations operations(List operations) { public V1RuleWithOperations addOperationsItem(String operationsItem) { if (this.operations == null) { - this.operations = new ArrayList(); + this.operations = new ArrayList<>(); } this.operations.add(operationsItem); return this; @@ -160,7 +160,7 @@ public V1RuleWithOperations resources(List resources) { public V1RuleWithOperations addResourcesItem(String resourcesItem) { if (this.resources == null) { - this.resources = new ArrayList(); + this.resources = new ArrayList<>(); } this.resources.add(resourcesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SELinuxOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SELinuxOptions.java index 71cacacdef..dbe229269f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SELinuxOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SELinuxOptions.java @@ -21,7 +21,7 @@ @ApiModel(description = "SELinuxOptions are the labels to be applied to the container") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SELinuxOptions { public static final String SERIALIZED_NAME_LEVEL = "level"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scale.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scale.java index 57db494a68..07adad0a57 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scale.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scale.java @@ -21,7 +21,7 @@ @ApiModel(description = "Scale represents a scaling request for a resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Scale implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOPersistentVolumeSource.java index eaad4a7263..b60ce53959 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOPersistentVolumeSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ScaleIOPersistentVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOVolumeSource.java index d74845f290..33c163add3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOVolumeSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "ScaleIOVolumeSource represents a persistent ScaleIO volume") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ScaleIOVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleSpec.java index 3b98248b09..99a1024602 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "ScaleSpec describes the attributes of a scale subresource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ScaleSpec { public static final String SERIALIZED_NAME_REPLICAS = "replicas"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleStatus.java index 77aea7d435..5362ca2fa7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "ScaleStatus represents the current status of a scale subresource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ScaleStatus { public static final String SERIALIZED_NAME_REPLICAS = "replicas"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopeSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopeSelector.java index 3a6f4b1855..0ee966ca3c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopeSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopeSelector.java @@ -28,7 +28,7 @@ "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ScopeSelector { public static final String SERIALIZED_NAME_MATCH_EXPRESSIONS = "matchExpressions"; @@ -45,7 +45,7 @@ public V1ScopeSelector matchExpressions( public V1ScopeSelector addMatchExpressionsItem( V1ScopedResourceSelectorRequirement matchExpressionsItem) { if (this.matchExpressions == null) { - this.matchExpressions = new ArrayList(); + this.matchExpressions = new ArrayList<>(); } this.matchExpressions.add(matchExpressionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopedResourceSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopedResourceSelectorRequirement.java index 633a34f6fa..06d2360bf2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopedResourceSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopedResourceSelectorRequirement.java @@ -28,7 +28,7 @@ "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ScopedResourceSelectorRequirement { public static final String SERIALIZED_NAME_OPERATOR = "operator"; @@ -97,7 +97,7 @@ public V1ScopedResourceSelectorRequirement values(List values) { public V1ScopedResourceSelectorRequirement addValuesItem(String valuesItem) { if (this.values == null) { - this.values = new ArrayList(); + this.values = new ArrayList<>(); } this.values.add(valuesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SeccompProfile.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SeccompProfile.java index a4143bd114..49ec70fe63 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SeccompProfile.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SeccompProfile.java @@ -26,7 +26,7 @@ "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SeccompProfile { public static final String SERIALIZED_NAME_LOCALHOST_PROFILE = "localhostProfile"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java index 05ca79e8c4..fc414da222 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java @@ -28,7 +28,7 @@ "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Secret implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -99,7 +99,7 @@ public V1Secret data(Map data) { public V1Secret putDataItem(String key, byte[] dataItem) { if (this.data == null) { - this.data = new HashMap(); + this.data = new HashMap<>(); } this.data.put(key, dataItem); return this; @@ -205,7 +205,7 @@ public V1Secret stringData(Map stringData) { public V1Secret putStringDataItem(String key, String stringDataItem) { if (this.stringData == null) { - this.stringData = new HashMap(); + this.stringData = new HashMap<>(); } this.stringData.put(key, stringDataItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretEnvSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretEnvSource.java index b66a04a2fb..dc15be62a2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretEnvSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretEnvSource.java @@ -26,7 +26,7 @@ "SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SecretEnvSource { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretKeySelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretKeySelector.java index 6863330a07..2ee6d87966 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretKeySelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretKeySelector.java @@ -21,7 +21,7 @@ @ApiModel(description = "SecretKeySelector selects a key of a Secret.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SecretKeySelector { public static final String SERIALIZED_NAME_KEY = "key"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretList.java index 81e8091a22..b0c8b82121 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretList.java @@ -23,7 +23,7 @@ @ApiModel(description = "SecretList is a list of Secret.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SecretList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1SecretList implements io.kubernetes.client.common.KubernetesListO public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretProjection.java index 242546059e..045520c719 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretProjection.java @@ -29,7 +29,7 @@ "Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SecretProjection { public static final String SERIALIZED_NAME_ITEMS = "items"; @@ -54,7 +54,7 @@ public V1SecretProjection items(List items) { public V1SecretProjection addItemsItem(V1KeyToPath itemsItem) { if (this.items == null) { - this.items = new ArrayList(); + this.items = new ArrayList<>(); } this.items.add(itemsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretReference.java index b9b4f19d47..badaa31c97 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretReference.java @@ -26,7 +26,7 @@ "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SecretReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretVolumeSource.java index d1e9626204..3ac97ca8a6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretVolumeSource.java @@ -29,7 +29,7 @@ "Adapts a Secret into a volume. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SecretVolumeSource { public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode"; @@ -86,7 +86,7 @@ public V1SecretVolumeSource items(List items) { public V1SecretVolumeSource addItemsItem(V1KeyToPath itemsItem) { if (this.items == null) { - this.items = new ArrayList(); + this.items = new ArrayList<>(); } this.items.add(itemsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecurityContext.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecurityContext.java index fd05400b95..cd9efd2e39 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecurityContext.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecurityContext.java @@ -27,7 +27,7 @@ "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SecurityContext { public static final String SERIALIZED_NAME_ALLOW_PRIVILEGE_ESCALATION = "allowPrivilegeEscalation"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReview.java index 7d1a7b0c36..899079b5bd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReview.java @@ -27,7 +27,7 @@ "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SelfSubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReviewSpec.java index 7689eab76e..6da65ef9dc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReviewSpec.java @@ -26,7 +26,7 @@ "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SelfSubjectAccessReviewSpec { public static final String SERIALIZED_NAME_NON_RESOURCE_ATTRIBUTES = "nonResourceAttributes"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReview.java index ea7ce0c75e..dd4a78a862 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReview.java @@ -31,7 +31,7 @@ "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SelfSubjectRulesReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReviewSpec.java index 0c77592589..7eebce6c1b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReviewSpec.java @@ -19,7 +19,7 @@ /** V1SelfSubjectRulesReviewSpec */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SelfSubjectRulesReviewSpec { public static final String SERIALIZED_NAME_NAMESPACE = "namespace"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServerAddressByClientCIDR.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServerAddressByClientCIDR.java index 9164ff4ad5..f10770a950 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServerAddressByClientCIDR.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServerAddressByClientCIDR.java @@ -26,7 +26,7 @@ "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServerAddressByClientCIDR { public static final String SERIALIZED_NAME_CLIENT_C_I_D_R = "clientCIDR"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Service.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Service.java index 6716fed355..9172f07cd8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Service.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Service.java @@ -27,7 +27,7 @@ "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Service implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccount.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccount.java index 935bc66d31..9b7ef501dc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccount.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccount.java @@ -28,7 +28,7 @@ "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServiceAccount implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -119,7 +119,7 @@ public V1ServiceAccount imagePullSecrets(List imagePullS public V1ServiceAccount addImagePullSecretsItem(V1LocalObjectReference imagePullSecretsItem) { if (this.imagePullSecrets == null) { - this.imagePullSecrets = new ArrayList(); + this.imagePullSecrets = new ArrayList<>(); } this.imagePullSecrets.add(imagePullSecretsItem); return this; @@ -201,7 +201,7 @@ public V1ServiceAccount secrets(List secrets) { public V1ServiceAccount addSecretsItem(V1ObjectReference secretsItem) { if (this.secrets == null) { - this.secrets = new ArrayList(); + this.secrets = new ArrayList<>(); } this.secrets.add(secretsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountList.java index 6a1782f1c7..0dda464009 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountList.java @@ -23,7 +23,7 @@ @ApiModel(description = "ServiceAccountList is a list of ServiceAccount objects") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServiceAccountList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1ServiceAccountList implements io.kubernetes.client.common.Kuberne public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountTokenProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountTokenProjection.java index 922b15e23c..161d4cf68b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountTokenProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountTokenProjection.java @@ -27,7 +27,7 @@ "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServiceAccountTokenProjection { public static final String SERIALIZED_NAME_AUDIENCE = "audience"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceBackendPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceBackendPort.java index ddb401c752..cc339e8a8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceBackendPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceBackendPort.java @@ -21,7 +21,7 @@ @ApiModel(description = "ServiceBackendPort is the service port being referenced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServiceBackendPort { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceList.java index f7c51dab6d..9f54a4a09b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceList.java @@ -23,7 +23,7 @@ @ApiModel(description = "ServiceList holds a list of services.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServiceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1ServiceList implements io.kubernetes.client.common.KubernetesList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServicePort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServicePort.java index 7de8d34eae..d3306db748 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServicePort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServicePort.java @@ -22,7 +22,7 @@ @ApiModel(description = "ServicePort contains information on service's port.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServicePort { public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceSpec.java index d40ad98c69..52f657fc07 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceSpec.java @@ -25,7 +25,7 @@ @ApiModel(description = "ServiceSpec describes the attributes that a user creates on a service.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServiceSpec { public static final String SERIALIZED_NAME_CLUSTER_I_P = "clusterIP"; @@ -142,7 +142,7 @@ public V1ServiceSpec externalIPs(List externalIPs) { public V1ServiceSpec addExternalIPsItem(String externalIPsItem) { if (this.externalIPs == null) { - this.externalIPs = new ArrayList(); + this.externalIPs = new ArrayList<>(); } this.externalIPs.add(externalIPsItem); return this; @@ -316,7 +316,7 @@ public V1ServiceSpec loadBalancerSourceRanges(List loadBalancerSourceRan public V1ServiceSpec addLoadBalancerSourceRangesItem(String loadBalancerSourceRangesItem) { if (this.loadBalancerSourceRanges == null) { - this.loadBalancerSourceRanges = new ArrayList(); + this.loadBalancerSourceRanges = new ArrayList<>(); } this.loadBalancerSourceRanges.add(loadBalancerSourceRangesItem); return this; @@ -350,7 +350,7 @@ public V1ServiceSpec ports(List ports) { public V1ServiceSpec addPortsItem(V1ServicePort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList<>(); } this.ports.add(portsItem); return this; @@ -412,7 +412,7 @@ public V1ServiceSpec selector(Map selector) { public V1ServiceSpec putSelectorItem(String key, String selectorItem) { if (this.selector == null) { - this.selector = new HashMap(); + this.selector = new HashMap<>(); } this.selector.put(key, selectorItem); return this; @@ -493,7 +493,7 @@ public V1ServiceSpec topologyKeys(List topologyKeys) { public V1ServiceSpec addTopologyKeysItem(String topologyKeysItem) { if (this.topologyKeys == null) { - this.topologyKeys = new ArrayList(); + this.topologyKeys = new ArrayList<>(); } this.topologyKeys.add(topologyKeysItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceStatus.java index eb85fbf6a5..2a6d717c8c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "ServiceStatus represents the current status of a service.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ServiceStatus { public static final String SERIALIZED_NAME_LOAD_BALANCER = "loadBalancer"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SessionAffinityConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SessionAffinityConfig.java index 82f58e1386..ce7cede112 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SessionAffinityConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SessionAffinityConfig.java @@ -21,7 +21,7 @@ @ApiModel(description = "SessionAffinityConfig represents the configurations of session affinity.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SessionAffinityConfig { public static final String SERIALIZED_NAME_CLIENT_I_P = "clientIP"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSet.java index 25014e9c8a..1ee45d72d4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSet.java @@ -28,7 +28,7 @@ "StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StatefulSet implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetCondition.java index b4d0c0549d..0bd7e93c25 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetCondition.java @@ -15,20 +15,20 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** StatefulSetCondition describes the state of a statefulset at a certain point. */ @ApiModel( description = "StatefulSetCondition describes the state of a statefulset at a certain point.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StatefulSetCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -50,7 +50,7 @@ public class V1StatefulSetCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1StatefulSetCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1StatefulSetCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -63,11 +63,11 @@ public V1StatefulSetCondition lastTransitionTime(DateTime lastTransitionTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetList.java index 5a28885097..437c756e6e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetList.java @@ -23,7 +23,7 @@ @ApiModel(description = "StatefulSetList is a collection of StatefulSets.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StatefulSetList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1StatefulSetList implements io.kubernetes.client.common.Kubernetes public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetSpec.java index 48881e8307..3c6c9b4d7b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "A StatefulSetSpec is the specification of a StatefulSet.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StatefulSetSpec { public static final String SERIALIZED_NAME_POD_MANAGEMENT_POLICY = "podManagementPolicy"; @@ -241,7 +241,7 @@ public V1StatefulSetSpec volumeClaimTemplates( public V1StatefulSetSpec addVolumeClaimTemplatesItem( V1PersistentVolumeClaim volumeClaimTemplatesItem) { if (this.volumeClaimTemplates == null) { - this.volumeClaimTemplates = new ArrayList(); + this.volumeClaimTemplates = new ArrayList<>(); } this.volumeClaimTemplates.add(volumeClaimTemplatesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetStatus.java index 7186c5d94f..795c466a54 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "StatefulSetStatus represents the current state of a StatefulSet.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StatefulSetStatus { public static final String SERIALIZED_NAME_COLLISION_COUNT = "collisionCount"; @@ -103,7 +103,7 @@ public V1StatefulSetStatus conditions(List conditions) { public V1StatefulSetStatus addConditionsItem(V1StatefulSetCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetUpdateStrategy.java index 6f8fae9e66..8eacf35f66 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetUpdateStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetUpdateStrategy.java @@ -27,7 +27,7 @@ "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StatefulSetUpdateStrategy { public static final String SERIALIZED_NAME_ROLLING_UPDATE = "rollingUpdate"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Status.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Status.java index 414e0c09fe..fc4f1dc14d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Status.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Status.java @@ -21,7 +21,7 @@ @ApiModel(description = "Status is a return value for calls that don't return other objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Status { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusCause.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusCause.java index bd7a536e1a..d4b4060df4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusCause.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusCause.java @@ -26,7 +26,7 @@ "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StatusCause { public static final String SERIALIZED_NAME_FIELD = "field"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusDetails.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusDetails.java index 0ad64d3089..1212bb96af 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusDetails.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusDetails.java @@ -30,7 +30,7 @@ "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StatusDetails { public static final String SERIALIZED_NAME_CAUSES = "causes"; @@ -70,7 +70,7 @@ public V1StatusDetails causes(List causes) { public V1StatusDetails addCausesItem(V1StatusCause causesItem) { if (this.causes == null) { - this.causes = new ArrayList(); + this.causes = new ArrayList<>(); } this.causes.add(causesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClass.java index 803415f6a5..377f498ddd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClass.java @@ -31,7 +31,7 @@ "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StorageClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ALLOW_VOLUME_EXPANSION = "allowVolumeExpansion"; @@ -113,7 +113,7 @@ public V1StorageClass allowedTopologies(List allowedTopo public V1StorageClass addAllowedTopologiesItem(V1TopologySelectorTerm allowedTopologiesItem) { if (this.allowedTopologies == null) { - this.allowedTopologies = new ArrayList(); + this.allowedTopologies = new ArrayList<>(); } this.allowedTopologies.add(allowedTopologiesItem); return this; @@ -220,7 +220,7 @@ public V1StorageClass mountOptions(List mountOptions) { public V1StorageClass addMountOptionsItem(String mountOptionsItem) { if (this.mountOptions == null) { - this.mountOptions = new ArrayList(); + this.mountOptions = new ArrayList<>(); } this.mountOptions.add(mountOptionsItem); return this; @@ -253,7 +253,7 @@ public V1StorageClass parameters(Map parameters) { public V1StorageClass putParametersItem(String key, String parametersItem) { if (this.parameters == null) { - this.parameters = new HashMap(); + this.parameters = new HashMap<>(); } this.parameters.put(key, parametersItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClassList.java index 9fa9afa086..f94ca00f76 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "StorageClassList is a collection of storage classes.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StorageClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1StorageClassList implements io.kubernetes.client.common.Kubernete public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSPersistentVolumeSource.java index 06a0d18dc3..ae73f8b5a1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSPersistentVolumeSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "Represents a StorageOS persistent volume resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StorageOSPersistentVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSVolumeSource.java index d510a1a252..359a63dc95 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSVolumeSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "Represents a StorageOS persistent volume resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1StorageOSVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Subject.java index f68a6c1ee9..de29428fa2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Subject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Subject.java @@ -27,7 +27,7 @@ "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Subject { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReview.java index 26889fc7b2..9d518d8d8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReview.java @@ -23,7 +23,7 @@ "SubjectAccessReview checks whether or not a user or group can perform an action.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewSpec.java index 629e087960..35b719cc6b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewSpec.java @@ -30,7 +30,7 @@ "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SubjectAccessReviewSpec { public static final String SERIALIZED_NAME_EXTRA = "extra"; @@ -70,7 +70,7 @@ public V1SubjectAccessReviewSpec extra(Map> extra) { public V1SubjectAccessReviewSpec putExtraItem(String key, List extraItem) { if (this.extra == null) { - this.extra = new HashMap>(); + this.extra = new HashMap<>(); } this.extra.put(key, extraItem); return this; @@ -102,7 +102,7 @@ public V1SubjectAccessReviewSpec groups(List groups) { public V1SubjectAccessReviewSpec addGroupsItem(String groupsItem) { if (this.groups == null) { - this.groups = new ArrayList(); + this.groups = new ArrayList<>(); } this.groups.add(groupsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewStatus.java index 9f4332ca74..b494bf2384 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "SubjectAccessReviewStatus") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SubjectAccessReviewStatus { public static final String SERIALIZED_NAME_ALLOWED = "allowed"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectRulesReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectRulesReviewStatus.java index 0d1501f111..244d939561 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectRulesReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectRulesReviewStatus.java @@ -30,7 +30,7 @@ "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1SubjectRulesReviewStatus { public static final String SERIALIZED_NAME_EVALUATION_ERROR = "evaluationError"; @@ -45,12 +45,12 @@ public class V1SubjectRulesReviewStatus { public static final String SERIALIZED_NAME_NON_RESOURCE_RULES = "nonResourceRules"; @SerializedName(SERIALIZED_NAME_NON_RESOURCE_RULES) - private List nonResourceRules = new ArrayList(); + private List nonResourceRules = new ArrayList<>(); public static final String SERIALIZED_NAME_RESOURCE_RULES = "resourceRules"; @SerializedName(SERIALIZED_NAME_RESOURCE_RULES) - private List resourceRules = new ArrayList(); + private List resourceRules = new ArrayList<>(); public V1SubjectRulesReviewStatus evaluationError(String evaluationError) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Sysctl.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Sysctl.java index 20e2d9c1da..a1430379b7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Sysctl.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Sysctl.java @@ -21,7 +21,7 @@ @ApiModel(description = "Sysctl defines a kernel parameter to be set") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Sysctl { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TCPSocketAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TCPSocketAction.java index 06d04e0f1e..2bef2ce9d9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TCPSocketAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TCPSocketAction.java @@ -22,7 +22,7 @@ @ApiModel(description = "TCPSocketAction describes an action based on opening a socket") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TCPSocketAction { public static final String SERIALIZED_NAME_HOST = "host"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Taint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Taint.java index 70b19f5046..02af6b34cf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Taint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Taint.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * The node this Taint is attached to has the \"effect\" on any pod that does not tolerate @@ -27,7 +27,7 @@ "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Taint { public static final String SERIALIZED_NAME_EFFECT = "effect"; @@ -42,7 +42,7 @@ public class V1Taint { public static final String SERIALIZED_NAME_TIME_ADDED = "timeAdded"; @SerializedName(SERIALIZED_NAME_TIME_ADDED) - private DateTime timeAdded; + private OffsetDateTime timeAdded; public static final String SERIALIZED_NAME_VALUE = "value"; @@ -93,7 +93,7 @@ public void setKey(String key) { this.key = key; } - public V1Taint timeAdded(DateTime timeAdded) { + public V1Taint timeAdded(OffsetDateTime timeAdded) { this.timeAdded = timeAdded; return this; @@ -109,11 +109,11 @@ public V1Taint timeAdded(DateTime timeAdded) { @ApiModelProperty( value = "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.") - public DateTime getTimeAdded() { + public OffsetDateTime getTimeAdded() { return timeAdded; } - public void setTimeAdded(DateTime timeAdded) { + public void setTimeAdded(OffsetDateTime timeAdded) { this.timeAdded = timeAdded; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequest.java index a08b5a09f1..d8e9b7078a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequest.java @@ -21,7 +21,7 @@ @ApiModel(description = "TokenRequest requests a token for a given service account.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TokenRequest implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestSpec.java index 5db9293f93..ba5da13a03 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestSpec.java @@ -23,12 +23,12 @@ @ApiModel(description = "TokenRequestSpec contains client provided parameters of a token request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TokenRequestSpec { public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @SerializedName(SERIALIZED_NAME_AUDIENCES) - private List audiences = new ArrayList(); + private List audiences = new ArrayList<>(); public static final String SERIALIZED_NAME_BOUND_OBJECT_REF = "boundObjectRef"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestStatus.java index f2cf457793..183463d153 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestStatus.java @@ -15,26 +15,26 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** TokenRequestStatus is the result of a token request. */ @ApiModel(description = "TokenRequestStatus is the result of a token request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TokenRequestStatus { public static final String SERIALIZED_NAME_EXPIRATION_TIMESTAMP = "expirationTimestamp"; @SerializedName(SERIALIZED_NAME_EXPIRATION_TIMESTAMP) - private DateTime expirationTimestamp; + private OffsetDateTime expirationTimestamp; public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) private String token; - public V1TokenRequestStatus expirationTimestamp(DateTime expirationTimestamp) { + public V1TokenRequestStatus expirationTimestamp(OffsetDateTime expirationTimestamp) { this.expirationTimestamp = expirationTimestamp; return this; @@ -48,11 +48,11 @@ public V1TokenRequestStatus expirationTimestamp(DateTime expirationTimestamp) { @ApiModelProperty( required = true, value = "ExpirationTimestamp is the time of expiration of the returned token.") - public DateTime getExpirationTimestamp() { + public OffsetDateTime getExpirationTimestamp() { return expirationTimestamp; } - public void setExpirationTimestamp(DateTime expirationTimestamp) { + public void setExpirationTimestamp(OffsetDateTime expirationTimestamp) { this.expirationTimestamp = expirationTimestamp; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReview.java index 8f361a7428..5f156697bc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReview.java @@ -26,7 +26,7 @@ "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TokenReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewSpec.java index e179244665..b182c30452 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "TokenReviewSpec is a description of the token authentication request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TokenReviewSpec { public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @@ -43,7 +43,7 @@ public V1TokenReviewSpec audiences(List audiences) { public V1TokenReviewSpec addAudiencesItem(String audiencesItem) { if (this.audiences == null) { - this.audiences = new ArrayList(); + this.audiences = new ArrayList<>(); } this.audiences.add(audiencesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewStatus.java index dab6b3eff8..bfd92b7cdf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "TokenReviewStatus is the result of the token authentication request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TokenReviewStatus { public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @@ -53,7 +53,7 @@ public V1TokenReviewStatus audiences(List audiences) { public V1TokenReviewStatus addAudiencesItem(String audiencesItem) { if (this.audiences == null) { - this.audiences = new ArrayList(); + this.audiences = new ArrayList<>(); } this.audiences.add(audiencesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Toleration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Toleration.java index fde1c0453a..e6aa5f94ad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Toleration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Toleration.java @@ -26,7 +26,7 @@ "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Toleration { public static final String SERIALIZED_NAME_EFFECT = "effect"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorLabelRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorLabelRequirement.java index d917ba7d92..cca827ffae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorLabelRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorLabelRequirement.java @@ -28,7 +28,7 @@ "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TopologySelectorLabelRequirement { public static final String SERIALIZED_NAME_KEY = "key"; @@ -38,7 +38,7 @@ public class V1TopologySelectorLabelRequirement { public static final String SERIALIZED_NAME_VALUES = "values"; @SerializedName(SERIALIZED_NAME_VALUES) - private List values = new ArrayList(); + private List values = new ArrayList<>(); public V1TopologySelectorLabelRequirement key(String key) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorTerm.java index eca39023fc..dc2483acb5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorTerm.java @@ -29,7 +29,7 @@ "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TopologySelectorTerm { public static final String SERIALIZED_NAME_MATCH_LABEL_EXPRESSIONS = "matchLabelExpressions"; @@ -46,7 +46,7 @@ public V1TopologySelectorTerm matchLabelExpressions( public V1TopologySelectorTerm addMatchLabelExpressionsItem( V1TopologySelectorLabelRequirement matchLabelExpressionsItem) { if (this.matchLabelExpressions == null) { - this.matchLabelExpressions = new ArrayList(); + this.matchLabelExpressions = new ArrayList<>(); } this.matchLabelExpressions.add(matchLabelExpressionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySpreadConstraint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySpreadConstraint.java index 5cd43284cf..55c52e426f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySpreadConstraint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySpreadConstraint.java @@ -23,7 +23,7 @@ "TopologySpreadConstraint specifies how to spread matching pods among the given topology.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TopologySpreadConstraint { public static final String SERIALIZED_NAME_LABEL_SELECTOR = "labelSelector"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedLocalObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedLocalObjectReference.java index 494a6ac37e..3a62a5a30d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedLocalObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedLocalObjectReference.java @@ -26,7 +26,7 @@ "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1TypedLocalObjectReference { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserInfo.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserInfo.java index 5d7b92648a..6d36306b08 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserInfo.java @@ -27,7 +27,7 @@ "UserInfo holds the information about the user needed to implement the user.Info interface.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1UserInfo { public static final String SERIALIZED_NAME_EXTRA = "extra"; @@ -57,7 +57,7 @@ public V1UserInfo extra(Map> extra) { public V1UserInfo putExtraItem(String key, List extraItem) { if (this.extra == null) { - this.extra = new HashMap>(); + this.extra = new HashMap<>(); } this.extra.put(key, extraItem); return this; @@ -86,7 +86,7 @@ public V1UserInfo groups(List groups) { public V1UserInfo addGroupsItem(String groupsItem) { if (this.groups == null) { - this.groups = new ArrayList(); + this.groups = new ArrayList<>(); } this.groups.add(groupsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhook.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhook.java index d5d249d793..ec86214cda 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhook.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhook.java @@ -27,12 +27,12 @@ "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ValidatingWebhook { public static final String SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS = "admissionReviewVersions"; @SerializedName(SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS) - private List admissionReviewVersions = new ArrayList(); + private List admissionReviewVersions = new ArrayList<>(); public static final String SERIALIZED_NAME_CLIENT_CONFIG = "clientConfig"; @@ -265,7 +265,7 @@ public V1ValidatingWebhook rules(List rules) { public V1ValidatingWebhook addRulesItem(V1RuleWithOperations rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfiguration.java index 5fe2338d0b..935c6eeaee 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfiguration.java @@ -28,7 +28,7 @@ "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ValidatingWebhookConfiguration implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -132,7 +132,7 @@ public V1ValidatingWebhookConfiguration webhooks(List webho public V1ValidatingWebhookConfiguration addWebhooksItem(V1ValidatingWebhook webhooksItem) { if (this.webhooks == null) { - this.webhooks = new ArrayList(); + this.webhooks = new ArrayList<>(); } this.webhooks.add(webhooksItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfigurationList.java index 679197c008..c8aadcf061 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfigurationList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfigurationList.java @@ -24,7 +24,7 @@ description = "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1ValidatingWebhookConfigurationList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,8 +35,7 @@ public class V1ValidatingWebhookConfigurationList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Volume.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Volume.java index edfe78fd00..37997dab52 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Volume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Volume.java @@ -23,7 +23,7 @@ "Volume represents a named volume in a pod that may be accessed by any container in the pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1Volume { public static final String SERIALIZED_NAME_AWS_ELASTIC_BLOCK_STORE = "awsElasticBlockStore"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachment.java index bf4abfbd78..9326e2ee52 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachment.java @@ -26,7 +26,7 @@ "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeAttachment implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java index 6b82ef8b53..3e93679813 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java @@ -23,7 +23,7 @@ @ApiModel(description = "VolumeAttachmentList is a collection of VolumeAttachment objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeAttachmentList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1VolumeAttachmentList implements io.kubernetes.client.common.Kuber public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java index 662f900e28..8ec4800c14 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java @@ -27,7 +27,7 @@ "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeAttachmentSource { public static final String SERIALIZED_NAME_INLINE_VOLUME_SPEC = "inlineVolumeSpec"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java index 850440c13e..f5f6d1bfb0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "VolumeAttachmentSpec is the specification of a VolumeAttachment request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeAttachmentSpec { public static final String SERIALIZED_NAME_ATTACHER = "attacher"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java index 2807b14893..82f940f0b2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "VolumeAttachmentStatus is the status of a VolumeAttachment request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeAttachmentStatus { public static final String SERIALIZED_NAME_ATTACH_ERROR = "attachError"; @@ -99,7 +99,7 @@ public V1VolumeAttachmentStatus attachmentMetadata(Map attachmen public V1VolumeAttachmentStatus putAttachmentMetadataItem( String key, String attachmentMetadataItem) { if (this.attachmentMetadata == null) { - this.attachmentMetadata = new HashMap(); + this.attachmentMetadata = new HashMap<>(); } this.attachmentMetadata.put(key, attachmentMetadataItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java index de4d1623ed..5db528b371 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java @@ -22,7 +22,7 @@ description = "volumeDevice describes a mapping of a raw block device within a container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeDevice { public static final String SERIALIZED_NAME_DEVICE_PATH = "devicePath"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java index 2a8fe95cc0..b59fd8afbe 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java @@ -15,14 +15,14 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** VolumeError captures an error encountered during a volume operation. */ @ApiModel(description = "VolumeError captures an error encountered during a volume operation.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -32,7 +32,7 @@ public class V1VolumeError { public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - private DateTime time; + private OffsetDateTime time; public V1VolumeError message(String message) { @@ -58,7 +58,7 @@ public void setMessage(String message) { this.message = message; } - public V1VolumeError time(DateTime time) { + public V1VolumeError time(OffsetDateTime time) { this.time = time; return this; @@ -71,11 +71,11 @@ public V1VolumeError time(DateTime time) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Time the error was encountered.") - public DateTime getTime() { + public OffsetDateTime getTime() { return time; } - public void setTime(DateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java index 0680aa656c..ac61ac83a4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java @@ -21,7 +21,7 @@ @ApiModel(description = "VolumeMount describes a mounting of a Volume within a container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeMount { public static final String SERIALIZED_NAME_MOUNT_PATH = "mountPath"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeAffinity.java index 6cafd439ea..5eeaf5f8fc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeAffinity.java @@ -25,7 +25,7 @@ "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeNodeAffinity { public static final String SERIALIZED_NAME_REQUIRED = "required"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeResources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeResources.java index 3afa15d124..1876b83a5d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeResources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeResources.java @@ -22,7 +22,7 @@ description = "VolumeNodeResources is a set of resource limits for scheduling of volumes.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeNodeResources { public static final String SERIALIZED_NAME_COUNT = "count"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeProjection.java index 95d1ca8ee4..e197147dfc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeProjection.java @@ -21,7 +21,7 @@ @ApiModel(description = "Projection that may be projected along with other supported volume types") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VolumeProjection { public static final String SERIALIZED_NAME_CONFIG_MAP = "configMap"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VsphereVirtualDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VsphereVirtualDiskVolumeSource.java index 91737f66f7..5e3f347268 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VsphereVirtualDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VsphereVirtualDiskVolumeSource.java @@ -21,7 +21,7 @@ @ApiModel(description = "Represents a vSphere volume resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1VsphereVirtualDiskVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WatchEvent.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WatchEvent.java index 43e0d6c910..fabcbfa1e8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WatchEvent.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WatchEvent.java @@ -21,7 +21,7 @@ @ApiModel(description = "Event represents a single event to a watched resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1WatchEvent { public static final String SERIALIZED_NAME_OBJECT = "object"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WebhookConversion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WebhookConversion.java index 643a1201f6..578c34e880 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WebhookConversion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WebhookConversion.java @@ -23,7 +23,7 @@ @ApiModel(description = "WebhookConversion describes how to call a conversion webhook") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1WebhookConversion { public static final String SERIALIZED_NAME_CLIENT_CONFIG = "clientConfig"; @@ -34,7 +34,7 @@ public class V1WebhookConversion { "conversionReviewVersions"; @SerializedName(SERIALIZED_NAME_CONVERSION_REVIEW_VERSIONS) - private List conversionReviewVersions = new ArrayList(); + private List conversionReviewVersions = new ArrayList<>(); public V1WebhookConversion clientConfig(ApiextensionsV1WebhookClientConfig clientConfig) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WeightedPodAffinityTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WeightedPodAffinityTerm.java index c3bed0af7e..fc7878a8fa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WeightedPodAffinityTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WeightedPodAffinityTerm.java @@ -26,7 +26,7 @@ "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1WeightedPodAffinityTerm { public static final String SERIALIZED_NAME_POD_AFFINITY_TERM = "podAffinityTerm"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WindowsSecurityContextOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WindowsSecurityContextOptions.java index 3661a27090..7d6777b218 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WindowsSecurityContextOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WindowsSecurityContextOptions.java @@ -22,7 +22,7 @@ description = "WindowsSecurityContextOptions contain Windows-specific options and credentials.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1WindowsSecurityContextOptions { public static final String SERIALIZED_NAME_GMSA_CREDENTIAL_SPEC = "gmsaCredentialSpec"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1AggregationRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1AggregationRule.java index 42b3f662f2..20160cd3f6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1AggregationRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1AggregationRule.java @@ -25,7 +25,7 @@ "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1AggregationRule { public static final String SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS = "clusterRoleSelectors"; @@ -41,7 +41,7 @@ public V1alpha1AggregationRule clusterRoleSelectors(List cluste public V1alpha1AggregationRule addClusterRoleSelectorsItem( V1LabelSelector clusterRoleSelectorsItem) { if (this.clusterRoleSelectors == null) { - this.clusterRoleSelectors = new ArrayList(); + this.clusterRoleSelectors = new ArrayList<>(); } this.clusterRoleSelectors.add(clusterRoleSelectorsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRole.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRole.java index 4e13c5f48a..9eaa8ed1da 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRole.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRole.java @@ -29,7 +29,7 @@ "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1ClusterRole implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_AGGREGATION_RULE = "aggregationRule"; @@ -158,7 +158,7 @@ public V1alpha1ClusterRole rules(List rules) { public V1alpha1ClusterRole addRulesItem(V1alpha1PolicyRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleBinding.java index 277c7b4d9c..5759168a37 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleBinding.java @@ -29,7 +29,7 @@ "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1ClusterRoleBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -157,7 +157,7 @@ public V1alpha1ClusterRoleBinding subjects(List subjects) { public V1alpha1ClusterRoleBinding addSubjectsItem(RbacV1alpha1Subject subjectsItem) { if (this.subjects == null) { - this.subjects = new ArrayList(); + this.subjects = new ArrayList<>(); } this.subjects.add(subjectsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleBindingList.java index 7a3bd2a6d2..54567a04de 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleBindingList.java @@ -28,7 +28,7 @@ "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1ClusterRoleBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -39,7 +39,7 @@ public class V1alpha1ClusterRoleBindingList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleList.java index 47d251118e..7e863ea053 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterRoleList.java @@ -28,7 +28,7 @@ "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1ClusterRoleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -38,7 +38,7 @@ public class V1alpha1ClusterRoleList implements io.kubernetes.client.common.Kube public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowDistinguisherMethod.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowDistinguisherMethod.java index 0e057fd0a7..19f1753dbb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowDistinguisherMethod.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowDistinguisherMethod.java @@ -21,7 +21,7 @@ @ApiModel(description = "FlowDistinguisherMethod specifies the method of a flow distinguisher.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1FlowDistinguisherMethod { public static final String SERIALIZED_NAME_TYPE = "type"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchema.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchema.java index 8c12d788e3..94a7889722 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchema.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchema.java @@ -27,7 +27,7 @@ "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1FlowSchema implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaCondition.java index bd0b851ebc..e4b942a1f7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaCondition.java @@ -15,19 +15,19 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** FlowSchemaCondition describes conditions for a FlowSchema. */ @ApiModel(description = "FlowSchemaCondition describes conditions for a FlowSchema.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1FlowSchemaCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -49,7 +49,7 @@ public class V1alpha1FlowSchemaCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1alpha1FlowSchemaCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1alpha1FlowSchemaCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -65,11 +65,11 @@ public V1alpha1FlowSchemaCondition lastTransitionTime(DateTime lastTransitionTim @ApiModelProperty( value = "`lastTransitionTime` is the last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaList.java index c070785465..2567354306 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaList.java @@ -23,7 +23,7 @@ @ApiModel(description = "FlowSchemaList is a list of FlowSchema objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1FlowSchemaList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1alpha1FlowSchemaList implements io.kubernetes.client.common.Kuber public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaSpec.java index aaae2e5c23..5ef3d0e7b8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "FlowSchemaSpec describes how the FlowSchema's specification looks like.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1FlowSchemaSpec { public static final String SERIALIZED_NAME_DISTINGUISHER_METHOD = "distinguisherMethod"; @@ -124,7 +124,7 @@ public V1alpha1FlowSchemaSpec rules(List rules) public V1alpha1FlowSchemaSpec addRulesItem(V1alpha1PolicyRulesWithSubjects rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaStatus.java index 6bca6bab99..3ffd4ce8df 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1FlowSchemaStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "FlowSchemaStatus represents the current state of a FlowSchema.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1FlowSchemaStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @@ -38,7 +38,7 @@ public V1alpha1FlowSchemaStatus conditions(List con public V1alpha1FlowSchemaStatus addConditionsItem(V1alpha1FlowSchemaCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1GroupSubject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1GroupSubject.java index a6686bb79b..8cf24ee7c8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1GroupSubject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1GroupSubject.java @@ -21,7 +21,7 @@ @ApiModel(description = "GroupSubject holds detailed information for group-kind subject.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1GroupSubject { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1LimitResponse.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1LimitResponse.java index a3544920fe..19608067e8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1LimitResponse.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1LimitResponse.java @@ -23,7 +23,7 @@ "LimitResponse defines how to handle requests that can not be executed right now.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1LimitResponse { public static final String SERIALIZED_NAME_QUEUING = "queuing"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1LimitedPriorityLevelConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1LimitedPriorityLevelConfiguration.java index 86841e85c5..dd30e37cbe 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1LimitedPriorityLevelConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1LimitedPriorityLevelConfiguration.java @@ -27,7 +27,7 @@ "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: * How are requests for this priority level limited? * What should be done with requests that exceed the limit?") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1LimitedPriorityLevelConfiguration { public static final String SERIALIZED_NAME_ASSURED_CONCURRENCY_SHARES = "assuredConcurrencyShares"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1NonResourcePolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1NonResourcePolicyRule.java index 98c01afe5e..c0bf1df633 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1NonResourcePolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1NonResourcePolicyRule.java @@ -30,17 +30,17 @@ "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1NonResourcePolicyRule { public static final String SERIALIZED_NAME_NON_RESOURCE_U_R_LS = "nonResourceURLs"; @SerializedName(SERIALIZED_NAME_NON_RESOURCE_U_R_LS) - private List nonResourceURLs = new ArrayList(); + private List nonResourceURLs = new ArrayList<>(); public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1alpha1NonResourcePolicyRule nonResourceURLs(List nonResourceURLs) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Overhead.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Overhead.java index 70dbda7a15..986ee2db8b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Overhead.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Overhead.java @@ -26,7 +26,7 @@ "Overhead structure represents the resource overhead associated with running a pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1Overhead { public static final String SERIALIZED_NAME_POD_FIXED = "podFixed"; @@ -41,7 +41,7 @@ public V1alpha1Overhead podFixed(Map podFixed) { public V1alpha1Overhead putPodFixedItem(String key, Quantity podFixedItem) { if (this.podFixed == null) { - this.podFixed = new HashMap(); + this.podFixed = new HashMap<>(); } this.podFixed.put(key, podFixedItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPreset.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPreset.java index dbd152486e..d8d6ad6b73 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPreset.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPreset.java @@ -23,7 +23,7 @@ "PodPreset is a policy resource that defines additional runtime requirements for a Pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PodPreset implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPresetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPresetList.java index f04a23180d..f33146ab38 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPresetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPresetList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PodPresetList is a list of PodPreset objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PodPresetList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1alpha1PodPresetList implements io.kubernetes.client.common.Kubern public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPresetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPresetSpec.java index a63082c721..3afb090bb2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPresetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodPresetSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "PodPresetSpec is a description of a pod preset.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PodPresetSpec { public static final String SERIALIZED_NAME_ENV = "env"; @@ -58,7 +58,7 @@ public V1alpha1PodPresetSpec env(List env) { public V1alpha1PodPresetSpec addEnvItem(V1EnvVar envItem) { if (this.env == null) { - this.env = new ArrayList(); + this.env = new ArrayList<>(); } this.env.add(envItem); return this; @@ -87,7 +87,7 @@ public V1alpha1PodPresetSpec envFrom(List envFrom) { public V1alpha1PodPresetSpec addEnvFromItem(V1EnvFromSource envFromItem) { if (this.envFrom == null) { - this.envFrom = new ArrayList(); + this.envFrom = new ArrayList<>(); } this.envFrom.add(envFromItem); return this; @@ -138,7 +138,7 @@ public V1alpha1PodPresetSpec volumeMounts(List volumeMounts) { public V1alpha1PodPresetSpec addVolumeMountsItem(V1VolumeMount volumeMountsItem) { if (this.volumeMounts == null) { - this.volumeMounts = new ArrayList(); + this.volumeMounts = new ArrayList<>(); } this.volumeMounts.add(volumeMountsItem); return this; @@ -168,7 +168,7 @@ public V1alpha1PodPresetSpec volumes(List volumes) { public V1alpha1PodPresetSpec addVolumesItem(V1Volume volumesItem) { if (this.volumes == null) { - this.volumes = new ArrayList(); + this.volumes = new ArrayList<>(); } this.volumes.add(volumesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PolicyRule.java index 787c7768c1..e0641eac25 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PolicyRule.java @@ -28,7 +28,7 @@ "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PolicyRule { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @@ -53,7 +53,7 @@ public class V1alpha1PolicyRule { public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1alpha1PolicyRule apiGroups(List apiGroups) { @@ -63,7 +63,7 @@ public V1alpha1PolicyRule apiGroups(List apiGroups) { public V1alpha1PolicyRule addApiGroupsItem(String apiGroupsItem) { if (this.apiGroups == null) { - this.apiGroups = new ArrayList(); + this.apiGroups = new ArrayList<>(); } this.apiGroups.add(apiGroupsItem); return this; @@ -96,7 +96,7 @@ public V1alpha1PolicyRule nonResourceURLs(List nonResourceURLs) { public V1alpha1PolicyRule addNonResourceURLsItem(String nonResourceURLsItem) { if (this.nonResourceURLs == null) { - this.nonResourceURLs = new ArrayList(); + this.nonResourceURLs = new ArrayList<>(); } this.nonResourceURLs.add(nonResourceURLsItem); return this; @@ -131,7 +131,7 @@ public V1alpha1PolicyRule resourceNames(List resourceNames) { public V1alpha1PolicyRule addResourceNamesItem(String resourceNamesItem) { if (this.resourceNames == null) { - this.resourceNames = new ArrayList(); + this.resourceNames = new ArrayList<>(); } this.resourceNames.add(resourceNamesItem); return this; @@ -163,7 +163,7 @@ public V1alpha1PolicyRule resources(List resources) { public V1alpha1PolicyRule addResourcesItem(String resourcesItem) { if (this.resources == null) { - this.resources = new ArrayList(); + this.resources = new ArrayList<>(); } this.resources.add(resourcesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PolicyRulesWithSubjects.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PolicyRulesWithSubjects.java index 934bd4f015..5bbdca983d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PolicyRulesWithSubjects.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PolicyRulesWithSubjects.java @@ -31,7 +31,7 @@ "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PolicyRulesWithSubjects { public static final String SERIALIZED_NAME_NON_RESOURCE_RULES = "nonResourceRules"; @@ -46,7 +46,7 @@ public class V1alpha1PolicyRulesWithSubjects { public static final String SERIALIZED_NAME_SUBJECTS = "subjects"; @SerializedName(SERIALIZED_NAME_SUBJECTS) - private List subjects = new ArrayList(); + private List subjects = new ArrayList<>(); public V1alpha1PolicyRulesWithSubjects nonResourceRules( List nonResourceRules) { @@ -58,7 +58,7 @@ public V1alpha1PolicyRulesWithSubjects nonResourceRules( public V1alpha1PolicyRulesWithSubjects addNonResourceRulesItem( V1alpha1NonResourcePolicyRule nonResourceRulesItem) { if (this.nonResourceRules == null) { - this.nonResourceRules = new ArrayList(); + this.nonResourceRules = new ArrayList<>(); } this.nonResourceRules.add(nonResourceRulesItem); return this; @@ -92,7 +92,7 @@ public V1alpha1PolicyRulesWithSubjects resourceRules( public V1alpha1PolicyRulesWithSubjects addResourceRulesItem( V1alpha1ResourcePolicyRule resourceRulesItem) { if (this.resourceRules == null) { - this.resourceRules = new ArrayList(); + this.resourceRules = new ArrayList<>(); } this.resourceRules.add(resourceRulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityClass.java index e95c75a601..d817811cb8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityClass.java @@ -27,7 +27,7 @@ "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PriorityClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityClassList.java index 20e81b2166..c092b12fa7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PriorityClassList is a collection of priority classes.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PriorityClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1alpha1PriorityClassList implements io.kubernetes.client.common.Ku public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfiguration.java index 33dd1dd33e..dc4afef9e5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfiguration.java @@ -22,7 +22,7 @@ description = "PriorityLevelConfiguration represents the configuration of a priority level.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PriorityLevelConfiguration implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationCondition.java index c0b515a81b..10667847f6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationCondition.java @@ -15,20 +15,20 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** PriorityLevelConfigurationCondition defines the condition of priority level. */ @ApiModel( description = "PriorityLevelConfigurationCondition defines the condition of priority level.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PriorityLevelConfigurationCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -51,7 +51,7 @@ public class V1alpha1PriorityLevelConfigurationCondition { private String type; public V1alpha1PriorityLevelConfigurationCondition lastTransitionTime( - DateTime lastTransitionTime) { + OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -67,11 +67,11 @@ public V1alpha1PriorityLevelConfigurationCondition lastTransitionTime( @ApiModelProperty( value = "`lastTransitionTime` is the last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationList.java index 6d576d37fe..a400ca86b6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationList.java @@ -24,7 +24,7 @@ description = "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PriorityLevelConfigurationList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,8 +35,7 @@ public class V1alpha1PriorityLevelConfigurationList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationReference.java index 2f881231fb..59f80c3193 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationReference.java @@ -26,7 +26,7 @@ "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PriorityLevelConfigurationReference { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationSpec.java index 1f727d7ac0..6ae4d76522 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationSpec.java @@ -22,7 +22,7 @@ description = "PriorityLevelConfigurationSpec specifies the configuration of a priority level.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PriorityLevelConfigurationSpec { public static final String SERIALIZED_NAME_LIMITED = "limited"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationStatus.java index ccc2b222f7..f74fcdffd7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PriorityLevelConfigurationStatus.java @@ -28,7 +28,7 @@ "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1PriorityLevelConfigurationStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @@ -45,7 +45,7 @@ public V1alpha1PriorityLevelConfigurationStatus conditions( public V1alpha1PriorityLevelConfigurationStatus addConditionsItem( V1alpha1PriorityLevelConfigurationCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1QueuingConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1QueuingConfiguration.java index c8a9e0c575..76a2510383 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1QueuingConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1QueuingConfiguration.java @@ -21,7 +21,7 @@ @ApiModel(description = "QueuingConfiguration holds the configuration parameters for queuing") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1QueuingConfiguration { public static final String SERIALIZED_NAME_HAND_SIZE = "handSize"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ResourcePolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ResourcePolicyRule.java index 0e80b9315a..f40ba7fbd2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ResourcePolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ResourcePolicyRule.java @@ -31,12 +31,12 @@ "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1ResourcePolicyRule { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @SerializedName(SERIALIZED_NAME_API_GROUPS) - private List apiGroups = new ArrayList(); + private List apiGroups = new ArrayList<>(); public static final String SERIALIZED_NAME_CLUSTER_SCOPE = "clusterScope"; @@ -51,12 +51,12 @@ public class V1alpha1ResourcePolicyRule { public static final String SERIALIZED_NAME_RESOURCES = "resources"; @SerializedName(SERIALIZED_NAME_RESOURCES) - private List resources = new ArrayList(); + private List resources = new ArrayList<>(); public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1alpha1ResourcePolicyRule apiGroups(List apiGroups) { @@ -121,7 +121,7 @@ public V1alpha1ResourcePolicyRule namespaces(List namespaces) { public V1alpha1ResourcePolicyRule addNamespacesItem(String namespacesItem) { if (this.namespaces == null) { - this.namespaces = new ArrayList(); + this.namespaces = new ArrayList<>(); } this.namespaces.add(namespacesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Role.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Role.java index c9862ddf1f..974bd53aa0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Role.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Role.java @@ -29,7 +29,7 @@ "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1Role implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -132,7 +132,7 @@ public V1alpha1Role rules(List rules) { public V1alpha1Role addRulesItem(V1alpha1PolicyRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleBinding.java index 3e3c7ba1c6..ef92718e0b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleBinding.java @@ -31,7 +31,7 @@ "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1RoleBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -159,7 +159,7 @@ public V1alpha1RoleBinding subjects(List subjects) { public V1alpha1RoleBinding addSubjectsItem(RbacV1alpha1Subject subjectsItem) { if (this.subjects == null) { - this.subjects = new ArrayList(); + this.subjects = new ArrayList<>(); } this.subjects.add(subjectsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleBindingList.java index 4fe3d6692f..0de9cfb260 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleBindingList.java @@ -28,7 +28,7 @@ "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1RoleBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -38,7 +38,7 @@ public class V1alpha1RoleBindingList implements io.kubernetes.client.common.Kube public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleList.java index bcd30e5ef7..e9f37b8942 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleList.java @@ -28,7 +28,7 @@ "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1RoleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -38,7 +38,7 @@ public class V1alpha1RoleList implements io.kubernetes.client.common.KubernetesL public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleRef.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleRef.java index d719c798d3..ca603fba60 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RoleRef.java @@ -21,7 +21,7 @@ @ApiModel(description = "RoleRef contains information that points to the role being used") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1RoleRef { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClass.java index d534d6d5be..4866ffc5e0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClass.java @@ -29,7 +29,7 @@ "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1RuntimeClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClassList.java index 0e59fb83e4..d5c1985e6e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "RuntimeClassList is a list of RuntimeClass objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1RuntimeClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1alpha1RuntimeClassList implements io.kubernetes.client.common.Kub public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClassSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClassSpec.java index 6eaf9ac618..82240ef577 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClassSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1RuntimeClassSpec.java @@ -28,7 +28,7 @@ "RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1RuntimeClassSpec { public static final String SERIALIZED_NAME_OVERHEAD = "overhead"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Scheduling.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Scheduling.java index 5950d78809..29634869a5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Scheduling.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Scheduling.java @@ -27,7 +27,7 @@ "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1Scheduling { public static final String SERIALIZED_NAME_NODE_SELECTOR = "nodeSelector"; @@ -47,7 +47,7 @@ public V1alpha1Scheduling nodeSelector(Map nodeSelector) { public V1alpha1Scheduling putNodeSelectorItem(String key, String nodeSelectorItem) { if (this.nodeSelector == null) { - this.nodeSelector = new HashMap(); + this.nodeSelector = new HashMap<>(); } this.nodeSelector.put(key, nodeSelectorItem); return this; @@ -81,7 +81,7 @@ public V1alpha1Scheduling tolerations(List tolerations) { public V1alpha1Scheduling addTolerationsItem(V1Toleration tolerationsItem) { if (this.tolerations == null) { - this.tolerations = new ArrayList(); + this.tolerations = new ArrayList<>(); } this.tolerations.add(tolerationsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServiceAccountSubject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServiceAccountSubject.java index 23a84ff573..a86baa9f45 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServiceAccountSubject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServiceAccountSubject.java @@ -23,7 +23,7 @@ "ServiceAccountSubject holds detailed information for service-account-kind subject.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1ServiceAccountSubject { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1UserSubject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1UserSubject.java index 75d1701f77..856e8f3c74 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1UserSubject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1UserSubject.java @@ -21,7 +21,7 @@ @ApiModel(description = "UserSubject holds detailed information for user-kind subject.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1UserSubject { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachment.java index da8f815d97..a7a4e548c2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachment.java @@ -26,7 +26,7 @@ "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1VolumeAttachment implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentList.java index 9f5291db58..fb8af5a7ca 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentList.java @@ -23,7 +23,7 @@ @ApiModel(description = "VolumeAttachmentList is a collection of VolumeAttachment objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1VolumeAttachmentList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class V1alpha1VolumeAttachmentList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentSource.java index bf3d021ff1..6d132fb25e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentSource.java @@ -27,7 +27,7 @@ "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1VolumeAttachmentSource { public static final String SERIALIZED_NAME_INLINE_VOLUME_SPEC = "inlineVolumeSpec"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentSpec.java index 151b403fef..ce4391e20d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "VolumeAttachmentSpec is the specification of a VolumeAttachment request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1VolumeAttachmentSpec { public static final String SERIALIZED_NAME_ATTACHER = "attacher"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentStatus.java index edcd406353..cd1e0fa133 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttachmentStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "VolumeAttachmentStatus is the status of a VolumeAttachment request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1VolumeAttachmentStatus { public static final String SERIALIZED_NAME_ATTACH_ERROR = "attachError"; @@ -99,7 +99,7 @@ public V1alpha1VolumeAttachmentStatus attachmentMetadata(Map att public V1alpha1VolumeAttachmentStatus putAttachmentMetadataItem( String key, String attachmentMetadataItem) { if (this.attachmentMetadata == null) { - this.attachmentMetadata = new HashMap(); + this.attachmentMetadata = new HashMap<>(); } this.attachmentMetadata.put(key, attachmentMetadataItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeError.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeError.java index 21c847beee..8ee3c0a636 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeError.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeError.java @@ -15,14 +15,14 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** VolumeError captures an error encountered during a volume operation. */ @ApiModel(description = "VolumeError captures an error encountered during a volume operation.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1alpha1VolumeError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -32,7 +32,7 @@ public class V1alpha1VolumeError { public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - private DateTime time; + private OffsetDateTime time; public V1alpha1VolumeError message(String message) { @@ -58,7 +58,7 @@ public void setMessage(String message) { this.message = message; } - public V1alpha1VolumeError time(DateTime time) { + public V1alpha1VolumeError time(OffsetDateTime time) { this.time = time; return this; @@ -71,11 +71,11 @@ public V1alpha1VolumeError time(DateTime time) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Time the error was encountered.") - public DateTime getTime() { + public OffsetDateTime getTime() { return time; } - public void setTime(DateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIService.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIService.java index c83f65368f..3275c578b3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIService.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIService.java @@ -26,7 +26,7 @@ "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1APIService implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceCondition.java index ef64aa6c30..d8da44f278 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceCondition.java @@ -15,20 +15,20 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** APIServiceCondition describes the state of an APIService at a particular point */ @ApiModel( description = "APIServiceCondition describes the state of an APIService at a particular point") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1APIServiceCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -50,7 +50,7 @@ public class V1beta1APIServiceCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1beta1APIServiceCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1beta1APIServiceCondition lastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -63,11 +63,11 @@ public V1beta1APIServiceCondition lastTransitionTime(DateTime lastTransitionTime */ @javax.annotation.Nullable @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceList.java index 3ffff85a94..7504f1dab9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceList.java @@ -23,7 +23,7 @@ @ApiModel(description = "APIServiceList is a list of APIService objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1APIServiceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1APIServiceList implements io.kubernetes.client.common.Kubern public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceSpec.java index f0a19046f9..d1e3e44c67 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceSpec.java @@ -27,7 +27,7 @@ "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1APIServiceSpec { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceStatus.java index f59f53c0e1..a55b7e04e7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1APIServiceStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "APIServiceStatus contains derived information about an API server") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1APIServiceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @@ -38,7 +38,7 @@ public V1beta1APIServiceStatus conditions(List condi public V1beta1APIServiceStatus addConditionsItem(V1beta1APIServiceCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AggregationRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AggregationRule.java index bc31f2eb83..fa6f6dd0c3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AggregationRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AggregationRule.java @@ -25,7 +25,7 @@ "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1AggregationRule { public static final String SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS = "clusterRoleSelectors"; @@ -41,7 +41,7 @@ public V1beta1AggregationRule clusterRoleSelectors(List cluster public V1beta1AggregationRule addClusterRoleSelectorsItem( V1LabelSelector clusterRoleSelectorsItem) { if (this.clusterRoleSelectors == null) { - this.clusterRoleSelectors = new ArrayList(); + this.clusterRoleSelectors = new ArrayList<>(); } this.clusterRoleSelectors.add(clusterRoleSelectorsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedCSIDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedCSIDriver.java index 3015ccf417..c2a1d176cd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedCSIDriver.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedCSIDriver.java @@ -23,7 +23,7 @@ "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1AllowedCSIDriver { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedFlexVolume.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedFlexVolume.java index fa0ed92a75..9a84e7e510 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedFlexVolume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedFlexVolume.java @@ -22,7 +22,7 @@ description = "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1AllowedFlexVolume { public static final String SERIALIZED_NAME_DRIVER = "driver"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedHostPath.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedHostPath.java index 6ba3401f47..98b5ad01d1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedHostPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllowedHostPath.java @@ -26,7 +26,7 @@ "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1AllowedHostPath { public static final String SERIALIZED_NAME_PATH_PREFIX = "pathPrefix"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriver.java index 16d4678c90..d075a1e9df 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriver.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriver.java @@ -31,7 +31,7 @@ "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CSIDriver implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriverList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriverList.java index efa45fd181..2c9a94c3a5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriverList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriverList.java @@ -23,7 +23,7 @@ @ApiModel(description = "CSIDriverList is a collection of CSIDriver objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CSIDriverList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1CSIDriverList implements io.kubernetes.client.common.Kuberne public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriverSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriverSpec.java index 6a7bcfe35f..4644d330dc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriverSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSIDriverSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "CSIDriverSpec is the specification of a CSIDriver.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CSIDriverSpec { public static final String SERIALIZED_NAME_ATTACH_REQUIRED = "attachRequired"; @@ -184,7 +184,7 @@ public V1beta1CSIDriverSpec volumeLifecycleModes(List volumeLifecycleMod public V1beta1CSIDriverSpec addVolumeLifecycleModesItem(String volumeLifecycleModesItem) { if (this.volumeLifecycleModes == null) { - this.volumeLifecycleModes = new ArrayList(); + this.volumeLifecycleModes = new ArrayList<>(); } this.volumeLifecycleModes.add(volumeLifecycleModesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINode.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINode.java index 8e49f049a6..fb88dea17a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINode.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINode.java @@ -32,7 +32,7 @@ "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CSINode implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeDriver.java index 18685c2168..0f1ad53bca 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeDriver.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeDriver.java @@ -25,7 +25,7 @@ "CSINodeDriver holds information about the specification of one CSI driver installed on a node") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CSINodeDriver { public static final String SERIALIZED_NAME_ALLOCATABLE = "allocatable"; @@ -129,7 +129,7 @@ public V1beta1CSINodeDriver topologyKeys(List topologyKeys) { public V1beta1CSINodeDriver addTopologyKeysItem(String topologyKeysItem) { if (this.topologyKeys == null) { - this.topologyKeys = new ArrayList(); + this.topologyKeys = new ArrayList<>(); } this.topologyKeys.add(topologyKeysItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeList.java index 55a585abf3..bd300d9dc3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeList.java @@ -23,7 +23,7 @@ @ApiModel(description = "CSINodeList is a collection of CSINode objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CSINodeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1CSINodeList implements io.kubernetes.client.common.Kubernete public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeSpec.java index 2c2d540ce6..38e756588e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CSINodeSpec.java @@ -25,12 +25,12 @@ "CSINodeSpec holds information about the specification of all CSI drivers installed on a node") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CSINodeSpec { public static final String SERIALIZED_NAME_DRIVERS = "drivers"; @SerializedName(SERIALIZED_NAME_DRIVERS) - private List drivers = new ArrayList(); + private List drivers = new ArrayList<>(); public V1beta1CSINodeSpec drivers(List drivers) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequest.java index afedbb96e4..1b74fbb05a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequest.java @@ -21,7 +21,7 @@ @ApiModel(description = "Describes a certificate signing request") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CertificateSigningRequest implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestCondition.java index 795bd185fb..7687001229 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestCondition.java @@ -14,23 +14,23 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** V1beta1CertificateSigningRequestCondition */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CertificateSigningRequestCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_LAST_UPDATE_TIME = "lastUpdateTime"; @SerializedName(SERIALIZED_NAME_LAST_UPDATE_TIME) - private DateTime lastUpdateTime; + private OffsetDateTime lastUpdateTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -52,7 +52,8 @@ public class V1beta1CertificateSigningRequestCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1beta1CertificateSigningRequestCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1beta1CertificateSigningRequestCondition lastTransitionTime( + OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -69,15 +70,15 @@ public V1beta1CertificateSigningRequestCondition lastTransitionTime(DateTime las @ApiModelProperty( value = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } - public V1beta1CertificateSigningRequestCondition lastUpdateTime(DateTime lastUpdateTime) { + public V1beta1CertificateSigningRequestCondition lastUpdateTime(OffsetDateTime lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; return this; @@ -90,11 +91,11 @@ public V1beta1CertificateSigningRequestCondition lastUpdateTime(DateTime lastUpd */ @javax.annotation.Nullable @ApiModelProperty(value = "timestamp for the last update to this condition") - public DateTime getLastUpdateTime() { + public OffsetDateTime getLastUpdateTime() { return lastUpdateTime; } - public void setLastUpdateTime(DateTime lastUpdateTime) { + public void setLastUpdateTime(OffsetDateTime lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestList.java index cd86e22afb..1dd1623ce8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestList.java @@ -21,7 +21,7 @@ /** V1beta1CertificateSigningRequestList */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CertificateSigningRequestList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -32,8 +32,7 @@ public class V1beta1CertificateSigningRequestList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestSpec.java index 1627868322..558e62cce5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestSpec.java @@ -31,7 +31,7 @@ "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CertificateSigningRequestSpec { public static final String SERIALIZED_NAME_EXTRA = "extra"; @@ -76,7 +76,7 @@ public V1beta1CertificateSigningRequestSpec extra(Map> extr public V1beta1CertificateSigningRequestSpec putExtraItem(String key, List extraItem) { if (this.extra == null) { - this.extra = new HashMap>(); + this.extra = new HashMap<>(); } this.extra.put(key, extraItem); return this; @@ -106,7 +106,7 @@ public V1beta1CertificateSigningRequestSpec groups(List groups) { public V1beta1CertificateSigningRequestSpec addGroupsItem(String groupsItem) { if (this.groups == null) { - this.groups = new ArrayList(); + this.groups = new ArrayList<>(); } this.groups.add(groupsItem); return this; @@ -207,7 +207,7 @@ public V1beta1CertificateSigningRequestSpec usages(List usages) { public V1beta1CertificateSigningRequestSpec addUsagesItem(String usagesItem) { if (this.usages == null) { - this.usages = new ArrayList(); + this.usages = new ArrayList<>(); } this.usages.add(usagesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestStatus.java index 8043fce527..0421fc0af1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CertificateSigningRequestStatus.java @@ -22,7 +22,7 @@ /** V1beta1CertificateSigningRequestStatus */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CertificateSigningRequestStatus { public static final String SERIALIZED_NAME_CERTIFICATE = "certificate"; @@ -66,7 +66,7 @@ public V1beta1CertificateSigningRequestStatus conditions( public V1beta1CertificateSigningRequestStatus addConditionsItem( V1beta1CertificateSigningRequestCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRole.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRole.java index 1331a36c98..69428deae5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRole.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRole.java @@ -29,7 +29,7 @@ "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ClusterRole implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_AGGREGATION_RULE = "aggregationRule"; @@ -158,7 +158,7 @@ public V1beta1ClusterRole rules(List rules) { public V1beta1ClusterRole addRulesItem(V1beta1PolicyRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleBinding.java index c16027639e..2881d16bf4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleBinding.java @@ -29,7 +29,7 @@ "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ClusterRoleBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -157,7 +157,7 @@ public V1beta1ClusterRoleBinding subjects(List subjects) { public V1beta1ClusterRoleBinding addSubjectsItem(V1beta1Subject subjectsItem) { if (this.subjects == null) { - this.subjects = new ArrayList(); + this.subjects = new ArrayList<>(); } this.subjects.add(subjectsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleBindingList.java index aa65957da2..fb0d7a9273 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleBindingList.java @@ -28,7 +28,7 @@ "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ClusterRoleBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -39,7 +39,7 @@ public class V1beta1ClusterRoleBindingList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleList.java index 0b81c66f51..e6790baa77 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterRoleList.java @@ -28,7 +28,7 @@ "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ClusterRoleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -38,7 +38,7 @@ public class V1beta1ClusterRoleList implements io.kubernetes.client.common.Kuber public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJob.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJob.java index 1b85e2839a..fd8894479e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJob.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJob.java @@ -21,7 +21,7 @@ @ApiModel(description = "CronJob represents the configuration of a single cron job.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CronJob implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobList.java index c5d30cb7cd..0fd47f05ae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobList.java @@ -23,7 +23,7 @@ @ApiModel(description = "CronJobList is a collection of cron jobs.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CronJobList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1CronJobList implements io.kubernetes.client.common.Kubernete public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobSpec.java index cc19e3ddb8..d0001a17cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobSpec.java @@ -23,7 +23,7 @@ "CronJobSpec describes how the job execution will look like and when it will actually run.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CronJobSpec { public static final String SERIALIZED_NAME_CONCURRENCY_POLICY = "concurrencyPolicy"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobStatus.java index dfb58144c7..18d788ae03 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CronJobStatus.java @@ -15,16 +15,16 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; /** CronJobStatus represents the current state of a cron job. */ @ApiModel(description = "CronJobStatus represents the current state of a cron job.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CronJobStatus { public static final String SERIALIZED_NAME_ACTIVE = "active"; @@ -34,7 +34,7 @@ public class V1beta1CronJobStatus { public static final String SERIALIZED_NAME_LAST_SCHEDULE_TIME = "lastScheduleTime"; @SerializedName(SERIALIZED_NAME_LAST_SCHEDULE_TIME) - private DateTime lastScheduleTime; + private OffsetDateTime lastScheduleTime; public V1beta1CronJobStatus active(List active) { @@ -44,7 +44,7 @@ public V1beta1CronJobStatus active(List active) { public V1beta1CronJobStatus addActiveItem(V1ObjectReference activeItem) { if (this.active == null) { - this.active = new ArrayList(); + this.active = new ArrayList<>(); } this.active.add(activeItem); return this; @@ -65,7 +65,7 @@ public void setActive(List active) { this.active = active; } - public V1beta1CronJobStatus lastScheduleTime(DateTime lastScheduleTime) { + public V1beta1CronJobStatus lastScheduleTime(OffsetDateTime lastScheduleTime) { this.lastScheduleTime = lastScheduleTime; return this; @@ -79,11 +79,11 @@ public V1beta1CronJobStatus lastScheduleTime(DateTime lastScheduleTime) { @javax.annotation.Nullable @ApiModelProperty( value = "Information when was the last time the job was successfully scheduled.") - public DateTime getLastScheduleTime() { + public OffsetDateTime getLastScheduleTime() { return lastScheduleTime; } - public void setLastScheduleTime(DateTime lastScheduleTime) { + public void setLastScheduleTime(OffsetDateTime lastScheduleTime) { this.lastScheduleTime = lastScheduleTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceColumnDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceColumnDefinition.java index 378f1beded..8465671ca6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceColumnDefinition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceColumnDefinition.java @@ -22,7 +22,7 @@ description = "CustomResourceColumnDefinition specifies a column for server side printing.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceColumnDefinition { public static final String SERIALIZED_NAME_JS_O_N_PATH = "JSONPath"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceConversion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceConversion.java index 74f0084a10..f17f2cfcae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceConversion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceConversion.java @@ -24,7 +24,7 @@ description = "CustomResourceConversion describes how to convert different versions of a CR.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceConversion { public static final String SERIALIZED_NAME_CONVERSION_REVIEW_VERSIONS = "conversionReviewVersions"; @@ -52,7 +52,7 @@ public V1beta1CustomResourceConversion conversionReviewVersions( public V1beta1CustomResourceConversion addConversionReviewVersionsItem( String conversionReviewVersionsItem) { if (this.conversionReviewVersions == null) { - this.conversionReviewVersions = new ArrayList(); + this.conversionReviewVersions = new ArrayList<>(); } this.conversionReviewVersions.add(conversionReviewVersionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinition.java index 30b9b0f3ad..babe5c0871 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinition.java @@ -27,7 +27,7 @@ "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceDefinition implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionCondition.java index 8f7d27db14..499f4a4716 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionCondition.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** CustomResourceDefinitionCondition contains details for the current condition of this pod. */ @ApiModel( @@ -24,12 +24,12 @@ "CustomResourceDefinitionCondition contains details for the current condition of this pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceDefinitionCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -51,7 +51,8 @@ public class V1beta1CustomResourceDefinitionCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V1beta1CustomResourceDefinitionCondition lastTransitionTime(DateTime lastTransitionTime) { + public V1beta1CustomResourceDefinitionCondition lastTransitionTime( + OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -65,11 +66,11 @@ public V1beta1CustomResourceDefinitionCondition lastTransitionTime(DateTime last @javax.annotation.Nullable @ApiModelProperty( value = "lastTransitionTime last time the condition transitioned from one status to another.") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionList.java index a3fa31c7da..9b71065eca 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionList.java @@ -24,7 +24,7 @@ description = "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceDefinitionList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,8 +35,7 @@ public class V1beta1CustomResourceDefinitionList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionNames.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionNames.java index fb95c8a67f..0ec520457e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionNames.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionNames.java @@ -25,7 +25,7 @@ "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceDefinitionNames { public static final String SERIALIZED_NAME_CATEGORIES = "categories"; @@ -65,7 +65,7 @@ public V1beta1CustomResourceDefinitionNames categories(List categories) public V1beta1CustomResourceDefinitionNames addCategoriesItem(String categoriesItem) { if (this.categories == null) { - this.categories = new ArrayList(); + this.categories = new ArrayList<>(); } this.categories.add(categoriesItem); return this; @@ -172,7 +172,7 @@ public V1beta1CustomResourceDefinitionNames shortNames(List shortNames) public V1beta1CustomResourceDefinitionNames addShortNamesItem(String shortNamesItem) { if (this.shortNames == null) { - this.shortNames = new ArrayList(); + this.shortNames = new ArrayList<>(); } this.shortNames.add(shortNamesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionSpec.java index a18469519c..181371cea5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionSpec.java @@ -25,7 +25,7 @@ "CustomResourceDefinitionSpec describes how a user wants their resource to appear") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceDefinitionSpec { public static final String SERIALIZED_NAME_ADDITIONAL_PRINTER_COLUMNS = "additionalPrinterColumns"; @@ -88,7 +88,7 @@ public V1beta1CustomResourceDefinitionSpec additionalPrinterColumns( public V1beta1CustomResourceDefinitionSpec addAdditionalPrinterColumnsItem( V1beta1CustomResourceColumnDefinition additionalPrinterColumnsItem) { if (this.additionalPrinterColumns == null) { - this.additionalPrinterColumns = new ArrayList(); + this.additionalPrinterColumns = new ArrayList<>(); } this.additionalPrinterColumns.add(additionalPrinterColumnsItem); return this; @@ -318,7 +318,7 @@ public V1beta1CustomResourceDefinitionSpec versions( public V1beta1CustomResourceDefinitionSpec addVersionsItem( V1beta1CustomResourceDefinitionVersion versionsItem) { if (this.versions == null) { - this.versions = new ArrayList(); + this.versions = new ArrayList<>(); } this.versions.add(versionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionStatus.java index d8177faed8..421eee1743 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionStatus.java @@ -25,7 +25,7 @@ "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceDefinitionStatus { public static final String SERIALIZED_NAME_ACCEPTED_NAMES = "acceptedNames"; @@ -74,7 +74,7 @@ public V1beta1CustomResourceDefinitionStatus conditions( public V1beta1CustomResourceDefinitionStatus addConditionsItem( V1beta1CustomResourceDefinitionCondition conditionsItem) { if (this.conditions == null) { - this.conditions = new ArrayList(); + this.conditions = new ArrayList<>(); } this.conditions.add(conditionsItem); return this; @@ -104,7 +104,7 @@ public V1beta1CustomResourceDefinitionStatus storedVersions(List storedV public V1beta1CustomResourceDefinitionStatus addStoredVersionsItem(String storedVersionsItem) { if (this.storedVersions == null) { - this.storedVersions = new ArrayList(); + this.storedVersions = new ArrayList<>(); } this.storedVersions.add(storedVersionsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionVersion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionVersion.java index 0f850c6e9d..bbe4b4925d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionVersion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceDefinitionVersion.java @@ -23,7 +23,7 @@ @ApiModel(description = "CustomResourceDefinitionVersion describes a version for CRD.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceDefinitionVersion { public static final String SERIALIZED_NAME_ADDITIONAL_PRINTER_COLUMNS = "additionalPrinterColumns"; @@ -76,7 +76,7 @@ public V1beta1CustomResourceDefinitionVersion additionalPrinterColumns( public V1beta1CustomResourceDefinitionVersion addAdditionalPrinterColumnsItem( V1beta1CustomResourceColumnDefinition additionalPrinterColumnsItem) { if (this.additionalPrinterColumns == null) { - this.additionalPrinterColumns = new ArrayList(); + this.additionalPrinterColumns = new ArrayList<>(); } this.additionalPrinterColumns.add(additionalPrinterColumnsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceSubresourceScale.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceSubresourceScale.java index 79a0f4a432..26e49b9187 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceSubresourceScale.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceSubresourceScale.java @@ -25,7 +25,7 @@ "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceSubresourceScale { public static final String SERIALIZED_NAME_LABEL_SELECTOR_PATH = "labelSelectorPath"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceSubresources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceSubresources.java index 59ed77671b..caf415ccce 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceSubresources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceSubresources.java @@ -23,7 +23,7 @@ "CustomResourceSubresources defines the status and scale subresources for CustomResources.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceSubresources { public static final String SERIALIZED_NAME_SCALE = "scale"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceValidation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceValidation.java index ac96317836..fa664db3ad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceValidation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CustomResourceValidation.java @@ -22,7 +22,7 @@ description = "CustomResourceValidation is a list of validation methods for CustomResources.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1CustomResourceValidation { public static final String SERIALIZED_NAME_OPEN_A_P_I_V3_SCHEMA = "openAPIV3Schema"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Endpoint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Endpoint.java index d77fb86b54..5700bfe210 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Endpoint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Endpoint.java @@ -25,12 +25,12 @@ @ApiModel(description = "Endpoint represents a single logical \"backend\" implementing a service.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1Endpoint { public static final String SERIALIZED_NAME_ADDRESSES = "addresses"; @SerializedName(SERIALIZED_NAME_ADDRESSES) - private List addresses = new ArrayList(); + private List addresses = new ArrayList<>(); public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @@ -159,7 +159,7 @@ public V1beta1Endpoint topology(Map topology) { public V1beta1Endpoint putTopologyItem(String key, String topologyItem) { if (this.topology == null) { - this.topology = new HashMap(); + this.topology = new HashMap<>(); } this.topology.put(key, topologyItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointConditions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointConditions.java index 0c1dea5abe..d4135e8c4f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointConditions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointConditions.java @@ -21,7 +21,7 @@ @ApiModel(description = "EndpointConditions represents the current condition of an endpoint.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1EndpointConditions { public static final String SERIALIZED_NAME_READY = "ready"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointPort.java index e9a1b6d09e..ac34564bc3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointPort.java @@ -21,7 +21,7 @@ @ApiModel(description = "EndpointPort represents a Port used by an EndpointSlice") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1EndpointPort { public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointSlice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointSlice.java index f623645eb2..4f752f5afc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointSlice.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointSlice.java @@ -29,7 +29,7 @@ "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1EndpointSlice implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ADDRESS_TYPE = "addressType"; @@ -44,7 +44,7 @@ public class V1beta1EndpointSlice implements io.kubernetes.client.common.Kuberne public static final String SERIALIZED_NAME_ENDPOINTS = "endpoints"; @SerializedName(SERIALIZED_NAME_ENDPOINTS) - private List endpoints = new ArrayList(); + private List endpoints = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; @@ -197,7 +197,7 @@ public V1beta1EndpointSlice ports(List ports) { public V1beta1EndpointSlice addPortsItem(V1beta1EndpointPort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList<>(); } this.ports.add(portsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointSliceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointSliceList.java index d706b7dbdd..1cd727fcd9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointSliceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointSliceList.java @@ -23,7 +23,7 @@ @ApiModel(description = "EndpointSliceList represents a list of endpoint slices") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1EndpointSliceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1EndpointSliceList implements io.kubernetes.client.common.Kub public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Event.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Event.java index 3fb03ac3ce..334bce0c77 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Event.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Event.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * Event is a report of an event somewhere in the cluster. It generally denotes some state change in @@ -27,7 +27,7 @@ "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1Event implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ACTION = "action"; @@ -48,12 +48,12 @@ public class V1beta1Event implements io.kubernetes.client.common.KubernetesObjec "deprecatedFirstTimestamp"; @SerializedName(SERIALIZED_NAME_DEPRECATED_FIRST_TIMESTAMP) - private DateTime deprecatedFirstTimestamp; + private OffsetDateTime deprecatedFirstTimestamp; public static final String SERIALIZED_NAME_DEPRECATED_LAST_TIMESTAMP = "deprecatedLastTimestamp"; @SerializedName(SERIALIZED_NAME_DEPRECATED_LAST_TIMESTAMP) - private DateTime deprecatedLastTimestamp; + private OffsetDateTime deprecatedLastTimestamp; public static final String SERIALIZED_NAME_DEPRECATED_SOURCE = "deprecatedSource"; @@ -63,7 +63,7 @@ public class V1beta1Event implements io.kubernetes.client.common.KubernetesObjec public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - private DateTime eventTime; + private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_KIND = "kind"; @@ -189,7 +189,7 @@ public void setDeprecatedCount(Integer deprecatedCount) { this.deprecatedCount = deprecatedCount; } - public V1beta1Event deprecatedFirstTimestamp(DateTime deprecatedFirstTimestamp) { + public V1beta1Event deprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTimestamp) { this.deprecatedFirstTimestamp = deprecatedFirstTimestamp; return this; @@ -205,15 +205,15 @@ public V1beta1Event deprecatedFirstTimestamp(DateTime deprecatedFirstTimestamp) @ApiModelProperty( value = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.") - public DateTime getDeprecatedFirstTimestamp() { + public OffsetDateTime getDeprecatedFirstTimestamp() { return deprecatedFirstTimestamp; } - public void setDeprecatedFirstTimestamp(DateTime deprecatedFirstTimestamp) { + public void setDeprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTimestamp) { this.deprecatedFirstTimestamp = deprecatedFirstTimestamp; } - public V1beta1Event deprecatedLastTimestamp(DateTime deprecatedLastTimestamp) { + public V1beta1Event deprecatedLastTimestamp(OffsetDateTime deprecatedLastTimestamp) { this.deprecatedLastTimestamp = deprecatedLastTimestamp; return this; @@ -229,11 +229,11 @@ public V1beta1Event deprecatedLastTimestamp(DateTime deprecatedLastTimestamp) { @ApiModelProperty( value = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.") - public DateTime getDeprecatedLastTimestamp() { + public OffsetDateTime getDeprecatedLastTimestamp() { return deprecatedLastTimestamp; } - public void setDeprecatedLastTimestamp(DateTime deprecatedLastTimestamp) { + public void setDeprecatedLastTimestamp(OffsetDateTime deprecatedLastTimestamp) { this.deprecatedLastTimestamp = deprecatedLastTimestamp; } @@ -258,7 +258,7 @@ public void setDeprecatedSource(V1EventSource deprecatedSource) { this.deprecatedSource = deprecatedSource; } - public V1beta1Event eventTime(DateTime eventTime) { + public V1beta1Event eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; @@ -272,11 +272,11 @@ public V1beta1Event eventTime(DateTime eventTime) { @ApiModelProperty( required = true, value = "eventTime is the time when this Event was first observed. It is required.") - public DateTime getEventTime() { + public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(DateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EventList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EventList.java index 622654922b..a05725769b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EventList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EventList.java @@ -23,7 +23,7 @@ @ApiModel(description = "EventList is a list of Event objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1EventList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1EventList implements io.kubernetes.client.common.KubernetesL public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EventSeries.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EventSeries.java index 6e6d64be36..3038024199 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EventSeries.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1EventSeries.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * EventSeries contain information on series of events, i.e. thing that was/is happening @@ -27,7 +27,7 @@ "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1EventSeries { public static final String SERIALIZED_NAME_COUNT = "count"; @@ -37,7 +37,7 @@ public class V1beta1EventSeries { public static final String SERIALIZED_NAME_LAST_OBSERVED_TIME = "lastObservedTime"; @SerializedName(SERIALIZED_NAME_LAST_OBSERVED_TIME) - private DateTime lastObservedTime; + private OffsetDateTime lastObservedTime; public V1beta1EventSeries count(Integer count) { @@ -61,7 +61,7 @@ public void setCount(Integer count) { this.count = count; } - public V1beta1EventSeries lastObservedTime(DateTime lastObservedTime) { + public V1beta1EventSeries lastObservedTime(OffsetDateTime lastObservedTime) { this.lastObservedTime = lastObservedTime; return this; @@ -76,11 +76,11 @@ public V1beta1EventSeries lastObservedTime(DateTime lastObservedTime) { required = true, value = "lastObservedTime is the time when last Event from the series was seen before last heartbeat.") - public DateTime getLastObservedTime() { + public OffsetDateTime getLastObservedTime() { return lastObservedTime; } - public void setLastObservedTime(DateTime lastObservedTime) { + public void setLastObservedTime(OffsetDateTime lastObservedTime) { this.lastObservedTime = lastObservedTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Eviction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Eviction.java index b41e3daba2..3bb9c2f437 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Eviction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Eviction.java @@ -27,7 +27,7 @@ "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1Eviction implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ExternalDocumentation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ExternalDocumentation.java index 22fbab4989..0d635508c8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ExternalDocumentation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ExternalDocumentation.java @@ -23,7 +23,7 @@ "ExternalDocumentation allows referencing an external resource for extended documentation.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ExternalDocumentation { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1FSGroupStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1FSGroupStrategyOptions.java index 86f2c384dc..38c4c84be7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1FSGroupStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1FSGroupStrategyOptions.java @@ -25,7 +25,7 @@ "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1FSGroupStrategyOptions { public static final String SERIALIZED_NAME_RANGES = "ranges"; @@ -45,7 +45,7 @@ public V1beta1FSGroupStrategyOptions ranges(List ranges) { public V1beta1FSGroupStrategyOptions addRangesItem(V1beta1IDRange rangesItem) { if (this.ranges == null) { - this.ranges = new ArrayList(); + this.ranges = new ArrayList<>(); } this.ranges.add(rangesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1HostPortRange.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1HostPortRange.java index e0615a4bd4..ad4aba74e6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1HostPortRange.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1HostPortRange.java @@ -26,7 +26,7 @@ "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1HostPortRange { public static final String SERIALIZED_NAME_MAX = "max"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IDRange.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IDRange.java index 1bfe878876..b217c19a4e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IDRange.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IDRange.java @@ -21,7 +21,7 @@ @ApiModel(description = "IDRange provides a min/max of an allowed range of IDs.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1IDRange { public static final String SERIALIZED_NAME_MAX = "max"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClass.java index 70602c9270..b786e05e07 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClass.java @@ -29,7 +29,7 @@ "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1IngressClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClassList.java index 8307b58a0b..9ce38cf598 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "IngressClassList is a collection of IngressClasses.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1IngressClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1IngressClassList implements io.kubernetes.client.common.Kube public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClassSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClassSpec.java index 8909581ef4..8fb3875d35 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClassSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IngressClassSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "IngressClassSpec provides information about the class of an Ingress.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1IngressClassSpec { public static final String SERIALIZED_NAME_CONTROLLER = "controller"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONSchemaProps.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONSchemaProps.java index f26fde2e9f..0bf78b1cb5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONSchemaProps.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONSchemaProps.java @@ -27,7 +27,7 @@ "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1JSONSchemaProps { public static final String SERIALIZED_NAME_$_REF = "$ref"; @@ -346,7 +346,7 @@ public V1beta1JSONSchemaProps allOf(List allOf) { public V1beta1JSONSchemaProps addAllOfItem(V1beta1JSONSchemaProps allOfItem) { if (this.allOf == null) { - this.allOf = new ArrayList(); + this.allOf = new ArrayList<>(); } this.allOf.add(allOfItem); return this; @@ -375,7 +375,7 @@ public V1beta1JSONSchemaProps anyOf(List anyOf) { public V1beta1JSONSchemaProps addAnyOfItem(V1beta1JSONSchemaProps anyOfItem) { if (this.anyOf == null) { - this.anyOf = new ArrayList(); + this.anyOf = new ArrayList<>(); } this.anyOf.add(anyOfItem); return this; @@ -430,7 +430,7 @@ public V1beta1JSONSchemaProps definitions(Map de public V1beta1JSONSchemaProps putDefinitionsItem( String key, V1beta1JSONSchemaProps definitionsItem) { if (this.definitions == null) { - this.definitions = new HashMap(); + this.definitions = new HashMap<>(); } this.definitions.put(key, definitionsItem); return this; @@ -459,7 +459,7 @@ public V1beta1JSONSchemaProps dependencies(Map dependencies) { public V1beta1JSONSchemaProps putDependenciesItem(String key, Object dependenciesItem) { if (this.dependencies == null) { - this.dependencies = new HashMap(); + this.dependencies = new HashMap<>(); } this.dependencies.put(key, dependenciesItem); return this; @@ -509,7 +509,7 @@ public V1beta1JSONSchemaProps _enum(List _enum) { public V1beta1JSONSchemaProps addEnumItem(Object _enumItem) { if (this._enum == null) { - this._enum = new ArrayList(); + this._enum = new ArrayList<>(); } this._enum.add(_enumItem); return this; @@ -949,7 +949,7 @@ public V1beta1JSONSchemaProps oneOf(List oneOf) { public V1beta1JSONSchemaProps addOneOfItem(V1beta1JSONSchemaProps oneOfItem) { if (this.oneOf == null) { - this.oneOf = new ArrayList(); + this.oneOf = new ArrayList<>(); } this.oneOf.add(oneOfItem); return this; @@ -1001,7 +1001,7 @@ public V1beta1JSONSchemaProps patternProperties( public V1beta1JSONSchemaProps putPatternPropertiesItem( String key, V1beta1JSONSchemaProps patternPropertiesItem) { if (this.patternProperties == null) { - this.patternProperties = new HashMap(); + this.patternProperties = new HashMap<>(); } this.patternProperties.put(key, patternPropertiesItem); return this; @@ -1031,7 +1031,7 @@ public V1beta1JSONSchemaProps properties(Map pro public V1beta1JSONSchemaProps putPropertiesItem( String key, V1beta1JSONSchemaProps propertiesItem) { if (this.properties == null) { - this.properties = new HashMap(); + this.properties = new HashMap<>(); } this.properties.put(key, propertiesItem); return this; @@ -1060,7 +1060,7 @@ public V1beta1JSONSchemaProps required(List required) { public V1beta1JSONSchemaProps addRequiredItem(String requiredItem) { if (this.required == null) { - this.required = new ArrayList(); + this.required = new ArrayList<>(); } this.required.add(requiredItem); return this; @@ -1205,7 +1205,7 @@ public V1beta1JSONSchemaProps xKubernetesListMapKeys(List xKubernetesLis public V1beta1JSONSchemaProps addXKubernetesListMapKeysItem(String xKubernetesListMapKeysItem) { if (this.xKubernetesListMapKeys == null) { - this.xKubernetesListMapKeys = new ArrayList(); + this.xKubernetesListMapKeys = new ArrayList<>(); } this.xKubernetesListMapKeys.add(xKubernetesListMapKeysItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JobTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JobTemplateSpec.java index 99a6acec81..3df4cb9080 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JobTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JobTemplateSpec.java @@ -23,7 +23,7 @@ "JobTemplateSpec describes the data a Job should have when created from a template") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1JobTemplateSpec { public static final String SERIALIZED_NAME_METADATA = "metadata"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Lease.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Lease.java index 40c4693f5e..136533b811 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Lease.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Lease.java @@ -21,7 +21,7 @@ @ApiModel(description = "Lease defines a lease concept.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1Lease implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseList.java index 33aa183375..bcc3fbda1c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseList.java @@ -23,7 +23,7 @@ @ApiModel(description = "LeaseList is a list of Lease objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1LeaseList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1LeaseList implements io.kubernetes.client.common.KubernetesL public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseSpec.java index ab1d97c701..649ff7bc63 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseSpec.java @@ -15,19 +15,19 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** LeaseSpec is a specification of a Lease. */ @ApiModel(description = "LeaseSpec is a specification of a Lease.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1LeaseSpec { public static final String SERIALIZED_NAME_ACQUIRE_TIME = "acquireTime"; @SerializedName(SERIALIZED_NAME_ACQUIRE_TIME) - private DateTime acquireTime; + private OffsetDateTime acquireTime; public static final String SERIALIZED_NAME_HOLDER_IDENTITY = "holderIdentity"; @@ -47,9 +47,9 @@ public class V1beta1LeaseSpec { public static final String SERIALIZED_NAME_RENEW_TIME = "renewTime"; @SerializedName(SERIALIZED_NAME_RENEW_TIME) - private DateTime renewTime; + private OffsetDateTime renewTime; - public V1beta1LeaseSpec acquireTime(DateTime acquireTime) { + public V1beta1LeaseSpec acquireTime(OffsetDateTime acquireTime) { this.acquireTime = acquireTime; return this; @@ -62,11 +62,11 @@ public V1beta1LeaseSpec acquireTime(DateTime acquireTime) { */ @javax.annotation.Nullable @ApiModelProperty(value = "acquireTime is a time when the current lease was acquired.") - public DateTime getAcquireTime() { + public OffsetDateTime getAcquireTime() { return acquireTime; } - public void setAcquireTime(DateTime acquireTime) { + public void setAcquireTime(OffsetDateTime acquireTime) { this.acquireTime = acquireTime; } @@ -138,7 +138,7 @@ public void setLeaseTransitions(Integer leaseTransitions) { this.leaseTransitions = leaseTransitions; } - public V1beta1LeaseSpec renewTime(DateTime renewTime) { + public V1beta1LeaseSpec renewTime(OffsetDateTime renewTime) { this.renewTime = renewTime; return this; @@ -152,11 +152,11 @@ public V1beta1LeaseSpec renewTime(DateTime renewTime) { @javax.annotation.Nullable @ApiModelProperty( value = "renewTime is a time when the current holder of a lease has last updated the lease.") - public DateTime getRenewTime() { + public OffsetDateTime getRenewTime() { return renewTime; } - public void setRenewTime(DateTime renewTime) { + public void setRenewTime(OffsetDateTime renewTime) { this.renewTime = renewTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LocalSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LocalSubjectAccessReview.java index d5f37303f1..0d3722985a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LocalSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LocalSubjectAccessReview.java @@ -27,7 +27,7 @@ "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1LocalSubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhook.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhook.java index 0845b90099..c7027a8e9e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhook.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhook.java @@ -27,7 +27,7 @@ "MutatingWebhook describes an admission webhook and the resources and operations it applies to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1MutatingWebhook { public static final String SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS = "admissionReviewVersions"; @@ -92,7 +92,7 @@ public V1beta1MutatingWebhook admissionReviewVersions(List admissionRevi public V1beta1MutatingWebhook addAdmissionReviewVersionsItem(String admissionReviewVersionsItem) { if (this.admissionReviewVersions == null) { - this.admissionReviewVersions = new ArrayList(); + this.admissionReviewVersions = new ArrayList<>(); } this.admissionReviewVersions.add(admissionReviewVersionsItem); return this; @@ -308,7 +308,7 @@ public V1beta1MutatingWebhook rules(List rules) { public V1beta1MutatingWebhook addRulesItem(V1beta1RuleWithOperations rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhookConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhookConfiguration.java index 2e94036894..b05512dfba 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhookConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhookConfiguration.java @@ -29,7 +29,7 @@ "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1MutatingWebhookConfiguration implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -133,7 +133,7 @@ public V1beta1MutatingWebhookConfiguration webhooks(List public V1beta1MutatingWebhookConfiguration addWebhooksItem(V1beta1MutatingWebhook webhooksItem) { if (this.webhooks == null) { - this.webhooks = new ArrayList(); + this.webhooks = new ArrayList<>(); } this.webhooks.add(webhooksItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhookConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhookConfigurationList.java index 35a60407c0..9e1e78a1e3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhookConfigurationList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingWebhookConfigurationList.java @@ -24,7 +24,7 @@ description = "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1MutatingWebhookConfigurationList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,8 +35,7 @@ public class V1beta1MutatingWebhookConfigurationList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NonResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NonResourceAttributes.java index 4a2a94d896..9af3dea0ed 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NonResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NonResourceAttributes.java @@ -26,7 +26,7 @@ "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1NonResourceAttributes { public static final String SERIALIZED_NAME_PATH = "path"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NonResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NonResourceRule.java index 54a71bc357..5b55d08974 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NonResourceRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NonResourceRule.java @@ -24,7 +24,7 @@ description = "NonResourceRule holds information that describes a rule for the non-resource") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1NonResourceRule { public static final String SERIALIZED_NAME_NON_RESOURCE_U_R_LS = "nonResourceURLs"; @@ -34,7 +34,7 @@ public class V1beta1NonResourceRule { public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1beta1NonResourceRule nonResourceURLs(List nonResourceURLs) { @@ -44,7 +44,7 @@ public V1beta1NonResourceRule nonResourceURLs(List nonResourceURLs) { public V1beta1NonResourceRule addNonResourceURLsItem(String nonResourceURLsItem) { if (this.nonResourceURLs == null) { - this.nonResourceURLs = new ArrayList(); + this.nonResourceURLs = new ArrayList<>(); } this.nonResourceURLs.add(nonResourceURLsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Overhead.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Overhead.java index 349a5680fd..275cbb524a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Overhead.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Overhead.java @@ -26,7 +26,7 @@ "Overhead structure represents the resource overhead associated with running a pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1Overhead { public static final String SERIALIZED_NAME_POD_FIXED = "podFixed"; @@ -41,7 +41,7 @@ public V1beta1Overhead podFixed(Map podFixed) { public V1beta1Overhead putPodFixedItem(String key, Quantity podFixedItem) { if (this.podFixed == null) { - this.podFixed = new HashMap(); + this.podFixed = new HashMap<>(); } this.podFixed.put(key, podFixedItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudget.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudget.java index 20d12fed19..7bbd5870c9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudget.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudget.java @@ -26,7 +26,7 @@ "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PodDisruptionBudget implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetList.java index 38e65f0944..f088247869 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PodDisruptionBudgetList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class V1beta1PodDisruptionBudgetList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetSpec.java index ff00730187..0c154bc4f4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetSpec.java @@ -22,7 +22,7 @@ @ApiModel(description = "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PodDisruptionBudgetSpec { public static final String SERIALIZED_NAME_MAX_UNAVAILABLE = "maxUnavailable"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetStatus.java index 53c70df10b..fa915b5bb6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodDisruptionBudgetStatus.java @@ -15,10 +15,10 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.HashMap; import java.util.Map; import java.util.Objects; -import org.joda.time.DateTime; /** * PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. @@ -29,7 +29,7 @@ "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PodDisruptionBudgetStatus { public static final String SERIALIZED_NAME_CURRENT_HEALTHY = "currentHealthy"; @@ -44,7 +44,7 @@ public class V1beta1PodDisruptionBudgetStatus { public static final String SERIALIZED_NAME_DISRUPTED_PODS = "disruptedPods"; @SerializedName(SERIALIZED_NAME_DISRUPTED_PODS) - private Map disruptedPods = null; + private Map disruptedPods = null; public static final String SERIALIZED_NAME_DISRUPTIONS_ALLOWED = "disruptionsAllowed"; @@ -101,16 +101,16 @@ public void setDesiredHealthy(Integer desiredHealthy) { this.desiredHealthy = desiredHealthy; } - public V1beta1PodDisruptionBudgetStatus disruptedPods(Map disruptedPods) { + public V1beta1PodDisruptionBudgetStatus disruptedPods(Map disruptedPods) { this.disruptedPods = disruptedPods; return this; } public V1beta1PodDisruptionBudgetStatus putDisruptedPodsItem( - String key, DateTime disruptedPodsItem) { + String key, OffsetDateTime disruptedPodsItem) { if (this.disruptedPods == null) { - this.disruptedPods = new HashMap(); + this.disruptedPods = new HashMap<>(); } this.disruptedPods.put(key, disruptedPodsItem); return this; @@ -133,11 +133,11 @@ public V1beta1PodDisruptionBudgetStatus putDisruptedPodsItem( @ApiModelProperty( value = "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.") - public Map getDisruptedPods() { + public Map getDisruptedPods() { return disruptedPods; } - public void setDisruptedPods(Map disruptedPods) { + public void setDisruptedPods(Map disruptedPods) { this.disruptedPods = disruptedPods; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicy.java index c5179150d5..2d9f2de98f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicy.java @@ -26,7 +26,7 @@ "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PodSecurityPolicy implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicyList.java index a7b4bbe1cd..b90b72a836 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicyList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicyList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PodSecurityPolicyList is a list of PodSecurityPolicy objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PodSecurityPolicyList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class V1beta1PodSecurityPolicyList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicySpec.java index 3a037a311b..c27f22174a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicySpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PodSecurityPolicySpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "PodSecurityPolicySpec defines the policy enforced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PodSecurityPolicySpec { public static final String SERIALIZED_NAME_ALLOW_PRIVILEGE_ESCALATION = "allowPrivilegeEscalation"; @@ -182,7 +182,7 @@ public V1beta1PodSecurityPolicySpec allowedCSIDrivers( public V1beta1PodSecurityPolicySpec addAllowedCSIDriversItem( V1beta1AllowedCSIDriver allowedCSIDriversItem) { if (this.allowedCSIDrivers == null) { - this.allowedCSIDrivers = new ArrayList(); + this.allowedCSIDrivers = new ArrayList<>(); } this.allowedCSIDrivers.add(allowedCSIDriversItem); return this; @@ -216,7 +216,7 @@ public V1beta1PodSecurityPolicySpec allowedCapabilities(List allowedCapa public V1beta1PodSecurityPolicySpec addAllowedCapabilitiesItem(String allowedCapabilitiesItem) { if (this.allowedCapabilities == null) { - this.allowedCapabilities = new ArrayList(); + this.allowedCapabilities = new ArrayList<>(); } this.allowedCapabilities.add(allowedCapabilitiesItem); return this; @@ -251,7 +251,7 @@ public V1beta1PodSecurityPolicySpec allowedFlexVolumes( public V1beta1PodSecurityPolicySpec addAllowedFlexVolumesItem( V1beta1AllowedFlexVolume allowedFlexVolumesItem) { if (this.allowedFlexVolumes == null) { - this.allowedFlexVolumes = new ArrayList(); + this.allowedFlexVolumes = new ArrayList<>(); } this.allowedFlexVolumes.add(allowedFlexVolumesItem); return this; @@ -286,7 +286,7 @@ public V1beta1PodSecurityPolicySpec allowedHostPaths( public V1beta1PodSecurityPolicySpec addAllowedHostPathsItem( V1beta1AllowedHostPath allowedHostPathsItem) { if (this.allowedHostPaths == null) { - this.allowedHostPaths = new ArrayList(); + this.allowedHostPaths = new ArrayList<>(); } this.allowedHostPaths.add(allowedHostPathsItem); return this; @@ -319,7 +319,7 @@ public V1beta1PodSecurityPolicySpec allowedProcMountTypes(List allowedPr public V1beta1PodSecurityPolicySpec addAllowedProcMountTypesItem( String allowedProcMountTypesItem) { if (this.allowedProcMountTypes == null) { - this.allowedProcMountTypes = new ArrayList(); + this.allowedProcMountTypes = new ArrayList<>(); } this.allowedProcMountTypes.add(allowedProcMountTypesItem); return this; @@ -352,7 +352,7 @@ public V1beta1PodSecurityPolicySpec allowedUnsafeSysctls(List allowedUns public V1beta1PodSecurityPolicySpec addAllowedUnsafeSysctlsItem(String allowedUnsafeSysctlsItem) { if (this.allowedUnsafeSysctls == null) { - this.allowedUnsafeSysctls = new ArrayList(); + this.allowedUnsafeSysctls = new ArrayList<>(); } this.allowedUnsafeSysctls.add(allowedUnsafeSysctlsItem); return this; @@ -389,7 +389,7 @@ public V1beta1PodSecurityPolicySpec defaultAddCapabilities(List defaultA public V1beta1PodSecurityPolicySpec addDefaultAddCapabilitiesItem( String defaultAddCapabilitiesItem) { if (this.defaultAddCapabilities == null) { - this.defaultAddCapabilities = new ArrayList(); + this.defaultAddCapabilities = new ArrayList<>(); } this.defaultAddCapabilities.add(defaultAddCapabilitiesItem); return this; @@ -448,7 +448,7 @@ public V1beta1PodSecurityPolicySpec forbiddenSysctls(List forbiddenSysct public V1beta1PodSecurityPolicySpec addForbiddenSysctlsItem(String forbiddenSysctlsItem) { if (this.forbiddenSysctls == null) { - this.forbiddenSysctls = new ArrayList(); + this.forbiddenSysctls = new ArrayList<>(); } this.forbiddenSysctls.add(forbiddenSysctlsItem); return this; @@ -569,7 +569,7 @@ public V1beta1PodSecurityPolicySpec hostPorts(List hostPor public V1beta1PodSecurityPolicySpec addHostPortsItem(V1beta1HostPortRange hostPortsItem) { if (this.hostPorts == null) { - this.hostPorts = new ArrayList(); + this.hostPorts = new ArrayList<>(); } this.hostPorts.add(hostPortsItem); return this; @@ -648,7 +648,7 @@ public V1beta1PodSecurityPolicySpec requiredDropCapabilities( public V1beta1PodSecurityPolicySpec addRequiredDropCapabilitiesItem( String requiredDropCapabilitiesItem) { if (this.requiredDropCapabilities == null) { - this.requiredDropCapabilities = new ArrayList(); + this.requiredDropCapabilities = new ArrayList<>(); } this.requiredDropCapabilities.add(requiredDropCapabilitiesItem); return this; @@ -784,7 +784,7 @@ public V1beta1PodSecurityPolicySpec volumes(List volumes) { public V1beta1PodSecurityPolicySpec addVolumesItem(String volumesItem) { if (this.volumes == null) { - this.volumes = new ArrayList(); + this.volumes = new ArrayList<>(); } this.volumes.add(volumesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PolicyRule.java index cae75d6e56..ba88ad639e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PolicyRule.java @@ -28,7 +28,7 @@ "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PolicyRule { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @@ -53,7 +53,7 @@ public class V1beta1PolicyRule { public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1beta1PolicyRule apiGroups(List apiGroups) { @@ -63,7 +63,7 @@ public V1beta1PolicyRule apiGroups(List apiGroups) { public V1beta1PolicyRule addApiGroupsItem(String apiGroupsItem) { if (this.apiGroups == null) { - this.apiGroups = new ArrayList(); + this.apiGroups = new ArrayList<>(); } this.apiGroups.add(apiGroupsItem); return this; @@ -96,7 +96,7 @@ public V1beta1PolicyRule nonResourceURLs(List nonResourceURLs) { public V1beta1PolicyRule addNonResourceURLsItem(String nonResourceURLsItem) { if (this.nonResourceURLs == null) { - this.nonResourceURLs = new ArrayList(); + this.nonResourceURLs = new ArrayList<>(); } this.nonResourceURLs.add(nonResourceURLsItem); return this; @@ -131,7 +131,7 @@ public V1beta1PolicyRule resourceNames(List resourceNames) { public V1beta1PolicyRule addResourceNamesItem(String resourceNamesItem) { if (this.resourceNames == null) { - this.resourceNames = new ArrayList(); + this.resourceNames = new ArrayList<>(); } this.resourceNames.add(resourceNamesItem); return this; @@ -163,7 +163,7 @@ public V1beta1PolicyRule resources(List resources) { public V1beta1PolicyRule addResourcesItem(String resourcesItem) { if (this.resources == null) { - this.resources = new ArrayList(); + this.resources = new ArrayList<>(); } this.resources.add(resourcesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PriorityClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PriorityClass.java index aed3b6484f..f9d9113b6f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PriorityClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PriorityClass.java @@ -27,7 +27,7 @@ "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PriorityClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PriorityClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PriorityClassList.java index aebdc2a1dd..841efaeda9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PriorityClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1PriorityClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "PriorityClassList is a collection of priority classes.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1PriorityClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1PriorityClassList implements io.kubernetes.client.common.Kub public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceAttributes.java index 6bff3d896f..7f21a165a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceAttributes.java @@ -26,7 +26,7 @@ "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ResourceAttributes { public static final String SERIALIZED_NAME_GROUP = "group"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceRule.java index 7e872adcdb..379791d750 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceRule.java @@ -28,7 +28,7 @@ "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ResourceRule { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @@ -48,7 +48,7 @@ public class V1beta1ResourceRule { public static final String SERIALIZED_NAME_VERBS = "verbs"; @SerializedName(SERIALIZED_NAME_VERBS) - private List verbs = new ArrayList(); + private List verbs = new ArrayList<>(); public V1beta1ResourceRule apiGroups(List apiGroups) { @@ -58,7 +58,7 @@ public V1beta1ResourceRule apiGroups(List apiGroups) { public V1beta1ResourceRule addApiGroupsItem(String apiGroupsItem) { if (this.apiGroups == null) { - this.apiGroups = new ArrayList(); + this.apiGroups = new ArrayList<>(); } this.apiGroups.add(apiGroupsItem); return this; @@ -91,7 +91,7 @@ public V1beta1ResourceRule resourceNames(List resourceNames) { public V1beta1ResourceRule addResourceNamesItem(String resourceNamesItem) { if (this.resourceNames == null) { - this.resourceNames = new ArrayList(); + this.resourceNames = new ArrayList<>(); } this.resourceNames.add(resourceNamesItem); return this; @@ -123,7 +123,7 @@ public V1beta1ResourceRule resources(List resources) { public V1beta1ResourceRule addResourcesItem(String resourcesItem) { if (this.resources == null) { - this.resources = new ArrayList(); + this.resources = new ArrayList<>(); } this.resources.add(resourcesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Role.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Role.java index 1bcfab866f..747f818e94 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Role.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Role.java @@ -29,7 +29,7 @@ "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1Role implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -132,7 +132,7 @@ public V1beta1Role rules(List rules) { public V1beta1Role addRulesItem(V1beta1PolicyRule rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleBinding.java index 6524f15e0b..73f0442790 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleBinding.java @@ -31,7 +31,7 @@ "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RoleBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -159,7 +159,7 @@ public V1beta1RoleBinding subjects(List subjects) { public V1beta1RoleBinding addSubjectsItem(V1beta1Subject subjectsItem) { if (this.subjects == null) { - this.subjects = new ArrayList(); + this.subjects = new ArrayList<>(); } this.subjects.add(subjectsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleBindingList.java index cab85e2b45..0b9b449db5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleBindingList.java @@ -28,7 +28,7 @@ "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RoleBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -38,7 +38,7 @@ public class V1beta1RoleBindingList implements io.kubernetes.client.common.Kuber public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleList.java index 4707d7b1dd..166eec0d3a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleList.java @@ -28,7 +28,7 @@ "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RoleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -38,7 +38,7 @@ public class V1beta1RoleList implements io.kubernetes.client.common.KubernetesLi public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleRef.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleRef.java index 86eb1c51bf..4abb975c00 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RoleRef.java @@ -21,7 +21,7 @@ @ApiModel(description = "RoleRef contains information that points to the role being used") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RoleRef { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuleWithOperations.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuleWithOperations.java index 403378c810..21dbb57f81 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuleWithOperations.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuleWithOperations.java @@ -28,7 +28,7 @@ "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RuleWithOperations { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @@ -63,7 +63,7 @@ public V1beta1RuleWithOperations apiGroups(List apiGroups) { public V1beta1RuleWithOperations addApiGroupsItem(String apiGroupsItem) { if (this.apiGroups == null) { - this.apiGroups = new ArrayList(); + this.apiGroups = new ArrayList<>(); } this.apiGroups.add(apiGroupsItem); return this; @@ -95,7 +95,7 @@ public V1beta1RuleWithOperations apiVersions(List apiVersions) { public V1beta1RuleWithOperations addApiVersionsItem(String apiVersionsItem) { if (this.apiVersions == null) { - this.apiVersions = new ArrayList(); + this.apiVersions = new ArrayList<>(); } this.apiVersions.add(apiVersionsItem); return this; @@ -127,7 +127,7 @@ public V1beta1RuleWithOperations operations(List operations) { public V1beta1RuleWithOperations addOperationsItem(String operationsItem) { if (this.operations == null) { - this.operations = new ArrayList(); + this.operations = new ArrayList<>(); } this.operations.add(operationsItem); return this; @@ -160,7 +160,7 @@ public V1beta1RuleWithOperations resources(List resources) { public V1beta1RuleWithOperations addResourcesItem(String resourcesItem) { if (this.resources == null) { - this.resources = new ArrayList(); + this.resources = new ArrayList<>(); } this.resources.add(resourcesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RunAsGroupStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RunAsGroupStrategyOptions.java index 31e0602763..37ca5b7675 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RunAsGroupStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RunAsGroupStrategyOptions.java @@ -27,7 +27,7 @@ "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RunAsGroupStrategyOptions { public static final String SERIALIZED_NAME_RANGES = "ranges"; @@ -47,7 +47,7 @@ public V1beta1RunAsGroupStrategyOptions ranges(List ranges) { public V1beta1RunAsGroupStrategyOptions addRangesItem(V1beta1IDRange rangesItem) { if (this.ranges == null) { - this.ranges = new ArrayList(); + this.ranges = new ArrayList<>(); } this.ranges.add(rangesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RunAsUserStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RunAsUserStrategyOptions.java index 6aebb54e3d..a42f13fb1b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RunAsUserStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RunAsUserStrategyOptions.java @@ -27,7 +27,7 @@ "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RunAsUserStrategyOptions { public static final String SERIALIZED_NAME_RANGES = "ranges"; @@ -47,7 +47,7 @@ public V1beta1RunAsUserStrategyOptions ranges(List ranges) { public V1beta1RunAsUserStrategyOptions addRangesItem(V1beta1IDRange rangesItem) { if (this.ranges == null) { - this.ranges = new ArrayList(); + this.ranges = new ArrayList<>(); } this.ranges.add(rangesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClass.java index f57cad70b8..4eaa0e5715 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClass.java @@ -29,7 +29,7 @@ "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RuntimeClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassList.java index 9293e35350..652d58e403 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "RuntimeClassList is a list of RuntimeClass objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RuntimeClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1RuntimeClassList implements io.kubernetes.client.common.Kube public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassStrategyOptions.java index 232585679d..bb3f8d0de4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassStrategyOptions.java @@ -28,13 +28,13 @@ "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1RuntimeClassStrategyOptions { public static final String SERIALIZED_NAME_ALLOWED_RUNTIME_CLASS_NAMES = "allowedRuntimeClassNames"; @SerializedName(SERIALIZED_NAME_ALLOWED_RUNTIME_CLASS_NAMES) - private List allowedRuntimeClassNames = new ArrayList(); + private List allowedRuntimeClassNames = new ArrayList<>(); public static final String SERIALIZED_NAME_DEFAULT_RUNTIME_CLASS_NAME = "defaultRuntimeClassName"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SELinuxStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SELinuxStrategyOptions.java index a96dee8793..d12e174daa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SELinuxStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SELinuxStrategyOptions.java @@ -23,7 +23,7 @@ "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SELinuxStrategyOptions { public static final String SERIALIZED_NAME_RULE = "rule"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Scheduling.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Scheduling.java index 79f40ca7fa..cf74a2edeb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Scheduling.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Scheduling.java @@ -27,7 +27,7 @@ "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1Scheduling { public static final String SERIALIZED_NAME_NODE_SELECTOR = "nodeSelector"; @@ -47,7 +47,7 @@ public V1beta1Scheduling nodeSelector(Map nodeSelector) { public V1beta1Scheduling putNodeSelectorItem(String key, String nodeSelectorItem) { if (this.nodeSelector == null) { - this.nodeSelector = new HashMap(); + this.nodeSelector = new HashMap<>(); } this.nodeSelector.put(key, nodeSelectorItem); return this; @@ -81,7 +81,7 @@ public V1beta1Scheduling tolerations(List tolerations) { public V1beta1Scheduling addTolerationsItem(V1Toleration tolerationsItem) { if (this.tolerations == null) { - this.tolerations = new ArrayList(); + this.tolerations = new ArrayList<>(); } this.tolerations.add(tolerationsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectAccessReview.java index d046a4e021..f57e3dcf33 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectAccessReview.java @@ -27,7 +27,7 @@ "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SelfSubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectAccessReviewSpec.java index c5a9363e9f..35ffe3267a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectAccessReviewSpec.java @@ -26,7 +26,7 @@ "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SelfSubjectAccessReviewSpec { public static final String SERIALIZED_NAME_NON_RESOURCE_ATTRIBUTES = "nonResourceAttributes"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectRulesReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectRulesReview.java index d262cc97d2..948e5834bb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectRulesReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectRulesReview.java @@ -31,7 +31,7 @@ "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SelfSubjectRulesReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectRulesReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectRulesReviewSpec.java index 30e6491f5b..288d301730 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectRulesReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SelfSubjectRulesReviewSpec.java @@ -19,7 +19,7 @@ /** V1beta1SelfSubjectRulesReviewSpec */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SelfSubjectRulesReviewSpec { public static final String SERIALIZED_NAME_NAMESPACE = "namespace"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1StorageClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1StorageClass.java index 25ac7d4e89..8f9869d8d0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1StorageClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1StorageClass.java @@ -31,7 +31,7 @@ "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1StorageClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ALLOW_VOLUME_EXPANSION = "allowVolumeExpansion"; @@ -114,7 +114,7 @@ public V1beta1StorageClass allowedTopologies(List allowe public V1beta1StorageClass addAllowedTopologiesItem( V1TopologySelectorTerm allowedTopologiesItem) { if (this.allowedTopologies == null) { - this.allowedTopologies = new ArrayList(); + this.allowedTopologies = new ArrayList<>(); } this.allowedTopologies.add(allowedTopologiesItem); return this; @@ -221,7 +221,7 @@ public V1beta1StorageClass mountOptions(List mountOptions) { public V1beta1StorageClass addMountOptionsItem(String mountOptionsItem) { if (this.mountOptions == null) { - this.mountOptions = new ArrayList(); + this.mountOptions = new ArrayList<>(); } this.mountOptions.add(mountOptionsItem); return this; @@ -254,7 +254,7 @@ public V1beta1StorageClass parameters(Map parameters) { public V1beta1StorageClass putParametersItem(String key, String parametersItem) { if (this.parameters == null) { - this.parameters = new HashMap(); + this.parameters = new HashMap<>(); } this.parameters.put(key, parametersItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1StorageClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1StorageClassList.java index 920f08df55..db679dee2b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1StorageClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1StorageClassList.java @@ -23,7 +23,7 @@ @ApiModel(description = "StorageClassList is a collection of storage classes.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1StorageClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V1beta1StorageClassList implements io.kubernetes.client.common.Kube public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Subject.java index 1de772e27d..8f8d3829ba 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Subject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Subject.java @@ -27,7 +27,7 @@ "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1Subject { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReview.java index 426fb8c991..2fbd76bd08 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReview.java @@ -23,7 +23,7 @@ "SubjectAccessReview checks whether or not a user or group can perform an action.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReviewSpec.java index b04a27bc99..3f54e2bc3a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReviewSpec.java @@ -30,7 +30,7 @@ "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SubjectAccessReviewSpec { public static final String SERIALIZED_NAME_EXTRA = "extra"; @@ -70,7 +70,7 @@ public V1beta1SubjectAccessReviewSpec extra(Map> extra) { public V1beta1SubjectAccessReviewSpec putExtraItem(String key, List extraItem) { if (this.extra == null) { - this.extra = new HashMap>(); + this.extra = new HashMap<>(); } this.extra.put(key, extraItem); return this; @@ -102,7 +102,7 @@ public V1beta1SubjectAccessReviewSpec group(List group) { public V1beta1SubjectAccessReviewSpec addGroupItem(String groupItem) { if (this.group == null) { - this.group = new ArrayList(); + this.group = new ArrayList<>(); } this.group.add(groupItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReviewStatus.java index f743d8d96a..064cbfb37c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectAccessReviewStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "SubjectAccessReviewStatus") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SubjectAccessReviewStatus { public static final String SERIALIZED_NAME_ALLOWED = "allowed"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectRulesReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectRulesReviewStatus.java index 37748b4c59..d2ef7d5934 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectRulesReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SubjectRulesReviewStatus.java @@ -30,7 +30,7 @@ "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SubjectRulesReviewStatus { public static final String SERIALIZED_NAME_EVALUATION_ERROR = "evaluationError"; @@ -45,12 +45,12 @@ public class V1beta1SubjectRulesReviewStatus { public static final String SERIALIZED_NAME_NON_RESOURCE_RULES = "nonResourceRules"; @SerializedName(SERIALIZED_NAME_NON_RESOURCE_RULES) - private List nonResourceRules = new ArrayList(); + private List nonResourceRules = new ArrayList<>(); public static final String SERIALIZED_NAME_RESOURCE_RULES = "resourceRules"; @SerializedName(SERIALIZED_NAME_RESOURCE_RULES) - private List resourceRules = new ArrayList(); + private List resourceRules = new ArrayList<>(); public V1beta1SubjectRulesReviewStatus evaluationError(String evaluationError) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SupplementalGroupsStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SupplementalGroupsStrategyOptions.java index ec9b70497b..db9db32d4b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SupplementalGroupsStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1SupplementalGroupsStrategyOptions.java @@ -28,7 +28,7 @@ "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1SupplementalGroupsStrategyOptions { public static final String SERIALIZED_NAME_RANGES = "ranges"; @@ -48,7 +48,7 @@ public V1beta1SupplementalGroupsStrategyOptions ranges(List rang public V1beta1SupplementalGroupsStrategyOptions addRangesItem(V1beta1IDRange rangesItem) { if (this.ranges == null) { - this.ranges = new ArrayList(); + this.ranges = new ArrayList<>(); } this.ranges.add(rangesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReview.java index 0b19c1dbca..b35ce88190 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReview.java @@ -26,7 +26,7 @@ "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1TokenReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReviewSpec.java index d0ac873d85..9d59c04973 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReviewSpec.java @@ -23,7 +23,7 @@ @ApiModel(description = "TokenReviewSpec is a description of the token authentication request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1TokenReviewSpec { public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @@ -43,7 +43,7 @@ public V1beta1TokenReviewSpec audiences(List audiences) { public V1beta1TokenReviewSpec addAudiencesItem(String audiencesItem) { if (this.audiences == null) { - this.audiences = new ArrayList(); + this.audiences = new ArrayList<>(); } this.audiences.add(audiencesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReviewStatus.java index 277c4e8e24..4503d1071c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TokenReviewStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "TokenReviewStatus is the result of the token authentication request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1TokenReviewStatus { public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @@ -53,7 +53,7 @@ public V1beta1TokenReviewStatus audiences(List audiences) { public V1beta1TokenReviewStatus addAudiencesItem(String audiencesItem) { if (this.audiences == null) { - this.audiences = new ArrayList(); + this.audiences = new ArrayList<>(); } this.audiences.add(audiencesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1UserInfo.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1UserInfo.java index 3d5e9e24ae..6c7e62504a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1UserInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1UserInfo.java @@ -27,7 +27,7 @@ "UserInfo holds the information about the user needed to implement the user.Info interface.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1UserInfo { public static final String SERIALIZED_NAME_EXTRA = "extra"; @@ -57,7 +57,7 @@ public V1beta1UserInfo extra(Map> extra) { public V1beta1UserInfo putExtraItem(String key, List extraItem) { if (this.extra == null) { - this.extra = new HashMap>(); + this.extra = new HashMap<>(); } this.extra.put(key, extraItem); return this; @@ -86,7 +86,7 @@ public V1beta1UserInfo groups(List groups) { public V1beta1UserInfo addGroupsItem(String groupsItem) { if (this.groups == null) { - this.groups = new ArrayList(); + this.groups = new ArrayList<>(); } this.groups.add(groupsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhook.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhook.java index f85b3c7094..7e03cbf89c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhook.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhook.java @@ -27,7 +27,7 @@ "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ValidatingWebhook { public static final String SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS = "admissionReviewVersions"; @@ -88,7 +88,7 @@ public V1beta1ValidatingWebhook admissionReviewVersions(List admissionRe public V1beta1ValidatingWebhook addAdmissionReviewVersionsItem( String admissionReviewVersionsItem) { if (this.admissionReviewVersions == null) { - this.admissionReviewVersions = new ArrayList(); + this.admissionReviewVersions = new ArrayList<>(); } this.admissionReviewVersions.add(admissionReviewVersionsItem); return this; @@ -270,7 +270,7 @@ public V1beta1ValidatingWebhook rules(List rules) { public V1beta1ValidatingWebhook addRulesItem(V1beta1RuleWithOperations rulesItem) { if (this.rules == null) { - this.rules = new ArrayList(); + this.rules = new ArrayList<>(); } this.rules.add(rulesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhookConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhookConfiguration.java index 891cb35421..f4017d4bc2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhookConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhookConfiguration.java @@ -29,7 +29,7 @@ "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ValidatingWebhookConfiguration implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -134,7 +134,7 @@ public V1beta1ValidatingWebhookConfiguration webhooks(List(); + this.webhooks = new ArrayList<>(); } this.webhooks.add(webhooksItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhookConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhookConfigurationList.java index 8d19aecf0a..546cdd5c28 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhookConfigurationList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingWebhookConfigurationList.java @@ -24,7 +24,7 @@ description = "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1ValidatingWebhookConfigurationList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,8 +35,7 @@ public class V1beta1ValidatingWebhookConfigurationList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachment.java index e1b4876253..d40e4d747b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachment.java @@ -26,7 +26,7 @@ "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1VolumeAttachment implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentList.java index 896c6d9c3d..ea9928fa9b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentList.java @@ -23,7 +23,7 @@ @ApiModel(description = "VolumeAttachmentList is a collection of VolumeAttachment objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1VolumeAttachmentList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,7 +34,7 @@ public class V1beta1VolumeAttachmentList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentSource.java index c773389a63..d8b62c4d6d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentSource.java @@ -27,7 +27,7 @@ "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1VolumeAttachmentSource { public static final String SERIALIZED_NAME_INLINE_VOLUME_SPEC = "inlineVolumeSpec"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentSpec.java index 92a4d64f62..97158ced62 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentSpec.java @@ -21,7 +21,7 @@ @ApiModel(description = "VolumeAttachmentSpec is the specification of a VolumeAttachment request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1VolumeAttachmentSpec { public static final String SERIALIZED_NAME_ATTACHER = "attacher"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentStatus.java index 15dd592af5..c62af2abff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttachmentStatus.java @@ -23,7 +23,7 @@ @ApiModel(description = "VolumeAttachmentStatus is the status of a VolumeAttachment request.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1VolumeAttachmentStatus { public static final String SERIALIZED_NAME_ATTACH_ERROR = "attachError"; @@ -99,7 +99,7 @@ public V1beta1VolumeAttachmentStatus attachmentMetadata(Map atta public V1beta1VolumeAttachmentStatus putAttachmentMetadataItem( String key, String attachmentMetadataItem) { if (this.attachmentMetadata == null) { - this.attachmentMetadata = new HashMap(); + this.attachmentMetadata = new HashMap<>(); } this.attachmentMetadata.put(key, attachmentMetadataItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeError.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeError.java index f0f0be1589..9c371fc02e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeError.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeError.java @@ -15,14 +15,14 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** VolumeError captures an error encountered during a volume operation. */ @ApiModel(description = "VolumeError captures an error encountered during a volume operation.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1VolumeError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -32,7 +32,7 @@ public class V1beta1VolumeError { public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - private DateTime time; + private OffsetDateTime time; public V1beta1VolumeError message(String message) { @@ -58,7 +58,7 @@ public void setMessage(String message) { this.message = message; } - public V1beta1VolumeError time(DateTime time) { + public V1beta1VolumeError time(OffsetDateTime time) { this.time = time; return this; @@ -71,11 +71,11 @@ public V1beta1VolumeError time(DateTime time) { */ @javax.annotation.Nullable @ApiModelProperty(value = "Time the error was encountered.") - public DateTime getTime() { + public OffsetDateTime getTime() { return time; } - public void setTime(DateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeNodeResources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeNodeResources.java index c7fc8abede..dd30f0f0bd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeNodeResources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeNodeResources.java @@ -22,7 +22,7 @@ description = "VolumeNodeResources is a set of resource limits for scheduling of volumes.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V1beta1VolumeNodeResources { public static final String SERIALIZED_NAME_COUNT = "count"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJob.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJob.java index 0fd61e9a00..2870d413e9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJob.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJob.java @@ -21,7 +21,7 @@ @ApiModel(description = "CronJob represents the configuration of a single cron job.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2alpha1CronJob implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobList.java index 343734c53d..80f9c30fea 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobList.java @@ -23,7 +23,7 @@ @ApiModel(description = "CronJobList is a collection of cron jobs.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2alpha1CronJobList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -33,7 +33,7 @@ public class V2alpha1CronJobList implements io.kubernetes.client.common.Kubernet public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobSpec.java index 69622941a4..8a0b870aff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobSpec.java @@ -23,7 +23,7 @@ "CronJobSpec describes how the job execution will look like and when it will actually run.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2alpha1CronJobSpec { public static final String SERIALIZED_NAME_CONCURRENCY_POLICY = "concurrencyPolicy"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobStatus.java index e34db7ad71..76b8c182cf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1CronJobStatus.java @@ -15,16 +15,16 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; /** CronJobStatus represents the current state of a cron job. */ @ApiModel(description = "CronJobStatus represents the current state of a cron job.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2alpha1CronJobStatus { public static final String SERIALIZED_NAME_ACTIVE = "active"; @@ -34,7 +34,7 @@ public class V2alpha1CronJobStatus { public static final String SERIALIZED_NAME_LAST_SCHEDULE_TIME = "lastScheduleTime"; @SerializedName(SERIALIZED_NAME_LAST_SCHEDULE_TIME) - private DateTime lastScheduleTime; + private OffsetDateTime lastScheduleTime; public V2alpha1CronJobStatus active(List active) { @@ -44,7 +44,7 @@ public V2alpha1CronJobStatus active(List active) { public V2alpha1CronJobStatus addActiveItem(V1ObjectReference activeItem) { if (this.active == null) { - this.active = new ArrayList(); + this.active = new ArrayList<>(); } this.active.add(activeItem); return this; @@ -65,7 +65,7 @@ public void setActive(List active) { this.active = active; } - public V2alpha1CronJobStatus lastScheduleTime(DateTime lastScheduleTime) { + public V2alpha1CronJobStatus lastScheduleTime(OffsetDateTime lastScheduleTime) { this.lastScheduleTime = lastScheduleTime; return this; @@ -79,11 +79,11 @@ public V2alpha1CronJobStatus lastScheduleTime(DateTime lastScheduleTime) { @javax.annotation.Nullable @ApiModelProperty( value = "Information when was the last time the job was successfully scheduled.") - public DateTime getLastScheduleTime() { + public OffsetDateTime getLastScheduleTime() { return lastScheduleTime; } - public void setLastScheduleTime(DateTime lastScheduleTime) { + public void setLastScheduleTime(OffsetDateTime lastScheduleTime) { this.lastScheduleTime = lastScheduleTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1JobTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1JobTemplateSpec.java index b4011296e0..66c1076d9a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1JobTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2alpha1JobTemplateSpec.java @@ -23,7 +23,7 @@ "JobTemplateSpec describes the data a Job should have when created from a template") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2alpha1JobTemplateSpec { public static final String SERIALIZED_NAME_METADATA = "metadata"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1CrossVersionObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1CrossVersionObjectReference.java index 3ef5f1db56..5f8b4ecf6a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1CrossVersionObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1CrossVersionObjectReference.java @@ -26,7 +26,7 @@ "CrossVersionObjectReference contains enough information to let you identify the referred resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1CrossVersionObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ExternalMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ExternalMetricSource.java index b23c1a023b..17de9ae6ad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ExternalMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ExternalMetricSource.java @@ -28,7 +28,7 @@ "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1ExternalMetricSource { public static final String SERIALIZED_NAME_METRIC_NAME = "metricName"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ExternalMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ExternalMetricStatus.java index d15d51eed4..8bf04d12b1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ExternalMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ExternalMetricStatus.java @@ -27,7 +27,7 @@ "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1ExternalMetricStatus { public static final String SERIALIZED_NAME_CURRENT_AVERAGE_VALUE = "currentAverageValue"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscaler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscaler.java index 671e9e9a3b..58a8fe9089 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscaler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscaler.java @@ -27,7 +27,7 @@ "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1HorizontalPodAutoscaler implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerCondition.java index 3a143cbbc5..bf4229834f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerCondition.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain @@ -27,12 +27,12 @@ "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1HorizontalPodAutoscalerCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -54,7 +54,8 @@ public class V2beta1HorizontalPodAutoscalerCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V2beta1HorizontalPodAutoscalerCondition lastTransitionTime(DateTime lastTransitionTime) { + public V2beta1HorizontalPodAutoscalerCondition lastTransitionTime( + OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -69,11 +70,11 @@ public V2beta1HorizontalPodAutoscalerCondition lastTransitionTime(DateTime lastT @ApiModelProperty( value = "lastTransitionTime is the last time the condition transitioned from one status to another") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerList.java index df390027d1..4d07264712 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerList.java @@ -23,7 +23,7 @@ @ApiModel(description = "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1HorizontalPodAutoscalerList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -34,8 +34,7 @@ public class V2beta1HorizontalPodAutoscalerList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerSpec.java index 7dfae1542b..a3838f9338 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerSpec.java @@ -27,7 +27,7 @@ "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1HorizontalPodAutoscalerSpec { public static final String SERIALIZED_NAME_MAX_REPLICAS = "maxReplicas"; @@ -81,7 +81,7 @@ public V2beta1HorizontalPodAutoscalerSpec metrics(List metric public V2beta1HorizontalPodAutoscalerSpec addMetricsItem(V2beta1MetricSpec metricsItem) { if (this.metrics == null) { - this.metrics = new ArrayList(); + this.metrics = new ArrayList<>(); } this.metrics.add(metricsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerStatus.java index b0702fe722..2894737131 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1HorizontalPodAutoscalerStatus.java @@ -15,10 +15,10 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; /** HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. */ @ApiModel( @@ -26,13 +26,12 @@ "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1HorizontalPodAutoscalerStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) - private List conditions = - new ArrayList(); + private List conditions = new ArrayList<>(); public static final String SERIALIZED_NAME_CURRENT_METRICS = "currentMetrics"; @@ -52,7 +51,7 @@ public class V2beta1HorizontalPodAutoscalerStatus { public static final String SERIALIZED_NAME_LAST_SCALE_TIME = "lastScaleTime"; @SerializedName(SERIALIZED_NAME_LAST_SCALE_TIME) - private DateTime lastScaleTime; + private OffsetDateTime lastScaleTime; public static final String SERIALIZED_NAME_OBSERVED_GENERATION = "observedGeneration"; @@ -100,7 +99,7 @@ public V2beta1HorizontalPodAutoscalerStatus currentMetrics( public V2beta1HorizontalPodAutoscalerStatus addCurrentMetricsItem( V2beta1MetricStatus currentMetricsItem) { if (this.currentMetrics == null) { - this.currentMetrics = new ArrayList(); + this.currentMetrics = new ArrayList<>(); } this.currentMetrics.add(currentMetricsItem); return this; @@ -170,7 +169,7 @@ public void setDesiredReplicas(Integer desiredReplicas) { this.desiredReplicas = desiredReplicas; } - public V2beta1HorizontalPodAutoscalerStatus lastScaleTime(DateTime lastScaleTime) { + public V2beta1HorizontalPodAutoscalerStatus lastScaleTime(OffsetDateTime lastScaleTime) { this.lastScaleTime = lastScaleTime; return this; @@ -186,11 +185,11 @@ public V2beta1HorizontalPodAutoscalerStatus lastScaleTime(DateTime lastScaleTime @ApiModelProperty( value = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.") - public DateTime getLastScaleTime() { + public OffsetDateTime getLastScaleTime() { return lastScaleTime; } - public void setLastScaleTime(DateTime lastScaleTime) { + public void setLastScaleTime(OffsetDateTime lastScaleTime) { this.lastScaleTime = lastScaleTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricSpec.java index 33c2f7f67e..6453b5a001 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricSpec.java @@ -26,7 +26,7 @@ "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1MetricSpec { public static final String SERIALIZED_NAME_EXTERNAL = "external"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricStatus.java index 07f2704107..087887384a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1MetricStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "MetricStatus describes the last-read state of a single metric.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1MetricStatus { public static final String SERIALIZED_NAME_EXTERNAL = "external"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ObjectMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ObjectMetricSource.java index 1ef3be4e0a..f1fcb3a0de 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ObjectMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ObjectMetricSource.java @@ -27,7 +27,7 @@ "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1ObjectMetricSource { public static final String SERIALIZED_NAME_AVERAGE_VALUE = "averageValue"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ObjectMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ObjectMetricStatus.java index a9014feac7..679591d22d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ObjectMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ObjectMetricStatus.java @@ -27,7 +27,7 @@ "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1ObjectMetricStatus { public static final String SERIALIZED_NAME_AVERAGE_VALUE = "averageValue"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1PodsMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1PodsMetricSource.java index 2e83ad5b00..1165094271 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1PodsMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1PodsMetricSource.java @@ -28,7 +28,7 @@ "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1PodsMetricSource { public static final String SERIALIZED_NAME_METRIC_NAME = "metricName"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1PodsMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1PodsMetricStatus.java index de13530b18..6e7e971477 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1PodsMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1PodsMetricStatus.java @@ -27,7 +27,7 @@ "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1PodsMetricStatus { public static final String SERIALIZED_NAME_CURRENT_AVERAGE_VALUE = "currentAverageValue"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ResourceMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ResourceMetricSource.java index ff2e7f59ac..50e320130c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ResourceMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ResourceMetricSource.java @@ -31,7 +31,7 @@ "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1ResourceMetricSource { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ResourceMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ResourceMetricStatus.java index 97c1869a0a..19ce2fb019 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ResourceMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta1ResourceMetricStatus.java @@ -29,7 +29,7 @@ "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta1ResourceMetricStatus { public static final String SERIALIZED_NAME_CURRENT_AVERAGE_UTILIZATION = "currentAverageUtilization"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2CrossVersionObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2CrossVersionObjectReference.java index 06f4a3e69c..c520b17faf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2CrossVersionObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2CrossVersionObjectReference.java @@ -26,7 +26,7 @@ "CrossVersionObjectReference contains enough information to let you identify the referred resource.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2CrossVersionObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ExternalMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ExternalMetricSource.java index fa711ff678..bda2e4189b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ExternalMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ExternalMetricSource.java @@ -27,7 +27,7 @@ "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2ExternalMetricSource { public static final String SERIALIZED_NAME_METRIC = "metric"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ExternalMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ExternalMetricStatus.java index 553a78e8b3..ded51aaf78 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ExternalMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ExternalMetricStatus.java @@ -26,7 +26,7 @@ "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2ExternalMetricStatus { public static final String SERIALIZED_NAME_CURRENT = "current"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HPAScalingPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HPAScalingPolicy.java index 8e4327ea7e..6ae3ba6d99 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HPAScalingPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HPAScalingPolicy.java @@ -23,7 +23,7 @@ "HPAScalingPolicy is a single policy which must hold true for a specified past interval.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2HPAScalingPolicy { public static final String SERIALIZED_NAME_PERIOD_SECONDS = "periodSeconds"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HPAScalingRules.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HPAScalingRules.java index a0ceae0fe2..a342d41c8d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HPAScalingRules.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HPAScalingRules.java @@ -31,7 +31,7 @@ "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2HPAScalingRules { public static final String SERIALIZED_NAME_POLICIES = "policies"; @@ -57,7 +57,7 @@ public V2beta2HPAScalingRules policies(List policies) { public V2beta2HPAScalingRules addPoliciesItem(V2beta2HPAScalingPolicy policiesItem) { if (this.policies == null) { - this.policies = new ArrayList(); + this.policies = new ArrayList<>(); } this.policies.add(policiesItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscaler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscaler.java index bab7425153..4e253dbc68 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscaler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscaler.java @@ -27,7 +27,7 @@ "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2HorizontalPodAutoscaler implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerBehavior.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerBehavior.java index 41ebc2c120..f39fd5c52f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerBehavior.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerBehavior.java @@ -26,7 +26,7 @@ "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2HorizontalPodAutoscalerBehavior { public static final String SERIALIZED_NAME_SCALE_DOWN = "scaleDown"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerCondition.java index eaecdd1eeb..cad1cbe844 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerCondition.java @@ -15,8 +15,8 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.Objects; -import org.joda.time.DateTime; /** * HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain @@ -27,12 +27,12 @@ "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2HorizontalPodAutoscalerCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) - private DateTime lastTransitionTime; + private OffsetDateTime lastTransitionTime; public static final String SERIALIZED_NAME_MESSAGE = "message"; @@ -54,7 +54,8 @@ public class V2beta2HorizontalPodAutoscalerCondition { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public V2beta2HorizontalPodAutoscalerCondition lastTransitionTime(DateTime lastTransitionTime) { + public V2beta2HorizontalPodAutoscalerCondition lastTransitionTime( + OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; @@ -69,11 +70,11 @@ public V2beta2HorizontalPodAutoscalerCondition lastTransitionTime(DateTime lastT @ApiModelProperty( value = "lastTransitionTime is the last time the condition transitioned from one status to another") - public DateTime getLastTransitionTime() { + public OffsetDateTime getLastTransitionTime() { return lastTransitionTime; } - public void setLastTransitionTime(DateTime lastTransitionTime) { + public void setLastTransitionTime(OffsetDateTime lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerList.java index af297730eb..73e8c7e07c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerList.java @@ -24,7 +24,7 @@ description = "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2HorizontalPodAutoscalerList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @@ -35,8 +35,7 @@ public class V2beta2HorizontalPodAutoscalerList public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private List items = - new ArrayList(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerSpec.java index 95d06e11ac..2a28a81575 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerSpec.java @@ -27,7 +27,7 @@ "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2HorizontalPodAutoscalerSpec { public static final String SERIALIZED_NAME_BEHAVIOR = "behavior"; @@ -108,7 +108,7 @@ public V2beta2HorizontalPodAutoscalerSpec metrics(List metric public V2beta2HorizontalPodAutoscalerSpec addMetricsItem(V2beta2MetricSpec metricsItem) { if (this.metrics == null) { - this.metrics = new ArrayList(); + this.metrics = new ArrayList<>(); } this.metrics.add(metricsItem); return this; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerStatus.java index cf84d0db87..ee1f23a28a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2HorizontalPodAutoscalerStatus.java @@ -15,10 +15,10 @@ import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import org.joda.time.DateTime; /** HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. */ @ApiModel( @@ -26,13 +26,12 @@ "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2HorizontalPodAutoscalerStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) - private List conditions = - new ArrayList(); + private List conditions = new ArrayList<>(); public static final String SERIALIZED_NAME_CURRENT_METRICS = "currentMetrics"; @@ -52,7 +51,7 @@ public class V2beta2HorizontalPodAutoscalerStatus { public static final String SERIALIZED_NAME_LAST_SCALE_TIME = "lastScaleTime"; @SerializedName(SERIALIZED_NAME_LAST_SCALE_TIME) - private DateTime lastScaleTime; + private OffsetDateTime lastScaleTime; public static final String SERIALIZED_NAME_OBSERVED_GENERATION = "observedGeneration"; @@ -100,7 +99,7 @@ public V2beta2HorizontalPodAutoscalerStatus currentMetrics( public V2beta2HorizontalPodAutoscalerStatus addCurrentMetricsItem( V2beta2MetricStatus currentMetricsItem) { if (this.currentMetrics == null) { - this.currentMetrics = new ArrayList(); + this.currentMetrics = new ArrayList<>(); } this.currentMetrics.add(currentMetricsItem); return this; @@ -170,7 +169,7 @@ public void setDesiredReplicas(Integer desiredReplicas) { this.desiredReplicas = desiredReplicas; } - public V2beta2HorizontalPodAutoscalerStatus lastScaleTime(DateTime lastScaleTime) { + public V2beta2HorizontalPodAutoscalerStatus lastScaleTime(OffsetDateTime lastScaleTime) { this.lastScaleTime = lastScaleTime; return this; @@ -186,11 +185,11 @@ public V2beta2HorizontalPodAutoscalerStatus lastScaleTime(DateTime lastScaleTime @ApiModelProperty( value = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.") - public DateTime getLastScaleTime() { + public OffsetDateTime getLastScaleTime() { return lastScaleTime; } - public void setLastScaleTime(DateTime lastScaleTime) { + public void setLastScaleTime(OffsetDateTime lastScaleTime) { this.lastScaleTime = lastScaleTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricIdentifier.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricIdentifier.java index 4faefd4263..0b2c70a7d7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricIdentifier.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricIdentifier.java @@ -21,7 +21,7 @@ @ApiModel(description = "MetricIdentifier defines the name and optionally selector for a metric") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2MetricIdentifier { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricSpec.java index a6cf6d2fb9..b1f560138a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricSpec.java @@ -26,7 +26,7 @@ "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2MetricSpec { public static final String SERIALIZED_NAME_EXTERNAL = "external"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricStatus.java index 0a186460d8..11713ff067 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricStatus.java @@ -21,7 +21,7 @@ @ApiModel(description = "MetricStatus describes the last-read state of a single metric.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2MetricStatus { public static final String SERIALIZED_NAME_EXTERNAL = "external"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricTarget.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricTarget.java index 86f7825dad..ed52d2064a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricTarget.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricTarget.java @@ -26,7 +26,7 @@ "MetricTarget defines the target value, average value, or average utilization of a specific metric") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2MetricTarget { public static final String SERIALIZED_NAME_AVERAGE_UTILIZATION = "averageUtilization"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricValueStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricValueStatus.java index 2c066d35d2..6e5a2d70f5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricValueStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2MetricValueStatus.java @@ -22,7 +22,7 @@ @ApiModel(description = "MetricValueStatus holds the current value for a metric") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2MetricValueStatus { public static final String SERIALIZED_NAME_AVERAGE_UTILIZATION = "averageUtilization"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ObjectMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ObjectMetricSource.java index 158f6d7ee6..42e43c66f5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ObjectMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ObjectMetricSource.java @@ -26,7 +26,7 @@ "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2ObjectMetricSource { public static final String SERIALIZED_NAME_DESCRIBED_OBJECT = "describedObject"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ObjectMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ObjectMetricStatus.java index ee9827b0e2..3f5e2f0872 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ObjectMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ObjectMetricStatus.java @@ -26,7 +26,7 @@ "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2ObjectMetricStatus { public static final String SERIALIZED_NAME_CURRENT = "current"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2PodsMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2PodsMetricSource.java index 7e4b19d6b4..290bed076b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2PodsMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2PodsMetricSource.java @@ -27,7 +27,7 @@ "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2PodsMetricSource { public static final String SERIALIZED_NAME_METRIC = "metric"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2PodsMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2PodsMetricStatus.java index d2bc741c77..54f318a838 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2PodsMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2PodsMetricStatus.java @@ -26,7 +26,7 @@ "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2PodsMetricStatus { public static final String SERIALIZED_NAME_CURRENT = "current"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ResourceMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ResourceMetricSource.java index e09b56b771..54396b27ea 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ResourceMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ResourceMetricSource.java @@ -30,7 +30,7 @@ "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2ResourceMetricSource { public static final String SERIALIZED_NAME_NAME = "name"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ResourceMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ResourceMetricStatus.java index c83b5c3403..056c6d602b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ResourceMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2beta2ResourceMetricStatus.java @@ -28,7 +28,7 @@ "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class V2beta2ResourceMetricStatus { public static final String SERIALIZED_NAME_CURRENT = "current"; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/VersionInfo.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/VersionInfo.java index d59474814c..0dcb37bcbb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/VersionInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/VersionInfo.java @@ -23,7 +23,7 @@ "Info contains versioning information. how we'll want to distribute that information.") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2020-11-06T08:58:17.566Z[Etc/UTC]") + date = "2020-12-04T09:31:53.082Z[Etc/UTC]") public class VersionInfo { public static final String SERIALIZED_NAME_BUILD_DATE = "buildDate"; diff --git a/pom.xml b/pom.xml index 5dfda72b6f..ae8f087712 100644 --- a/pom.xml +++ b/pom.xml @@ -46,8 +46,6 @@ 4.13 4.10.0 1.66 - 2.10.8 - 2.2.1 2.8.6 3.0.2 3.14.9 @@ -186,16 +184,6 @@ ${prometheus.client.version} true - - joda-time - joda-time - ${jodatime.version} - - - org.joda - joda-convert - ${joda-convert.version} - com.google.code.gson gson diff --git a/util/pom.xml b/util/pom.xml index aa060c90e6..e8b7eb81af 100644 --- a/util/pom.xml +++ b/util/pom.xml @@ -162,4 +162,3 @@ - diff --git a/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java b/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java index ebbd9cb61c..79e895b04c 100644 --- a/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java +++ b/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java @@ -244,7 +244,7 @@ public synchronized void startAllRegisteredInformers() { informers.forEach( (informerType, informer) -> startedInformers.computeIfAbsent( - informerType, key -> informerExecutor.submit(informer::run))); + informerType, key -> informerExecutor.submit((Runnable)informer::run))); } /** Stop all registered informers and shut down the thread pool. */ diff --git a/util/src/main/java/io/kubernetes/client/informer/cache/ProcessorListener.java b/util/src/main/java/io/kubernetes/client/informer/cache/ProcessorListener.java index 4b72107aa4..f15fdfa8cb 100644 --- a/util/src/main/java/io/kubernetes/client/informer/cache/ProcessorListener.java +++ b/util/src/main/java/io/kubernetes/client/informer/cache/ProcessorListener.java @@ -15,9 +15,12 @@ import io.kubernetes.client.common.KubernetesObject; import io.kubernetes.client.informer.ResourceEventHandler; import io.kubernetes.client.informer.exception.BadNotificationException; + +import java.time.Duration; +import java.time.OffsetDateTime; +import java.time.temporal.TemporalUnit; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; -import org.joda.time.DateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -35,7 +38,7 @@ public class ProcessorListener implements Runn // the // informer's overall resync check period. private long resyncPeriod; - private DateTime nextResync; + private OffsetDateTime nextResync; private BlockingQueue queue; @@ -47,7 +50,7 @@ public ProcessorListener(ResourceEventHandler handler, long resyncPerio this.queue = new LinkedBlockingQueue<>(); - determineNextResync(DateTime.now()); + determineNextResync(OffsetDateTime.now()); } @Override @@ -105,11 +108,11 @@ public void add(Notification obj) { this.queue.add(obj); } - public void determineNextResync(DateTime now) { - this.nextResync = now.plus(this.resyncPeriod); + public void determineNextResync(OffsetDateTime now) { + this.nextResync = now.plus(Duration.ofMillis(this.resyncPeriod)); } - public boolean shouldResync(DateTime now) { + public boolean shouldResync(OffsetDateTime now) { return this.resyncPeriod != 0 && (now.isAfter(this.nextResync) || now.equals(this.nextResync)); } diff --git a/util/src/main/java/io/kubernetes/client/informer/cache/SharedProcessor.java b/util/src/main/java/io/kubernetes/client/informer/cache/SharedProcessor.java index e28b73d933..f854683d55 100644 --- a/util/src/main/java/io/kubernetes/client/informer/cache/SharedProcessor.java +++ b/util/src/main/java/io/kubernetes/client/informer/cache/SharedProcessor.java @@ -14,6 +14,7 @@ import io.kubernetes.client.common.KubernetesObject; import java.time.Duration; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; @@ -22,7 +23,6 @@ import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import org.apache.commons.collections4.CollectionUtils; -import org.joda.time.DateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -138,7 +138,7 @@ public boolean shouldResync() { try { this.syncingListeners = new ArrayList<>(this.listeners.size()); - DateTime now = DateTime.now(); + OffsetDateTime now = OffsetDateTime.now(); for (ProcessorListener listener : this.listeners) { if (listener.shouldResync(now)) { resyncNeeded = true; diff --git a/util/src/main/java/io/kubernetes/client/util/CSRUtils.java b/util/src/main/java/io/kubernetes/client/util/CSRUtils.java index 88538acbc8..d449915585 100644 --- a/util/src/main/java/io/kubernetes/client/util/CSRUtils.java +++ b/util/src/main/java/io/kubernetes/client/util/CSRUtils.java @@ -12,38 +12,42 @@ */ package io.kubernetes.client.util; -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.apis.CertificatesV1Api; -import io.kubernetes.client.openapi.models.V1CertificateSigningRequest; -import io.kubernetes.client.openapi.models.V1CertificateSigningRequestCondition; -import io.kubernetes.client.openapi.models.V1CertificateSigningRequestSpec; -import io.kubernetes.client.openapi.models.V1ObjectMeta; -import io.kubernetes.client.util.exception.CSRNotApprovedException; -import io.kubernetes.client.util.exception.CSRSigningException; -import io.kubernetes.client.util.wait.Wait; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; import java.security.KeyPair; import java.time.Duration; +import java.time.Instant; +import java.time.OffsetDateTime; import java.util.Base64; import java.util.Objects; import java.util.Optional; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.atomic.AtomicReference; + import javax.security.auth.x500.X500Principal; + import org.bouncycastle.operator.ContentSigner; import org.bouncycastle.operator.OperatorCreationException; import org.bouncycastle.operator.jcajce.JcaContentSignerBuilder; import org.bouncycastle.pkcs.PKCS10CertificationRequest; import org.bouncycastle.pkcs.PKCS10CertificationRequestBuilder; import org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequestBuilder; -import org.joda.time.DateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.apis.CertificatesV1Api; +import io.kubernetes.client.openapi.models.V1CertificateSigningRequest; +import io.kubernetes.client.openapi.models.V1CertificateSigningRequestCondition; +import io.kubernetes.client.openapi.models.V1CertificateSigningRequestSpec; +import io.kubernetes.client.openapi.models.V1ObjectMeta; +import io.kubernetes.client.util.exception.CSRNotApprovedException; +import io.kubernetes.client.util.exception.CSRSigningException; +import io.kubernetes.client.util.wait.Wait; + public class CSRUtils { private static final Logger LOG = LoggerFactory.getLogger(CSRUtils.class); @@ -62,7 +66,7 @@ public class CSRUtils { */ public static void approve(ApiClient apiClient, String csrObjName) throws ApiException { CertificatesV1Api api = new CertificatesV1Api(apiClient); - DateTime now = DateTime.now(); + OffsetDateTime now = OffsetDateTime.now(); V1CertificateSigningRequest current = api.readCertificateSigningRequest(csrObjName, null, null, null); current diff --git a/util/src/main/java/io/kubernetes/client/util/Yaml.java b/util/src/main/java/io/kubernetes/client/util/Yaml.java index dc4654dd16..fd143febaa 100644 --- a/util/src/main/java/io/kubernetes/client/util/Yaml.java +++ b/util/src/main/java/io/kubernetes/client/util/Yaml.java @@ -21,6 +21,7 @@ import java.io.Reader; import java.io.StringReader; import java.io.Writer; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; @@ -29,8 +30,6 @@ import java.util.Map; import java.util.Set; import okio.ByteString; -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.yaml.snakeyaml.DumperOptions; @@ -227,7 +226,7 @@ protected Object constructObject(Node node) { return constructByteArray((ScalarNode) node); } - if (node.getType() == org.joda.time.DateTime.class) { + if (node.getType() == OffsetDateTime.class) { return constructDateTime((ScalarNode) node); } @@ -250,7 +249,7 @@ private Object constructDateTime(ScalarNode node) { if (node.getValue() == null || "null".equalsIgnoreCase(node.getValue())) { return null; } else { - return new DateTime(node.getValue(), DateTimeZone.UTC); + return OffsetDateTime.parse(node.getValue()); } } } @@ -261,7 +260,7 @@ public CustomRepresenter() { this.representers.put(IntOrString.class, new RepresentIntOrString()); this.representers.put(byte[].class, new RepresentByteArray()); this.representers.put(Quantity.class, new RepresentQuantity()); - this.representers.put(DateTime.class, new RepresentDateTime()); + this.representers.put(OffsetDateTime.class, new RepresentDateTime()); } private class RepresentDateTime implements Represent { diff --git a/util/src/test/java/io/kubernetes/client/util/YamlTest.java b/util/src/test/java/io/kubernetes/client/util/YamlTest.java index c9b9c53e4b..a6b92bf88d 100644 --- a/util/src/test/java/io/kubernetes/client/util/YamlTest.java +++ b/util/src/test/java/io/kubernetes/client/util/YamlTest.java @@ -234,7 +234,7 @@ public void testDateTime() { assertEquals( "Incorrect value loaded for creationTimestamp", - "2018-09-06T15:12:24.000Z", + "2018-09-06T15:12:24Z", new String(pod.getMetadata().getCreationTimestamp().toString().getBytes(), UTF_8)); } catch (Exception ex) {